mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 07:53:06 +01:00
fix setting hypervisor for our custom event tag
This commit is contained in:
@@ -46,9 +46,10 @@
|
|||||||
{% do salt.log.debug('dyanno_hypervisor_orch: Setting vm_name, hypervisor and status') %}
|
{% do salt.log.debug('dyanno_hypervisor_orch: Setting vm_name, hypervisor and status') %}
|
||||||
{% set vm_name = status_data.get('vm_name') %}
|
{% set vm_name = status_data.get('vm_name') %}
|
||||||
{% set hypervisor = status_data.get('hypervisor') %}
|
{% set hypervisor = status_data.get('hypervisor') %}
|
||||||
|
{% else %}
|
||||||
|
{% set hypervisor = data.get('id') %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% set status = status_data.get('status') %}
|
{% set status = status_data.get('status') %}
|
||||||
{% set hypervisor = data.get('id') %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# setup/so-minion tag #}
|
{# setup/so-minion tag #}
|
||||||
|
|||||||
Reference in New Issue
Block a user