Lint.
This commit is contained in:
parent
40f241adc2
commit
72da9e96c2
13 changed files with 28 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue