SumoLogic / tailing-sidecar

tailing sidecar - the cluster-level logging agent for Kubernetes
Apache License 2.0
49 stars 14 forks source link

chore: set version and release_number labels in ubi image #711

Closed sumo-drosiek closed 4 months ago

sumo-drosiek commented 4 months ago
preflight check container ghcr.io/sumologic/tailing-sidecar-operator:3cf903d-ubi --platform=linux/arm64
time="2024-06-03T14:10:14+02:00" level=info msg="certification library version" version="1.9.6 <commit: 354d10d9af8b5a64c7c2230a6656186957c3ed9f>"
time="2024-06-03T14:10:14+02:00" level=info msg="running checks for ghcr.io/sumologic/tailing-sidecar-operator:3cf903d-ubi for platform linux/arm64"
time="2024-06-03T14:10:14+02:00" level=info msg="target image" image="ghcr.io/sumologic/tailing-sidecar-operator:3cf903d-ubi"
time="2024-06-03T14:10:20+02:00" level=info msg="check completed" check=HasLicense result=PASSED
time="2024-06-03T14:10:20+02:00" level=info msg="check completed" check=HasUniqueTag result=PASSED
time="2024-06-03T14:10:20+02:00" level=info msg="check completed" check=LayerCountAcceptable result=PASSED
time="2024-06-03T14:10:20+02:00" level=info msg="check completed" check=HasNoProhibitedPackages result=PASSED
time="2024-06-03T14:10:20+02:00" level=info msg="check completed" check=HasRequiredLabel result=PASSED
time="2024-06-03T14:10:20+02:00" level=info msg="USER nonroot:nonroot specified that is non-root"
time="2024-06-03T14:10:20+02:00" level=info msg="check completed" check=RunAsNonRoot result=PASSED
time="2024-06-03T14:10:23+02:00" level=info msg="check completed" check=HasModifiedFiles result=PASSED
time="2024-06-03T14:10:25+02:00" level=info msg="check completed" check=BasedOnUbi result=PASSED
time="2024-06-03T14:10:25+02:00" level=info msg="This image's tag 3cf903d-ubi will be paired with digest sha256:558fd2bf2063eb3e44f7e4079ebd1e1ceaf9231395a09bf41897e85978fed5f0 once this image has been published in accordance with Red Hat Certification policy. You may then add or remove any supplemental tags through your Red Hat Connect portal as you see fit."
{
    "image": "ghcr.io/sumologic/tailing-sidecar-operator:3cf903d-ubi",
    "passed": true,
    "test_library": {
        "name": "github.com/redhat-openshift-ecosystem/openshift-preflight",
        "version": "1.9.6",
        "commit": "354d10d9af8b5a64c7c2230a6656186957c3ed9f"
    },
    "results": {
        "passed": [
            {
                "name": "HasLicense",
                "elapsed_time": 0,
                "description": "Checking if terms and conditions applicable to the software including open source licensing information are present. The license must be at /licenses"
            },
            {
                "name": "HasUniqueTag",
                "elapsed_time": 0,
                "description": "Checking if container has a tag other than 'latest', so that the image can be uniquely identified."
            },
            {
                "name": "LayerCountAcceptable",
                "elapsed_time": 0,
                "description": "Checking if container has less than 40 layers.  Too many layers within the container images can degrade container performance."
            },
            {
                "name": "HasNoProhibitedPackages",
                "elapsed_time": 22,
                "description": "Checks to ensure that the image in use does not include prohibited packages, such as Red Hat Enterprise Linux (RHEL) kernel packages."
            },
            {
                "name": "HasRequiredLabel",
                "elapsed_time": 0,
                "description": "Checking if the required labels (name, vendor, version, release, summary, description) are present in the container metadata."
            },
            {
                "name": "RunAsNonRoot",
                "elapsed_time": 0,
                "description": "Checking if container runs as the root user because a container that does not specify a non-root user will fail the automatic certification, and will be subject to a manual review before the container can be approved for publication"
            },
            {
                "name": "HasModifiedFiles",
                "elapsed_time": 3510,
                "description": "Checks that no files installed via RPM in the base Red Hat layer have been modified"
            },
            {
                "name": "BasedOnUbi",
                "elapsed_time": 1776,
                "description": "Checking if the container's base image is based upon the Red Hat Universal Base Image (UBI)"
            }
        ],
        "failed": [],
        "errors": []
    }
}
time="2024-06-03T14:10:25+02:00" level=info msg="Preflight result: PASSED"