Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Filebeat] Update event categorization for configuration events for auditd, gsuite, o365, and zoom #23010

Merged
Merged
Show file tree
Hide file tree
Changes from 6 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
4 changes: 4 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add configuration option to set external and internal networks for panw panos fileset {pull}22998[22998]
- Add subdomain enrichment for suricata/eve fileset. {pull}23011[23011]
- Add subdomain enrichment for zeek/dns fileset. {pull}23011[23011]
- Add `event.category` "configuration" to auditd module events. {pull}23010[23010]
- Add `event.category` "configuration" to gsuite module events. {pull}23010[23010]
- Add `event.category` "configuration" to o365 module events. {pull}23010[23010]
- Add `event.category` "configuration" to zoom module events. {pull}23010[23010]

*Heartbeat*

Expand Down
88 changes: 88 additions & 0 deletions filebeat/module/auditd/log/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,94 @@ processors:
- set:
field: event.kind
value: event
- set:
andrewstucki marked this conversation as resolved.
Show resolved Hide resolved
if: "ctx.auditd.log?.record_type == 'CONFIG_CHANGE'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'CONFIG_CHANGE'"
field: event.type
value: change
- set:
if: "ctx.auditd.log?.record_type == 'DAEMON_CONFIG'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'DAEMON_CONFIG'"
field: event.type
value: change
- set:
if: "ctx.auditd.log?.record_type == 'DAEMON_RECONFIG'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'DAEMON_RECONFIG'"
field: event.type
value: info
- set:
if: "ctx.auditd.log?.record_type == 'USYS_CONFIG'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'USYS_CONFIG'"
field: event.type
value: info
- set:
if: "ctx.auditd.log?.record_type == 'NETFILTER_CFG'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'NETFILTER_CFG'"
field: event.type
value: info
- set:
if: "ctx.auditd.log?.record_type == 'FEATURE_CHANGE'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'FEATURE_CHANGE'"
field: event.type
value: info
- set:
if: "ctx.auditd.log?.record_type == 'MAC_CONFIG_CHANGE'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'MAC_CONFIG_CHANGE'"
field: event.type
value: info
- set:
if: "ctx.auditd.log?.record_type == 'MAC_POLICY_LOAD'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'MAC_POLICY_LOAD'"
field: event.type
value: access
- set:
if: "ctx.auditd.log?.record_type == 'MAC_STATUS'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'MAC_STATUS'"
field: event.type
value: change
- set:
if: "ctx.auditd.log?.record_type == 'USER_MAC_CONFIG_CHANGE'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'USER_MAC_CONFIG_CHANGE'"
field: event.type
value: change
- set:
if: "ctx.auditd.log?.record_type == 'USER_MAC_POLICY_LOAD'"
field: event.category
value: configuration
- set:
if: "ctx.auditd.log?.record_type == 'USER_MAC_POLICY_LOAD'"
field: event.type
value: access
- set:
if: "ctx.auditd.log?.record_type == 'USER_AUTH'"
field: event.category
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
"auditd.log.ses": "4294967295",
"auditd.log.subj": "system_u:system_r:unconfined_service_t:s0",
"event.action": "config_change",
"event.category": "configuration",
"event.dataset": "auditd.log",
"event.kind": "event",
"event.module": "auditd",
"event.outcome": "1",
"event.type": "change",
"fileset.name": "log",
"input.type": "log",
"log.offset": 234,
Expand All @@ -50,10 +52,12 @@
"auditd.log.ses": "4294967295",
"auditd.log.subj": "system_u:system_r:unconfined_service_t:s0",
"event.action": "config_change",
"event.category": "configuration",
"event.dataset": "auditd.log",
"event.kind": "event",
"event.module": "auditd",
"event.outcome": "1",
"event.type": "change",
"fileset.name": "log",
"input.type": "log",
"log.offset": 425,
Expand Down
Loading