Skip to content

Can't query all services for wildcard only anymore #296

Closed
@kmcquade

Description

@kmcquade

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 "*"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions