diff --git a/gql/util.go b/gql/util.go index 1bc5748f..5eeba91b 100644 --- a/gql/util.go +++ b/gql/util.go @@ -170,6 +170,8 @@ func getReferences(ctx context.Context, resolver QueryResolver, r *registrytypes func getIds(obj map[string]interface{}) []string { var ids []string + + // #nosec G705 for key := range obj { if innerObj, ok := obj[key].(map[string]interface{}); ok { if _, ok := innerObj["/"]; ok && len(innerObj) == 1 {