Skip to main content

Detect drift between IaC definitions and actual cloud resource state

Project description

iac-drift-detector

Detect drift between IaC definitions and actual cloud resource state.

Compare Terraform/CloudFormation/Pulumi state against live cloud resources to identify missing resources, unmanaged infrastructure, property drift, and tag mismatches.

Features

  • Multi-Provider — Terraform, CloudFormation, Pulumi, Bicep, ARM detection
  • Drift Detection — Missing/Unmanaged/Modified/Tag drift with severity scoring
  • Drift Score & Grade — A-F grading system (0-100 score)
  • Security-Aware — Critical severity for security groups and IAM changes
  • 10 Detection Rules — IAC-001 to IAC-010

Installation

pip install -e .

Quick Start

iac-drift-detector demo
iac-drift-detector scan demo-drift/iac-state.yaml demo-drift/cloud-state.yaml
iac-drift-detector scan demo-drift/iac-state.yaml demo-drift/cloud-state.yaml --fail-on critical
iac-drift-detector rules

Testing

python -m pytest tests/ -v

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iac_drift_detector-1.0.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iac_drift_detector-1.0.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file iac_drift_detector-1.0.0.tar.gz.

File metadata

  • Download URL: iac_drift_detector-1.0.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for iac_drift_detector-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5d4639f2a9bbd2953e5305510ced9262b4cf42c24931c25fecf07e10d600fd8f
MD5 d35a8f07d494f47fdbbe8bfdfaed6129
BLAKE2b-256 0709437b6460deead096b706c836fabe0e1520261827a7d12c1610707cf40262

See more details on using hashes here.

File details

Details for the file iac_drift_detector-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iac_drift_detector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c84d7c171d134d343e27d4e80e229360a85bfe0b3694b7048fcaf83f2afc24
MD5 aea5e7c88f437464089696b87129f45c
BLAKE2b-256 b68e09308d0439fa3ebfa05c3d53a4a3d15d00d7001fcadf375dbad494d4ee1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page