Create a resource policy
Updated: October 30, 2025
Resource policies enables you to define automated monitoring policies that scan your infrastructure for changes. These policies act as monitors that detect when resources are added, modified, or meet specific criteria, and they trigger alerts when changes are detected.
- In the side menu, go to either AI and select Resource Policies.
- Click Create Resource Policy.
- Enter a name for your policy (e.g.,
"DeepSeek usage policy"). - Enter a description for the resource policy.
Define monitoring rules
Each Resource Policy can include multiple monitoring rules. You can:
- Select from suggested policy templates.
- Reuse saved policies.
- Add custom policies (up to 10 per resource policy).
All rules within the policy are evaluated together during each automatic scan.
Suggested policies
Select from ready-made templates that cover common monitoring scenarios.
AI resource policy templates
- Any AI Usage – Monitors any AI usage, regardless of provider (tracks both AI Models and AI Prompts).
- Any AI Usage in code – Detects AI usage specifically within code implementations.
- Any AI Usage on platforms – Monitors AI usage on SaaS/Cloud platforms.
- DeepSeek AI Usage – Monitors any DeepSeek AI usage across your environment.
- DeepSeek AI Usage in code – Detects DeepSeek AI usage in code, including LLM models and prompts.
- DeepSeek AI Usage on platforms – Monitors DeepSeek AI usage on SaaS/Cloud platforms.
Saved policies
Select from previously created policies to apply existing configurations and maintain consistency across your monitoring strategy.
Add custom policies
You can define up to 10 custom monitoring rules per policy.
Adding a custom policy
- Click Add Policies under the Custom Policies section.
- Choose a Resource Type.
AI resources:
- AI Model
- AI Prompt
- AI Finding
- Click Submit
Add filters
- Click Add Filter
- Define the condition using field, operator, and value.
Custom policy management
- Edit filters: Click existing filters to modify conditions.
- Delete policy: Click the trash icon to remove a policy.
Add notification method
- Go to the Notification Integrations section.
- Choose a previously created integration (Slack, email, webhook, etc.).
- Click Create to configure a new integration if needed.
Note: Notifications are triggered only when a change is detected between the current scan and the previous scan. If no changes are found, no notification is sent.
Finalize
- Click Submit to save and activate the policy.
History
Each resource policy you create includes a History tab where you can view a record of past scans performed by the policy.
- The History tab is accessible in existing Resource Policies.
- Each entry shows the date and time the scan was executed and indicates "Resources found matching Resource Policy".
- History entries are only created when new matching resources are found - scans with no matches don't generate history records.
- Each history entry shows matched resources grouped by resource type (e.g., Platform Models, Platform Prompts, Software Models).
- For each resource group, you can see the policy name that matched, total count of matched resources, and a "View Matched Resources" button to see the specific items.