mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
feat(regions_update): Changes in regions for AWS services. (#1508)
This commit is contained in:
committed by
GitHub
parent
989638a42d
commit
1a70a45805
@@ -27,7 +27,7 @@ class Test_config_recorder_all_regions_enabled:
|
||||
result = check.execute()
|
||||
|
||||
assert (
|
||||
len(result) == 23
|
||||
len(result) == 25
|
||||
) # One fail result per region, since there are no recorders
|
||||
assert result[0].status == "FAIL"
|
||||
|
||||
@@ -55,7 +55,7 @@ class Test_config_recorder_all_regions_enabled:
|
||||
|
||||
check = config_recorder_all_regions_enabled()
|
||||
result = check.execute()
|
||||
assert len(result) == 23
|
||||
assert len(result) == 25
|
||||
# Search for the recorder just created
|
||||
for recorder in result:
|
||||
if recorder.resource_id:
|
||||
@@ -95,7 +95,7 @@ class Test_config_recorder_all_regions_enabled:
|
||||
|
||||
check = config_recorder_all_regions_enabled()
|
||||
result = check.execute()
|
||||
assert len(result) == 23
|
||||
assert len(result) == 25
|
||||
# Search for the recorder just created
|
||||
for recorder in result:
|
||||
if recorder.resource_id:
|
||||
|
||||
@@ -81,7 +81,7 @@ class Test_Config_Service:
|
||||
audit_info = self.set_mocked_audit_info()
|
||||
config = Config(audit_info)
|
||||
# One recorder per region
|
||||
assert len(config.recorders) == 23
|
||||
assert len(config.recorders) == 25
|
||||
# Check the active one
|
||||
# Search for the recorder just created
|
||||
for recorder in config.recorders:
|
||||
|
||||
Reference in New Issue
Block a user