Get a token
The CLI reads a token from theOCTOPODA_TOKEN environment variable instead of a saved sign-in. To get one:
1
Create the token
In the web app, go to Settings → CLI sessions and select Create CI token. Give it a name you will recognize, such as the repository and CI system, and select Create token.
2
Copy it now
The token is shown only once. Copy it before you close the dialog.
3
Store it as a CI secret
Add it to your CI system as a secret named
OCTOPODA_TOKEN. Never commit it to the repository.Example: GitHub Actions
.github/workflows/octopoda.yml
Exit codes
Without
--fail-on, a finished scan exits with 0 whatever it finds. To start a scan without waiting for it, add --no-wait.