We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 273e549 + 4d15152 commit 710fcd6Copy full SHA for 710fcd6
examples/get_bom_component_remediation_info.py
@@ -27,7 +27,7 @@
27
all_info = dict()
28
29
for bom_component in bom_components['items']:
30
- component_remediation = get_component_remediation(vul_bom_comp)
+ component_remediation = get_component_remediation(bom_component)
31
component_version_with_no_vulnerability = component_remediation['noVulnerabilities']['name'] \
32
if 'noVulnerabilities' in component_remediation else "No Solution Found"
33
latest_component_version = component_remediation['latestAfterCurrent']['name'] \
@@ -38,4 +38,4 @@
38
}
39
})
40
41
-print(json.dumps(all_info))
+print(json.dumps(all_info))
0 commit comments