Using Github Actions
To make it easier for organization using Github, we have create a Github Action that you can easily integrate in your pipelines.Don’t forget to retrieve you organization token and to set it as a secret in your Github setttings.
Using our CLI
If you are not using Github you can still use our cli in your pipelines :1
Install our CLI
We advise you to set
SYMBIOTIC_API_TOKEN
as an environment variable in your pipeline. You can create or retrieve this token here.2
Launch our CLI
symbiotic-cli ci infra ./ --severity-threshold high
As of today scan must be launched on the root folder to take correctly into account the configuration file
Example in a Gitlab pipeline
Example in a Gitlab pipeline
Configuration
You can configure what will make the CI fail using our configuration file.If there is no configuration file in the repository or if this configurations file have no blocking property, the CI will pass by default.