CI/CD Integration

CI/CD Integration

Add secret scanning to your CI/CD pipelines

Redactyl integrates with all major CI/CD platforms. Add scanning to your pipelines to catch secrets before they reach production.

Quick Start

Add Redactyl to any CI pipeline with:

go install github.com/redactyl/redactyl@latest
redactyl scan --no-tui --sarif > redactyl.sarif.json

Platforms

Common Patterns

Fail on Findings

redactyl scan --no-tui
# Exit code 1 if findings detected

Fail on High Severity Only

redactyl scan --no-tui --severity high

Upload SARIF

Most platforms support SARIF for security findings:

redactyl scan --sarif > redactyl.sarif.json

Scan Container Images

redactyl scan --image $IMAGE_NAME:$IMAGE_TAG --no-tui

Scan Helm Charts

redactyl scan --helm ./charts --no-tui

Best Practices

  1. Scan on every PR - Catch secrets before merge
  2. Scan main branch - Detect secrets that slip through
  3. Scan container images - Check what actually deploys
  4. Use baselines - Reduce noise from known secrets
  5. Upload SARIF - Get findings in your PR interface