-
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.
* [Network analyzers](https://github.com/cisagov/malcolm#Protocols) - Added support for [EtherCAT](https://en.wikipedia.org/wiki/EtherCAT) ([ICS protocol](https://github.com/cisagov/icsnpp-ethercat)) - Fixed and improved Spicy-based [LDAP analyzer](zeek/spicy-analyzers#56) - Detect VPN [protocols](https://github.com/zeek/spicy-analyzers/tree/main/analyzer/protocol) IPsec, OpenVPN and WireGuard * New or improved - Updated many Kibana dashboards and added dashbaords for newly-supported network protocols - Improved output of debug logs from docker images - Many minor improvements to underlying system for ISO installations - **Massively** cut build time for Hedgehog ISO and Zeek Docker container by using .deb packages from released versions rather than building from source - During build, [install all Zeek plugins](https://github.com/cisagov/Malcolm/blob/master/shared/bin/zeek_install_plugins.sh) via zkg * Version updates - **[Zeek](https://github.com/zeek/zeek/releases) v4.0.1** - [Spicy](https://github.com/zeek/spicy) v1.0.0 - [Open Distro For Elasticsearch](https://opendistro.github.io/for-elasticsearch-docs/version-history/) v1.13.2 - [Yara](https://github.com/VirusTotal/yara/releases) v4.1.0 - [Capa](https://github.com/fireeye/capa/releases) v1.6.3 - switch from centos:7 to [amazonlinux:2](https://hub.docker.com/_/amazonlinux) for base Docker image to build Kibana plugins - [stunnel](https://www.stunnel.org/NEWS.html) v5.59 - [NGINX](https://nginx.org/) v1.20.0 - [LLVM/clang](https://releases.llvm.org/11.0.1/docs/ReleaseNotes.html) toolchain v11 - Flask-Cors v3.0.9 for Hedgehog kiosk interface (dependabot-flagged [security alert](https://nvd.nist.gov/vuln/detail/CVE-2020-25032)) - latest updates of various Zeek plugins, system and python packages, etc. - all Python scripts updated to Python 3 * Bugs fixed - When LDAP authentication is used instead of BASIC authentication, show a landing page rather than a server error when attempting to browse to the local authentication management interface - Fixed a [regression bug](idaholab#42) where Malcolm fails to start correctly if not using UID/GID 1000:1000 - [Don't automatically expose](idaholab#38) elasticsearch (and logstash) ports unless explicitly configured to do so - freshclam should update the clamav database [during docker image build](idaholab#39)
- Loading branch information
Showing
126 changed files
with
2,427 additions
and
3,696 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM amazon/opendistro-for-elasticsearch:1.13.0 | ||
FROM amazon/opendistro-for-elasticsearch:1.13.2 | ||
|
||
# Copyright (c) 2021 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -14,6 +14,7 @@ ARG DEFAULT_UID=1000 | |
ARG DEFAULT_GID=1000 | ||
ENV DEFAULT_UID $DEFAULT_UID | ||
ENV DEFAULT_GID $DEFAULT_GID | ||
ENV PUID $DEFAULT_UID | ||
ENV PUSER "elasticsearch" | ||
ENV PGROUP "elasticsearch" | ||
ENV PUSER_PRIV_DROP true | ||
|
@@ -33,13 +34,19 @@ RUN yum install -y openssl && \ | |
/usr/share/elasticsearch/bin/elasticsearch-plugin remove opendistro_security && \ | ||
echo -e 'cluster.name: "docker-cluster"\nnetwork.host: 0.0.0.0' > /usr/share/elasticsearch/config/elasticsearch.yml && \ | ||
chown -R $PUSER:$PGROUP /usr/share/elasticsearch/config/elasticsearch.yml && \ | ||
sed -i "s/\b1000\b/\${PUID:-${DEFAULT_UID}}/g" /usr/local/bin/docker-entrypoint.sh && \ | ||
sed -i "s/user=1000\b/user=%(ENV_PUID)s/g" /usr/share/elasticsearch/plugins/opendistro-performance-analyzer/pa_config/supervisord.conf && \ | ||
sed -i "s/user=1000\b/user=%(ENV_PUID)s/g" /usr/share/elasticsearch/performance-analyzer-rca/pa_config/supervisord.conf && \ | ||
sed -i '/[^#].*\/usr\/share\/elasticsearch\/bin\/elasticsearch.*/i /usr/local/bin/jdk-cacerts-auto-import.sh || true' /usr/local/bin/docker-entrypoint.sh | ||
|
||
# just used for initial keystore creation | ||
ADD shared/bin/docker-uid-gid-setup.sh /usr/local/bin/ | ||
ADD shared/bin/jdk-cacerts-auto-import.sh /usr/local/bin/ | ||
|
||
USER root | ||
|
||
ENTRYPOINT ["/usr/local/bin/docker-uid-gid-setup.sh"] | ||
|
||
CMD ["/usr/local/bin/docker-entrypoint.sh"] | ||
|
||
# to be populated at build-time: | ||
ARG BUILD_DATE | ||
ARG MALCOLM_VERSION | ||
|
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
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 centos:7 AS build | ||
FROM amazonlinux:2 AS build | ||
|
||
# Copyright (c) 2021 Battelle Energy Alliance, LLC. All rights reserved. | ||
|
||
|
@@ -20,12 +20,8 @@ ENV ELASTIC_VERSION $ELASTIC_VERSION | |
|
||
USER root | ||
|
||
RUN yum install -y epel-release && \ | ||
yum update -y && \ | ||
yum install -y curl patch psmisc zip unzip gcc-c++ make && \ | ||
yum install -y https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm && \ | ||
yum install -y git && \ | ||
yum clean all && \ | ||
RUN amazon-linux-extras install -y epel && \ | ||
yum install -y curl patch procps psmisc tar zip unzip gcc-c++ make moreutils jq git && \ | ||
groupadd -g ${DEFAULT_GID} ${PGROUP} && \ | ||
adduser -u ${DEFAULT_UID} -d /home/kibana -s /bin/bash -G ${PGROUP} -g ${PUSER} ${PUSER} && \ | ||
mkdir -p /usr/share && \ | ||
|
@@ -65,7 +61,7 @@ RUN eval "$(nodenv init -)" && \ | |
yarn build --kibana-version "${ELASTIC_VERSION}" && \ | ||
mv ./build/kbnSankeyVis-7.10.2.zip ./build/kbnSankeyVis.zip | ||
|
||
FROM amazon/opendistro-for-elasticsearch-kibana:1.13.0 | ||
FROM amazon/opendistro-for-elasticsearch-kibana:1.13.2 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.authors='[email protected]' | ||
|
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.