Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Import-Module "/root/AtomicRedTeam/invoke-atomicredteam/Invoke-AtomicRedTeam.psd1" -Force
$PSDefaultParameterValues = @{"Invoke-AtomicTest:PathToAtomicsFolder"="/root/AtomicRedTeam/atomics"}
14 changes: 13 additions & 1 deletion terraform/ansible/roles/linux_install_art/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,17 @@
Install-AtomicRedTeam -Force'
register: output_art

- name: create directory for default powershell profile
file:
path: /root/.config/powershell
recurse: yes
state: directory

- name: copy default powershell profile
copy:
src: Microsoft.PowerShell_profile.ps1
dest: /root/.config/powershell/Microsoft.PowerShell_profile.ps1
force: yes

- debug:
var: output_art.stdout_lines
var: output_art.stdout_lines
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
defaultGroup=my_indexers

[tcpout:my_indexers]
server={{ byo_splunk_ip }}:9997
server={{ splunk_server.byo_splunk_ip }}:9997