-
Notifications
You must be signed in to change notification settings - Fork 26
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 #537 from Security-Onion-Solutions/2.4/dev
2.4.70
- Loading branch information
Showing
7 changed files
with
69 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ aws- | |
azure- | ||
barracuda- | ||
carbonblack_edr- | ||
cef- | ||
checkpoint- | ||
cisco_asa- | ||
cisco_duo- | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one | ||
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at | ||
# https://securityonion.net/license; you may not use this file except in compliance with the | ||
# Elastic License 2.0. | ||
|
||
FROM ghcr.io/security-onion-solutions/kafka:3.7.0 | ||
|
||
LABEL maintainer "Security Onion Solutions, LLC" | ||
LABEL description="Kafka running in a docker container for use with Security Onion" | ||
|
||
ARG JOLOKIA_VERSION=2.0.2 | ||
ARG JOLOKIA_DOWNLOAD=https://github.com/jolokia/jolokia/releases/download/v${JOLOKIA_VERSION}/jolokia-${JOLOKIA_VERSION}-bin.tar.gz | ||
|
||
WORKDIR /opt | ||
|
||
USER root | ||
|
||
RUN addgroup -g 960 kafka && \ | ||
adduser -D --uid 960 --ingroup kafka kafka && \ | ||
wget ${JOLOKIA_DOWNLOAD} && \ | ||
tar -xzf jolokia-${JOLOKIA_VERSION}-bin.tar.gz && \ | ||
rm -f jolokia-${JOLOKIA_VERSION}-bin.tar.gz && \ | ||
mv jolokia-${JOLOKIA_VERSION} jolokia && \ | ||
chown -R 960:960 kafka && \ | ||
chown -R 960:960 jolokia | ||
|
||
USER kafka | ||
|
||
ADD files/jolokia.xml /opt/jolokia/jolokia.xml | ||
|
||
ENTRYPOINT ["/opt/kafka/bin/kafka-server-start.sh", "/opt/kafka/config/kraft/server.properties"] |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<restrict> | ||
|
||
<commands> | ||
<command>read</command> | ||
</commands> | ||
|
||
<deny> | ||
<mbean> | ||
<name>com.mchange.v2.c3p0:type=PooledDataSource,*</name> | ||
<attribute>properties</attribute> | ||
</mbean> | ||
<mbean> | ||
<name>jdk.management.jfr:type=FlightRecorder</name> | ||
<attribute>*</attribute> | ||
<operation>*</operation> | ||
</mbean> | ||
</deny> | ||
|
||
</restrict> |
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