From 54efc47f7ed72e41bcfe0b41d62a4cc70cc17c8d Mon Sep 17 00:00:00 2001 From: Ivan Milchev Date: Tue, 24 Jan 2023 16:48:00 +0100 Subject: [PATCH] convert exemptedMembers to slice of interface Signed-off-by: Ivan Milchev --- resources/packs/gcp/iam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/packs/gcp/iam.go b/resources/packs/gcp/iam.go index fbda840fe0..4297c3f4ee 100644 --- a/resources/packs/gcp/iam.go +++ b/resources/packs/gcp/iam.go @@ -154,7 +154,7 @@ func auditConfigsToMql(runtime *resources.Runtime, auditCfgs []*cloudresourceman cfgs := make([]interface{}, 0, len(a.AuditLogConfigs)) for _, c := range a.AuditLogConfigs { cfgs = append(cfgs, map[string]interface{}{ - "exemptedMembers": c.ExemptedMembers, + "exemptedMembers": core.StrSliceToInterface(c.ExemptedMembers), "logType": c.LogType, }) }