Skip to content

Conversation

@sasankamouliveleti
Copy link
Contributor

Description of changes:

Scope S3 list_objects call to trail's region by adding prefix parameter. This prevents processing digest files from all regions and improves validate-logs command performance when validating logs near current time.

Add _create_digest_prefix method to generate region-specific prefix for both regular and organizational trails. Update existing tests and add new test coverage for prefix generation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Scope S3 list_objects call to trail's region by adding prefix
parameter. This prevents processing digest files from all regions
and improves validate-logs command performance when validating
logs near current time.

Add _create_digest_prefix method to generate region-specific
prefix for both regular and organizational trails. Update
existing tests and add new test coverage for prefix generation.
@sasankamouliveleti sasankamouliveleti marked this pull request as ready for review December 17, 2025 23:19
@AndrewAsseily AndrewAsseily merged commit 1800d25 into aws:v2 Dec 18, 2025
60 of 62 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.

2 participants