Loongson-Cloud-Community / dockerfiles

14 stars 14 forks source link

build(jumpserver): 添加 JumpServer 镜像 #227

Closed wojiushixiaobai closed 3 months ago

qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/sbin/unix_chkpwd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious ENV key found : NGINX_GPGKEY on 0 /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; NGINX_GPGKEY_PATH=/usr/share/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; gpg1 --export "$NGINX_GPGKEY" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64 arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; loongarch64) echo "deb [signed-by=/usr/share/keyrings/jumpserver-nginx-keyring.gpg] https://dl.cloudsmith.io/public/jumpserver/nginx/deb/debian buster main" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d (You can suppress it with --accept-key)
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/umount
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/sbin/unix_chkpwd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious filename found : opt/py3/lib/python3.11/site-packages/exchangelib/settings.py (You can suppress it with "-af settings.py")
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/gpasswd
DKL-LI-0003 INFO unnecessary file : opt/py3/lib/python3.11/site-packages/ansible_collections/cyberark/conjur/dev/docker-compose.yml
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/chfn
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/bin/chage
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/newgrp
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious filename found : opt/py3/lib/python3.11/site-packages/jedi/settings.py (You can suppress it with "-af settings.py")
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/passwd
DKL-LI-0003 INFO unnecessary file : opt/py3/lib/python3.11/site-packages/ansible_collections/community/okd/ci/Dockerfile
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/lib/openssh/ssh-keysign
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/chsh
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/sbin/unix_chkpwd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious ENV key found : NGINX_GPGKEY on 0 /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; NGINX_GPGKEY_PATH=/usr/share/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; gpg1 --export "$NGINX_GPGKEY" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64 arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; loongarch64) echo "deb [signed-by=/usr/share/keyrings/jumpserver-nginx-keyring.gpg] https://dl.cloudsmith.io/public/jumpserver/nginx/deb/debian buster main" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d (You can suppress it with --accept-key)
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/sbin/unix_chkpwd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/newgrp
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/bin/expiry
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious ENV key found : NGINX_GPGKEY on 0 /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; NGINX_GPGKEY_PATH=/usr/share/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; gpg1 --export "$NGINX_GPGKEY" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64 arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; loongarch64) echo "deb [signed-by=/usr/share/keyrings/jumpserver-nginx-keyring.gpg] https://dl.cloudsmith.io/public/jumpserver/nginx/deb/debian buster main" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d (You can suppress it with --accept-key)
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/newgrp
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/chfn
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/passwd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/bin/expiry
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/gpasswd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/sbin/unix_chkpwd
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/umount
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/chsh
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious ENV key found : NGINX_GPGKEY on 0 /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; NGINX_GPGKEY_PATH=/usr/share/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; gpg1 --export "$NGINX_GPGKEY" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64 arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; loongarch64) echo "deb [signed-by=/usr/share/keyrings/jumpserver-nginx-keyring.gpg] https://dl.cloudsmith.io/public/jumpserver/nginx/deb/debian buster main" > /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d (You can suppress it with --accept-key)
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/bin/wall
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/newgrp
qiangxuhui commented 3 months ago
code level alerts
CIS-DI-0010 FATAL Suspicious filename found : opt/jumpserver/apps/authentication/backends/saml2/settings.py (You can suppress it with "-af settings.py")
CIS-DI-0001 WARN Last user should not be root
CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
CIS-DI-0006 INFO not found HEALTHCHECK statement
CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/mount
DKL-LI-0003 INFO unnecessary file : opt/py3/lib/python3.11/site-packages/ansible_collections/community/okd/ci/Dockerfile