# datreeio/datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io

Repository: https://github.com/datreeio/datree
Canonical: https://ross.abutalabs.com/products/datree
Homepage: https://datree.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: kubernetes, policy, guardrail, best-practices, cli, static-code-analysis, datree, admission-webhook, devops, policy-management, security
Archived: true
Last push: 2024-04-23T02:14:19+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1967, "days_push": 863, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6333, forks 357 (observed 2026-08-28T04:09:41.809358+00:00)

## What it is
Datree is a CLI-based policy enforcement tool that scans Kubernetes YAML manifests against built-in and custom rules to block misconfigurations before they reach production. The supporting company shut down in July 2023, so the project is deprecated and no longer maintained.

## Use cases
- check kubernetes yaml for misconfigurations before deploy
- enforce k8s security policies in ci pipeline
- validate kubernetes manifests against best practices
- write custom policy rules for kubernetes configs
- run nsa hardening checks on k8s workloads
- block misconfigured resources with an admission webhook

## When to choose
- you need an offline, standalone k8s policy checker and accept no future updates
- you want a large set of built-in kubernetes best-practice rules out of the box

## When to avoid
- you need maintained software with security patches
- you want centralized policy management, schema validation, or a dashboard - these services are gone
- you are starting a new project - prefer actively maintained alternatives like Kyverno, OPA/Gatekeeper, or kubeconform

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: security, testing, configuration-management, cli
- domain: security, developer-tools
- platform: cli, windows
- tags: kubernetes, policy-enforcement, static-analysis, admission-webhook, misconfiguration-detection, deprecated, devops, containers, linux, macos, docker

## Member repositories
- datreeio/datree (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.809358+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:09.589187+00:00, confidence not recorded.
  - readme: https://github.com/datreeio/datree (fetched 2026-08-28T04:09:41.809358+00:00, sha ea9c01991352)
- Data as of 2026-08-30T08:39:29.467469+00:00.
