Use a local IaC custom rules bundle
In your Project folder, run the following command:
The configuration scan results now include issues from both the default Snyk rules and your custom rules. See Understanding the IaC CLI test results.
To troubleshoot a local custom rules bundle, enable debug logs by running the command with the --d
options:
Some possible problems include:
Providing an incorrect path to the bundle or a path to a non-existent bundle. Ensure the path passed to the
--rules
option can be accessed from the current location. The error is
Providing a corrupted or invalid bundle. Ensure you have generated your bundle by following the instructions in Getting Started with the SDK. The error is
If you have found a discrepancy that you cannot explain, contact Snyk Support.
Last updated
Was this helpful?