-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from cisagov/v23.09.0_merge_cisagov
Malcolm v23.09.0
- Loading branch information
Showing
104 changed files
with
5,993 additions
and
3,513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# this file exists solely for the purpose of being updated and seen by github to trigger a commit build action | ||
0 | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# this file exists solely for the purpose of being updated and seen by github to trigger a commit build action | ||
0 | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM docker.elastic.co/beats/filebeat-oss:8.9.0 | ||
FROM docker.elastic.co/beats/filebeat-oss:8.10.0 | ||
|
||
# Copyright (c) 2023 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -23,6 +23,8 @@ ENV PUSER_PRIV_DROP false | |
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV TERM xterm | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
ARG AUTO_TAG=true | ||
ARG FILEBEAT_SCAN_FREQUENCY=10s | ||
|
@@ -93,7 +95,7 @@ RUN apt-get -q update && \ | |
unar \ | ||
unzip \ | ||
xz-utils && \ | ||
python3 -m pip install --no-cache-dir patool entrypoint2 pyunpack python-magic ordered-set supervisor watchdog && \ | ||
python3 -m pip install --no-compile --no-cache-dir patool entrypoint2 pyunpack python-magic ordered-set supervisor watchdog && \ | ||
curl -fsSLO "$SUPERCRONIC_URL" && \ | ||
echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - && \ | ||
chmod +x "$SUPERCRONIC" && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM docker.elastic.co/logstash/logstash-oss:8.9.0 | ||
FROM docker.elastic.co/logstash/logstash-oss:8.10.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.authors='[email protected]' | ||
|
@@ -51,6 +51,7 @@ RUN set -x && \ | |
apt-get -q update && \ | ||
apt-get -y -q --no-install-recommends upgrade && \ | ||
apt-get -y --no-install-recommends install \ | ||
curl \ | ||
gettext \ | ||
patch \ | ||
python3-setuptools \ | ||
|
@@ -81,6 +82,7 @@ RUN set -x && \ | |
|
||
COPY --chmod=755 shared/bin/docker-uid-gid-setup.sh /usr/local/bin/ | ||
COPY --chmod=755 shared/bin/service_check_passthrough.sh /usr/local/bin/ | ||
COPY --chmod=755 shared/bin/opensearch_status.sh /usr/local/bin/ | ||
COPY --from=ghcr.io/mmguero-dev/gostatic --chmod=755 /goStatic /usr/bin/goStatic | ||
COPY --chmod=755 shared/bin/manuf-oui-parse.py /usr/local/bin/ | ||
COPY --chmod=755 shared/bin/jdk-cacerts-auto-import.sh /usr/local/bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM netboxcommunity/netbox:v3.5.7 | ||
FROM netboxcommunity/netbox:v3.6.1 | ||
|
||
# Copyright (c) 2023 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -13,13 +13,15 @@ LABEL org.opencontainers.image.description='Malcolm container providing the NetB | |
ENV DEBIAN_FRONTEND noninteractive | ||
ENV TERM xterm | ||
ENV LANG C.UTF-8 | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
ARG DEFAULT_UID=1000 | ||
ARG DEFAULT_GID=1000 | ||
ENV DEFAULT_UID $DEFAULT_UID | ||
ENV DEFAULT_GID $DEFAULT_GID | ||
ENV PUSER "boxer" | ||
ENV PGROUP "boxer" | ||
ENV PUSER "ubuntu" | ||
ENV PGROUP "ubuntu" | ||
ENV PUSER_PRIV_DROP true | ||
|
||
ENV SUPERCRONIC_VERSION "0.2.26" | ||
|
@@ -50,15 +52,24 @@ ADD netbox/patch/* /tmp/netbox-patches/ | |
RUN apt-get -q update && \ | ||
apt-get -y -q --no-install-recommends upgrade && \ | ||
apt-get install -q -y --no-install-recommends \ | ||
gcc \ | ||
git \ | ||
jq \ | ||
libpq-dev \ | ||
libpq5 \ | ||
patch \ | ||
procps \ | ||
psmisc \ | ||
python3-dev \ | ||
rsync \ | ||
supervisor \ | ||
tini && \ | ||
"${NETBOX_PATH}/venv/bin/python" -m pip install --break-system-packages --no-cache-dir 'git+https://github.com/mmguero-dev/netbox-initializers' psycopg2 pynetbox python-slugify randomcolor && \ | ||
"${NETBOX_PATH}/venv/bin/python" -m pip install --break-system-packages --no-compile --no-cache-dir \ | ||
'git+https://github.com/tobiasge/netbox-initializers' \ | ||
psycopg2 \ | ||
pynetbox \ | ||
python-slugify \ | ||
randomcolor && \ | ||
cd "${NETBOX_PATH}" && \ | ||
bash -c 'for i in /tmp/netbox-patches/*; do patch -p 1 -r - --no-backup-if-mismatch < $i || true; done' && \ | ||
curl -fsSLO "${SUPERCRONIC_URL}" && \ | ||
|
@@ -69,13 +80,11 @@ RUN apt-get -q update && \ | |
touch "${SUPERCRONIC_CRONTAB}" && \ | ||
curl -fsSL -o /usr/bin/yq "${YQ_URL}" && \ | ||
chmod 755 /usr/bin/yq && \ | ||
apt-get -q -y --purge remove patch git && \ | ||
apt-get -q -y --purge remove patch gcc git libpq-dev python3-dev && \ | ||
apt-get -q -y --purge autoremove && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
groupadd --gid ${DEFAULT_GID} ${PUSER} && \ | ||
useradd -m --uid ${DEFAULT_UID} --gid ${DEFAULT_GID} ${PUSER} && \ | ||
usermod -a -G tty ${PUSER} && \ | ||
usermod -a -G tty ${PUSER} && \ | ||
mkdir -p /opt/unit "${NETBOX_DEVICETYPE_LIBRARY_PATH}" && \ | ||
chown -R $PUSER:root /etc/netbox /opt/unit "${NETBOX_PATH}" && \ | ||
cd "$(dirname "${NETBOX_DEVICETYPE_LIBRARY_PATH}")" && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.