Find Policies in TBD State
In this guide, you will locate and resolve policy values in a TBD state using the Guardrails console.
Policy values in TBD state indicate that Guardrails has not yet evaluated the policy, either because a calculated policy is still processing, a dependency hasn't resolved, or an error occurred during evaluation. Addressing TBD policies ensures your controls have the information they need to function correctly.
Prerequisites
Turbot/Operatorpermissions at the Turbot resource level.
Step 1: Navigate to Policy Values
Navigate to Policies in the sidebar. The Policies page opens showing the Settings view by default.
Switch to the Values view by selecting the Values radio button in the view switcher at the top of the list. This shows all evaluated policy values across the workspace (not just explicitly set policy settings).
Step 2: Filter by TBD State
In the Filters panel on the right side, use the STATE dropdown to select TBD. The list updates to show only policy values currently in a TBD state.
[!NOTE] The STATE filter is available on both the Settings and Values views. Use the Values view to see all policy values (including inherited and calculated values), or the Settings view to see only explicitly configured policy settings.
Step 3: Review the Cause
Select a policy value in the TBD state to open its detail panel. Review the information shown to determine why the policy is stuck:
- Calculated policy still evaluating: If the policy uses a calculated value (GraphQL query + Nunjucks template), it may still be processing. Wait a few minutes and refresh.
- Dependency in TBD: The policy may depend on another policy that is also in TBD. Resolve the upstream dependency first.
- Evaluation error: If the calculated policy template or query has an error, the value may be stuck in TBD.
Step 4: Resolve the Issue
Based on your investigation:
- Calculated policy error: Fix the query or template in the calculated policy setting. See Resolve Calculated Policy Errors for a detailed walkthrough.
- Missing dependency: Ensure all required mods are installed and parent policies are set correctly.
- Stale TBD: If the policy should have resolved by now, try re-running the associated control. Navigate to the resource's controls and click Run on the relevant control to trigger a fresh policy evaluation.
Step 5: Review
- The policy values have transitioned out of TBD to their expected state (typically OK).
- Any associated controls that were waiting on these policy values have also updated.
- If TBD policies persist, check the control logs for the related controls.
Next Steps
- Learn more about Policies
- Learn how to Create a Policy Setting
- Resolve Calculated Policy Errors
Troubleshooting
| Issue | Description | Guide |
|---|---|---|
| Policy remains in TBD indefinitely | The policy may depend on a calculated policy that is in error. | Check if the policy type uses a calculated setting and review the calculated policy for errors. |
| Many policies in TBD simultaneously | A mod installation or update may be in progress. | Check Workspace > Mods for mod installation status. |
| Further assistance | If the issue persists after investigation. | Open a Support Ticket |