Skip to content

Commit 0d09c17

Browse files
authored
Update shiftleft.yml with licenses build rules
1 parent 93c8688 commit 0d09c17

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

shiftleft.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ build_rules:
3131
threshold: 0
3232
options:
3333
num_findings: 10 # Return 10 container findings
34+
- id: "Allow no license violations"
35+
finding types:
36+
- license
37+
licenses:
38+
- allow:
39+
- Apache-2.0, Public-Domain, Unknown
40+
- block:
41+
- MIT
42+
threshold: 0
3443
# The above rule is perhaps the most common in that it
3544
# is designed to be used with Pull Request and to block
3645
# new vulns from being introduced that aren't already on

0 commit comments

Comments
 (0)