Forum Discussion

AVTMartijn's avatar
AVTMartijn
Copper Contributor
Dec 30, 2021

Repositories auto deployment fails for analytic rules with remote workspaces

Hi everyone,

 

I have just been experimenting with the newly added Repositories function to auto-deploy analytics rules from DevOps. It works fine when I deploy rules for the native workspace, but when a rule contains for example: "workspace('name').events" it fails.

 

The error states "Status Message: Make sure you have the necessary permissions on all the workspaces in your query, specifically on 'DemoSentinel'. (Code: Unauthorized)". So the pipeline cannot access the workspace, but manually I can create this rule. What permission do I need to set so the pipeline works?

 

Thanks!

Resources