Skip to content

Commit a7159bf

Browse files
committed
add rules paramter section
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent 6fa52b2 commit a7159bf

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/howto-6-policy-rules-configuration.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,19 @@ schedule a background re-evaluation of all products in the Dataspace.
3636
.. note::
3737
Rules that are not enabled are skipped during evaluation and any previously open
3838
violations for those rules are automatically resolved.
39+
40+
3. Configure Rule Parameters
41+
-----------------------------
42+
43+
Vulnerability-based rules expose additional parameter fields to narrow their scope.
44+
45+
For the **Vulnerability Detected** rule, you can set a :guilabel:`Min Risk Score` to
46+
restrict detection to vulnerabilities above a minimum risk score. Leave the field blank
47+
to flag any vulnerability regardless of score.
48+
49+
For the **Vulnerability Stale** rule, two parameters are available:
50+
51+
- :guilabel:`Max Days`: the maximum number of days a high-risk vulnerability may remain
52+
unaddressed before the package is flagged. Defaults to 30.
53+
- :guilabel:`Min Risk Score`: only vulnerabilities at or above this score are
54+
considered. Defaults to 8.0.

0 commit comments

Comments
 (0)