Skip to content

CCIX-141: Derive OpenSearch region from ARN - #91

Open
yti93 wants to merge 1 commit into
mainfrom
youssef/ccix-141-opensearch-region
Open

CCIX-141: Derive OpenSearch region from ARN#91
yti93 wants to merge 1 commit into
mainfrom
youssef/ccix-141-opensearch-region

Conversation

@yti93

@yti93 yti93 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Why

OpenSearch Wiz reports expose country codes such as US, AU, and IE through regionLocation, which Version Guard incorrectly emitted as AWS regions and broke downstream pricing lookups.

What

  • Fall back to the AWS region in OpenSearch domain ARNs when Wiz supplies a non-region location
  • Preserve valid report regions and avoid guessing from malformed or non-domain identifiers
  • Add table-driven regression coverage for the affected mapping and boundaries

Risk Assessment

Low — normalization is limited to the OpenSearch region mapping, and only valid es domain ARNs are used as fallbacks.

References

Generated with Amp

@yti93
yti93 marked this pull request as ready for review August 5, 2026 20:47
@yti93
yti93 requested a review from a team as a code owner August 5, 2026 20:47
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