gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

Home Page:https://gchq.github.io/CyberChef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Converting YAML to JSON

MohamedMansourElshabrawy opened this issue · comments

Is your feature request related to a problem? Please describe.
It's always been tricky to write AWS resources policies in YAML format files and verify that the written policy is right. The only way to do that is to actually deploy the piece of YAML code into my personal AWS account, then check manually if the policy is correctly implemented by interpretting the output JSON policy. This process if done many times throughout the day, it would consume hours, just to get the YAML policy as expected, syntactically and logically.

Describe the solution you'd like
If the CyberChef tool could offer the YAML to JSON, and vise versa, conversions, that would improve the productivity and efficiency by at least 60%.

Describe alternatives you've considered
The alternative I used to do is the manual deploy and manual check. If CloudFormation failed for any reason, I'll need to delete the stack, go back to fix the YAML code, redeploy and repeat, till successful deployment. Afterwards, I'll need to go into the created resources and interpret the JSON policies manually. Imagine the rework if an error is found again in the policy!

Additional context
I could provide upon request :)

I would love to see this added (as well as TOML, and maybe even HCL).