Skip to content

Commit 5afa7e0

Browse files
author
Kinnaird McQuade
committed
Fixes overly verbose logging issue for one of the query functions. Bump version.
1 parent 644c9f3 commit 5afa7e0

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
## Future release (Unreleased)
33
* Add conditions support
44

5-
## 0.8.0.6 (Unreleased)
5+
## 0.8.0.6 (2020-05-06)
6+
* Fixes overly verbose logging issue for `remove_actions_not_matching_access_level` (Fixes #178)
67
* Homebrew support
78

89
## 0.8.0.5 (2020-04-23)

policy_sentry/bin/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Policy Sentry is a tool for generating least-privilege IAM Policies.
44
"""
5-
__version__ = "0.8.0.5"
5+
__version__ = "0.8.0.6"
66
import click
77
from policy_sentry import command
88

policy_sentry/querying/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ def is_access_level(some_service_prefix, some_action):
269269
if "privileges" in service_prefix_data:
270270
for action_instance in service_prefix_data["privileges"]:
271271
if action_instance.get("access_level") == access_level:
272-
logger.debug(f"remove_actions_not_matching_access_level: Provided access level is {access_level}, "
273-
f"matches {action_instance.get('access_level')}")
272+
# logger.debug(f"remove_actions_not_matching_access_level: Provided access level is {access_level}, "
273+
# f"matches {action_instance.get('access_level')}")
274274
if action_instance.get("privilege").lower() == some_action.lower():
275275
this_result = f"{some_service_prefix}:{action_instance.get('privilege')}"
276276
break

0 commit comments

Comments
 (0)