mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-04 10:28:16 +02:00
progress and hw tracking for soc hypervisor dynamic annotations
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Send highstate trigger event for VM deployment status tracking
|
||||
# so-salt-emit-vm-deployment-status sets event_tag = f'soc/dyanno/hypervisor/{status.lower()}'
|
||||
vm_highstate_trigger:
|
||||
event.send:
|
||||
- name: soc/dyanno/hypervisor/highstate triggered
|
||||
- data:
|
||||
status: Highstate Triggered
|
||||
vm_name: {{ grains.id }}
|
||||
hypervisor: {{ salt['grains.get']('salt-cloud:profile', '').split('-')[1] }}
|
||||
- order: 1 # Ensure this runs early in the highstate process
|
||||
Reference in New Issue
Block a user