Skip to content

Extract potential host.domain and user.domain in Cisco Secure Endpoint - #2888

Merged
P1llus merged 8 commits into
elastic:mainfrom
LaZyDK:Cisco_Secure_Endpoint_Host_and_User
Mar 25, 2022
Merged

Extract potential host.domain and user.domain in Cisco Secure Endpoint#2888
P1llus merged 8 commits into
elastic:mainfrom
LaZyDK:Cisco_Secure_Endpoint_Host_and_User

Conversation

@LaZyDK

@LaZyDK LaZyDK commented Mar 25, 2022

Copy link
Copy Markdown
Contributor

What does this PR do?

Will try to extract host.domain, user.domain and user.email if possible.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
@LaZyDK
LaZyDK requested a review from a team as a code owner March 25, 2022 06:55
@LaZyDK

LaZyDK commented Mar 25, 2022

Copy link
Copy Markdown
Contributor Author

@P1llus please test :)

@elasticmachine

elasticmachine commented Mar 25, 2022

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-03-25T08:43:17.153+0000

  • Duration: 12 min 1 sec

Test stats 🧪

Test Results
Failed 0
Passed 11
Skipped 0
Total 11

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.
LaZyDK and others added 3 commits March 25, 2022 08:04
Needed to use cisco.secure_endpoint.computer.hostname instead of host.name
@P1llus

P1llus commented Mar 25, 2022

Copy link
Copy Markdown
Member

I added some small additions to it, some extra failure checks in the scripts, ran the CI generation of test data, and ensured that both host fields are still set.

Just need another to review then I can merge.

@P1llus

P1llus commented Mar 25, 2022

Copy link
Copy Markdown
Member

/test

@efd6 efd6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove event.ingested at https://github.com/elastic/integrations/pull/2888/files#diff-f430f71598ebb4c703c61a0500ebad83a87feee76e6f33c9ec8720576574e01eR38-R40?

None of the host.domain fields have any value other than "".

@P1llus

P1llus commented Mar 25, 2022

Copy link
Copy Markdown
Member

/test

@efd6 efd6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@P1llus
P1llus merged commit 7d201d7 into elastic:main Mar 25, 2022
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
elastic#2888)

* Extract potential host.domain and user.domain

* Bump version to 2.0.1

Bump version

* Update changelog.yml

* Fixes

Needed to use cisco.secure_endpoint.computer.hostname instead of host.name

* updating CI tests and adding some minor changes

* adding some small modifications to pipeline

* adding some small changes based on PR review

* update docs

Co-authored-by: Marius Iversen <marius.iversen@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants