FE: Update scan execution tags criteria to display automatically
Why are we doing this work
- see Policy Editor Rule Mode UX enhancements (&11079) for details
Implementation plan
-
frontend remove tags: []
from default scan execution yaml and build_scanner_action -
frontend display tags
criteria UI by default withselected automatically
selected in policy_action_builder. Same for when a new action is added -
frontend when a user selects selected automatically
, thetags
key is removed from the yaml in policy_action_builder
Verification steps
- Navigate to scan result policy editor rule mode
- verify that tags criteria UI shows with
selected automatically
selected in rule mode and the tags key is not in the yaml - User selects specific tags
- verify that tags key appears in yaml with selected values in an array
- User selects selected automatically
- verify that tags key in yaml is removed
Edited by Alexander Turinske