cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Prevent javascript execution to users

paco_castillo
Frequent Guest

Hi Dynatrace community,

Is there a way to prevent users to execute javascript in apps? i.e Dashboards, workflows, notebooks etc...

The use case here is, we would need to prevent an user to create a javascript tile in the mentioned apps (to avoid malicious intents). Is there a permission in the policies for this?

The second use case is, can we prevent users to create a javascript tile but they can consume a dashboard/notebook/workflow that an user with elevated permissions have created?

Thanks!

Best regards,

Paco

1 REPLY 1

erh_inetum
Champion

Hi Paco,

I think you can define a read-only IAM policy to the objects you need to.
Ex.:
ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId IN ("builtin:dashboards.general","builtin:dashboards.presets","builtin:dashboards.image.allowlist");
ALLOW automation:workflows:read

 

However, someone may propose a more complete solution than mine.
Hope it helps anyway.
Regards,
Elena.

Featured Posts