fix(aws): not show findings when AccessDenieds (#3803)

This commit is contained in:
Sergio Garcia
2024-04-29 17:42:44 +02:00
committed by GitHub
parent b36152484d
commit 35c8ea5e3f
97 changed files with 2332 additions and 1126 deletions

View File

@@ -178,6 +178,8 @@ class <Service>(ServiceParentClass):
f"{<item>.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
```
???+note
To avoid fake findings, when Prowler can't retrieve the items, because an Access Denied or similar error, we set that items value as `None`.
#### Service Models