Hi,
I created a python script as below using openVulnQuery library:
from openVulnQuery import query_client
query_client = query_client.OpenVulnQueryClient(client_id="xxxx", client_secret="yyyy")
version = "16.9.4"
advisories = query_client.get_by_ios_xe('ios', version)
print("Release {0} has {1} advisories".format(version,len(advisories)))
adv = query_client.get_by_ios_xe('ios',version)
print(adv)
I would like to print adv as a list of advisories. However, the display is:
[<openVulnQuery._library.advisory.AdvisoryIOS object at 0x7fc5515f7390>, <openVulnQuery._library.advisory.AdvisoryIOS object at 0x7fc5515f7c88>, <openVulnQuery._library.advisory.AdvisoryIOS object at 0x7fc5515f72e8>, <openVulnQuery._library.advisory.AdvisoryIOS object at 0x7fc5515f77b8>]
How can I get a list of advisories?
Thanks,