Adding this issue to judge interest and gather feedback since this is a breaking CLI change for anyone parsing CLI output.
The original use-case of having the default output id be the image ID instead of digest was to match what one would see with a 'docker images' command, but the anchore API is driven by image digests.
Thus, it makes sense to change the default to show image digests, and the '--full' option to include the image ID.
Do folks parse the text output at all, or mostly use the --json flag for output parsing and thus this wouldn't break anything? Feedback welcomed.
Adding this issue to judge interest and gather feedback since this is a breaking CLI change for anyone parsing CLI output.
The original use-case of having the default output id be the image ID instead of digest was to match what one would see with a 'docker images' command, but the anchore API is driven by image digests.
Thus, it makes sense to change the default to show image digests, and the '--full' option to include the image ID.
Do folks parse the text output at all, or mostly use the --json flag for output parsing and thus this wouldn't break anything? Feedback welcomed.