Skip to content

Commit

Permalink
Upgrade Navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
defensivedepth committed Jan 11, 2024
1 parent 44b3284 commit c54e2e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit c54e2e6

Please sign in to comment.