Skip to content

feat(detector): add Terraform drift detection (v0.1.11) - #4

Merged
yunaremaia merged 1 commit into
mainfrom
feat/terraform-drift
Sep 4, 2026
Merged

feat(detector): add Terraform drift detection (v0.1.11)#4
yunaremaia merged 1 commit into
mainfrom
feat/terraform-drift

Conversation

@yunaremaia

Copy link
Copy Markdown
Owner

Summary

  • Adds Terraform drift detection: block vs README mentions.
  • Handles both and formats.
  • Bumps version to 0.1.11.

Test plan

  • 6 new unit tests covering parsing, no-drift, drift detection, and scan integration
  • All 64 tests pass
  • Version bumped to 0.1.11

Checks in v0.1.11

  • Terraform (versions.tf required_providers vs README)
  • Maven (pom.xml vs README)
  • Docker (Dockerfile FROM tag vs README)
  • Java/Gradle (build.gradle sourceCompatibility/jvmTarget vs README)
  • Rust (rust-toolchain.toml + Cargo.toml vs README)
  • Node (package.json engines vs README)
  • Python (pyproject.toml requires-python vs README)
  • Go (go.mod directive vs README)
  • Line endings (.gitattributes)
  • Count (skills/ directory vs README)
  • Actions (GitHub Actions Node 20 → Node 24)
  • External resources (CDN links in delivered HTML)

Detects provider version drift between versions.tf
(required_providers block) and README mentions.
Handles both 'required_providers = {' and 'required_providers {' formats.
6 new tests covering parsing, no-drift, drift detection, and scan integration.
@yunaremaia
yunaremaia merged commit 37ae72c into main Sep 4, 2026
2 checks passed
@yunaremaia
yunaremaia deleted the feat/terraform-drift branch September 4, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant