mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Make pivot condition independent for ENDGAMEHOST
This commit is contained in:
@@ -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 %}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user