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}",