File tree 4 files changed +5
-7
lines changed
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,4 @@ RUN pip3 install --no-cache-dir -r /opt/umf/requirements.txt
61
61
ENV USER test_user
62
62
ENV USERPASS pass
63
63
RUN useradd -m "${USER}" -g sudo -p "$(mkpasswd ${USERPASS})"
64
+ USER test_user
Original file line number Diff line number Diff line change @@ -60,3 +60,4 @@ RUN pip3 install --no-cache-dir -r /opt/umf/requirements.txt
60
60
ENV USER test_user
61
61
ENV USERPASS pass
62
62
RUN useradd -m "${USER}" -g sudo -p "$(mkpasswd ${USERPASS})"
63
+ USER test_user
Original file line number Diff line number Diff line change 38
38
format : ' sarif'
39
39
output : ' trivy-results.sarif'
40
40
exit-code : 1 # Fail if issue found
41
- # See .trivyignore file with suppressions
41
+ # file with suppressions: .trivyignore (in root dir)
42
42
43
43
- name : Upload results
44
44
uses : github/codeql-action/upload-sarif@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
Original file line number Diff line number Diff line change 1
1
# Docs: https://aquasecurity.github.io/trivy/latest/docs/configuration/filtering/#trivyignore
2
2
3
3
# In docker files:
4
- # non-root user is always created within docker, but we switch it only in CI workflows;
5
- # not enforcing non-root user makes it easier for developers to use their own users in local container
6
- AVD-DS-0002
7
-
8
- # In docker files:
9
- # HEALTHCHECK is not required for development, nor in CI (failed docker = failed CI)
4
+ # HEALTHCHECK is not required for development, nor in CI (failed docker = failed CI).
5
+ # We're not hosting any application with usage of the dockers.
10
6
AVD-DS-0026
You can’t perform that action at this time.
0 commit comments