Skip to content

Commit

Permalink
Add description to script processors
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansr committed Apr 19, 2021
1 parent 1e807b3 commit 0fabc9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/filebeat/module/cyberarkpas/audit/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ processors:
#
- script:
lang: painless
description: 'Removes empty audit fields'
source: >-
ctx.cyberarkpas.audit.entrySet().removeIf(entry -> entry.getValue() == "");
Expand Down Expand Up @@ -250,6 +251,7 @@ processors:
#
- script:
lang: painless
description: "Converts audit field's names from CamelCase to snake_case"
source: >
String to_snake_case(String s) {
/* faster code path for strings that won't need an underscore */
Expand Down Expand Up @@ -391,6 +393,7 @@ processors:
#
- script:
lang: painless
description: 'ECS enrichment based on message_id'
params:
# 4 - User Authentication
#
Expand Down Expand Up @@ -950,6 +953,7 @@ processors:
#
- script:
lang: painless
description: 'Set event.duration from the session duration ("hh:mm:ss")'
if: "ctx._tmp?.duration_hms != null"
source: >
long parse_hms(String s) {
Expand Down

0 comments on commit 0fabc9f

Please sign in to comment.