Temporarily disable Policies from UI
Some policies do not require label attachment to to evaluated, making it tough to disable them for all Stacks.
It would be nice to have a toggle that will globally disable a Policy without losing Sample history or deleting the Policy.
- Workaround
Log in to comment and vote
Comments1
Black Breeze
May 10, 2025
Thanks for flagging this. You can disable a policy by inserting a single
falsecondition—it’s fast, safe, and auditable without needing to delete or rewrite the logic. Here’s an example:slack[{"channel_id": "BACON"}] { false # temporarily disable input.run_updated.run.type == "TRACKED" }We’re cautious about adding a UI toggle since bypassing policy is a high-trust move, and we want the implications to remain visible.