AnsweredAssumed Answered

List vendor_ids

Question asked by Damian OHara on Sep 21, 2017
Latest reply on Sep 22, 2017 by Damian OHara

Does anyone know how to pull a list of vendor IDs that can be used to create a dynamic search list for a specific vendor (in my case - microsoft) ?

API v2 guide say vendor_ids=x  where x is a number

 

If you pull the XML of an existing dynamic searchlist that includes vendor=microsoft it shows:

 

<DYNAMIC_LIST>
<ID>259827</ID>
<TITLE><![CDATA[Microsoft Vulnerabilities]]></TITLE>
<GLOBAL>Yes</GLOBAL>
<OWNER><![CDATA[Any User (xxxxxx)]]></OWNER>
<CREATED>2017-07-12T16:59:39Z</CREATED>
<MODIFIED_BY><![CDATA[N/A]]></MODIFIED_BY>
<MODIFIED>2017-07-12T16:59:39Z</MODIFIED>
<CRITERIA>
<DISCOVERY_METHOD><![CDATA[All]]></DISCOVERY_METHOD>
<VENDOR><![CDATA[microsoft]]></VENDOR>
</CRITERIA>

 

I tried the published curl command below without success:

curl --insecure -s -H "X-Requested-With: Curl" -X "POST" -b cookie -c cookie  https://qualysapi.qualys.${SOC}/api/2.0/fo/vendor 

Outcomes