These are the default regular expressions and their respective replacements. These expressions are fixed and come with the plugin.

DescriptionRegexpReplacementSample
Masks Datadog APP secrets ((?i)(\bdatadog|dd|dogapi\b).*)(\b([a-zA-Z-0-9]{40})\b) $1********
  • "datadog key = 3c0c3965368a6b10f7640dbda46abfd2 secret= 3c0c3965368a6b10f7640dbda46abfdca981c2d3" -> datadog key = ******** secret= ********
Masks Datadog API secrets ((?i)(\bdatadog|dd|dogapi\b).*)(\b([a-zA-Z-0-9]{32})\b) $1********
  • dAtAdOg token = "3c0c3965368a6b10f7640dbda46abfdc"; -> dAtAdOg token = "********";
  • curl -X GET "https://api.datadoghq.eu/api/v1/validate" -H "Accept: application/json" -H "DD-API-KEY: characteristicallycharacteristic" -> curl -X GET "https://api.datadoghq.eu/api/v1/validate" -H "Accept: application/json" -H "DD-API-KEY: ********"