Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 committed Apr 25, 2024
1 parent 2deeca0 commit a711a23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ processors:
- pipeline:
name: '{{ IngestPipeline "marker" }}'
if: ctx.activedirectory == null
tag: pipeline_entity
tag: pipeline_marker
ignore_missing_pipeline: true

- script:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ processors:
copy_from: activedirectory.user.name
ignore_empty_value: true
- gsub:
tag: gsub_user_dn
field: activedirectory.user.distinguished_name
pattern: '^.*?DC='
replacement: ''
target_field: user.domain
if: ctx.activedirectory?.user?.distinguished_name != null
- gsub:
tag: gsub_user_domain
field: user.domain
pattern: ',DC='
replacement: '.'
Expand Down

0 comments on commit a711a23

Please sign in to comment.