CI/CD Integrations
Add a security gate to your pipeline. Fail builds that don't meet your security threshold.
Why integrate?
Shift Left
Catch security regressions before they reach production.
Zero Config
No agents, no infrastructure. Just an API key and a URL.
Fast Feedback
Passive scans complete in under 60 seconds.
Any Pipeline
GitHub, Azure DevOps, GitLab, Jenkins, CircleCI — works everywhere.
Getting an API Key
To use the CI/CD integration you need an API key. Sign in to your dashboard, go to API Keys, and create a new key. Store it as a secret in your CI/CD platform.
- Sign in and go to Dashboard > API Keys
- Click "Create API Key" and give it a descriptive name (e.g. "GitHub Actions")
- Copy the key immediately — it will not be shown again
- Store it as a secret in your CI/CD platform (e.g. GitHub Secrets, Azure DevOps Variable Group)
Grade Thresholds
Set the minimum acceptable grade. The scan will fail your build if the security grade is below this threshold. Available grades from strictest to most lenient:
| Grade | Score | Meaning |
|---|---|---|
| A+ | 97-100 | Exceptional |
| A | 90-96 | Strong |
| B | 75-89 | Good (default threshold) |
| C | 60-74 | Fair |
| D | 50-59 | Below average |
| F | 0-49 | Critical issues |
GitHub Actions
Add a security gate to your GitHub Actions workflow. The action runs a passive scan and fails the job if the grade is below your threshold.
name: Security Scan
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: your-org/blind-security/.github/actions/security-scan@main
with:
url: 'https://your-app.com'
api-key: ${{ secrets.SCORESEC_API_KEY }}
min-grade: 'B'Azure DevOps
Include the pipeline template in your Azure DevOps YAML pipeline. The scan runs as a step and fails the job if the grade is below your threshold.
# azure-pipelines.yml
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- template: pipelines/azure-devops-task.yml
parameters:
url: 'https://your-app.com'
apiKey: $(SCORESEC_API_KEY)
minGrade: 'B'Shell Script
Use the standalone shell script in any CI/CD system. It works with Jenkins, GitLab CI, CircleCI, Bitbucket Pipelines, and more.
# Download the script
curl -sL https://scoresec.tools/scripts/scoresec-scan.sh -o scoresec-scan.sh
chmod +x scoresec-scan.sh
# Run the scan
./scoresec-scan.sh \
--url https://your-app.com \
--api-key "$SCORESEC_API_KEY" \
--min-grade B \
--timeout 300Parameters
| Flag | Description |
|---|---|
| --url | Target URL to scan (required) |
| --api-key | Your ScoreSec API key (required) |
| --min-grade | Minimum acceptable grade (default: B) |
| --api-url | ScoreSec API base URL (default: https://scoresec.tools) |
| --timeout | Maximum wait time in seconds (default: 300) |
Exit Codes
0Scan passed: grade meets or exceeds the threshold1Scan failed: grade is below the threshold2Error: scan could not be completed (timeout, network error, etc.)
Badge Embedding
After a scan completes, embed a grade badge in your README to show your current security posture:
<!-- Add to your README.md -->
Ready to secure your pipeline?
Create an API key in your dashboard and start scanning in under 5 minutes.
Create API Key