Default automation rules
Find default automation rules already in place and learn how to customize or remove them.
To make things easier for you, we’ve created a set of default rules that are activated on your first scan and applicable to all of your repositories. As an admin, you are also able to disable existing default rules and can assign new rules to be added to integrated repositories by default.
Keep in mind that once a rule is marked as default, it will be enabled for new repositories, even if it was disabled for existing repositories.
Set a rule as a default rule
Go to Automation in the left side menu. Here, you are able to create new automation rules, as well as edit the existing rules
Click on the Default rule button
In the confirmation modal, select whether the rule should be activated for only newly integrated repositories or existing repositories as well
Click on Confirm
Done - from now on, newly integrated repositories will be affected by your default rule!
This can also be done when creating or editing an automation rule:
Click on the New+ button to create a rule OR Edit rule in an existing rule
Tick the Default rule checkbox
Click on Save
Done - from now on, newly integrated repositories will be affected by your default rule!
Remove a rule as a default rule
Go to Automation in the left side menu. Here, you are able to create new automation rules, as well as edit the existing rules.
Click on the Default rule button
In the confirmation modal, click on Go ahead
Done - from now on, newly integrated repositories will no longer be affected by your default rule!
Disable the default automation rules using the API
You are able to disable these rules through our API to create your own custom policy.
The default rules can be accessed through the endpoint:
api/1.0/open/admin/user/default-rules-enabled
You can check the current status of your default rules:
The response will show you “true” if the default rules are enabled and “false” if they are disabled, e.g.:
You can change the current status using “enabled”:true and “enabled”:false. Here’s an example of how to disable it:
Once you disable the default rules using the API, the automation rules won’t trigger when a new repository is added to your account. Remember to set up your own rules to optimize your use of our tool!
Last updated