The Simplest Way to Make Dynatrace and SAML Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair Dynatrace and SAML so engineers log in with one central identity. This setup links your identity provider to your monitoring app for safe role control. Teams use this workflow to stop sharing static passwords across different accounts. When a user leaves the company, you turn off their login in one place. The monitoring platform then blocks that person right away. How logins and roles flow with Dynatrace and SAML The login flow starts when an engineer opens the monitoring dashboard

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

You pair Dynatrace and SAML so engineers log in with one central identity. This setup links your identity provider to your monitoring app for safe role control.

Teams use this workflow to stop sharing static passwords across different accounts. When a user leaves the company, you turn off their login in one place. The monitoring platform then blocks that person right away.

How logins and roles flow with Dynatrace and SAML

The login flow starts when an engineer opens the monitoring dashboard in a browser. The platform sees the user has no active session and sends them away. The user goes to your central identity provider to sign in.

Once the user logs in, the identity provider builds a signed XML message. This message holds the user email, name, and group list from your directory. The browser sends this signed message back to the monitoring platform.

Next, the monitoring tool checks the digital signature using a shared public key. If the signature matches, the platform reads the group names inside the message. It compares those group names against its own permission rules.

Finally, the user gets a session with the exact rights for their team. A developer might only get read rights for staging app logs and metrics. A platform admin can get write rights to change alert rules and settings.

Common failure modes and how to scope roles

Many teams set up single sign-on but still make big security mistakes. The most common risk is keeping local admin accounts active with shared passwords. If an attacker steals that shared password, they bypass your identity checks.

Another common issue is mapping every user to a broad admin group. Teams often do this to fix broken permission errors fast during an outage. Soon, everyone can edit alert rules, delete dashboards, or read sensitive log data.

SAML 2.0 + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged API tokens also create a huge blind spot between your tools. Users log in with single sign-on and then create static API keys. Those keys often have broad rights and never expire when the user leaves.

You can fix these risks by scoping group claims before users log in. Create small groups in your directory for each app team and role level. Map each directory group to a single, narrow role inside the monitoring tool.

You should also lock down network paths to your monitoring management screens. Require users to come from trusted corporate networks before they can sign in. Turn off static API token creation for normal users so every action stays tied to a real person.

Keeping certificates and group mappings clean over time

Signing keys and certificates expire on a set schedule and break user logins. When a certificate expires, no one on your team can reach the dashboard. Put a calendar reminder in place thirty days before the key rotation date.

Test your new certificate in a non-production account before you touch production. Make sure the identity provider and the monitoring app agree on the exact group names. A single typo in a group attribute will drop a user into a default role with no rights.

Review your role mappings every quarter with your security team. Remove old directory groups that belong to retired projects or old teams. Keep your attribute statements small so the login message stays easy to read and debug.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

What happens when our SAML signing certificate expires?

Users cannot log in through the identity provider once the certificate expires. You must upload the new public certificate to both systems before the expiration date.

How do we stop users from bypassing SAML with local logins?

Turn off standard password logins for normal users after you test the setup. Keep only one break-glass account stored in a secure vault for emergencies.

Why do users get empty dashboards after they log in?

This happens when the group attribute name in the XML message does not match. Check the attribute mapping rules so the platform reads the right group list.

The query runs. The emails stay hidden.