Skip to content

Add drawer and form for Secret detection exclusions

Dheeraj Joshi requested to merge djadmin-allowlist-empty-state-2 into master

Implements #480029 (closed)

What does this MR do and why?

Adds a new drawer and form components for the Secret detection exclusions feature. Please note that this MR is dependent on: !164349 (merged), so target the corresponding branch.

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 image

Variants for different type selection (you can notice the change in the content placeholder values

Path Raw value Regex Rule
image image image image

How to set up and validate locally

  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. The empty state should be shown as per the designs.
  3. Click on "Add exclusion" to see the drawer and the form.
  4. You may require to restart rails with gdk restart rails-web or hard reload the browser to see these changes.
Edited by Dheeraj Joshi

Merge request reports

Loading