Skip to content

Commit

Permalink
feat: improve warning for externally described components
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarseu committed Oct 16, 2024
1 parent 9fc3cb8 commit 077d948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdxev/validator/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def validate_sbom(
elif "name" in comp:
comp_id = f"Component [name: {comp['name']}]"
else:
comp_id = "Unidentified component"
comp_id = f"Unidentified component at {error.json_path}"

logger.warning(
comp_id + " is described by an external BOM. "
Expand Down

0 comments on commit 077d948

Please sign in to comment.