Appearance
Automation policy
The automation policy controls how much autonomy IDVIZE agents have when closing gaps. It answers: for a given control, risk tier and environment, does IDVIZE observe, recommend, ask for approval, or act on its own?
Four authority levels
| Level | What happens |
|---|---|
| Observe | IDVIZE detects the gap and reports it. No action is planned or taken. |
| Recommend | IDVIZE prepares a plan and shows it to the operator. The operator decides whether to create a session. |
| Approval required | IDVIZE prepares a plan, creates a session, and waits for a person to approve it before executing. |
| Autonomous | IDVIZE prepares, plans and executes without waiting for approval. |
WARNING
Autonomous mode is not enabled today. The unattended execution path requires one remaining safety condition (fresh evidence from a live provider read) before it can run without human approval. See PR-0001-F5 for the full safety checklist.
Policy resolution
The automation policy resolves per step, not per session. The resolution considers:
- Control. Which control is being remediated (e.g. AM-001 SSO, AM-002 MFA).
- Risk tier. The application's or account's risk classification (critical, high, medium, low).
- Environment. Production, staging, development.
- Business unit. Optional scoping by organisational unit.
The most specific match wins. A policy that says "AM-001 on critical production applications requires approval" overrides a global "all controls are observe-only" default.
Configuring the policy
Requires: agents.admin permission.
Through the UI
Navigate to Automation Policy in the sidebar. The page shows the current policy matrix: controls × risk tiers × environments, with the resolved level for each cell. Click a cell to change it.
Through the API
bash
# Set AM-001 on critical production apps to approval_required
curl -X PUT http://localhost:3001/v1/agents/automation-policy \
-H "Authorization: Bearer YOUR_JWT" \
-H "Content-Type: application/json" \
-d '{
"controlId": "AM-001",
"riskTier": "critical",
"environment": "production",
"mode": "approval_required",
"reason": "SSO changes on critical apps require human review"
}'Execution safety
Regardless of the automation level, every execution session is protected by ten safety conditions:
- Policy re-evaluation. The automation policy is re-read before every step, not cached from planning.
- Approval premise check. If the gap closes or the baseline changes between approval and execution, the approval expires.
- Blast-radius premise check. If the blast radius escalates since approval, the approval expires.
- Bounded batches. Plans with more than three steps are executed in batches with configurable halt thresholds.
- Stop conditions. Consecutive failures, failure rate or batch checkpoints can pause execution.
- Recovery model. Every action type is classified as reversible, restorable or irrecoverable. A recovery plan is generated at every non-success transition.
- Independent verification. After completion, a deferred re-read of the target system confirms the change persisted.
- Scoped credentials. Each action type declares its minimum required platform scopes; missing scopes block execution.
- Self-approval block. The person who created a session cannot approve it.
- Fresh evidence. (Planned) A live read of the target system immediately before execution. Requires provider credentials.
Commercial enforcement mode
The commercial gate checks whether the tenant's product licence covers the execution capability. It operates in two modes:
- Observe (default): the check runs and the result is audited, but execution is not blocked. This is the current mode.
- Enforce: a missing grant blocks execution with an audit event.
The mode is set by a PlatformAdmin. Assessment (read-only) is never gated by a commercial licence — a missing licence cannot produce a security gap (PR-0002-F5).