Skip to content
Open
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions ngsast.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ngsast:
- app:
name: shiftleft-java-demo
additional-findings:
- hsl-secrets
policy: io.shiftleft/helloshiftleft
language: JAVA
additional-findings:
hsl-secrets:
entropy: 1.0
name: secrets
include:
- "**/*.properties"
- src/**
6 changes: 3 additions & 3 deletions shiftleft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_rules:
cvss_31_severity_ratings:
- critical
- high
threshold: 0
threshold: 10
options:
num_findings: 10 # Return 10 sast findings
- id: "No reachable SCA findings"
Expand All @@ -17,7 +17,7 @@ build_rules:
cvss_31_severity_ratings:
- critical
- high
threshold: 0
threshold: 10
options:
reachable: true
num_findings: 10 # Return 10 reachable sca findings
Expand All @@ -27,6 +27,6 @@ build_rules:
cvss_31_severity_ratings:
- critical
- high
threshold: 0
threshold: 10
options:
num_findings: 10 # Return 10 container findings