[FE] UI for Pipeline > Security Report Page
Problem
We want to display token validity status in the Pipeline Security Report page.
Proposed Solution
We can follow the same logic as the Vulnerability Report.
Implementation Plan
-
app/assets/javascripts/ci/pipeline_details/pipeline_details_bundle.jswe want to parsevalidityChecksEnabledfrom the dataset and then include it insecurityRoute.props -
ee/app/assets/javascripts/security_dashboard/components/pipeline/pipeline_security_dashboard.vueprovidevalidityChecksEnabled -
ee/app/controllers/ee/projects/pipelines_controller.rbwe want topush_frontend_feature_flag(:validity_checks, project, type: :wip)so thatVulnerabilityListhas access to the feature flag -
ee/app/helpers/ee/projects/pipeline_helper.rbaddvalidity_checks_enabledtojs_pipeline_tabs_dataso that the FE can receive whether or not the project has been opted-in
That should be enough to get it displayed there as the logic for displaying the findingTokenStatus was introduced back during Vulnerability Report since they use the same component.
Edited by Radu Birsan
