The action to take when a severity modifier rule matches a finding. This is a discriminated union on type: set assigns a fixed severity, while shift moves the severity up or down by one rank.
With type: set, send severity (info_none, low, medium, high, or critical) and no severity_delta. With type: shift, send severity_delta (up_one or down_one) and no severity. Both accept an optional description. A shift rule doesn't match findings with an unknown severity.
A severity modifier rule's rule.query must not filter on @severity or on the @severity_details.user_adjusted.* namespace.
Use @severity_details.adjusted.value instead, which reflects the severity before user-defined adjustments.
The action to take when a severity modifier rule matches a finding. This is a discriminated union on
type:setassigns a fixed severity, whileshiftmoves the severity up or down by one rank.With
type: set, sendseverity(info_none,low,medium,high, orcritical) and noseverity_delta. Withtype: shift, sendseverity_delta(up_oneordown_one) and noseverity. Both accept an optionaldescription. Ashiftrule doesn't match findings with an unknown severity.A severity modifier rule's
rule.querymust not filter on@severityor on the@severity_details.user_adjusted.*namespace.Use
@severity_details.adjusted.valueinstead, which reflects the severity before user-defined adjustments.