Skip to content

Add standards filter in compliance adherence filters

Harsimar Sandhu requested to merge 457843-filter-by-soc-standards into master

What does this MR do and why?

Add standards filter in compliance adherence filters

This commit adds new adherence filters type in project compliance standard adherence graphql connection

Changelog: added EE: true

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Open graphql explorer and check below Graphql
query getComplianceAdherence($filter: ComplianceStandardsAdherenceFilterInput = {standards: [GITLAB, SOC2]}) {
  group(fullPath: "flightjs") {
    id
    projectComplianceStandardsAdherence(adherenceFilters:$filter) {
      nodes {
        id
        checkName
        standard
      }
    }
  }
}

Related to #457843

Edited by Harsimar Sandhu

Merge request reports