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

  1. From the Admin Dashboard, navigate to Vulnerabilities Triage > Triage rulesets.

  2. Click Add triage ruleset.

  3. Fill in the Name field with a descriptive label (e.g., “Critical and Exploited”).

  4. Select a Recommended action from the dropdown. This is the remediation action that will be recommended when any rule in the ruleset fires.

  5. Set a Precedence value (integer). Higher values take priority when multiple rulesets match the same vulnerability on the same product.

  6. Leave Enabled checked to make the ruleset active immediately after saving.

_images/add-ruleset-form.jpg

Configure Rules

Below the base fields, each built-in rule appears as a collapsible section.

  1. Expand the rule sections you want to activate.

  2. Check the Enable [Rule Name] checkbox to include that rule in the ruleset evaluation.

  3. 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.

_images/rule-sections.jpg

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:

  1. Navigate to Vulnerabilities Triage > Analysis presets.

  2. Click Add analysis preset.

  3. Fill in the Name and optionally a Description.

  4. Under Analysis defaults, configure the fields you want the engine to apply:

    • State: e.g., in_triage to mark all new analyses as being evaluated.

    • Justification, Responses, Detail, Is Reachable: leave blank to leave that field unchanged on any existing analysis.

  5. Click Save.

To attach the preset to a ruleset, open the ruleset form and select the preset in the Analysis preset field, then save.

_images/add-preset-form.jpg

Note

Only analyses created by the preset are updated on subsequent evaluation runs. Any analysis modified by a user is never overwritten.

Assign Rulesets to Products

A ruleset has no effect until it is assigned to one or more products.

  1. Open a product detail page.

  2. Navigate to the Vulnerabilities tab.

  3. Click Manage triage rules in the tab’s toolbar.

  4. In the modal that opens, select the rulesets you want to assign to this product.

  5. Click Save.

_images/manage-rulesets-modal.jpg

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:

  1. Open the ruleset form in the Admin interface.

  2. Change the Precedence value. A higher number raises the ruleset’s priority.

  3. Click Save.

Re-evaluation of all assigned products is triggered automatically after saving.