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
Metadata
Release files for iac-drift-detector 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| iac_drift_detector-1.0.0.tar.gz | 12.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iac_drift_detector-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.6 kB
Release files / iac_drift_detector-1.0.0.tar.gz
| Download URL | iac_drift_detector-1.0.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d4639f2a9bbd2953e5305510ced9262b4cf42c24931c25fecf07e10d600fd8f
|
|
BLAKE2b-256 checksum How to use checksums |
0709437b6460deead096b706c836fabe0e1520261827a7d12c1610707cf40262
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / iac_drift_detector-1.0.0-py3-none-any.whl
| Download URL | iac_drift_detector-1.0.0-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8c84d7c171d134d343e27d4e80e229360a85bfe0b3694b7048fcaf83f2afc24
|
|
BLAKE2b-256 checksum How to use checksums |
b68e09308d0439fa3ebfa05c3d53a4a3d15d00d7001fcadf375dbad494d4ee1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Security for iac-drift-detector 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.