Skip to content

fix(apm-audit): --no-drift to skip cache-replay (v5.1.2 follow-up)#14

Merged
danielmeppiel merged 1 commit intomainfrom
fix/no-drift-flag
May 8, 2026
Merged

fix(apm-audit): --no-drift to skip cache-replay (v5.1.2 follow-up)#14
danielmeppiel merged 1 commit intomainfrom
fix/no-drift-flag

Conversation

@danielmeppiel
Copy link
Copy Markdown
Contributor

Setup-only mode (PR #13) leaves install cache empty. Drift check then aborts on cache miss. --no-drift skips replay; content-integrity still catches file tamper via lockfile hashes.

setup-only avoids overwriting tampered files but leaves the install cache
empty. The 'drift' check (cache-replay) then aborts on every audit:
  drift: drift replay aborted: cache miss for ...

--no-drift skips that replay. content-integrity still hash-checks every
deployed file against the lockfile (no cache needed) so tamper is still
caught.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danielmeppiel danielmeppiel merged commit a838d49 into main May 8, 2026
1 check passed
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