From 5f9b31bb71cc5b5edd50100a387b0412de5fe1cd Mon Sep 17 00:00:00 2001 From: David Rochow Date: Wed, 25 Sep 2024 14:18:19 +0200 Subject: [PATCH] fix(k8s): fixed k8s scanner (#251) * feat(scanner/k8s): fix context timeout config * fix(scanner/k8s): fix logical error during ImageID parsing * fix(scanner/k8s): fix processing * Automatic application of license header * fix(scanner/k8s): added componentName ot filter * refactor(mariadb/issue): reverted debugging change * fix: addressed comments * feat: adding error generalization * Automatic application of license header * fix: added import * fix: re-generated gql --------- Co-authored-by: License Bot Co-authored-by: Michael Reimsbach --- internal/api/graphql/graph/resolver/activity.go | 2 +- internal/api/graphql/graph/resolver/component.go | 2 +- internal/api/graphql/graph/resolver/component_instance.go | 2 +- internal/api/graphql/graph/resolver/component_version.go | 2 +- internal/api/graphql/graph/resolver/evidence.go | 2 +- internal/api/graphql/graph/resolver/issue.go | 2 +- internal/api/graphql/graph/resolver/issue_match.go | 2 +- internal/api/graphql/graph/resolver/issue_match_change.go | 2 +- internal/api/graphql/graph/resolver/issue_match_filter_value.go | 2 +- internal/api/graphql/graph/resolver/issue_repository.go | 2 +- internal/api/graphql/graph/resolver/issue_variant.go | 2 +- internal/api/graphql/graph/resolver/mutation.go | 2 +- internal/api/graphql/graph/resolver/query.go | 2 +- internal/api/graphql/graph/resolver/service.go | 2 +- internal/api/graphql/graph/resolver/service_filter.go | 2 +- internal/api/graphql/graph/resolver/support_group.go | 2 +- internal/api/graphql/graph/resolver/user.go | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/internal/api/graphql/graph/resolver/activity.go b/internal/api/graphql/graph/resolver/activity.go index f353f2a..39fa84a 100644 --- a/internal/api/graphql/graph/resolver/activity.go +++ b/internal/api/graphql/graph/resolver/activity.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/component.go b/internal/api/graphql/graph/resolver/component.go index 848c704..9f39f8d 100644 --- a/internal/api/graphql/graph/resolver/component.go +++ b/internal/api/graphql/graph/resolver/component.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/component_instance.go b/internal/api/graphql/graph/resolver/component_instance.go index 0d45eda..7b31647 100644 --- a/internal/api/graphql/graph/resolver/component_instance.go +++ b/internal/api/graphql/graph/resolver/component_instance.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/component_version.go b/internal/api/graphql/graph/resolver/component_version.go index 3ae430c..deafa87 100644 --- a/internal/api/graphql/graph/resolver/component_version.go +++ b/internal/api/graphql/graph/resolver/component_version.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/evidence.go b/internal/api/graphql/graph/resolver/evidence.go index e1ac9c7..9d303be 100644 --- a/internal/api/graphql/graph/resolver/evidence.go +++ b/internal/api/graphql/graph/resolver/evidence.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/issue.go b/internal/api/graphql/graph/resolver/issue.go index fb7518a..7eebf7d 100644 --- a/internal/api/graphql/graph/resolver/issue.go +++ b/internal/api/graphql/graph/resolver/issue.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/issue_match.go b/internal/api/graphql/graph/resolver/issue_match.go index 02b3a98..584d23c 100644 --- a/internal/api/graphql/graph/resolver/issue_match.go +++ b/internal/api/graphql/graph/resolver/issue_match.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/issue_match_change.go b/internal/api/graphql/graph/resolver/issue_match_change.go index 9941fa5..c19deb4 100644 --- a/internal/api/graphql/graph/resolver/issue_match_change.go +++ b/internal/api/graphql/graph/resolver/issue_match_change.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/issue_match_filter_value.go b/internal/api/graphql/graph/resolver/issue_match_filter_value.go index e77196d..ed9ad6d 100644 --- a/internal/api/graphql/graph/resolver/issue_match_filter_value.go +++ b/internal/api/graphql/graph/resolver/issue_match_filter_value.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/issue_repository.go b/internal/api/graphql/graph/resolver/issue_repository.go index 88c3623..8c75b2f 100644 --- a/internal/api/graphql/graph/resolver/issue_repository.go +++ b/internal/api/graphql/graph/resolver/issue_repository.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/issue_variant.go b/internal/api/graphql/graph/resolver/issue_variant.go index 68d3d47..c39e90b 100644 --- a/internal/api/graphql/graph/resolver/issue_variant.go +++ b/internal/api/graphql/graph/resolver/issue_variant.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/mutation.go b/internal/api/graphql/graph/resolver/mutation.go index 93f9e0f..05ee4f9 100644 --- a/internal/api/graphql/graph/resolver/mutation.go +++ b/internal/api/graphql/graph/resolver/mutation.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/query.go b/internal/api/graphql/graph/resolver/query.go index 564e7a2..7598418 100644 --- a/internal/api/graphql/graph/resolver/query.go +++ b/internal/api/graphql/graph/resolver/query.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/service.go b/internal/api/graphql/graph/resolver/service.go index 2a49982..3f60b4c 100644 --- a/internal/api/graphql/graph/resolver/service.go +++ b/internal/api/graphql/graph/resolver/service.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/service_filter.go b/internal/api/graphql/graph/resolver/service_filter.go index 432a567..d7fbb60 100644 --- a/internal/api/graphql/graph/resolver/service_filter.go +++ b/internal/api/graphql/graph/resolver/service_filter.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/support_group.go b/internal/api/graphql/graph/resolver/support_group.go index c4d21ac..a14b007 100644 --- a/internal/api/graphql/graph/resolver/support_group.go +++ b/internal/api/graphql/graph/resolver/support_group.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context" diff --git a/internal/api/graphql/graph/resolver/user.go b/internal/api/graphql/graph/resolver/user.go index fcb41d0..624f2d8 100644 --- a/internal/api/graphql/graph/resolver/user.go +++ b/internal/api/graphql/graph/resolver/user.go @@ -5,7 +5,7 @@ package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.54 import ( "context"