driftctl

对基础设施漂移进行探测、跟踪和警报。「Detect, track and alert on infrastructure drift」

Github stars Tracking Chart

This project is now in maintenance mode. We cannot promise to review contributions. Please feel free to fork the project to apply any changes you might want to make.

Why driftctl ?

Infrastructure drift is a blind spot and a source of potential security issues.
Drift can have multiple causes: from team members creating or updating infrastructure through the web console without backporting changes to Terraform, to unexpected actions from authenticated apps and services.

You can't efficiently improve what you don't track. We track coverage for unit tests, why not infrastructure as code coverage?

Spot discrepancies as they happen: driftctl is a free and open-source CLI that warns of infrastructure drifts and fills in the missing piece in your DevSecOps toolbox.

Features

  • Scan cloud provider and map resources with IaC code
  • Analyze diffs, and warn about drift and unwanted unmanaged resources
  • Allow users to ignore resources
  • Multiple output formats

Documentation

Installation

Discord

Contribute

To learn more about compiling driftctl and contributing, please refer to the contribution guidelines and the contributing guide for technical details.

This project follows the all-contributors specification and is brought to you by these awesome contributors.

Build with ❤️️ from 🇫🇷 🇬🇧 🇯🇵 🇬🇷 🇸🇪 🇺🇸 🇷🇪 🇨🇦 🇮🇱 🇩🇪

Security notice

All Terraform state and Terraform files in this repository are for unit test
purposes only. No running code attempts to access these resources (except to
create and destroy them, in the case of acceptance tests). They are just opaque
strings.

Main metrics

Overview
Name With Ownersnyk/driftctl
Primary LanguageGo
Program languageMakefile (Language Count: 6)
Platform
License:Apache License 2.0
所有者活动
Created At2020-09-22 11:07:48
Pushed At2025-04-07 12:02:08
Last Commit At
Release Count64
Last Release Namev0.40.0 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count2.5k
Watchers Count97
Fork Count169
Commits Count2.6k
Has Issues Enabled
Issues Count717
Issue Open Count133
Pull Requests Count865
Pull Requests Open Count6
Pull Requests Close Count74
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private