• Home
  • Dynatrace API
  • Environment
  • Application Security
  • Security problems
  • POST mute a problem

Security problems API - POST mute a problem

Mutes a security problem. Muted problems are hidden from the list of problems in the UI.

The request consumes an application/json payload.

POSTManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/mute
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/{id}/mute
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/mute

Authentication

To execute this request, you need an access token with securityProblems.write scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the required security problem.

pathrequired
bodySecurityProblemMute

The JSON body of the request. Contains the muting information.

bodyoptional

Request body objects

The SecurityProblemMute object

Information on muting a security problem.

ElementTypeDescriptionRequired
reasonstring

The reason for muting a security problem.

The element can hold these values
  • CONFIGURATION_NOT_AFFECTED
  • FALSE_POSITIVE
  • IGNORE
  • OTHER
  • VULNERABLE_CODE_NOT_IN_USE
required
commentstring

A comment about the muting reason.

optional

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.

json
{ "reason": "CONFIGURATION_NOT_AFFECTED", "comment": "string" }

Response

Response codes

CodeDescription
200

Success. The security problem has been muted.

204

Not executed. The security problem is already muted.

Related topics
  • Application Security

    Detect, monitor, remediate vulnerabilities at runtime, and block attacks on your applications.

  • Davis security advisor API

    Find out what the Dynatrace Davis security advisor API offers.