KICS #965
Annotations
11 warnings
Analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
[MEDIUM] Unpinned Package Version in Apk Add:
Dockerfile#L25
Package version pinning reduces the range of versions that can be installed, reducing the chances of failure due to unanticipated changes
|
[LOW] Healthcheck Instruction Missing:
Dockerfile#L37
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
|
[LOW] Multiple RUN, ADD, COPY, Instructions Listed:
Dockerfile#L47
Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.
|
[LOW] Multiple RUN, ADD, COPY, Instructions Listed:
Dockerfile#L45
Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.
|
[LOW] Unpinned Actions Full Length Commit SHA:
.github/workflows/trivy-scan.yml#L46
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
|
[LOW] Unpinned Actions Full Length Commit SHA:
.github/workflows/trivy-scan.yml#L57
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
|
[LOW] Unpinned Actions Full Length Commit SHA:
.github/workflows/Release-charts.yml#L56
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
|
[LOW] Unpinned Actions Full Length Commit SHA:
.github/workflows/kics.yml#L72
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
|
[LOW] Unpinned Actions Full Length Commit SHA:
.github/workflows/kics.yml#L48
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
|
[LOW] Unpinned Actions Full Length Commit SHA:
.github/workflows/code-ql.yml#L90
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
|