Parse chef format recipes in Node API #1042
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows the Node API's
bake
function to accept recipes in the chef-format used in deeplink urls by cyberchef. This is now a valid call:See further examples of valid uses in the updated tests in the PR.
As well as being useful in its own right, this will allow deeplink URLs to be used in CyberChef server (see this issue)
I will add updated usage docs to a
parse-chef-format
branch of the wiki repo which we will need to merge at the same time as this.