Try it free

List Davis security recommendations with a segment filter

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

List Davis security recommendations in Dynatrace with the Vulnerabilities API and a segment filter, using a time range to narrow results.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/vulnerabilities/v1/davis-security-recommendations:segment

Overview

You use start-time and end-time to scope the requested timeframe, then send filterSegments in the request body. It returns an array of Davis security recommendations 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

ParameterTypeDescriptionInRequired
start-timestring

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
queryOptional
end-timestring

The end of the requested timeframe.
Only now is supported.

queryOptional
bodySegmentRequestBody

The JSON body of the request containing the filter segments.

bodyOptional

Request body objects

The SegmentRequestBody object

ElementTypeDescriptionRequired
filterSegmentsFilterSegment[]-Optional

The FilterSegment object

Use filter segments to define the considered affected entities. For more information see the documentation.

ElementTypeDescriptionRequired
idstring-Required
variablesFilterSegmentVariable[]-Optional

The FilterSegmentVariable object

ElementTypeDescriptionRequired
namestring-Required
valuesstring[]-Required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"filterSegments": [
{
"id": "string",
"variables": [
{
"name": "string",
"values": [
"string"
]
}
]
}
]
}

Response

Response codes

CodeTypeDescription
200DavisSecurityRecommendations

An array of davis security recommendations

400--
401--
403--
404--
429--
500--
501--
503--

Response body objects

The DavisSecurityRecommendations object

ElementTypeDescription
recommendationsDavisSecurityRecommendation[]-

The DavisSecurityRecommendation object

ElementTypeDescription
technologyTechnology-
The element can hold these values
  • DOTNET
  • GO
  • JAVA
  • KUBERNETES
  • NODE_JS
  • PHP
  • PYTHON
actionDavisSecurityRecommendationAction-
The element can hold these values
  • UPGRADE
componentNamestring-
packageNamestring-
highestRiskLevelRiskLevel-
The element can hold these values
  • NONE
  • LOW
  • MEDIUM
  • HIGH
  • CRITICAL
highestRiskLevelVulnerabilitiesinteger-
totalVulnerabilitiesinteger-
filterstring-

The Technology object

The DavisSecurityRecommendationAction object

The RiskLevel object

Response body JSON models

{
"recommendations": [
{
"technology": "DOTNET",
"action": "UPGRADE",
"componentName": "string",
"packageName": "string",
"highestRiskLevel": "NONE",
"highestRiskLevelVulnerabilities": 1,
"totalVulnerabilities": 1,
"filter": "string"
}
]
}
Related tags
Platform APIDynatrace PlatformApplication SecurityThreat Observability