-
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 #514 from Security-Onion-Solutions/2.4/dev
2.4.50
- Loading branch information
Showing
9 changed files
with
27 additions
and
12 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,8 +1,9 @@ | ||
#!/bin/bash | ||
exec >> /var/log/stenographer/stenographer.log 2>&1 | ||
|
||
# Generate the keys if they have not been already | ||
/usr/bin/stenokeys.sh 941 939 | ||
|
||
chown -R 941:939 /etc/stenographer/certs | ||
|
||
runuser -l stenographer -c '/usr/bin/stenographer --syslog=false >> /var/log/stenographer/stenographer.log 2>&1' | ||
exec runuser -l stenographer -c 'exec /usr/bin/stenographer -v 1 --syslog=false' |
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,14 +1,24 @@ | ||
FROM ghcr.io/security-onion-solutions/golang AS build | ||
FROM ghcr.io/security-onion-solutions/golang:1.21.5-alpine AS build | ||
LABEL maintainer "Security Onion Solutions, LLC" | ||
ARG STRELKA_RELEASE_VERSION=0.23.12.01 | ||
ARG STRELKA_RELEASE_VERSION=0.24.01.18 | ||
|
||
RUN CGO_ENABLED=0 go install github.com/target/strelka/src/go/cmd/strelka-frontend@$STRELKA_RELEASE_VERSION | ||
RUN apk add openssl-dev \ | ||
bash \ | ||
build-base \ | ||
pkgconfig \ | ||
librdkafka \ | ||
librdkafka-dev && \ | ||
CGO_ENABLED=1 go install -tags musl github.com/target/strelka/src/go/cmd/strelka-frontend@$STRELKA_RELEASE_VERSION | ||
|
||
FROM ghcr.io/security-onion-solutions/alpine | ||
|
||
COPY --from=build /go/bin/strelka-frontend /usr/local/bin/ | ||
|
||
RUN addgroup -g 939 strelka && \ | ||
adduser -u 939 -G strelka strelka --disabled-password \ | ||
-h /etc/strelka --no-create-home strelka && \ | ||
mkdir /var/log/strelka/ && \ | ||
touch /var/log/strelka/strelka.log && \ | ||
chown -R 939:939 /var/log/strelka/ | ||
|
||
USER strelka |
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