Skip to content

Commit

Permalink
Merge pull request #815 from splunk/bug_fixes_packer
Browse files Browse the repository at this point in the history
Bug Fixes Packer
  • Loading branch information
P4T12ICK authored Jun 26, 2023
2 parents 58e883e + 3143f20 commit a9e2d4f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 6 deletions.
6 changes: 1 addition & 5 deletions packer/ansible/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@
when: use_prebuilt_images_with_packer == "0"
- role: windows_universal_forwarder
when: use_prebuilt_images_with_packer == "0"
- role: windows_aurora_agent
when: (use_prebuilt_images_with_packer == "0") and (aurora_agent == "1")
- role: sysmon
when: use_prebuilt_images_with_packer == "0"
- role: windows_install_attack_simulation
when: use_prebuilt_images_with_packer == "0"
when: use_prebuilt_images_with_packer == "0"
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

- include: install_aurora_agent.yml
when: aurora_agent == "1"

4 changes: 3 additions & 1 deletion terraform/ansible/windows_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
- crowdstrike_falcon_agent
- carbon_black_cloud_agent
- bad_blood
- splunk_byo_windows
- splunk_byo_windows
- windows_aurora_agent
- windows_install_attack_simulation
3 changes: 3 additions & 0 deletions vagrant/splunk_server/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ config.vm.define "ar-splunk-{{config.general.key_name}}-{{config.general.attack_
splunk_url: 'https://download.splunk.com/products/splunk/releases/8.2.5/linux/splunk-8.2.5-77015bc7a462-Linux-x86_64.tgz',
{% for key, value in config.general.items() %}
{{ key }}: "{{ value }}",
{% endfor %}
{% for key, value in config.splunk_server.items() %}
{{ key }}: "{{ value }}",
{% endfor %}
}
end
Expand Down
3 changes: 3 additions & 0 deletions vagrant/windows_server/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ config.vm.define "ar-win-{{config.general.key_name}}-{{config.general.attack_ran
splunk_uf_win_url: 'https://download.splunk.com/products/universalforwarder/releases/8.2.5/windows/splunkforwarder-8.2.5-77015bc7a462-x64-release.msi',
win_password: 'Pl3ase-k1Ll-me:p',
use_prebuilt_images_with_packer: '0',
{% for key, value in server.items() %}
{{ key }}: "{{ value }}",
{% endfor %}
}
ansible.playbook = "../packer/ansible/windows.yml"
ansible.compatibility_mode = "2.0"
Expand Down

0 comments on commit a9e2d4f

Please sign in to comment.