Ansible Role to deploy the Threat Stack server agent.
- Amazon Linux
- CentOS
- RedHat
- Ubuntu
threatstack_deploy_key: 3306 # Required. Your Cloud Sight API Key
threatstack_ruleset: "My Secure Rule Set" # The Agent's security rule set, will default to "Default Rule Set"
threatstack_hostname: SparkServer1 # The display hostname
Using ansible galaxy, best for ad-hoc command situations:
$ ansible-galaxy install apollocatlin.threatstack
To install into your playbook roles, use -p ROLES_PATH
or --path=ROLES_PATH
$ ansible-galaxy install apollocatlin.threatstack -p /your/project/root/roles
Check out: Advanced Control over Role Requirements Files
-
Install Threat Stack agent with the default rule set and reports system hostname to threatstack. This is the most basic configuration
- hosts: all
roles:
- { role: apollocatlin.threatstack, threatstack_deploy_key: XXXXXXXXXXXXX}
- hosts: all
roles:
-
Install Threat Stack agent with custom security rule set and custom hostname:
- hosts: servers
roles:
- role: apollocatlin.threatstack threatstack_deploy_key: XXXXXXXXXXXXX threatstack_ruleset: "My Secure Rule Set" threatstack_hostname: web01
- hosts: servers
roles:
None
Apache 2.0
Apollo Catlin apollo@threatstack.com Use github issues for bugs in this repo.