Skip to content

Commit

Permalink
Decrease log level of skipped permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksanders committed Oct 6, 2020
1 parent 0f40406 commit 12e0576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repokid/utils/roledata.py
Expand Up @@ -527,13 +527,13 @@ def _get_potentially_repoable_permissions(
potentially_repoable_permissions.items()
):
if permission_name.split(":")[0] in IAM_ACCESS_ADVISOR_UNSUPPORTED_SERVICES:
LOGGER.warning("skipping {}".format(permission_name))
LOGGER.info("skipping {}".format(permission_name))
continue

# we have an unused service but need to make sure it's repoable
if permission_name.split(":")[0] not in used_services:
if permission_name in IAM_ACCESS_ADVISOR_UNSUPPORTED_ACTIONS:
LOGGER.warning("skipping {}".format(permission_name))
LOGGER.info("skipping {}".format(permission_name))
continue

permission_decision.repoable = True
Expand Down

0 comments on commit 12e0576

Please sign in to comment.