# snyk/driftctl

Detect, track and alert on infrastructure drift

Repository: https://github.com/snyk/driftctl
Canonical: https://ross.abutalabs.com/products/driftctl
Language: Go
License: Apache-2.0
License Family: permissive
Topics: infrastructure-drift, iac, terraform, aws, drift, infrastructure-as-code, hacktoberfest
Last push: 2026-07-31T19:58:53+00:00

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

## Adoption (not part of the score)
Stars 2660, forks 189 (observed 2026-08-28T04:07:07.453596+00:00)

## What it is
driftctl is a free and open-source CLI that scans cloud providers (AWS, GitHub, Azure, GCP), maps resources against Terraform code, and detects infrastructure drift and unmanaged resources. It measures infrastructure-as-code coverage and warns about discrepancies between declared and actual infrastructure.

## Use cases
- detect terraform drift in aws infrastructure
- find cloud resources not managed by terraform
- measure infrastructure as code coverage
- alert when someone changes infra via the console
- track unmanaged resources across aws azure gcp
- audit infrastructure drift in ci pipeline

## When to choose
- you use terraform and want to catch manual console changes
- you need a lightweight CLI to scan for drift and unmanaged resources
- you want IaC coverage metrics for AWS, GitHub, Azure, or GCP

## When to avoid
- you use OpenTofu/Pulumi/CloudFormation instead of Terraform
- you need actively developed features - the project is in maintenance mode
- you want continuous drift monitoring with a hosted dashboard rather than a CLI

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: infrastructure-as-code, monitoring, alerting, security, developer-tools
- domain: infrastructure-as-code, cloud-computing, security
- platform: cli, windows, go
- tags: terraform, infrastructure-drift, iac-coverage, aws, azure, gcp, devsecops, devops, automation, linux, macos, docker

## Member repositories
- snyk/driftctl (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:07.453596+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-30T02:18:24.259070+00:00, confidence not recorded.
  - readme: https://github.com/snyk/driftctl (fetched 2026-08-28T04:07:07.453596+00:00, sha ab2e29092eaa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
