Skip to content

Commit

Permalink
Merge pull request #14091 from Security-Onion-Solutions/2.4/nav-airgap
Browse files Browse the repository at this point in the history
Refactor Navigator Airgap
  • Loading branch information
defensivedepth authored Jan 9, 2025
2 parents 412397f + bcb92b6 commit 2de1f04
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8,749 deletions.
18 changes: 0 additions & 18 deletions salt/nginx/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,6 @@ navigatorconfig:
- makedirs: True
- template: jinja
navigatorpreattack:
file.managed:
- name: /opt/so/conf/navigator/layers/pre-attack.json
- source: salt://nginx/files/pre-attack.json
- user: 939
- group: 939
- makedirs: True
- replace: False
navigatorenterpriseattack:
file.managed:
- name: /opt/so/conf/navigator/layers/enterprise-attack.json
- source: salt://nginx/files/enterprise-attack.json
- user: 939
- group: 939
- makedirs: True
- replace: False
nginx_sbin:
file.recurse:
- name: /usr/sbin
Expand Down
1 change: 0 additions & 1 deletion salt/nginx/files/enterprise-attack.json

This file was deleted.

15 changes: 9 additions & 6 deletions salt/nginx/files/navigator_config.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
{%- set URL_BASE = salt['pillar.get']('global:url_base', '') %}

{
"collection_index_url": "https://raw.githubusercontent.com/mitre-attack/attack-stix-data/master/index.json",
"collection_index_url": "",

"versions": [
"versions": {
"enabled": true,
"entries": [
{
"name": "ATT&CK v16",
"name": "MITRE ATT&CK",
"version": "16",
"domains": [
{
{
"name": "Enterprise",
"identifier": "enterprise-attack",
"data": ["assets/so/enterprise-attack.json"]
"data": ["assets/mitre/enterprise-attack.json"]
}
]
}
],
]
},

"custom_context_menu_items": [
{"label": "View related Detections","url": " https://{{URL_BASE}}/#/detections?q=*{{ "{{technique_attackID}}" }}*+|+groupby+so_detection.language+|+groupby+so_detection.ruleset+so_detection.isEnabled+|+groupby+%22so_detection.category%22&z=America/New_York&el=500&gl=50&rt=0&rtu=hours"},
Expand Down
Loading

0 comments on commit 2de1f04

Please sign in to comment.