Skip to content

Commit 710fcd6

Browse files
author
Glenn Snyder
committed
2 parents 273e549 + 4d15152 commit 710fcd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/get_bom_component_remediation_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
all_info = dict()
2828

2929
for bom_component in bom_components['items']:
30-
component_remediation = get_component_remediation(vul_bom_comp)
30+
component_remediation = get_component_remediation(bom_component)
3131
component_version_with_no_vulnerability = component_remediation['noVulnerabilities']['name'] \
3232
if 'noVulnerabilities' in component_remediation else "No Solution Found"
3333
latest_component_version = component_remediation['latestAfterCurrent']['name'] \
@@ -38,4 +38,4 @@
3838
}
3939
})
4040

41-
print(json.dumps(all_info))
41+
print(json.dumps(all_info))

0 commit comments

Comments
 (0)