FE: Update scan result severity level criteria to display automatically
Why are we doing this work
- see Policy Editor Rule Mode UX enhancements (&11079) for details
Implementation plan
-
frontend update filter to not use null
and[]
, but instead to get the information from the yaml -
frontend display severity_levels
criteria UI by default withAll selected
selected in security_scan_rule_builder -
frontend when a user selects All
, theseverity_levels: []
shows in the yaml in security_scan_rule_builder
Verification steps
- Navigate to scan result policy editor rule mode
- verify that
severity_levels
criteria UI shows withAll severity levels
selected in rule mode and theseverity_levels
key is not in the yaml - User selects specific severity
- verify that
severity_levels
key appears in yaml with selected values in an array - User selects
All severity levels
- verify that
severity_levels
key in yaml is removed
Edited by Alexander Turinske