Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Add barracuda/0.1.0 integration (snapshot) #152

Merged
merged 5 commits into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,723 changes: 3,723 additions & 0 deletions packages/barracuda/0.1.0/dataset/waf/agent/stream/stream.yml.hbs

Large diffs are not rendered by default.

3,720 changes: 3,720 additions & 0 deletions packages/barracuda/0.1.0/dataset/waf/agent/stream/tcp.yml.hbs

Large diffs are not rendered by default.

3,720 changes: 3,720 additions & 0 deletions packages/barracuda/0.1.0/dataset/waf/agent/stream/udp.yml.hbs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
description: Pipeline for Barracuda Web Application Firewall

processors:
# User agent
- user_agent:
field: user_agent.original
ignore_missing: true
# IP Geolocation Lookup
- geoip:
field: source.ip
target_field: source.geo
ignore_missing: true
- geoip:
field: destination.ip
target_field: destination.geo
ignore_missing: true

# IP Autonomous System (AS) Lookup
- geoip:
database_file: GeoLite2-ASN.mmdb
field: source.ip
target_field: source.as
properties:
- asn
- organization_name
ignore_missing: true
- geoip:
database_file: GeoLite2-ASN.mmdb
field: destination.ip
target_field: destination.as
properties:
- asn
- organization_name
ignore_missing: true
- rename:
field: source.as.asn
target_field: source.as.number
ignore_missing: true
- rename:
field: source.as.organization_name
target_field: source.as.organization.name
ignore_missing: true
- rename:
field: destination.as.asn
target_field: destination.as.number
ignore_missing: true
- rename:
field: destination.as.organization_name
target_field: destination.as.organization.name
ignore_missing: true
on_failure:
- append:
field: error.message
value: "{{ _ingest.on_failure_message }}"
16 changes: 16 additions & 0 deletions packages/barracuda/0.1.0/dataset/waf/fields/base-fields.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- name: dataset.type
type: constant_keyword
description: >
Dataset type.
- name: dataset.name
type: constant_keyword
description: >
Dataset name.
- name: dataset.namespace
type: constant_keyword
description: >
Dataset namespace.
- name: "@timestamp"
type: date
description: >
Event timestamp.
Loading