Display security approval rules when creating a new project - Implement Action/Mutations for Security Configuration endpoint

Parent Issue: #31922 (closed)

Tasks # Description frontend issue frontend weight
1 This issue -> Implement Action/Mutations for Security Configuration endpoint #229827 (closed) frontend-weight3
2 Implement Vulnerability-Check/License-Check rows #229825 (closed) frontend-weight5
3 Implement tooltips in `unconfigured_approval_rule' component #229828 (closed) frontend-weight3

Rows

Description

Implement the actions, mutations, and store updates for the Security Configuration json endpoint located at https://gitlab.com/caneldem/security-reports2/-/security/configuration.json

We need the configured status to determine if we show the "Enable" button in #229825 (closed)

Implementation Plan

  • Create VueX module for SecurityConfiguration that includes it's own set of actions, mutations, and state
  • Action/Mutation/Store property to set endpoint string
  • Action/Mutation/Store property to invoke AXIOS ajax request, and to store the response or request error
  • Write a new suite of unit tests to test actions, mutations, and state.

Testing

Engineer to write unit test suite to test functions.

SET to add an End to End test to the GitLab test suite for security configuration.

Edited by -