(Recommended) Test your Custom Rule
Use the following CLI command:
This command tests your Custom Rules by locally running your Custom Rule specs against those rules.
Example output
Update expected output
Running snyk iac rules test --update-expected
tests your Custom rRules and creates or overwrites the JSON file in your expected directory.
Previous(Recommended) Write a Custom Rule Spec (Unit Test)NextBuild, bundle, and upload your Custom Rules
Last updated