- Lifecycle policies: System-managed policies that track technology lifecycle events.
- Custom policies: Policies that let you define and enforce your own standards for your environment.
Policy Types
Lifecycle Policies
Lifecycle policies come out of the box with the Draftt platform. They track end-of-life dates, whether components run the latest version, certificate expiration, and compatibility windows across your infrastructure, Kubernetes clusters, and code.
Each lifecycle policy uses the statuses that fit what it tracks. To learn what each status and version means, see Lifecycle Management.
System policies are managed by Draftt and cannot currently be edited.
Custom Policies
Custom policies let you define your own standards. You determine which resources the policy evaluates and define the rules for assigning statuses. Draftt evaluates every matching resource during each scan cycle. Use custom policies to enforce standards related to configuration, compatibility, golden configurations, tagging, resource-specific settings, and other conditions available in your inventory data. You can create custom policies for these resource types:- Infrastructure
- Certificate
- Kubernetes
- Runtimes (coming soon)
How Policies Work
Every policy follows the same evaluation loop:- Scope: A query determines which resources the policy evaluates. Without a query, the policy evaluates all resources of the selected type.
- Evaluate: Draftt checks each resource against the configured status assignments.
- Assign: The first matching status is assigned. If no rule matches, the resource receives the policy’s default status.
- Surface: Policy results appear on the Policies page and in the inventory page for each resource type.
Anatomy of a Custom Policy
Each custom policy includes status assignments, a default status, status assignment rules, and an optional resource scope.Status Assignments
Custom policies support two statuses:
You define the conditions for each status and choose one as the default status.
Default Status
The default status is assigned when a resource does not match any configured status assignment rule. For example, a policy can use Non-Compliant as the default status and assign Compliant when a resource meets the required conditions.Status Assignment Rules
For Compliant or Non-Compliant, you can add one or more condition blocks. Each block can contain:- Prerequisites: Optional filters that determine whether Draftt evaluates the block for a resource. For example, a condition that checks
autoMinorUpgradecan use a prerequisite to limit evaluation to RDS resources. - Conditions: Field, operator, and value combinations that determine whether a resource matches the block.
Resource Scope (Query)
The optional resource scope determines which resources the policy evaluates. You configure it during the Query Rules step of policy creation. Leave the query empty to evaluate all resources of the selected resource type.Create a Custom Policy
Guided Policy Creation walks you through the information required to create a policy, from selecting a starting point to reviewing the completed configuration. Open Policies from the main navigation. The page displays Draftt’s system policies and any custom policies already created for your environment. Select Add New Policy to begin.1
Choose a Creation Method
Choose how you want to create the policy:
- Personalized Template: Start with a policy template tailored to your environment and common governance needs. Templates are prioritized using risk and affected-resource data.
- Natural Language Prompt: Describe what you want to govern in plain language. Draftt generates a matching policy configuration that you can review and refine before creating it.
- Build Manually: Define the policy scope, prerequisites, conditions, and status assignments step by step.

2
Add Basic Information
In Basic Information, select the resource type, then add the policy name and an optional description. Use a name that clearly communicates the standard being evaluated and the expected outcome.
3
Define Query Rules
In Query Rules, define the resources the policy should evaluate. Use the available fields and operators to narrow the policy to the relevant resource type, technology, service, environment, region, or other inventory attributes.Leave the query empty when the policy should evaluate all resources of the selected type.
4
Configure Status Assignments
In Status Assignments, define the prerequisites and conditions that assign each of the supported statuses: Compliant and Non-Compliant. Choose the default status that applies when no condition block matches.Available fields include general resource properties and technology-specific attributes. Some fields automatically apply the prerequisites required to evaluate them correctly.
5
Preview and Create
Use Preview & Create to review the policy scope, query rules, statuses, and assignment logic before creating the policy. Return to an earlier step if anything needs to be adjusted.Select Create when the configuration is ready. Draftt immediately starts evaluating matching resources. The policy displays Analyzing until the evaluation is complete, then changes to Active.
Policy Templates
Policy templates are pre-built custom policies for common infrastructure standards, security requirements, lifecycle controls, configuration checks, and cost optimization opportunities. Each template includes policy logic for a specific technology, service, or resource type, together with the conditions used to identify matching resources. You can use the proposed configuration as-is or customize it during the guided creation flow. All templates are available by selecting Personalized Template in the Creation Method step. Templates relevant to your connected environment are prioritized using risk and the number of affected resources, so you can focus on the policy opportunities with the greatest current impact. Each recommendation shows the percentage of matching resources that triggered it, so you can understand its reach before creating the policy. Search for a specific template or filter templates by governance category:
A template can belong to more than one category when it supports multiple governance use cases.
Where Policies Appear
Manage policies on the Policies page, and track their results in the inventory page for each resource type.- Policies page: Create and edit custom policies, view each policy’s configuration, status breakdown, and evaluation results, and check when it was last evaluated. You can also trigger a new evaluation. To see the resources behind a policy’s results, select Explore in the policy drawer.
- Inventory pages: Each resource type has its own inventory page, where you can filter by policy, see the status each resource received, and drill down to the resources behind any status:
- Infrastructure Inventory
- Certificates
- Kubernetes Inventory
- Code Inventory
Next Steps
- Explore policy results in the Tech Debt Inventory, where you can drill down to the resources behind each policy status.
- Connect Integrations to route policy violations to your ticketing and collaboration tools.