Merge branch 'master' into feature/2546

This commit is contained in:
Bert Blommers 2019-11-22 06:22:54 +00:00
commit 5f6e8fd6fe
18 changed files with 62 additions and 57 deletions

View file

@ -788,7 +788,9 @@ class AccountSummary(BaseModel):
self._groups_per_user_quota = 10
self._attached_policies_per_user_quota = 10
self._policies_quota = 1500
self._account_mfa_enabled = 0 # Haven't found any information being able to activate MFA for the root account programmatically
self._account_mfa_enabled = (
0
) # Haven't found any information being able to activate MFA for the root account programmatically
self._access_keys_per_user_quota = 2
self._assume_role_policy_size_quota = 2048
self._policy_versions_in_use_quota = 10000

View file

@ -88,7 +88,9 @@ class IAMPolicyDocumentValidator:
self._policy_document = policy_document
self._policy_json = {}
self._statements = []
self._resource_error = "" # the first resource error found that does not generate a legacy parsing error
self._resource_error = (
""
) # the first resource error found that does not generate a legacy parsing error
def validate(self):
try: