Skip to content
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

Image Version Using 'latest' @ /build-environment/Dockerfile #2

Open
nleach999 opened this issue Jun 9, 2023 · 0 comments
Open

Image Version Using 'latest' @ /build-environment/Dockerfile #2

nleach999 opened this issue Jun 9, 2023 · 0 comments

Comments

@nleach999
Copy link
Collaborator

nleach999 commented Jun 9, 2023

Checkmarx (IaC-Security): Image Version Using 'latest'
Checkmarx Project: checkmarx-ts/cx-supply-chain-toolkit
Repository URL: https://github.com/checkmarx-ts/cx-supply-chain-toolkit
Branch: master
Scan ID: 1d2e98e3-6db0-4376-8620-c9ac41d3ec76


When building images, always tag them with useful tags which codify version information, intended destination (prod or test, for instance), stability, or other information that is useful when deploying the application in different environments. Do not rely on the automatically-created latest tag

Locations:

Result 1:
Severity: MEDIUM
State: CONFIRMED
Status: RECURRENT
    File: /build-environment/Dockerfile[54,0]
    Expected value: FROM alpine:latest:'version' where version should not be 'latest'
    Actual value: FROM alpine:latest'
    Review result in Checkmarx One: Image Version Using 'latest'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant