risks

Get vendor hostnames affected by a risk

Returns a list of hostnames for a specific vendor that are affected by a specific risk. This endpoint provides detailed information about which hostnames have failed a particular risk check including the detection date and last scan date.

The vendor can be identified either by vendor_id (for webless vendors) or vendor_primary_hostname (for vendors with or without a web presence). Exactly one identifier must be provided.

Required API key permissions: VendorRisk (select when creating API key in Account Settings)

get/risks/vendors/hostnames

Request

Query parameters

risk_idstring required

The risk_id to filter by

vendor_idinteger

The vendor's internal ID.

vendor_primary_hostnamestring

The vendor's primary hostname

Response

OK

hostnames_with_riskstring[]

List of hostnames affected by the risk

risk_details_by_hostnameobject

Risk details keyed by hostname

Changes

No recorded changes to this operation across all 2 revisions of this API.