Skip to content

Commit

Permalink
Allow colon character in policy names
Browse files Browse the repository at this point in the history
  • Loading branch information
crshanks committed Jan 23, 2023
1 parent 67024a2 commit b725ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def store_alert_policies(src_account, src_api_key, src_region):
with policy_names_file.open('a') as policy_names_out:
for policy in policies['policies']:
policy_name = policy['name']
policy_name = store.sanitize(policy_name)
# policy_name = store.sanitize(policy_name)
policy_names_out.write(policy_name + "\n")
policy_names_out.close()
log.info("Policy names stored in " + policy_file_name)
Expand Down

0 comments on commit b725ad5

Please sign in to comment.