Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 14 additions & 21 deletions shiftleft.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
version: 2 # implies that check-analysis v2 should be used and therefore
# the --v2 flag can be omitted when running sl check-analysis
version: 2
build_rules:
- id: Allow no critical findings
finding_types:
- vuln
severities:
- critical
threshold: 0
options:
num_findings: 10 # Return 10 sast findings
- id: Allow one OSS or container finding
finding_types:
- oss_vuln
- container
threshold: 1
- id: Allow no reachable OSS vulnerability
finding_types:
- oss_vuln
- container
options:
reachable: true
- id: Allow no critical findings
severities:
- critical
- id: Allow one OSS or container finding
finding_types:
- oss_vuln
- container
threshold: 1
- id: Allow no reachable OSS vulnerability
finding_types:
- oss_vuln
options:
reachable: true