Skip to content

Commit eb0f811

Browse files
committed
Enhance .custom-gatecheck.yml with examples for CVE metadata tags in risk acceptance sections
1 parent 5c690ee commit eb0f811

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.custom-gatecheck.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,22 @@ grype:
2929
cveLimit:
3030
enabled: false # Whether to enforce specific CVE limits
3131
cves: [] # List of specific CVEs to check against
32-
32+
# Example with metadata tags:
33+
# - id: "CVE-2024-1234"
34+
# metadata:
35+
# tags: ["blocking", "high-priority"]
36+
3337
epssRiskAcceptance:
3438
enabled: false # Whether to accept risks based on EPSS scores
3539
score: 0.001 # EPSS score threshold for risk acceptance
36-
40+
3741
cveRiskAcceptance:
3842
enabled: false # Whether to accept risks for specific CVEs
3943
cves: [] # List of accepted CVEs
44+
# Example with metadata tags:
45+
# - id: "CVE-2023-5678"
46+
# metadata:
47+
# tags: ["accepted", "low-risk", "temporary"]
4048

4149
# CycloneDX configuration (for Software Bill of Materials scanning)
4250
cyclonedx:
@@ -62,12 +70,20 @@ cyclonedx:
6270
cveLimit:
6371
enabled: false
6472
cves: []
73+
# Example with metadata tags:
74+
# - id: "CVE-2024-1234"
75+
# metadata:
76+
# tags: ["blocking", "high-priority"]
6577
epssRiskAcceptance:
6678
enabled: false
6779
score: 0
6880
cveRiskAcceptance:
6981
enabled: false
7082
cves: []
83+
# Example with metadata tags:
84+
# - id: "CVE-2023-5678"
85+
# metadata:
86+
# tags: ["accepted", "low-risk", "temporary"]
7187

7288
# Semgrep configuration (for static code analysis)
7389
semgrep:

0 commit comments

Comments
 (0)