From e4c3d0169666eb6ecaa60130ab062aea1360b1d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Bj=C3=B8rnstad?= Date: Wed, 30 Oct 2024 11:36:58 +0100 Subject: [PATCH] Add enum value for SECRET to AuditResourceType --- internal/v1/graphv1/gengqlv1/generated.go | 5 +++++ internal/v1/graphv1/schema/secret.graphqls | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/internal/v1/graphv1/gengqlv1/generated.go b/internal/v1/graphv1/gengqlv1/generated.go index 9c74cba0..6f5b3760 100644 --- a/internal/v1/graphv1/gengqlv1/generated.go +++ b/internal/v1/graphv1/gengqlv1/generated.go @@ -10914,6 +10914,11 @@ type SecretValue { value: String! } +extend enum AuditResourceType { + "All audit entries related to secrets will use this resource type." + SECRET +} + type SecretCreatedAuditEntry implements AuditEntry & Node { "ID of the entry." id: ID! diff --git a/internal/v1/graphv1/schema/secret.graphqls b/internal/v1/graphv1/schema/secret.graphqls index 175dbac7..1ba5b4a5 100644 --- a/internal/v1/graphv1/schema/secret.graphqls +++ b/internal/v1/graphv1/schema/secret.graphqls @@ -281,6 +281,11 @@ type SecretValue { value: String! } +extend enum AuditResourceType { + "All audit entries related to secrets will use this resource type." + SECRET +} + type SecretCreatedAuditEntry implements AuditEntry & Node { "ID of the entry." id: ID!