Get vendor details
The following assertions are evaluated (in order) to determine whether you are licensed to view the vendor data (as soon as one assertion returns "true", the vendor data will be returned):
- You are currently monitoring the vendor in CyberRisk
- You have set "start_monitoring" to "true" AND are not currently monitoring all the vendors you are licensed for in CyberRisk
- You have set "generate_ad_hoc_report" to "true" and have not currently used your monthly allocation of ad-hoc reports in CyberRisk.
Required API key permissions: VendorRisk (select when creating API key in Account Settings)
Request
- Base URLhttps://cyber-risk.upguard.com/api/public
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The ID of the vendor for which to return vendor data. e.g. 123456789
The hostname for which to return vendor data. e.g. "upguard.com". Required when id is not specified. When id is specified this field will be ignored.
When set to true, if you haven't already used your monthly allocation of ad-hoc reports, generate an ad-hoc report for the given vendor, and return the vendor data.
NOTE: deprecated (use vendor/monitor instead). When set to true, if the vendor is not already being monitored, and if you are not already monitoring all the vendors your are licensed for, start monitoring the vendor, and return the vendor data.
NOTE: deprecated (use vendor/monitor instead). The labels to assign to the vendor if start monitoring set to true. If you want to update the labels for an already monitored vendor use the /vendor/labels endpoint.
NOTE: deprecated (use vendor/monitor instead). The tier to assign to the vendor if start monitoring is set to true.
Flag indicating whether the request should wait for scan results on new unknown vendors
Response
Vendor details
Changes
No recorded changes to this operation across all 2 revisions of this API.