anchore / anchore-cli

Simple command-line client to the Anchore Engine service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Events list level filters return empty results

zhill opened this issue · comments

The anchore-cli event list --level info|error commands always return no results even when the unfiltered listing returns results for both types.

Upon inspection, the command is setting the level value to upper-case which the API appears to not respect since it expects lower-case values.

The CLI should use lower() instead of upper() in the normalization pass for input values.