Skip to content

feat(detector): add Docker and Java/Gradle drift detection (v0.1.9) - #2

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

feat(detector): add Docker and Java/Gradle drift detection (v0.1.9)#2
yunaremaia merged 1 commit into
mainfrom
feat/docker-java-drift

Conversation

@yunaremaia

@yunaremaia yunaremaia commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds Docker drift detection: Dockerfile FROM image:tag vs README mentions. Handles variant tags ('24' matches '24-slim', '24-alpine') and multi-stage builds.
  • Adds Java/Gradle drift detection: build.gradle sourceCompatibility, jvmTarget, JavaVersion.VERSION_* vs README mentions (major-version comparison).
  • Both integrate into scan_repo, CLI output, and --json exit code.

Test plan

  • 12 new unit tests covering parsing, no-drift, drift detection, and scan integration
  • All 51 tests pass
  • Version bumped to 0.1.9

Generated with Claude Code

Docker: detect FROM <image>:<tag> drift vs README mentions. Handles
variant tags ('24' matches '24-slim') and multi-stage builds.

Java/Gradle: detect sourceCompatibility / jvmTarget / JavaVersion.VERSION_*
drift vs README mentions. Major-version comparison.

Both new check types integrate into scan_repo, CLI output, and --json.
@yunaremaia
yunaremaia merged commit 22ff563 into main Sep 4, 2026
2 checks passed
@yunaremaia
yunaremaia deleted the feat/docker-java-drift branch September 4, 2026 13:33
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