diff --git a/salt/soc/files/soc/menu.actions.json b/salt/soc/files/soc/menu.actions.json index 0c144c3cb..b088780f8 100644 --- a/salt/soc/files/soc/menu.actions.json +++ b/salt/soc/files/soc/menu.actions.json @@ -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 %} ]