mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Playbook - automatically set SOCtopus IP
This commit is contained in:
committed by
William Wernert
parent
4c837c7d15
commit
8fdc2a59c2
@@ -17,6 +17,20 @@ playbookwebhook:
|
|||||||
- db: /opt/so/conf/playbook/redmine.db
|
- db: /opt/so/conf/playbook/redmine.db
|
||||||
- sql: "update webhooks set url = 'http://{{MASTERIP}}:7000/playbook/webhook' where project_id = 1"
|
- sql: "update webhooks set url = 'http://{{MASTERIP}}:7000/playbook/webhook' where project_id = 1"
|
||||||
|
|
||||||
|
playbookapiendpoints:
|
||||||
|
module.run:
|
||||||
|
- sqlite3.modify:
|
||||||
|
- db: /opt/so/conf/playbook/redmine.db
|
||||||
|
- sql: |-
|
||||||
|
update settings set value =
|
||||||
|
"--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
|
||||||
|
project: '1'
|
||||||
|
import_trackers:
|
||||||
|
- '6'
|
||||||
|
convert_url: http://{{MASTERIP}}:7000/playbook/sigmac
|
||||||
|
create_url: http://{{MASTERIP}}:7000/playbook/play"
|
||||||
|
where id = 46;
|
||||||
|
|
||||||
navigatorconfig:
|
navigatorconfig:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/so/conf/playbook/navigator_config.json
|
- name: /opt/so/conf/playbook/navigator_config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user