mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-13 00:05:04 +00:00
feat(compliance): Loader and Execute (#1465)
This commit is contained in:
@@ -6,7 +6,7 @@ class securityhub_enabled(Check):
|
||||
def execute(self):
|
||||
findings = []
|
||||
for securityhub in securityhub_client.securityhubs:
|
||||
report = Check_Report(self.metadata)
|
||||
report = Check_Report(self.metadata())
|
||||
report.region = securityhub.region
|
||||
if securityhub.status == "ACTIVE":
|
||||
report.status = "PASS"
|
||||
|
||||
Reference in New Issue
Block a user