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

Security problems API - POST mute a problem

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

The request consumes an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

POSTManaged https://{your-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/mute
SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/{id}/mute
Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/mute

Authentication

To execute this request, you need an access token with Write security problems (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.

ElementTypeDescription
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
commentstring

A comment about the muting reason.

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, and remediate open-source and third-party vulnerabilities at runtime.

  • Davis security advisor API

    Find out what the Dynatrace Davis security advisor API offers.