Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/sbom-diff-and-risk/examples/requirements_after.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
requests==2.32.0
urllib3==2.2.1
urllib3==2.7.0
32 changes: 16 additions & 16 deletions tools/sbom-diff-and-risk/examples/sample-requirements-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"added": [
{
"name": "urllib3",
"version": "2.2.1",
"version": "2.7.0",
"ecosystem": "pypi",
"purl": "pkg:pypi/urllib3@2.2.1",
"purl": "pkg:pypi/urllib3@2.7.0",
"license_id": null,
"supplier": null,
"source_url": null,
Expand All @@ -28,8 +28,8 @@
"evidence": {
"source_format": "requirements-txt",
"line_number": 2,
"raw_requirement": "urllib3==2.2.1",
"specifier": "==2.2.1",
"raw_requirement": "urllib3==2.7.0",
"specifier": "==2.7.0",
"marker": null,
"extras": [],
"url": null
Expand Down Expand Up @@ -90,9 +90,9 @@
"component_key": "purl:pkg:pypi/urllib3",
"component": {
"name": "urllib3",
"version": "2.2.1",
"version": "2.7.0",
"ecosystem": "pypi",
"purl": "pkg:pypi/urllib3@2.2.1",
"purl": "pkg:pypi/urllib3@2.7.0",
"license_id": null,
"supplier": null,
"source_url": null,
Expand All @@ -101,8 +101,8 @@
"evidence": {
"source_format": "requirements-txt",
"line_number": 2,
"raw_requirement": "urllib3==2.2.1",
"specifier": "==2.2.1",
"raw_requirement": "urllib3==2.7.0",
"specifier": "==2.7.0",
"marker": null,
"extras": [],
"url": null
Expand Down Expand Up @@ -140,9 +140,9 @@
"component_key": "purl:pkg:pypi/urllib3",
"component": {
"name": "urllib3",
"version": "2.2.1",
"version": "2.7.0",
"ecosystem": "pypi",
"purl": "pkg:pypi/urllib3@2.2.1",
"purl": "pkg:pypi/urllib3@2.7.0",
"license_id": null,
"supplier": null,
"source_url": null,
Expand All @@ -151,8 +151,8 @@
"evidence": {
"source_format": "requirements-txt",
"line_number": 2,
"raw_requirement": "urllib3==2.2.1",
"specifier": "==2.2.1",
"raw_requirement": "urllib3==2.7.0",
"specifier": "==2.7.0",
"marker": null,
"extras": [],
"url": null
Expand Down Expand Up @@ -190,9 +190,9 @@
"component_key": "purl:pkg:pypi/urllib3",
"component": {
"name": "urllib3",
"version": "2.2.1",
"version": "2.7.0",
"ecosystem": "pypi",
"purl": "pkg:pypi/urllib3@2.2.1",
"purl": "pkg:pypi/urllib3@2.7.0",
"license_id": null,
"supplier": null,
"source_url": null,
Expand All @@ -201,8 +201,8 @@
"evidence": {
"source_format": "requirements-txt",
"line_number": 2,
"raw_requirement": "urllib3==2.2.1",
"specifier": "==2.2.1",
"raw_requirement": "urllib3==2.7.0",
"specifier": "==2.7.0",
"marker": null,
"extras": [],
"url": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
## Added components
| name | version | ecosystem | risk buckets |
|------|---------|-----------|--------------|
| urllib3 | 2.2.1 | pypi | new_package, not_evaluated, unknown_license |
| urllib3 | 2.7.0 | pypi | new_package, not_evaluated, unknown_license |

## Removed components
| name | version | ecosystem |
Expand All @@ -92,11 +92,11 @@
## Risk findings
| bucket | component | version | rationale |
|--------|-----------|---------|-----------|
| new_package | urllib3 | 2.2.1 | Component was not present in the before input. |
| new_package | urllib3 | 2.7.0 | Component was not present in the before input. |
| not_evaluated | requests | 2.32.0 | stale_package was not evaluated because enrichment mode is disabled. |
| not_evaluated | urllib3 | 2.2.1 | stale_package was not evaluated because enrichment mode is disabled. |
| not_evaluated | urllib3 | 2.7.0 | stale_package was not evaluated because enrichment mode is disabled. |
| unknown_license | requests | 2.32.0 | License is missing, empty, UNKNOWN, or NOASSERTION. |
| unknown_license | urllib3 | 2.2.1 | License is missing, empty, UNKNOWN, or NOASSERTION. |
| unknown_license | urllib3 | 2.7.0 | License is missing, empty, UNKNOWN, or NOASSERTION. |
| version_change_unclassified | requests | 2.32.0 | Version changed but did not qualify as a parseable SemVer major upgrade. |

## Blocking violations
Expand Down