Skip to content

Add delete mutation for DAST scanner profile

Craig Smith requested to merge delete_scanner_profile_241126 into master

What does this MR do?

This MR relates to #241126 (closed)

Mutation for updating a DAST Scanner Profile

This MR adds a GraphQL mutation that allows users to delete scanner profiles for on-demand scans.

Example mutation

mutation {
  dastScannerProfileDelete(input: {
    id: "gid://gitlab/DastScannerProfile/4"
    fullPath: "root/security-reports" 
  }) {
    errors
  }
}

Screenshots

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
Edited by Mark Chao

Merge request reports

Loading