Skip to content

cloudsec: fix inventory scope and use account_empty - #343

Merged
maximelb merged 3 commits into
masterfrom
fix/cloudsec-inventory-account-scope
Aug 27, 2026
Merged

cloudsec: fix inventory scope and use account_empty#343
maximelb merged 3 commits into
masterfrom
fix/cloudsec-inventory-account-scope

Conversation

@maximelb

@maximelb maximelb commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make --all-accounts honor its documented estate-wide meaning
  • add unambiguous --account-empty for resources without a cloud account
  • add canonical account_empty SDK arguments
  • retain account_unscoped as a deprecated SDK compatibility alias
  • reject conflicting scope selectors and conflicting SDK aliases

Validation

  • affected Python unit suite: 238 passed
  • prior full local suite: 3802 passed, 19 skipped
  • live white-sands check: --all-accounts returns all 14 AzureRoleAssignment rows

lcbill
lcbill previously approved these changes Aug 27, 2026
lcbill
lcbill previously approved these changes Aug 27, 2026
@maximelb maximelb changed the title cloudsec: fix inventory all-accounts scope cloudsec: fix inventory scope and use account_empty Aug 27, 2026
@maximelb
maximelb merged commit 1e2e88e into master Aug 27, 2026
6 checks passed
@maximelb
maximelb deleted the fix/cloudsec-inventory-account-scope branch August 27, 2026 21:35
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.

2 participants