Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malcolm v24.03.0 #300

Merged
merged 83 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
b74f0b0
bump version for v24.02.1
mmguero Feb 16, 2024
d9e20de
bump development for v24.03.0
mmguero Feb 16, 2024
2c6c86e
renamed sensor-iso to hedgehog-iso and sensor-raspi to hedgehog-raspi
mmguero Feb 16, 2024
58f74b2
fix the way we do environment variables in local.zeek (close idaholab…
mmguero Feb 16, 2024
bf232c6
for supporting JSON logs from Zeek (idaholab/Malcolm#65); almost cert…
mmguero Feb 16, 2024
cea233a
for supporting JSON logs from Zeek (idaholab/Malcolm#65); almost cert…
mmguero Feb 16, 2024
cc90ca9
for supporting JSON logs from Zeek (idaholab/Malcolm#65); almost cert…
mmguero Feb 20, 2024
02898f8
for supporting JSON logs from Zeek (idaholab/Malcolm#65); almost cert…
mmguero Feb 20, 2024
3945ba4
bump arkime to v5.0.1 (https://github.com/arkime/arkime/blob/05441d61…
mmguero Feb 20, 2024
d24e1be
fix idaholab/Malcolm#428, hard-coded date value in Kibana pivot links
mmguero Feb 20, 2024
8804500
fix idaholab/Malcolm#427, links on landing page should open in a new tab
mmguero Feb 20, 2024
276ee80
bump opensearch and dashboards to v2.12.0 (https://github.com/opensea…
mmguero Feb 21, 2024
b0756f2
now that dashboards custom branding allows relative urls, remove hack…
mmguero Feb 21, 2024
0879cea
for supporting JSON logs from Zeek (idaholab/Malcolm#65); almost cert…
mmguero Feb 21, 2024
26f7238
for supporting JSON logs from Zeek (idaholab/Malcolm#65); almost cert…
mmguero Feb 21, 2024
096e32c
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 21, 2024
57e0141
update osd vis plugin
mmguero Feb 21, 2024
c2826f8
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 21, 2024
540c0eb
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 21, 2024
5476493
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 21, 2024
d9021c9
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 21, 2024
88d8147
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 21, 2024
94f8a22
logo tweaks
mmguero Feb 21, 2024
1362927
bump elasticsearcy-py to 8.12.1
mmguero Feb 22, 2024
8701cf0
fix idaholab/Malcolm#427, fix links on extracted-files page
mmguero Feb 22, 2024
862d3d5
bump logstash and beats to v8.12.2
mmguero Feb 22, 2024
594c641
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 22, 2024
1da3689
update documentation
mmguero Feb 22, 2024
db6b783
apparently with the latest logstash the order of -Xmx and -Xms matter…
mmguero Feb 22, 2024
1e57a3a
for supporting JSON logs from Zeek (idaholab/Malcolm#65); getting closer
mmguero Feb 22, 2024
def9661
Revert "bump logstash and beats to v8.12.2"
mmguero Feb 22, 2024
d4094ca
simplify extracted files download value actoin
mmguero Feb 26, 2024
b7aba34
temporarily use testing branch for htadmin while I test a fix
mmguero Feb 26, 2024
cebdae7
restore branch for htadmin
mmguero Feb 26, 2024
ec3c7f2
fix idaholab/Malcolm#431, unencrypted, unzipped extracted file downlo…
mmguero Feb 26, 2024
505cc91
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 26, 2024
d213a79
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 26, 2024
b6c0c8a
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 26, 2024
1e019f4
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 26, 2024
713b4a0
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 27, 2024
5e6c33b
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 27, 2024
d1718b1
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 27, 2024
09cf72d
work in progress incorporating icsnpp-profinet-io-cm, idaholab/Malcol…
mmguero Feb 27, 2024
75a483e
finished icsnpp-profinet-io-cm, idaholab/Malcolm#429
mmguero Feb 27, 2024
3a36503
interface_version -> uuid_version for profinet I/O CM
mmguero Feb 27, 2024
96f1cc2
documentation udpates for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
95e8fc8
work in progress for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
e9277b7
work in progress for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
a8a08f2
work in progress for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
93a00bb
work in progress for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
2f5d07c
work in progress for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
80a4f86
work in progress for idaholab/Malcolm#336, expand MISP usage
mmguero Feb 28, 2024
33ef67e
Fix missing ")"
melaniepierce Feb 29, 2024
a69381c
Add documentation to log out of Malcolm
melaniepierce Feb 29, 2024
d5bf5d0
update the cryptography library to address CVE-2024-26130 (https://gi…
mmguero Feb 29, 2024
8fafa62
update a few libraries/components to address CVEs
mmguero Feb 29, 2024
866fdee
update a few libraries/components to address CVEs
mmguero Feb 29, 2024
0c26007
update a few libraries/components to address CVEs
mmguero Feb 29, 2024
f2c45d8
remove patch
mmguero Feb 29, 2024
f80a0bc
fix a few issues with the install.py script when installing from GitH…
mmguero Feb 29, 2024
35e1aac
KEV detections for Unitronics VisiLogic CVE-2023-6448 idaholab/Malcol…
mmguero Feb 29, 2024
8fc4bde
rename suricata rules file
mmguero Feb 29, 2024
c835233
minor tweaks as preparing for v24.03.0
mmguero Feb 29, 2024
5b4e070
minor tweaks as preparing for v24.03.0
mmguero Feb 29, 2024
34dd3bd
Work in progress for idaholab/Malcolm#414, capture stats dashboard fo…
mmguero Mar 1, 2024
5aa8e9d
Work in progress for idaholab/Malcolm#414, capture stats dashboard fo…
mmguero Mar 1, 2024
8a13ba2
Work in progress for idaholab/Malcolm#414, windows event logs dashboa…
mmguero Mar 1, 2024
6b332e7
Work in progress for idaholab/Malcolm#414, windows event logs dashboa…
mmguero Mar 1, 2024
921fe4d
Work in progress for idaholab/Malcolm#414, windows kernel messages da…
mmguero Mar 1, 2024
57a2bf3
Work in progress for idaholab/Malcolm#414, additional resource/statis…
mmguero Mar 1, 2024
1ed4758
fix error in dashboard
mmguero Mar 1, 2024
76c8a7c
tweak github image helper
mmguero Mar 4, 2024
23eff16
github_image_helper script updates
mmguero Mar 4, 2024
8bd8e44
fix renaming some json fields
mmguero Mar 4, 2024
ba26fa6
fix renaming some json fields
mmguero Mar 4, 2024
d261bff
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Mar 4, 2024
6fa20be
clean up some leftover files
mmguero Mar 4, 2024
4bd8676
store a cumulative pkts_dropped for suircata
mmguero Mar 4, 2024
781aa84
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Mar 4, 2024
80b6ec4
minor tweak to reporter dashboard
mmguero Mar 4, 2024
d10694e
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Mar 4, 2024
b0356c8
Fix regression found in testing idaholab/Malcolm#336
mmguero Mar 5, 2024
411afbb
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ arkime-logs
arkime-raw
kubernetes
malcolm-iso
sensor-iso
sensor-raspi
hedgehog-iso
hedgehog-raspi
nginx/nginx_ldap*.conf
pcap
_site
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: sensor-iso-build-docker-wrap-push-ghcr
name: hedgehog-iso-build-docker-wrap-push-ghcr

on:
push:
branches:
- main
- development
paths:
- 'sensor-iso/**'
- 'hedgehog-iso/**'
- 'shared/bin/*'
- '.trigger_iso_workflow_build'
- '.github/workflows/sensor-iso-build-docker-wrap-push-ghcr.yml'
- '.github/workflows/hedgehog-iso-build-docker-wrap-push-ghcr.yml'
workflow_dispatch:
repository_dispatch:

Expand Down Expand Up @@ -93,13 +93,13 @@ jobs:
-
name: Build image
run: |
cp -r ./shared ./docs ./_config.yml ./_includes ./_layouts ./Gemfile ./README.md ./malcolm-iso/htpdate ./sensor-iso
cp ./scripts/malcolm_utils.py ./sensor-iso/shared/bin/
cp ./scripts/documentation_build.sh ./sensor-iso/docs/
cp -r ./arkime/patch ./sensor-iso/shared/arkime_patch
mkdir -p ./sensor-iso/suricata
cp -r ./suricata/rules-default ./sensor-iso/suricata/
pushd ./sensor-iso
cp -r ./shared ./docs ./_config.yml ./_includes ./_layouts ./Gemfile ./README.md ./malcolm-iso/htpdate ./hedgehog-iso
cp ./scripts/malcolm_utils.py ./hedgehog-iso/shared/bin/
cp ./scripts/documentation_build.sh ./hedgehog-iso/docs/
cp -r ./arkime/patch ./hedgehog-iso/shared/arkime_patch
mkdir -p ./hedgehog-iso/suricata
cp -r ./suricata/rules-default ./hedgehog-iso/suricata/
pushd ./hedgehog-iso
echo "${{ steps.extract_malcolm_version.outputs.mversion }}" > ./shared/version.txt
echo "${{ secrets.MAXMIND_GEOIP_DB_LICENSE_KEY }}" > ./shared/maxmind_license.txt
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" > ./shared/environment.chroot
Expand All @@ -115,7 +115,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: './sensor-iso'
scan-ref: './hedgehog-iso'
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'HIGH,CRITICAL'
Expand All @@ -140,6 +140,6 @@ jobs:
name: Build and push ISO image
uses: docker/build-push-action@v5
with:
context: ./sensor-iso
context: ./hedgehog-iso
push: true
tags: ghcr.io/${{ github.repository_owner }}/malcolm/hedgehog:${{ steps.extract_branch.outputs.branch }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sensor-raspi-build-docker-wrap-push-ghcr
name: hedgehog-raspi-build-docker-wrap-push-ghcr

on:
# push:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
-
name: Build image
run: |
pushd ./sensor-raspi
pushd ./hedgehog-raspi
mkdir -p ./shared
echo "${{ steps.extract_malcolm_version.outputs.mversion }}" > ./shared/version.txt
echo "${{ secrets.MAXMIND_GEOIP_DB_LICENSE_KEY }}" > ./shared/maxmind_license.txt
Expand All @@ -97,6 +97,6 @@ jobs:
name: Build and push IMG image
uses: docker/build-push-action@v5
with:
context: ./sensor-raspi
context: ./hedgehog-raspi
push: true
tags: ghcr.io/${{ github.repository_owner }}/malcolm/hedgehog-raspi:${{ steps.extract_branch.outputs.branch }}
14 changes: 7 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ malcolm_netbox_backup_*.gz
*-build.log
Gemfile.lock
_site
sensor-iso/_config.yml
sensor-iso/_includes
sensor-iso/_layouts
sensor-iso/_site
sensor-iso/docs
sensor-iso/Gemfile
sensor-iso/README.md
hedgehog-iso/_config.yml
hedgehog-iso/_includes
hedgehog-iso/_layouts
hedgehog-iso/_site
hedgehog-iso/docs
hedgehog-iso/Gemfile
hedgehog-iso/README.md

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/arkime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV TERM xterm
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

ENV ARKIME_VERSION "v5.0.0"
ENV ARKIME_VERSION "v5.0.1"
ENV ARKIME_DIR "/opt/arkime"
ENV ARKIME_URL "https://github.com/arkime/arkime.git"
ENV ARKIME_LOCALELASTICSEARCH no
Expand Down
43 changes: 6 additions & 37 deletions Dockerfiles/dashboards.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM opensearchproject/opensearch-dashboards:2.11.1
FROM opensearchproject/opensearch-dashboards:2.12.0

LABEL maintainer="malcolm@inl.gov"
LABEL org.opencontainers.image.authors='malcolm@inl.gov'
Expand All @@ -20,7 +20,7 @@ ENV PUSER_PRIV_DROP true
ENV TERM xterm

ENV TINI_VERSION v0.19.0
ENV OSD_TRANSFORM_VIS_VERSION 2.11.0
ENV OSD_TRANSFORM_VIS_VERSION 2.12.0

ARG NODE_OPTIONS="--max_old_space_size=4096"
ENV NODE_OPTIONS $NODE_OPTIONS
Expand All @@ -39,10 +39,10 @@ RUN yum upgrade -y && \
# Malcolm manages authentication and encryption via NGINX reverse proxy
/usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove securityDashboards --allow-root && \
cd /tmp && \
unzip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \
sed -i "s/2\.11\.0/2\.11\.1/g" opensearch-dashboards/transformVis/opensearch_dashboards.json && \
sed -i "s/2\.11\.0/2\.11\.1/g" opensearch-dashboards/transformVis/package.json && \
zip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \
# unzip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \
# sed -i "s/2\.12\.0/2\.12\.0/g" opensearch-dashboards/transformVis/opensearch_dashboards.json && \
# sed -i "s/2\.12\.0/2\.12\.0/g" opensearch-dashboards/transformVis/package.json && \
# zip transformVis.zip opensearch-dashboards/transformVis/opensearch_dashboards.json opensearch-dashboards/transformVis/package.json && \
cd /usr/share/opensearch-dashboards/plugins && \
/usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install file:///tmp/transformVis.zip --allow-root && \
rm -rf /tmp/transformVis /tmp/opensearch-dashboards && \
Expand All @@ -59,37 +59,6 @@ ADD dashboards/opensearch_dashboards.yml /usr/share/opensearch-dashboards/config
ADD dashboards/scripts/docker_entrypoint.sh /usr/local/bin/
ADD scripts/malcolm_utils.py /usr/local/bin/

# Yeah, I know about https://opensearch.org/docs/latest/dashboards/branding ... but I can't figure out a way
# to specify the entries in the opensearch_dashboards.yml such that they are valid BOTH from the
# internal opensearch code validating them AND the web browser retrieving them. So we're going scorched earth instead.

COPY --chmod=644 docs/images/favicon/favicon192.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/android-chrome-192x192.png
COPY --chmod=644 docs/images/favicon/favicon512.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/android-chrome-512x512.png
COPY --chmod=644 docs/images/favicon/apple-touch-icon-precomposed.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/apple-touch-icon.png
COPY --chmod=644 docs/images/favicon/favicon16.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/favicon-16x16.png
COPY --chmod=644 docs/images/favicon/favicon32.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/favicon-32x32.png
COPY --chmod=644 docs/images/favicon/favicon.ico /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/favicon.ico
COPY --chmod=644 docs/images/favicon/favicon144.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/mstile-144x144.png
COPY --chmod=644 docs/images/favicon/favicon150.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/mstile-150x150.png
COPY --chmod=644 docs/images/favicon/favicon310.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/mstile-310x310.png
COPY --chmod=644 docs/images/favicon/favicon70.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/mstile-70x70.png
COPY --chmod=644 docs/images/logo/Malcolm.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_center_mark.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_center_mark_on_dark.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_center_mark_on_light.svg
COPY --chmod=644 docs/images/logo/Malcolm.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_dashboards.svg
COPY --chmod=644 docs/images/logo/malcolm_logo.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_dashboards_on_dark.svg
COPY --chmod=644 docs/images/logo/Malcolm.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_dashboards_on_light.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_mark.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_mark_on_dark.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_mark_on_light.svg
COPY --chmod=644 docs/images/logo/malcolm_logo.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_on_dark.svg
COPY --chmod=644 docs/images/logo/Malcolm.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_on_light.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_spinner.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_spinner_on_dark.svg
COPY --chmod=644 docs/images/icon/malcolm_mark_dashboards.svg /usr/share/opensearch-dashboards/src/core/server/core_app/assets/logos/opensearch_spinner_on_light.svg


ENTRYPOINT ["/usr/bin/tini", \
"--", \
"/usr/local/bin/docker-uid-gid-setup.sh", \
Expand Down
9 changes: 8 additions & 1 deletion Dockerfiles/netbox.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENV SUPERCRONIC_CRONTAB "/etc/crontab"

ENV NETBOX_INITIALIZERS_VERSION "ebf1f76"

ENV YQ_VERSION "4.33.3"
ENV YQ_VERSION "4.42.1"
ENV YQ_URL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_amd64"

ENV NETBOX_DEVICETYPE_LIBRARY_IMPORT_URL "https://codeload.github.com/netbox-community/Device-Type-Library-Import/tar.gz/develop"
Expand Down Expand Up @@ -106,6 +106,13 @@ RUN apt-get -q update && \
mkdir -p ./repo && \
curl -sSL "${NETBOX_DEVICETYPE_LIBRARY_URL}" | tar xzf - -C ./repo --strip-components 1 && \
rm -rf ./repo/device-types/WatchGuard && \
"${NETBOX_PATH}/venv/bin/python" -m pip install --break-system-packages --no-compile --no-cache-dir --upgrade \
cryptography \
GitPython \
Jinja2 \
"Django>=4.2.10,<5" \
paramiko \
pillow && \
mkdir -p "${NETBOX_PATH}/netbox/${BASE_PATH}" && \
mv "${NETBOX_PATH}/netbox/static" "${NETBOX_PATH}/netbox/${BASE_PATH}/static" && \
jq '. += { "settings": { "http": { "discard_unsafe_fields": false } } }' /etc/unit/nginx-unit.json | jq 'del(.listeners."[::]:8080")' | jq 'del(.listeners."[::]:8081")' | jq ".routes.main[0].match.uri = \"/${BASE_PATH}/static/*\"" > /etc/unit/nginx-unit-new.json && \
Expand Down
10 changes: 8 additions & 2 deletions Dockerfiles/nginx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ RUN set -x ; \
rm -rf /usr/src/* /var/tmp/* /var/cache/apk/* /nginx.tar.gz /nginx-auth-ldap.tar.gz /ngx_http_substitutions_filter_module-master.tar.gz; \
touch /etc/nginx/nginx_ldap.conf /etc/nginx/nginx_blank.conf && \
find /usr/share/nginx/html/ -type d -exec chmod 755 "{}" \; && \
find /usr/share/nginx/html/ -type f -exec chmod 644 "{}" \;
find /usr/share/nginx/html/ -type f -exec chmod 644 "{}" \; && \
cd /usr/share/nginx/html/assets/img && \
ln -s ./Malcolm_background.png ./bg-masthead.png

COPY --from=docbuild /site/_site /usr/share/nginx/html/readme

Expand All @@ -242,9 +244,13 @@ ADD nginx/scripts /usr/local/bin/
ADD nginx/*.conf /etc/nginx/
ADD nginx/templates /etc/nginx/templates/
ADD nginx/supervisord.conf /etc/
COPY --chmod=644 docs/images/favicon/*.png /usr/share/nginx/html/assets/img/
COPY --chmod=644 docs/images/icon/*.png /usr/share/nginx/html/assets/img/
COPY --chmod=644 docs/images/icon/*.svg /usr/share/nginx/html/assets/img/
COPY --chmod=644 docs/images/icon/favicon.ico /usr/share/nginx/html/assets/favicon.ico
COPY --chmod=644 docs/images/icon/favicon.ico /usr/share/nginx/html/favicon.ico
COPY --chmod=644 docs/images/logo/Malcolm_background.png /usr/share/nginx/html/assets/img/bg-masthead.png
COPY --chmod=644 docs/images/logo/*.png /usr/share/nginx/html/assets/img/
COPY --chmod=644 docs/images/logo/*.svg /usr/share/nginx/html/assets/img/

VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam"]

Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/opensearch.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM opensearchproject/opensearch:2.11.1
FROM opensearchproject/opensearch:2.12.0

# Copyright (c) 2024 Battelle Energy Alliance, LLC. All rights reserved.
LABEL maintainer="malcolm@inl.gov"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/suricata.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV SUPERCRONIC "supercronic-linux-amd64"
ENV SUPERCRONIC_SHA1SUM "cd48d45c4b10f3f0bfdd3a57d054cd05ac96812b"
ENV SUPERCRONIC_CRONTAB "/etc/crontab"

ENV YQ_VERSION "4.33.3"
ENV YQ_VERSION "4.42.1"
ENV YQ_URL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_amd64"

ENV SURICATA_CONFIG_DIR /etc/suricata
Expand Down
6 changes: 4 additions & 2 deletions Dockerfiles/zeek.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ ADD shared/bin/zeekdeploy.sh ${ZEEK_DIR}/bin/

# sanity checks to make sure the plugins installed and copied over correctly
# these ENVs should match the number of third party scripts/plugins installed by zeek_install_plugins.sh
ENV ZEEK_THIRD_PARTY_PLUGINS_COUNT 22
ENV ZEEK_THIRD_PARTY_PLUGINS_GREP "(Zeek::Spicy|ANALYZER_SPICY_DHCP|ANALYZER_SPICY_DNS|ANALYZER_SPICY_HTTP|ANALYZER_SPICY_OSPF|ANALYZER_SPICY_OPENVPN_UDP\b|ANALYZER_SPICY_IPSEC_UDP\b|ANALYZER_SPICY_TFTP|ANALYZER_SPICY_WIREGUARD|ANALYZER_SYNCHROPHASOR_TCP|ANALYZER_GENISYS_TCP|ANALYZER_S7COMM_TCP|Corelight::CommunityID|Corelight::PE_XOR|ICSNPP::BACnet|ICSNPP::BSAP|ICSNPP::ENIP|ICSNPP::ETHERCAT|ICSNPP::OPCUA_Binary|Salesforce::GQUIC|Zeek::PROFINET|Zeek::TDS)"
ENV ZEEK_THIRD_PARTY_PLUGINS_COUNT 23
ENV ZEEK_THIRD_PARTY_PLUGINS_GREP "(Zeek::Spicy|ANALYZER_SPICY_DHCP|ANALYZER_SPICY_DNS|ANALYZER_SPICY_HTTP|ANALYZER_SPICY_OSPF|ANALYZER_SPICY_OPENVPN_UDP\b|ANALYZER_SPICY_IPSEC_UDP\b|ANALYZER_SPICY_TFTP|ANALYZER_SPICY_WIREGUARD|ANALYZER_SYNCHROPHASOR_TCP|ANALYZER_GENISYS_TCP|ANALYZER_SPICY_PROFINET_IO_CM|ANALYZER_S7COMM_TCP|Corelight::CommunityID|Corelight::PE_XOR|ICSNPP::BACnet|ICSNPP::BSAP|ICSNPP::ENIP|ICSNPP::ETHERCAT|ICSNPP::OPCUA_Binary|Salesforce::GQUIC|Zeek::PROFINET|Zeek::TDS)"
ENV ZEEK_THIRD_PARTY_SCRIPTS_COUNT 25
ENV ZEEK_THIRD_PARTY_SCRIPTS_GREP "(bro-is-darknet/main|bro-simple-scan/scan|bzar/main|callstranger-detector/callstranger|cve-2020-0601/cve-2020-0601|cve-2020-13777/cve-2020-13777|CVE-2020-16898/CVE-2020-16898|CVE-2021-38647/omigod|CVE-2021-31166/detect|CVE-2021-41773/CVE_2021_41773|CVE-2021-42292/main|cve-2021-44228/CVE_2021_44228|cve-2022-22954/main|cve-2022-26809/main|CVE-2022-3602/__load__|hassh/hassh|http-more-files-names/main|ja3/ja3|pingback/detect|ripple20/ripple20|SIGRed/CVE-2020-1350|zeek-EternalSafety/main|zeek-httpattacks/main|zeek-sniffpass/__load__|zerologon/main)\.(zeek|bro)"

Expand Down Expand Up @@ -199,6 +199,7 @@ ARG ZEEK_INTEL_ITEM_EXPIRATION=-1min
ARG ZEEK_INTEL_REFRESH_CRON_EXPRESSION=
ARG ZEEK_INTEL_REFRESH_THREADS=2
ARG ZEEK_INTEL_FEED_SINCE=
ARG ZEEK_INTEL_FEED_SSL_CERTIFICATE_VERIFICATION=false
ARG ZEEK_EXTRACTOR_MODE=none
ARG ZEEK_EXTRACTOR_PATH=/zeek/extract_files
ARG ZEEK_INTEL_PATH=/opt/zeek/share/zeek/site/intel
Expand All @@ -222,6 +223,7 @@ ENV ZEEK_INTEL_ITEM_EXPIRATION $ZEEK_INTEL_ITEM_EXPIRATION
ENV ZEEK_INTEL_REFRESH_CRON_EXPRESSION $ZEEK_INTEL_REFRESH_CRON_EXPRESSION
ENV ZEEK_INTEL_REFRESH_THREADS $ZEEK_INTEL_REFRESH_THREADS
ENV ZEEK_INTEL_FEED_SINCE $ZEEK_INTEL_FEED_SINCE
eNV ZEEK_INTEL_FEED_SSL_CERTIFICATE_VERIFICATION $ZEEK_INTEL_FEED_SSL_CERTIFICATE_VERIFICATION
ENV ZEEK_EXTRACTOR_MODE $ZEEK_EXTRACTOR_MODE
ENV ZEEK_EXTRACTOR_PATH $ZEEK_EXTRACTOR_PATH
ENV ZEEK_INTEL_PATH $ZEEK_INTEL_PATH
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ exclude:
- pcap-capture
- pcap-monitor
- scripts
- sensor-iso
- hedgehog-iso
- shared
- suricata
- suricata-logs
Expand Down
2 changes: 1 addition & 1 deletion api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ opensearch-py==2.4.2
requests==2.31.0
regex==2022.3.2
dateparser==1.1.1
elasticsearch==8.12.0
elasticsearch==8.12.1
elasticsearch-dsl==8.12.0
2 changes: 1 addition & 1 deletion arkime/arkime_regression_test_harness/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
environment:
logger.level : 'INFO'
bootstrap.memory_lock : 'true'
OPENSEARCH_JAVA_OPTS : '-Xms4g -Xmx4g -Xss256k -Djava.security.egd=file:/dev/./urandom'
OPENSEARCH_JAVA_OPTS : '-Xmx4g -Xms4g -Xss256k -Djava.security.egd=file:/dev/./urandom'
discovery.type : 'single-node'
cluster.routing.allocation.disk.threshold_enabled : 'false'
cluster.routing.allocation.node_initial_primaries_recoveries : 8
Expand Down
Loading