Get a list of available risks in the platform
Changed onReturns a list of available risks in the UpGuard platform with detailed info.
Some risks in the platform are generic risks like "exposed_service:*". The values of some of the fields for these risks depends on the details of the risk, e.g. which particular service is exposed. As such these fields are omitted from the response.
To get the full details for a specific risk, e.g. "exposed_service:FTP", use the risk details endpoint which will return the full information for the particular service.
Required API key permissions: Platform (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
Filter by risk category
Filter by risk severity
Response
Available risks
Example response
[
{
"category": "dns",
"description": "Domains must be renewed within specified intervals to maintain ownership of the name. The minimum interval is 1 year and the maximum interval is 10 years. If a domain is not renewed within the appropriate interval, the domain name becomes “expired.” There is a 30 day grace period where the domain owner can still renew the expired domain name. After that, the domain can be purchased by a third party",
"finding": "Domain expired",
"group": "domain",
"id": "domain_expired",
"remediation": "The domain should be renewed as soon as possible with the registrar. Domains can be configured with auto-renewal to ensure that they are renewed before the expiration date",
"risk": "Domain at risk of being hijacked",
"riskDetails": "This domain is expired. An expired domain is no longer functional. Any services relying on the expired domain will become unavailable. In addition to the loss of functionality, expired domains can be snapped up quickly by third parties and used to drive traffic to malicious and fraudulent websites",
"riskSubtype": "CVE-2021-34473",
"riskType": "verified_vuln",
"severity": "critical"
}
]Changes
- info
added the new optional
queryrequest parametercategory - info
added the new optional
queryrequest parameterseverity
- info