AnsweredAssumed Answered

Get Vulns from KB API by QIDs

Question asked by Zack Gratzi on Feb 14, 2020

Hi,

 

I'm trying to use the KB API to get the vulnerability information based on the returned QIDs from the "detection" API.

I want to obtain only the vulnerabilities of the assets exploded by the QIDs, but I have not been able to find in the documentation how to build the payload that should be sent in the POST with multiple QIDs.

 

hostname=self.hostname,
headers=self.headers,
body={'action': 'list', 'details': 'All', 'ids': ids},
verify_ssl=True,
cookies=self.cookies

'/api/2.0/fo/knowledge_base/vuln/'

Outcomes