Closed
Description
We used to be able to run this:
policy_sentry query action-table --service all --wildcard-only
But we removed the --wildcard-only
flag in #261 in favor of --resource-type "*"
. It looks like that had the side effect of eliminating the ability to query all services for actions that do not support resource ARN constraints.
The fix requires a tweak in policy_sentry/commands/query.py
under the action_table
click command. The previous working fix can be viewed in the diff from #261.
Desired command:
policy_sentry query action-table --service all --resource-type "*"