Skip to content

Added delete api for group audit event destinations

Hitesh Raghuvanshi requested to merge 436610-delete-group-destinations into master

What does this MR do and why?

Added delete api for consolidated group level external audit event streaming destinations. Create api for the same was added in !147888 (merged).

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.

How to set up and validate locally

  1. Follow steps in !147888 (merged) for creating and fetching the list of destinations for a group.
  2. Run following mutation to delete a destination, it should delete the destination and not return any errors. For checking the destination is deleted, you can use the list destinations query for groups.
mutation groupAuditEventStreamingDestinationsDelete{
  groupAuditEventStreamingDestinationsDelete(input: { id: "gid://gitlab/AuditEvents::Group::ExternalStreamingDestination/1" }) {

Related to #436610 (closed)

Edited by Hitesh Raghuvanshi

Merge request reports