Skip to content

KeyError when run examples/client/get_project_vulnerabilites_as_csv.py #277

Open
@gtisan

Description

@gtisan

I'm running this
python examples/client/get_project_vulnerabilites_as_csv.py
and I get this error
Traceback (most recent call last):
File "hub-rest-api-python/examples/client/get_project_vulnerabilites_as_csv.py", line 92, in
main()
File "hub-rest-api-python/examples/client/get_project_vulnerabilites_as_csv.py", line 79, in main
remediation = vulnverable_component['vulnerabilityWithRemediation']
KeyError: 'vulnerabilityWithRemediation'

It seems that the key was renamed or removed. How is the name of the new key ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions