Skip to content

fix: fail closed on incomplete AWS inventories and preserve indexed state - #3

Merged
EdwinJdevops merged 8 commits into
mainfrom
fix/fail-closed-aws-inventory
Oct 10, 2026
Merged

EdwinJdevops merged 8 commits into
mainfrom
fix/fail-closed-aws-inventory

Conversation

@EdwinJdevops

Copy link
Copy Markdown
Owner

Prevents broad EC2/S3/security-group/RDS enumeration failures from silently producing empty inventories and false deletion findings: exceptions now propagate to the scan pipeline, which marks scans failed. Also preserves Terraform count/for_each instance keys rather than overwriting multiple instances. Adds regression tests for four enumeration failures and indexed instances. Remaining boundary: individual S3 attribute lookup failures are still treated as missing attributes and need separate handling; no claim of full collection completeness yet.

@EdwinJdevops
EdwinJdevops merged commit 7e53a01 into main Oct 10, 2026
4 checks 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