Skip to content

Commit 156e06d

Browse files
authored
Merge pull request #1 from TEag1e/demo-branch-1692944878
Add ShiftLeft build rules
2 parents f2c8fd5 + cb501aa commit 156e06d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

shiftleft.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
build_rules:
3+
- id: Allow no critical findings
4+
severities:
5+
- critical
6+
- id: Allow one OSS or container finding
7+
finding_types:
8+
- oss_vuln
9+
- container
10+
threshold: 1
11+
- id: Allow no reachable OSS vulnerability
12+
finding_types:
13+
- oss_vuln
14+
options:
15+
reachable: true

0 commit comments

Comments
 (0)