How To 7 - Configure Vulnerability Triage¶
This chapter explains how to create and configure Triage Rulesets for your Dataspace and how to assign them to products. Triage rulesets automatically detect vulnerabilities that match configured conditions and recommend a remediation action to your product teams.
All rulesets are disabled by default. You must create and configure the rulesets that are relevant to your security program, then assign them to the products you want to monitor.
See also
Refer to Vulnerability Triage Engine for a complete description of all available rules, actions, triage record lifecycle, and configuration options.
Tip
To get started quickly, a set of reference rulesets and presets covering common
scenarios can be seeded automatically with ./manage.py create_triage_rulesets
<dataspace_name>. This section covers creating a ruleset manually for full
control over its rules and thresholds.
Create a Triage Ruleset¶
From the Admin Dashboard, navigate to Vulnerabilities Triage > Triage rulesets.
Click Add triage ruleset.
Fill in the Name field with a descriptive label (e.g., “Critical and Exploited”).
Select a Recommended action from the dropdown. This is the remediation action that will be recommended when any rule in the ruleset fires.
Set a Precedence value (integer). Higher values take priority when multiple rulesets match the same vulnerability on the same product.
Leave Enabled checked to make the ruleset active immediately after saving.
Configure Rules¶
Below the base fields, each built-in rule appears as a collapsible section.
Expand the rule sections you want to activate.
Check the Enable [Rule Name] checkbox to include that rule in the ruleset evaluation.
For rules that support parameters, adjust the threshold values:
Risk Score: set Min risk score (default 8.0) to restrict detection to vulnerabilities at or above that score.
Weighted Risk: set Min weighted risk score (default 8.0) to restrict detection by weighted package exposure.
Stale Vulnerability: set Max days (default 30) and Min risk score (default 8.0).
Advisory Source: set Datasource ids to a comma-separated list of VulnerableCode datasource IDs (e.g.,
ghsa, nvd). The rule matches nothing until at least one ID is set.
A ruleset must have at least one rule enabled to produce any triage records.
Click Save to create the ruleset. Disabling a rule that was previously active removes the triage records it produced on the next evaluation.
Set Up an Analysis Preset¶
An Analysis Preset instructs the engine to automatically apply default analysis
values to each vulnerability matched by the ruleset. This is useful when you want to
pre-fill new analyses with a known state, such as marking newly detected vulnerabilities
as in_triage.
To create an Analysis Preset:
Navigate to Vulnerabilities Triage > Analysis presets.
Click Add analysis preset.
Fill in the Name and optionally a Description.
Under Analysis defaults, configure the fields you want the engine to apply:
State: e.g.,
in_triageto mark all new analyses as being evaluated.Justification, Responses, Detail, Is Reachable: leave blank to leave that field unchanged on any existing analysis.
Click Save.
To attach the preset to a ruleset, open the ruleset form and select the preset in the Analysis preset field, then save.
Note
Only analyses created by the preset are updated on subsequent evaluation runs. Any analysis modified by a user is never overwritten.
Link a Request Template¶
When a Request Template is linked to a ruleset, the engine opens one DejaCode request per new triage record automatically. This routes newly detected vulnerabilities into a review workflow without manual intervention.
Prerequisites:
A Request Template of object type Product must already exist under Workflow > Request templates.
The template must have a creator (the user who created it): they are used as the automatic requester. A template with no creator is rejected when you try to select it on a ruleset.
To link a template to a ruleset:
Open the ruleset form in the Admin interface.
Select the template in the Request template field. Only product-type templates are listed.
Click Save.
From the next evaluation, new triage records will have a DejaCode request opened automatically. Triage records that already have a linked request are not affected by subsequent evaluations.
Assign Rulesets to Products¶
A ruleset has no effect until it is assigned to one or more products.
Open a product detail page.
Navigate to the Vulnerabilities tab.
Click Manage triage rules in the tab’s toolbar.
In the modal that opens, select the rulesets you want to assign to this product.
Click Save.
The engine evaluates all assigned and enabled rulesets immediately. The Recommendation column appears in the Vulnerabilities tab as soon as at least one enabled ruleset is assigned.
To unassign a ruleset, open the same modal and deselect it. Existing triage records for that ruleset are deleted (a record with an open request is kept so reassigning the ruleset later reconnects to it instead of opening a duplicate). Preset-applied analyses are left in place: only the tracking record is removed, not the analysis itself.
Manage Precedence¶
When multiple rulesets are assigned to a product and their rules overlap on the same vulnerability, only the record from the highest-precedence ruleset is displayed in the Recommendation column. Lower-precedence records still exist and are maintained by the engine, but are hidden from the product view.
To adjust precedence:
Open the ruleset form in the Admin interface.
Change the Precedence value. A higher number raises the ruleset’s priority.
Click Save.
Re-evaluation of all assigned products is triggered automatically after saving.