we would like to give permission for making and editing synthetic monitors to a specific user group for the whole environment.
As far as I’m concerned there is no way to give permission for creating/editing synthetic monitorings without checking “change monitoring settings” for the whole environment or management-zone.
Am I overlooking something? If not will there be a way (i.e. through a schemaId) to give editing permissions for synthetics in the future?
I was looking into IAM policies but couldn’t find a fitting policy. At first I thought I can go with IAM policy reference — Dynatrace Docs but the synthetic tab doesn’t seem to have a schemaId.
Instead, I have found the way to give permissions on existing synthetic monitors and on settings related to synthetic monitoring :
1st, create your custom policy with the statements below :
ALLOW settings:objects:read, settings:objects:write, settings:schemas:read WHERE settings:schemaId IN (“builtin:synthetic.browser.name”,“builtin:synthetic.browser.scheduling”,“builtin:synthetic.http.name”,“builtin:synthetic.synthetic-availability-settings”,“builtin:synthetic.synthetic-availability-settings”,“builtin:synthetic.browser.outage-handling”,“builtin:synthetic.http.scheduling”,“builtin:synthetic.browser.assigned-applications”,“builtin:synthetic.http.performance-thresholds”,“builtin:synthetic.browser.kpms”,“builtin:synthetic.http.assigned-applications”,“builtin:synthetic.http.outage-handling”,“builtin:synthetic.http.cookies”,“builtin:synthetic.browser.performance-thresholds”);
2nd, create a new group and bind it the previous policy :
It’s really unfortunate that we can’t set permissions to create synthetics. With the current options we can’t even allow to edit the recorded clickpath for existing browser monitors.
Thanks for creating the RFE. It’s a really important feature in my opinion.
Hi @AurelienGravier . Thanks for your help. When I try to add this to my Policy:
ALLOW settings:objects:read, settings:objects:write, settings:schemas:read
WHERE settings:schemaGroups = “group:synthetic.browser”;
I get an error when trying to save:
Policy saving failed
Invalid condition name for permission settings:objects:read : settings:schemaGroups Invalid condition name for permission settings:objects:write : settings:schemaGroups Invalid condition name for permission settings:schemas:read : settings:schemaGroups
I added this to my POlicy:
ALLOW settings:objects:read, settings:objects:write, settings:schemas:read
WHERE settings:schemaGroups = “group:synthetic.browser”;
But I get an error:
Policy saving failed
Invalid condition name for permission settings:objects:read : settings:schemaGroups Invalid condition name for permission settings:objects:write : settings:schemaGroups Invalid condition name for permission settings:schemas:read : settings:schemaGroups
Please use the following statement instead: ALLOW settings:objects:read, settings:objects:write, settings:schemas:read WHERE settings:schemaGroup = “group:synthetic.browser”;
The condition supported is settings:schemaGroup (without “s” at the end).
Please use the following statement instead: ALLOW settings:objects:read, settings:objects:write, settings:schemas:read WHERE settings:schemaGroup = “group:synthetic.browser”;