<commit_before>[![Actions Status - Master](https://github.com/juju4/ansible-loki/workflows/AnsibleCI/badge.svg)](https://github.com/juju4/ansible-loki/actions?query=branch%3Amaster)
[![Actions Status - Devel](https://github.com/juju4/ansible-loki/workflows/AnsibleCI/badge.svg?branch=devel)](https://github.com/juju4/ansible-loki/actions?query=branch%3Adevel)

[![Appveyor - Master](https://ci.appveyor.com/api/projects/status/27div2ln0s7kli7h?svg=true)](https://ci.appveyor.com/project/juju4/ansible-harden-windows)
![Appveyor - Devel](https://ci.appveyor.com/api/projects/status/27div2ln0s7kli7h/branch/devel?svg=true)

# Loki ansible role

A simple ansible role to execute loki, a Simple IOC and Incident Response Scanner.
https://github.com/Neo23x0/Loki
https://www.bsk-consulting.de/loki-free-ioc-scanner/

## Requirements & Dependencies

### Ansible
It was tested on the following versions:
 * 1.9
 * 2.0 (required for Windows)
 * 2.2

### Operating systems

Tested with vagrant only on Ubuntu 14.04 for now but should work on 12.04 and similar debian based systems.
Verified with kitchen against ubuntu14, centos7 and windows 2012

## Example Playbook

Just include this role in your list.<commit_msg>README: formatting, misc<commit_after>[![Actions Status - Master](https://github.com/juju4/ansible-loki/workflows/AnsibleCI/badge.svg)](https://github.com/juju4/ansible-loki/actions?query=branch%3Amaster)
[![Actions Status - Devel](https://github.com/juju4/ansible-loki/workflows/AnsibleCI/badge.svg?branch=devel)](https://github.com/juju4/ansible-loki/actions?query=branch%3Adevel)

[![Appveyor - Master](https://ci.appveyor.com/api/projects/status/27div2ln0s7kli7h?svg=true)](https://ci.appveyor.com/project/juju4/ansible-harden-windows)
![Appveyor - Devel](https://ci.appveyor.com/api/projects/status/27div2ln0s7kli7h/branch/devel?svg=true)

# Loki ansible role

A simple ansible role to execute loki, a Simple IOC and Incident Response Scanner.
* https://github.com/Neo23x0/Loki
* https://www.bsk-consulting.de/loki-free-ioc-scanner/

## Requirements & Dependencies

### Ansible
It was tested on the following versions: 1.9 to 2.11

### Operating systems

Tested Ubuntu 18.04, 20.04 and Centos 7 and 8.

## Example Playbook

Just include this role in your list.
{'fraction_non_alphanumeric': 0.14342278926528818, 'fraction_numerical': 0.03519577650681918, 'mean_word_length': 5.179347826086956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2690078', 'n_tokens_mistral': 892, 'n_tokens_neox': 819, 'n_words': 147}