Code Monkey home page Code Monkey logo

modsecurity-filebeat-kibana's Introduction

Modsecurity-filebeat-kibana

draft2

Dashboard Modsecurity2_Overview

Filebeat module for Modsecurity2 audit log + Kibana dashboards.

How to setup:

Elasticsarch and Kibana

Install Elasticsearch 7.3.2 + Kibana 7.3.2 (older version could have problems with import the dashhoard) Configure firewall to allow access from filebeat host to elasticsearch service

Filebeat + module modsecurity2 installation

2. Configuration Filebeat (7.x recommended. Older versions may not work)

copy filebeat/module/modsecurity2 into /usr/share/filebeat/module

copy filebeat/etc/filebeat/modules.d/modsecurity2.yml.disabled into /etc/filebeat/modules.d

configure /etc/filebeat/filebeat.yml (reference file placed in /etc/filebeat/filebeat.yml (change hosts ["elasticsearch.local"] in section output.elastichsearch to elastichsarch instance listening from filebeat host

enable Filebeat modsecurity2 module by command "filebeat modules enable modsecurity2" (or just rename /etc/filebeat/modules.d/modsecurity2.yml.disabled to /etc/filename/modules.d/modsecurity2.yml

Kibana configuration

3. Import objects into Kibana (via GUI: Management -> Saved Objects -> import):

Modsecurity2_Overview.ndjson

Version is in Draft mode, present current status of the module. TODO List:

  1. Add TOP 10 Attacks intercepted
  2. Add TOP 20 Rule ID hits ( + split messages into separate fields)
  3. Add Modsecurity3 support (probably as a separate module)
  4. Add DOC part (e.g. Modsecurity2 reference configuration) - ( Wiki ?)

modsecurity-filebeat-kibana's People

Contributors

molu8bits avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.