anchore / anchore-cli

Simple command-line client to the Anchore Engine service
Apache License 2.0
114 stars 54 forks source link

Add max_images_per_account logic to cli #157

Closed dakaneye closed 3 years ago

dakaneye commented 3 years ago

Relates to fix for https://github.com/anchore/anchore-engine/issues/858 Signed-off-by: Samuel Dacanay sam.dacanay@anchore.com

zburstein commented 3 years ago

@dakaneye @zhill Does functionality for setting the selectors when making an archival rule via the cli need to be added?

dakaneye commented 3 years ago

@dakaneye @zhill Does functionality for setting the selectors when making an archival rule via the cli need to be added?

@zburstein are you referring to the exclude selector? The selectors for a basic transition rule are already @click options: https://github.com/anchore/anchore-cli/blob/5710569affc92879c8b0801c771ba92d59f620c2/anchorecli/cli/archives.py#L227

zburstein commented 3 years ago

@dakaneye Yeah sorry I did mean the exclude selectors