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

Upgrade Navigator #498

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading