wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.97k stars 263 forks source link

awless list --filter does not filter #252

Open marcusvoss opened 5 years ago

marcusvoss commented 5 years ago

Hi,

I like to list all active Access keys and used:

awless list accesskeys --filter state=active Still I get the inactive keys as well.

As a workaround I used: awless list accesskeys | grep -v Inactive

Please check if this is a bug (or feature). If this is a bug, a fix would be appreciated.

Thank you in advance. Marcus

ljluestc commented 11 months ago
awless list accesskeys --format '{{ range . }}{{ if eq .State "Active" }}{{ . }}{{ end }}{{ end }}'