Skip to main content

Policy Profiles

A policy profile is a named collection of resource policies and configuration policies with configured action modes and severity levels. Profiles define what Kostavo monitors and how it responds.

The resource profiles page listing profiles with their checks and assignments

Profile Structure

Each profile contains:

FieldDescription
NameUnique name within your organization
DescriptionOptional notes about the profile's purpose
Profile typecustom or template (created from a built-in template)
EnabledWhether the profile is active
Resource policiesIndividual resource policies in this profile
Configuration policiesConfiguration baseline policies in this profile

Resource Policies

Resource policies detect non-compliant Databricks resources (clusters, warehouses, jobs, pipelines, etc.) and optionally take corrective action.

Each resource policy within a profile has its own configuration:

FieldDescription
Policy typeWhich policy to run (e.g., cluster_no_autotermination)
Action modeNOTIFY, FIX, or REMOVE
Severitycritical, high, medium, or low
Exception listResource IDs to skip for this policy
Custom settingsPolicy-specific configuration (thresholds, limits)
Notify creatorWhether to notify the resource creator
Notify adminsWhether to notify workspace admins

Each policy type can only appear once per profile; you can't add the same policy twice.

Configuration Policies

Configuration policies compare workspace-level settings against a defined baseline and flag any deviation as a finding. They have their own concept page: see Configuration drift for how baselines, the settings compliance view, and the config matrix work.

Creating a Profile

From a Template

The fastest way to start. Go to PoliciesResource, click New profile, and pick a template.

Kostavo ships with 9 templates:

TemplateFocusDefault Modes
Dev SandboxCost savings for dev workspacesMostly FIX, auto-stops idle resources
Production MonitoringVisibility without intervention100% NOTIFY
Security BaselineToken hygiene, encryption, accessNOTIFY
Security Deep DiveExtended hardening policiesNOTIFY
Cost OptimizationBalanced cost reductionMix of FIX and NOTIFY
FinOps AggressiveMaximum cost savingsHeavy FIX and REMOVE
Compliance GovernancePolicy, tagging, loggingNOTIFY
Data EngineeringJob reliability, pipelinesNOTIFY
Platform GovernanceEnterprise governanceNOTIFY

When you create from a template, a full copy is made. You can then customize every policy: change action modes, adjust severity, add exceptions. You can also add configuration policies to any template-based profile.

Custom Profile

Same flow, but choose to start from scratch instead of a template. Then add individual resource policies and configuration policies, configuring each one.

Editing a Profile

The profile editor showing checks, severities, and action modes

On the profile detail page, you can:

  • Add resource policies: select from the full policy catalog
  • Add configuration policies: define baseline settings to enforce
  • Edit a policy: change action mode, severity, or custom settings
  • Remove a policy: delete it from the profile
  • Add exceptions: exclude specific resources from a resource policy
  • Enable/disable: toggle the entire profile

Changes take effect on the next scan cycle.

Exceptions

Each resource policy configuration has an exception list: a set of Databricks resources to exclude. When a resource is in the exception list, the policy skips it entirely.

Use exceptions for known, intentional deviations. For example, if a specific cluster must remain running 24/7 by design, add it to the running_compute policy's exception list. For when to prefer an exception over suppressing individual findings, see Suppress vs exception.

Custom Settings

Many policies expose their thresholds as custom settings: the values that decide when a resource counts as non-compliant, such as how many workers make a cluster oversized or how many hours make a job long-running.

When you add or edit a policy in the profile editor, its custom settings appear as a form below the action mode and severity. Each field ships with a sensible default and a description of what it controls; you only change the ones your environment disagrees with.

Custom settings are per profile. The same policy can be strict in a production profile and lenient in a dev profile.

Key point: if a policy floods you with findings nobody acts on, tune its custom settings before lowering its severity or dropping it. The threshold is usually what is wrong, not the policy.

Deleting a Profile

Deleting a profile cascades and removes:

  • All policy configurations in the profile
  • All workspace assignments using the profile
  • All findings, finding states, and execution history linked to the profile
  • All tag rules referencing the profile

This is irreversible.