Repository navigation
Conversation
…ection errors Preserve September safety fixes and later main additions. Add 16 isolated collection regressions (28 tests total).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continues the approved Linux fixes on the existing draft PR. This revision reconciles current main without discarding its four newer scripts. Nothing is merged or deployed.
Problem and changes
Backup age rounding, failed filesystem collection, and suppressed log scan errors could report successful checks despite stale backups or unavailable evidence.
backup_verify.sh: exact age in seconds, validated arguments, NUL-safe filenames, explicit enumeration failures and unsupported-integrity errors.healthcare_check.sh: UNKNOWN for failed/empty/malformed collections, one memory/swap collection, bounded external queries, preserved mountpoint spaces and validated thresholds.log_summary.sh: regex validation, explicit read/decompression failures, per-file timeout, numeric rotation scope and large-summary SIGPIPE fix.The ten September script fixes and two shared modules are retained: verified versioned backups, retention previews, missing dependency repair, alert-only service monitoring, Nginx previews and rollback, separated Apache/firewall operations and scoped audit checks.
Reconciliation and validation
81ae9b030416ec45e3cb21605dc1e63a079c0b6a.6834cd2fc659fa047cdf1847e2aac84b6eebc986.Migration and remaining gates
Alert on every nonzero exit; the three updated checkers use exit 3 for UNKNOWN and exit 2 for usage. Log rotation discovery now includes only
.Nand.N.gz; pass date-named rotations explicitly. Unsupported archive formats cannot pass requested integrity checks.Review changed backup targets/mount identity, service arguments, preview/apply interfaces and protected output directories before migrating schedules. Actual application restore, Nginx reload/rollback and environment integration remain lab gates. Archive/checksum publication is not one transaction; preserve and investigate partial artifacts.
Full change list and migration notes.
Scope is this Linux administration repository. The separate PowerShell, audit-toolkit and infrastructure findings remain outside this change. No blanket production-safety or benchmark claim.