Create a Custom Rule
Learn more about SaaS Posture Custom Rules.
Custom Detection Rules help you create rules for specific scenarios to help you remediate SaaS application misconfigurations. Follow the steps below to Create, Update or Delete Custom Rules.
Create a Custom Rule
Navigate to Cloud Security > Rules and Policies.
Click Create Rule and select the SaaS option.
Fill in the Overview details:
Select the relevant instance/app (e.g., AHA Instance).
Add labels (e.g., label one, label two).
(Optional) Toggle to add remediation steps manually.
(Optional) Attach custom compliance controls if available.
Define the Detection Rule: Under Simple Mode, select the Asset Category (e.g., Organization, Account). Build the JSON rule logic using the drop-down fields (e.g., set parameters like Number of admins does not equal 3).
Preview and Validate: Click Search to run a preview against existing onboarded assets to verify if the detection rule applies correctly. Step 6: Review the details on the read-only Review Screen and click Save.
Manage Custom Rules
Read / View a Custom Rule:
Navigate to the rules list under Cloud Security > Rules and Policies.
Locate the created rule by searching for its name or filtering by asset type/provider.
Click on the rule to open the side drawer/card to view its details, associated detection logic, and parameters.
Update / Edit a Custom Rule:
Locate the custom rule in the rules table.
Click the Edit (pencil) icon next to the section or rule you wish to modify.
Update the necessary fields (such as description, labels, or rule criteria).
Re-apply the search on the detection step if rule criteria were changed.
Proceed through to the review screen and click Save to update the existing rule.
Copy a Custom Rule:
Open the existing custom rule edit workflow, outlined above.
Select the Save as New option.
Modify the rule name (e.g., add _copy) since two rules cannot share the exact same name.
Adjust any required settings and click Save to generate a separate, new custom rule.
Disable / Delete / Resolve a Rule: Toggle the rule status to Disabled in the rules table.
You can also use a Custom Rule to create a Custom Policy. Learn about creating Custom Policies.
Last updated
Was this helpful?
