Skip to content

Add ability to create compliance frameworks via GraphQL

Max Woolf requested to merge 255340-graphql-create-compliance-framework into master

What does this MR do?

  • Adds a new GraphQL mutation to create a new custom compliance framework on a namesapce.

### Example

mutation {
  createComplianceFramework(input: { name: "Madax", description: "MAXDESC", namespacePath: "root-group", color: "#ABC123" } ) {
    framework {
      id
      name
      color
      description
    }
    errors
  }
}

Screenshots (strongly suggested)

### Failure

Screenshot_2020-11-27_at_15.19.08

Success

Screenshot_2020-11-27_at_15.17.59

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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 #255340 (closed)

Edited by Max Woolf

Merge request reports