Skip to content

Commit

Permalink
Update IamAccount.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kuettai authored May 23, 2024
1 parent f8bd58d commit a220dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/iam/drivers/IamAccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _checkHasGuardDuty(self):
conf = bConfig(region_name = region)
gdClient = ssBoto.client('guardduty', config=conf)

resp = self.gdClient.list_detectors()
resp = gdClient.list_detectors()
if 'DetectorIds' in resp:
ids = resp.get('DetectorIds')
if len(ids) > 0:
Expand Down Expand Up @@ -297,4 +297,4 @@ def _checkConfigEnabled(self):
elif cnt < len(regions):
self.results['PartialEnableConfigService'] = [-1, ', '.join(badResults)]
else:
return
return

0 comments on commit a220dcd

Please sign in to comment.