Move json files to container image

This commit is contained in:
Joshua Brower
2025-01-09 10:58:40 -05:00
parent 412397fa7b
commit bcb92b63e3
4 changed files with 9 additions and 8749 deletions

View File

@@ -49,24 +49,6 @@ navigatorconfig:
- makedirs: True - makedirs: True
- template: jinja - 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: nginx_sbin:
file.recurse: file.recurse:
- name: /usr/sbin - name: /usr/sbin

File diff suppressed because one or more lines are too long

View File

@@ -1,21 +1,24 @@
{%- set URL_BASE = salt['pillar.get']('global:url_base', '') %} {%- 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", "version": "16",
"domains": [ "domains": [
{ {
"name": "Enterprise", "name": "Enterprise",
"identifier": "enterprise-attack", "identifier": "enterprise-attack",
"data": ["assets/so/enterprise-attack.json"] "data": ["assets/mitre/enterprise-attack.json"]
} }
] ]
} }
], ]
},
"custom_context_menu_items": [ "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"}, {"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"},

File diff suppressed because it is too large Load Diff