This feature is useful when you want to temporarily stop the rulesets from being triggered without deleting them. Pausing and resuming a stage can be done for both central and local stages. To pause a stage, you can use the following code snippet:
import galileo_protect as gp
gp.pause_stage(project_id="<project_id>", stage_id="<stage_id>")
To resume a stage, you can use the following code snippet:
import galileo_protect as gp
gp.resume_stage(project_id="<project_id>", stage_id="<stage_id>")