03 Dec 2024 04:45 PM - last edited on 04 Dec 2024 07:28 AM by MaciejNeumann
I want to allow the users to modify settings (such as anomaly configuration) on a single service/entity level, without granting them the global settings on environment or cluster level for all services as global configuration.
I first tried the following:
ALLOW settings:objects:read, settings:objects:write
WHERE settings:scope startsWith 'SERVICE-';
The above policy statement does not seem to work as they do not see the setting option on the service/entity.
Then I tried the following:
ALLOW settings:objects:read, settings:objects:write
WHERE settings:schemaId = "builtin:anomaly-detection.services”;
The above policy statement does work on the service/entity level, but at the same time they also see the global environment settings option which I do not want.
How can I have a policy statement that allow the user to only modify the settings on service and entity level, but not globally? Thanks in advance!
Solved! Go to Solution.
05 Dec 2024 01:21 AM
Hi, for this you may have to append management zone with this. Please try
https://docs.dynatrace.com/docs/shortlink/iam-policystatements#settings-objects-write
https://docs.dynatrace.com/docs/shortlink/iam-policy-boundaries#expressing-management-zones-inside-o...
09 Dec 2024 04:29 PM
Lovely, it worked perfectly after implementing the management-zone. Thanks a lot!