[Frontend] Add file path action to policy editor
Why are we doing this work
New policy type has single action for MVS
This Issue is about adding this action to newly created policy editor for pipeline execution
policy type
Relevant links
Design: #452328[step2-new-plolicy-editor.png]
Non-functional requirements
-
Documentation: -
Feature flag: pipeline_execution_policy_type
-
Performance: -
Testing: unit tests
Implementation plan
-
1. Add folder action
in new folder created after #454281 (closed) -
2. Add new actions section for policy_editor.vue
-
3. Use already existing component policy_editor/scan_execution/action/code_block_file_path.vue
it covers in full required functionality -
4. Ensure actions are updated and render with values propertly -
5. Update the order of file reference to be below the file path -
6. Address all design issues in !149366 (comment 1864671014) -
7. Update tooltip text with #452328[step2-new-plolicy-editor.png] (comment 1863584616) -
8. Ensure yaml matches schema (FE created before BE)
Verification steps
Edited by Alexander Turinske