You can add the following stage and steps definition to a Jenkinsfile to run
Docker Scout as part of a Jenkins pipeline. The pipeline needs a DOCKER_HUB
credential containing the username and password for authenticating to Docker
Hub. It also needs an environment variable defined for the image and tag.