All supported values for each IAM permission and condition are listed below. Use them to define access policies based on a fine-grained set of permissions and conditions that can be enforced per service. For more information, see Working with policies.
Grants permission to set user-level Live Debugging breakpoints.
Conditions:
dev-obs:k8s.namespace.name - the name of the namespace that the pod is running in.
operators: IN, NOT IN, startsWith, NOT startsWith, =, !=
dev-obs:dt.entity.process_group - the process group your application is a part of.
operators: IN, NOT IN, startsWith, NOT startsWith, =, !=
dev-obs:dt.process_group.detected_name – the detected name of the process group your application is a part of.
operators: IN, NOT IN, startsWith, NOT startsWith, =, !=
Example policies:
Allow setting breakpoints for all instances:
ALLOW dev-obs:breakpoints:set;
Allow setting breakpoints for a particular host group:
ALLOW dev-obs:breakpoints:set WHERE dev-obs:dt.process_group.detected_name = "my_process_group";
Grants permission to read user-level Live Debugging snapshots.
Example policies:
ALLOW storage:application.snapshots:read;ALLOW storage:buckets:read WHERE storage:table-name = "application.snapshots";
ActiveGate version 1.311+
An ActiveGate isn't strictly required for Live Debugging to work, but it significantly streamlines the process, especially in Kubernetes environments. It allows you to reduce your interaction with Dynatrace to one single point—available locally. Besides convenience, this solution optimizes traffic volume, reduces the complexity of the network and cost.
The Live Debugger module is enabled by default for host-based ActiveGate deployments starting from version 1.311+.
For Kubernetes Operator deployments, the Live Debugger module must be enabled via the ActiveGate capabilities section in the DynaKube configuration.
To enable the Live Debugger Module:
Set debugging capability in the DynaKube.yaml file.
activeGate:capabilities:- debugging
If you are using a proxy, configure it within the Environment ActiveGate as described in Proxy for ActiveGate.