The Davis Security Advisor API lists Davis recommendations related to open and unmuted vulnerabilities.
You can limit the output by using the pagination:
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/davis/securityAdvices |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/davis/securityAdvices |
To execute this request, you need an access token with securityProblems.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
To specify management zones, use one of the options listed below. For each option you can specify multiple comma-separated values. If several values are specified, the OR logic applies. All values are case-sensitive and must be quoted.
You can specify several comma-separated criteria (for example, names("myMz"),ids("9130632296508575249")
).
The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.
The first page is always returned if you don't specify the nextPageKey query parameter.
When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.
The amount of security advices in a single response payload.
The maximal allowed page size is 500.
If not set, 5 is used.
DavisSecurityAdviceList
objectA list of advice from the Davis security advisor.
The cursor for the next page of results. Has the value of null
on the last page.
Use it in the nextPageKey query parameter to obtain subsequent pages of the result.
The number of entries per page.
The total number of entries in the result.
DavisSecurityAdvice
objectSecurity advice from the Davis security advisor.
The type of the advice.
UPGRADE
The name of the advice.
The technology of the vulnerable component.
DOTNET
GO
JAVA
KUBERNETES
NODE_JS
PHP
PYTHON
The vulnerable component to which advice applies.
{"advices": [{"adviceType": "UPGRADE","critical": ["string"],"high": ["string"],"low": ["string"],"medium": ["string"],"name": "string","none": ["string"],"technology": "DOTNET","vulnerableComponent": "string"}],"nextPageKey": "AQAAABQBAAAABQ==","pageSize": 1,"totalCount": 1}