-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(allowlist): allowlist non-default regions configuration #2974
Conversation
@@ -188,10 +190,10 @@ def test_config_one_recorder_disabled_allowlisted(self): | |||
|
|||
check = config_recorder_all_regions_enabled() | |||
result = check.execute() | |||
assert len(result) == 1 | |||
assert len(result) == 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assert both please 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov Report
@@ Coverage Diff @@
## master #2974 +/- ##
==========================================
+ Coverage 86.28% 86.30% +0.02%
==========================================
Files 559 559
Lines 18074 18088 +14
==========================================
+ Hits 15595 15611 +16
+ Misses 2479 2477 -2
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great feature @sergargar !!!
Description
Add
allowlist_non_default_regions
configuration variable to allowlist failed findings in non-default regions for GuardDuty, SecurityHub, DRS and Config AWS services.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.