Added audit events for update and destroy destinations
Compare changes
Files
5@@ -26,7 +26,7 @@ def find_object(destination_gid)
@@ -35,7 +35,7 @@ def audit(destination, action:)
Adding audit events for updation and deletion of instance level external audit event destinations.
query {
instanceExternalAuditEventDestinations {
nodes {
id
destinationUrl
verificationToken
headers {
nodes {
id
key
value
}
}
}
}
}
mutation {
instanceExternalAuditEventDestinationUpdate(input: {
id: "gid://gitlab/AuditEvents::InstanceExternalAuditEventDestination/<id>",
destinationUrl: "https://www.newexample.com"
}) {
errors
instanceExternalAuditEventDestination {
destinationUrl
id
verificationToken
}
}
}
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #404730 (closed)