Where the examples show bundle.tar.gz you can replace this with your bundle name. For example,bundle-v1.0.0.tar.gz or ./bundles/team-bundle.tar.gz
In your project’s folder, run the following command:
1
snyk iac test --rules=bundle.tar.gz
Copied!
The configuration scan results now include issues from both the default Snyk rules, and your custom rules. Also see Understanding configuration issues.
Troubleshooting
Enable debug logs by running the command with a -d flag:
1
snyk iac test --rules=bundle.tar.gz -d
Copied!
Some possible problems:
Providing an incorrect path to the bundle or a path to a non-existent bundle. Make sure the path passed to the --rules flag can be accessed from the current location.
1
We were unable to extract the rules provided at: ./invalid/location/bundle.tar.gz
Copied!
Providing a corrupted or invalid bundle. Make sure you have generated your bundle by following the instructions at Getting Started with the SDK.
1
We were unable run the test. Please run the command again with the `-d` flag and contact [email protected] with the contents of the output.