Skip to content

Commit

Permalink
convert exemptedMembers to slice of interface
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <ivan@mondoo.com>
  • Loading branch information
imilchev committed Jan 27, 2023
1 parent af47173 commit 54efc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/packs/gcp/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}
Expand Down

0 comments on commit 54efc47

Please sign in to comment.