You provide the vulnerability ID in the path and can use start-time and end-time to scope the requested timeframe, then send filterSegments in the request body. It returns the Davis assessment from Dynatrace.
Authentication
To execute this request, you need a platform token or OAuth access token with vulnerability-service:vulnerabilities:read scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter
Type
Description
In
Required
id
string
The ID of the related vulnerability.
path
Required
start-time
string
The start of the requested timeframe.
It can't be in the future and the minimum time window has to be 30 minutes i.e. end-time - 30 minutes
You can use one of the following formats:
Absolute timestamps, conforming to ISO 8601 i.e. YYYY-MM-DD”T”HH:MM:SS.ssssss”Z”. If no time zone is specified, UTC is used.
Relative timeframe, back from now. The format is now-NU, where N is the amount of time and U is the unit of time.
Supported time units for the relative timeframe are:
s: seconds
m: minutes
h: hours
d: days
query
Optional
end-time
string
The end of the requested timeframe.
Only now is supported.