-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Snyk scan suggestion when building #8247
Conversation
b7b86c8
to
5773a11
Compare
ecdd442
to
de63ae2
Compare
de63ae2
to
974ac94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually building & testing the branch, I don't manage to see the scan suggest message on mac or windows.
I suppose this is because you expect the optin
field to be defined in the config json file, by default after desktop install this config fileexist but does not have the field defined, it gets defined only after a first run of docker scan
. This is when the scan suggest message should be displayed, where optin
is not present in the config json
974ac94
to
42c55e6
Compare
Signed-off-by: Ulysses Souza <[email protected]>
42c55e6
to
e496c64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked on windows, displays the message, and does not display it anymore after a docker scan
invocation, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on osx. It displays the scan suggestion on build. After running docker scan
, the message no longer appears.
Resolves https://github.com/docker/dev-tooling-team/issues/286