docker / docker-bench-security

The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
Apache License 2.0
9.17k stars 1.02k forks source link

Is it possible to add containers/images filter by LABEL #530

Closed lekpamartin closed 1 year ago

lekpamartin commented 1 year ago

Hi, For now when we exclude container by name. If another instance are deployed with the others name, we have to update the exclusion list. I think LABEL can solve the problem? Thx

konstruktoid commented 1 year ago

absolutely, are you interested in submitting a PR?

lekpamartin commented 1 year ago

The PR link https://github.com/docker/docker-bench-security/pull/531 Thx

konstruktoid commented 1 year ago

Merged #531