From a3e5485dfcd2e8372f2056b145554fae808ff576 Mon Sep 17 00:00:00 2001 From: Pavel Nakonechnyi Date: Thu, 17 Oct 2024 13:52:15 +0200 Subject: [PATCH] t --- dojo/tools/neuvector/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/tools/neuvector/parser.py b/dojo/tools/neuvector/parser.py index a228a33f48..274ac39fd9 100644 --- a/dojo/tools/neuvector/parser.py +++ b/dojo/tools/neuvector/parser.py @@ -246,7 +246,7 @@ def endpoints_from_asset(kind, asset): artifact_and_tag = image.split("/")[-1] # extracting only image name, without tag or digest artifact_name = artifact_and_tag.split("@")[0] - artifact_name = artifact_name(":")[0] + artifact_name = artifact_name.split(":")[0] endpoints.append(Endpoint( host=f"{artifact_name}",