Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: aws region pattern regex not matching il-central-1 #92

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ivallhon
Copy link
Collaborator

@ivallhon ivallhon commented Sep 2, 2024

Bug fix:

The aws_region_pattern helper regex doesn't match the il-central-1 region, making the log forwarder fail to match log processing rules using it (e.g. CloudTrail logs).

  • Amends the aws_region_pattern regex to match the Israel region
  • Adds a unit test to validate all valid AWS regions match against the regex

@ivallhon ivallhon requested a review from sq2gxo September 2, 2024 08:57
Copy link

sonarcloud bot commented Sep 2, 2024

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