Skip to content

Mount the policies list component on the scan policy page

Savas Vedova requested to merge 321884-move-policies-page-to-its-own-page into master

What does this MR do?

The Scan Policies page under the Security & Compliance tab is being converted to Policies page where we will display a list of policies and add the ability to select the project to scan the policies from. As of today, this view displays only a header. With this commit, we also start displaying a list of policies.

Screenshots or Screencasts (strongly suggested)

Before After
image image
Empty state
image

How to setup and validate locally (strongly suggested)

  1. Clone this project locally: https://gitlab.com/aturinske/sec-orchestration
  2. Set a dummy environment by visiting Deployments > Environments > New Environment
  3. Enable the :security_orchestration_policies_configuration feature flag
  4. Click on Security & Compliance > Scan Policies

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #321884 (closed)

Edited by Savas Vedova

Merge request reports