-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecure-code-agent.example.json
More file actions
46 lines (46 loc) · 1.66 KB
/
secure-code-agent.example.json
File metadata and controls
46 lines (46 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"$schema": "./secure-code-agent.schema.json",
"version": 1,
"paths": {
"include_extensions": [".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".rs", ".java", ".rb", ".sh", ".yaml", ".yml", ".tf", ".json", "Dockerfile"],
"exclude_patterns": [
".git/", "node_modules/", ".venv/", "venv/", "dist/", "build/",
"**/__pycache__/", "**/*.min.js", "**/*.lock", "vendor/", "tests/fixtures/"
]
},
"asvs_level": 2,
"scanners": {
"bandit": { "enabled": true, "timeout_seconds": 600 },
"semgrep": { "enabled": true, "timeout_seconds": 900, "online": false },
"pip_audit": { "enabled": true, "timeout_seconds": 300 },
"npm_audit": { "enabled": true, "timeout_seconds": 300 },
"gitleaks": { "enabled": true, "timeout_seconds": 300 },
"trufflehog": { "enabled": false, "timeout_seconds": 600 },
"eslint_security": { "enabled": true, "timeout_seconds": 300 },
"builtin_rules": { "enabled": true }
},
"severity_overrides": {
"B101": "low"
},
"gates": {
"fail_on_severity": ["critical", "high"],
"fail_on_category": ["secrets", "auth_authz"],
"fail_on_new": true,
"min_score": 4.0,
"require_scanners": ["bandit", "gitleaks"],
"max_unsuppressed": {
"critical": 0,
"high": 0,
"medium": 10
}
},
"outputs": {
"markdown_path": "secure-code-report.md",
"json_path": "secure-code-report.json",
"sarif_path": "secure-code.sarif",
"comment_path": "secure-code-pr-comment.md",
"prompt_path": "secure-code-remediation-prompt.md",
"baseline_path": "secure-code-baseline.json"
},
"suppressions_file": ".scignore.yaml"
}