RousselTMLEARNING

Observability

Vulnerabilities in Dynatrace

Managing vulnerabilities with Dynatrace: runtime analysis of third-party libraries, code and Kubernetes, Davis Security Score, exposure and vulnerable functions in use, prioritization, muting, remediation workflows and DQL queries.

1. Runtime analysis #

What actually runs.

The principle #

Good to know : Dynatrace SaaS, third-generation platform (Grail, AppEngine). The apps mentioned are in the app launcher; some depend on the licence (Dynatrace Platform Subscription).

A repository scanner lists declared dependencies; Dynatrace observes those actually loaded in production, on which processes, exposed to the Internet or not. The Vulnerabilities app brings together three analyses:

AnalysisDetects
Third-party librariesopen source components with known CVEs (Java, .NET, Node.js, PHP, Go, Python…)
Codeflaws in proprietary code observed at runtime: SQL injection, command injection, deserialization…
Kubernetes / runtimevulnerabilities in platform components and nodes
Vulnerabilities

2. Prioritizing with the Davis Security Score #

Context changes the risk.

The score #

The Davis Security Score starts from the CVSS score and adjusts it to the observed context: public exposure of the process, access to sensitive data (databases reached), vulnerable function actually used and existence of a public exploit. The same CVE can thus be critical on an exposed service and low on an internal job that does not call the function in question.

From CVSS to Davis Security Score

The values in the diagram are an illustrative example.

Sorting your backlog #

  1. Filter on critical and high vulnerabilities affecting exposed processes.
  2. Among them, start with those whose vulnerable function is used and that have a public exploit.
  3. Group by component: one library upgrade often fixes dozens of occurrences.
  4. Mute, with justification and review date, what is accepted (false positive, mitigated risk).

3. Implementing #

Enable, automate, query.

Enabling #

  • OneAgent in full-stack mode on the hosts involved; enable the analyses (third-party libraries, code) in application security settings, possibly per zone or process.
  • Vulnerability tracking depends on the licence: check the related consumption before enabling it everywhere.

Automating #

  • A workflow triggered by a security event creates a Jira ticket for the owning team (service tag) with the CVE, component and fixed version.
  • Add a “no new critical vulnerability” objective in each service's Site Reliability Guardian.

Querying in DQL #

// Explore first: which security event types exist in your environment?
fetch security.events, from: now() - 7d
| summarize n = count(), by: { event.provider, event.type }
| sort n desc
Good to know : Vulnerability events are stored in Grail: explore their types and fields with this query, then build your dashboards (open vulnerabilities per team, time to fix).

4. Best practices #

A process, not just a tool.

Rules #

  • Set fix deadlines per level (for example 7 days for exposed critical, 30 for high).
  • Measure mean time to fix and open vulnerabilities per team.
  • Combine with upstream scanning (SCA in CI): Dynatrace confirms what actually runs and prioritizes.

Commands to know #

Commands to know
  • fetch security.events | summarize count(), by: { event.provider, event.type } : explore security events
  • Vulnerabilities › Davis Security Score : sort by contextual risk
  • Mute (justification, date de revue) : accept a risk traceably

Sources #

Based on the official Dynatrace documentation checked in November 2026: platform apps change every month, check labels, permissions and field names in your environment before relying on a detail.

Related articles

Time-based vs event-based SLO: understanding, computing and choosing (with the Qonto example)

Differences between time-based SLOs (time slices, uptime) and event-based SLOs (good events over total): defi…

The observability trilemma: cost, completeness and performance, and how solutions resolve it

Understanding the observability trilemma (cost, data completeness, query performance), its three trade-offs, …

Accessing the Dynatrace playground and getting started

The Dynatrace playground is a demo environment full of real data: how to access it, what it allows and does n…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!