From fa938e76bb25b2e9a0df0c2c1eeac5bd8d815cd6 Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Fri, 17 Mar 2023 11:37:13 +0530 Subject: [PATCH] nosec g705 --- gql/util.go | 2 ++ 1 file changed, 2 insertions(+) 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 {