Pushing a bundle
Optionally, once you have generated your custom rules bundle, you can distribute it automatically to one of our supported OCI registries by using the push
command:
snyk-iac-rules push -r docker.io/example/test bundle.tar.gz
We use the OCI registries that support the OCI artifact specification and leverage ORAS to achieve that. Currently supported registries include
JFrog Artifactory (note: OCI Artifacts are supported from Artifactory v7.11.1 and above)
Snyk does not support insecure registries. The only protocol we support is HTTPS.
After you have run the command, your custom rules bundle will be pushed to your OCI registry using the latest
tag.
You can also provide your own tag if you want to version the bundle:
snyk-iac-rules push -r docker.io/example/test:v0.0.1 bundle.tar.gz
You can now run snyk iac test with your newly built custom bundle.
Last updated
Was this helpful?