mondoohq / cnquery

open source, cloud-native, graph-based asset inventory

Home Page:https://cnquery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose `label` instruction in `docker.file`

tas50 opened this issue · comments

Describe the bug
The label instruction is important for writing best practices policies. For example our best practices policy should check that no label starts with org.label-schema as these have been replaced with org.opencontainers.image labels.

Exposing each k/v pair would allow us to write checks against the content of labels like this.