Merge pull request #6208 from Security-Onion-Solutions/fix/endgame_pivot

Make Endgame pivot independent
This commit is contained in:
weslambert
2021-11-12 12:17:24 -05:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
{% set HIGHLANDER = salt['pillar.get']('global:highlander', False) %}
{%- set ENDGAMEHOST = salt['pillar.get']('soc:endgamehost', False) %}
[
{ "name": "actionHunt", "description": "actionHuntHelp", "icon": "fa-crosshairs", "target": "",
"links": [
@@ -31,11 +31,10 @@
"links": [
"https://www.virustotal.com/gui/search/{value}"
]}
{%- if HIGHLANDER %}
{%- set EGHOST = salt['pillar.get']('soc:endgamehost', 'EGHOSTNOTPOPULATED') %}
{%- if ENDGAMEGHOST %}
,{ "name": "Endgame", "description": "Endgame Endpoint Investigation and Response", "icon": "fa-external-link-alt", "target": "_blank",
"links": [
"https://{{ EGHOST }}/endpoints/{:agent.id}"
"https://{{ ENDGAMEHOST }}/endpoints/{:agent.id}"
]}
{% endif %}
]