Advanced

CI/CD integration

Gate deploys on Talos findings.

Talos returns exit code 10 when findings exceed the configured threshold. Wire it into any CI system that respects exit codes.

Minimal gate

shell
talos-scan --target $STAGING --adapter native --severity critical

GitLab CI

.gitlab-ci.yml
talos:
image: python:3.11-slim
script:
- pip install talos-redteam
- talos-scan --target $STAGING --adapter native --severity high
artifacts:
paths: [reports/]

Publishing SARIF to GitHub

.github/workflows/talos.yml
- run: talos-scan --target $STAGING --adapter native --sarif
- uses: github/codeql-action/upload-sarif@v3
with: { sarif_file: ./reports/scan.sarif }