Skip to content

Commit d46f510

Browse files
committed
simplify descriptions
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent cb8f916 commit d46f510

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

policy/rules.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ class UnresolvedVulnerabilityCountRule(BaseRule):
141141
label = "Unresolved Vulnerability Count"
142142
severity = "warning"
143143
description = (
144-
"Counts individual package-vulnerability links in the product that have not been "
145-
"addressed via a VulnerabilityAnalysis with a terminal state "
146-
"(resolved, resolved_with_pedigree, or not_affected)."
144+
"Detects packages with known vulnerabilities that have not been triaged or addressed."
147145
)
148146

149147
def count_violations(self, product, threshold, parameters):
@@ -176,10 +174,8 @@ class StaleVulnerabilityRule(BaseRule):
176174
label = "Stale Vulnerability"
177175
severity = "error"
178176
description = (
179-
"Detects packages with a high-risk vulnerability that has remained unaddressed "
180-
"beyond a configured delay. The delay is measured from the detected_date on the "
181-
"package-vulnerability link, i.e. when the vulnerability was first imported for "
182-
"that specific package."
177+
"Detects packages with high-risk vulnerabilities that have remained unaddressed "
178+
"beyond a configured number of days."
183179
)
184180
parameters_schema = {
185181
"max_days": (

0 commit comments

Comments
 (0)