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

Missing User Instruction #1

Open
github-actions bot opened this issue Sep 19, 2023 · 0 comments
Open

Missing User Instruction #1

github-actions bot opened this issue Sep 19, 2023 · 0 comments

Comments

@github-actions
Copy link

Hash ID: 143a3c2cbbc5eb2bb089511b46ba5e41a37ac147e88b7caa21a7933988efbdbe

{
    "ruleId": "fd54f200-402c-4333-a5a4-36ef6709af2f",
    "ruleIndex": 0,
    "kind": "fail",
    "message": {
        "text": "The 'Dockerfile' does not contain any 'USER' instruction"
    },
    "locations": [
        {
            "physicalLocation": {
                "artifactLocation": {
                    "uri": "test/missing_user_instruction-positive.dockerfile"
                },
                "region": {
                    "startLine": 2
                }
            }
        }
    ]
}
{
    "id": "fd54f200-402c-4333-a5a4-36ef6709af2f",
    "name": "Missing User Instruction",
    "shortDescription": {
        "text": "Missing User Instruction"
    },
    "fullDescription": {
        "text": "A user should be specified in the dockerfile, otherwise the image will run as root"
    },
    "defaultConfiguration": {
        "level": "error"
    },
    "helpUri": "https://docs.docker.com/engine/reference/builder/#user",
    "relationships": [
        {
            "target": {
                "id": "CAT005",
                "index": 14,
                "toolComponent": {
                    "name": "Categories",
                    "guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
                    "index": 0
                }
            }
        }
    ]
}
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

0 participants