diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-13 03:10:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-13 03:10:17 +0300 |
commit | dce8d0c6a7fdc7cca4df3b00b11d68000d117e2f (patch) | |
tree | ae6060a584549cfcecced34eea93e2b4fe5c64ed /doc/administration/audit_event_streaming/graphql_api.md | |
parent | 74cb1a1df361969e97d1a85683c1dfca5ac8cad1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/audit_event_streaming/graphql_api.md')
-rw-r--r-- | doc/administration/audit_event_streaming/graphql_api.md | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/administration/audit_event_streaming/graphql_api.md b/doc/administration/audit_event_streaming/graphql_api.md index 768b1f03bf3..905276a8257 100644 --- a/doc/administration/audit_event_streaming/graphql_api.md +++ b/doc/administration/audit_event_streaming/graphql_api.md @@ -112,8 +112,19 @@ mutation above. ```graphql mutation { - auditEventsStreamingHeadersCreate(input: { destinationId: "gid://gitlab/AuditEvents::ExternalAuditEventDestination/24601", key: "foo", value: "bar" }) { + auditEventsStreamingHeadersCreate(input: { + destinationId: "gid://gitlab/AuditEvents::ExternalAuditEventDestination/1", + key: "foo", + value: "bar", + active: false + }) { errors + header { + id + key + value + active + } } } ``` @@ -146,6 +157,7 @@ query { key value id + active } } eventTypeFilters @@ -500,13 +512,15 @@ mutation { { destinationId: "gid://gitlab/AuditEvents::InstanceExternalAuditEventDestination/42", key: "foo", - value: "bar" + value: "bar", + active: true }) { errors header { id key value + active } } } @@ -538,6 +552,7 @@ query { id key value + active } } eventTypeFilters @@ -590,12 +605,13 @@ by [listing all the custom HTTP headers](#list-streaming-destinations-1) for the ```graphql mutation { - auditEventsStreamingInstanceHeadersUpdate(input: { headerId: "gid://gitlab/AuditEvents::Streaming::InstanceHeader/2", key: "new-key", value: "new-value" }) { + auditEventsStreamingInstanceHeadersUpdate(input: { headerId: "gid://gitlab/AuditEvents::Streaming::InstanceHeader/2", key: "new-key", value: "new-value", active: false }) { errors header { id key value + active } } } |