Skip to content

Commit

Permalink
Merge pull request #501 from Security-Onion-Solutions/2.4/dev
Browse files Browse the repository at this point in the history
Merge 2.4/dev
  • Loading branch information
weslambert authored Jan 23, 2024
2 parents 8bd5d34 + 2567234 commit 84ea7b5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: "Contributor Check"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: cla-assistant/github-action@v2.1.3-beta
uses: cla-assistant/github-action@v2.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Expand Down
18 changes: 0 additions & 18 deletions so-logstash/bin/docker-entrypoint.old

This file was deleted.

4 changes: 2 additions & 2 deletions so-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Navigator build stage
FROM ghcr.io/security-onion-solutions/node:16-alpine as navigator-builder

ARG NAVIGATOR_VERSION=4.8.2
ARG NAVIGATOR_VERSION=4.9.1

RUN apk add git && \
git config --global advice.detachedHead false && \
Expand All @@ -27,7 +27,7 @@ WORKDIR /attack-navigator/nav-app/
RUN npm ci && npx ng build

# Delete base href line from index html to fix url path issues
RUN sed -i '/<base href="\/">/d' ./dist/index.html
RUN sed -i '/<base href="\/"\/>/d' ./dist/index.html

###################################

Expand Down
4 changes: 2 additions & 2 deletions so-soctopus/so-soctopus/playbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def navigator_update():
if custom_field['id'] == 15 and (custom_field['value']):
technique_id = custom_field['value'][0]
technique_payload.append(
{"techniqueID": technique_id, "color": "#5AADFF", "comment": "", "enabled": True, "metadata": []})
{"techniqueID": technique_id, "score": 100, "comment": "", "enabled": True, "metadata": []})

try:
with open('/etc/playbook/nav_layer_playbook.json') as nav_layer_r:
Expand All @@ -233,7 +233,7 @@ def navigator_update():
"hideDisabled": False,
"techniques": technique_payload,
"gradient": {
"colors": ["#ff6666", "#ffe766", "#8ec843"],
"colors": ["#ffffff00", "#66b1ffff"],
"minValue": 0,
"maxValue": 100
},
Expand Down
6 changes: 3 additions & 3 deletions so-suricata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN dnf -y install oraclelinux-developer-release-el9
RUN dnf repolist
RUN dnf -y install autoconf automake diffutils file-devel gcc gcc-c++ git \
jansson-devel jq libcap-ng-devel libevent-devel \
libmaxminddb-devel libnet-devel libnetfilter_queue-devel \
libmaxminddb-devel libmaxminddb libnet-devel libnetfilter_queue-devel \
libnfnetlink-devel libpcap-devel libtool libyaml-devel \
lua-devel lz4-devel make nss-devel pcre-devel pcre2-devel pkgconfig \
python3-devel python3-sphinx python3-yaml sudo which cargo \
Expand All @@ -33,7 +33,7 @@ RUN mkdir /suricata
WORKDIR /suricata

RUN curl -vO https://www.openinfosecfoundation.org/download/suricata-$SURIVERSION.tar.gz && tar zxvf suricata-$SURIVERSION.tar.gz && \
cd suricata-$SURIVERSION && ./configure --enable-rust --enable-luajit --prefix=/opt/suricata --sysconfdir=/etc --disable-gccmarch-native --localstatedir=/var && make -j4
cd suricata-$SURIVERSION && ./configure --enable-rust --enable-luajit --prefix=/opt/suricata --sysconfdir=/etc --disable-gccmarch-native --localstatedir=/var --enable-geoip && make -j4
RUN mkdir suriinstall && cd suricata-$SURIVERSION && make install DESTDIR=/suricata/suriinstall && make install-conf DESTDIR=/suricata/suriinstall && rm -rf /suricata/suriinstall/var/run

FROM ghcr.io/security-onion-solutions/oraclelinux:9
Expand All @@ -44,7 +44,7 @@ LABEL description="Suricata running in a docker with AF_Packet for use with Secu
COPY --from=builder /suricata/suriinstall/ /

RUN yum -y install epel-release bash libpcap iproute && \
yum -y install luajit libnet jansson libyaml cargo rustc nss nss-devel && \
yum -y install luajit libnet jansson libyaml cargo rustc nss nss-devel libmaxminddb && \
yum -y erase epel-release && yum clean all && rm -rf /var/cache/yum && \
groupadd --gid 940 suricata && \
adduser --uid 940 --gid 940 --home-dir /etc/suricata --no-create-home suricata && \
Expand Down

0 comments on commit 84ea7b5

Please sign in to comment.