Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taraspos/ansible-ossec-agent-deploy-ossim

Ansible role to deploy Linux OSSEC agent and connect it to OSSEC server
https://github.com/taraspos/ansible-ossec-agent-deploy-ossim

Last synced: 23 days ago
JSON representation

Ansible role to deploy Linux OSSEC agent and connect it to OSSEC server

Awesome Lists containing this project

README

        

# ansible-ossec-agent-deploy-ossim
Ansible role to deploy Linux OSSEC agent and connect it to OSSEC server

With this role you can install any number of OSSEC agents on Linux sistem adn connect to OSSEC server.

Role need to be runned from OSSIM server.

## How-to-use ##
* Connecto to OSSIM server with SSH
* Log isntall into console with "Jailbreake system"
* Instll git
```
apt-get install git
```
* Clone this project
```
git clone [email protected]:Trane9991/ansible-ossec-agent-deploy-ossim.git
```

* Write list of your ip's in the *hosts* file under the ```[agent]``` section
```
[agent]
10.10.10.10
10.10.10.11
10.10.10.12
```

* Run playbook with replaced and
```
/usr/share/alienvault/api_core/bin/ansible-playbook -i hosts ossec-agent.yml --extra-vars="server_ip=" --user= --ask-pass --ask-sudo-pass
```

Hosts will be added like "host-1", "host-2"