mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add initial tcpreplay state
This commit is contained in:
18
salt/tcpreplay/init.sls
Normal file
18
salt/tcpreplay/init.sls
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{% if grains['role'] == 'so-sensor' or grains['role'] == 'so-eval' %}
|
||||||
|
|
||||||
|
so-tcpreplayimage:
|
||||||
|
cmd.run:
|
||||||
|
- name: docker pull --disable-content-trust=false docker.io/soshybridhunter/so-tcpreplay:HH1.1.4
|
||||||
|
|
||||||
|
so-tcpreplay:
|
||||||
|
docker_container.running:
|
||||||
|
- require:
|
||||||
|
- so-tcpreplay
|
||||||
|
- network_mode: "host"
|
||||||
|
- image: docker.io/soshybridhunter/so-tcpreplay:HH1.1.4
|
||||||
|
- name: so-tcpreplay
|
||||||
|
- user: root
|
||||||
|
- interactive: True
|
||||||
|
- tty: True
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user