Skip to content

Implement page to list project-level security exclusions

Dheeraj Joshi requested to merge djadmin-security-exclusion-query into master

Related issue: #480027 (closed)

Design issue: #479344[Secret_detection_-_allow_list_-_project_level_-_filled.png]

What does this MR do and why?

Adds a tabular design template to list project-level security exclusion using GraphQL API.

Please note

  1. Some of the columns have dummy data, as the API is not quite ready. Example - Modified field actual value will added later.
  2. The feature is behind a feature flag

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After

image.png

image

How to set up and validate locally

Please note reproducing this locally may not be trivial. This MR lists the data from DB, however the mutation to add the data in the DB is still not merged yet: !165396 (merged)

  1. Enable feature flag
Feature.enable(:secret_detection_project_level_exclusions)
  1. Visit secret detection configuration page for a project http://gdk.test:3000/flightjs/Flight/-/security/configuration/secret_detection
  2. You'll need to merge changes from !164873 (merged) to add data mutation
Edited by Dheeraj Joshi

Merge request reports

Loading