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

entityanalytics_okta: map group fields and add test infrastructure #10973

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Sep 3, 2024

Proposed commit message

See title.

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6 efd6 added enhancement New feature or request Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations] Integration:entityanalytics_okta Okta Entity Analytics labels Sep 3, 2024
@efd6 efd6 self-assigned this Sep 3, 2024
@elasticmachine
Copy link

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @efd6

@efd6 efd6 marked this pull request as ready for review September 3, 2024 20:49
@efd6 efd6 requested a review from a team as a code owner September 3, 2024 20:49
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

Comment on lines +129 to +136
"group": {
"id": [
"OGYzMDMwYjFmODBiNjli"
],
"name": [
"Everyone"
]
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Note also that the group fields may be used directly at the root of the events.

The ECS documentation suggests using group fields also at the root of the event: https://www.elastic.co/guide/en/ecs/current/ecs-group.html. We could possibly copy them to root as well.

Copy link
Contributor Author

@efd6 efd6 Sep 13, 2024

Choose a reason for hiding this comment

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

Yeah. I think just moving this there, and adding the user fields would be better. I'll revise this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hang on. No, I was getting confused by the github fold. I think this is the right place; the group is specifically for the user. We could also have it at the root, but I think it would be best to wait to see if a user has a good reason to do this before we add that. So I'll merge as is.

Copy link
Contributor

Choose a reason for hiding this comment

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

Alright!

@efd6 efd6 merged commit a90c098 into elastic:main Sep 13, 2024
5 checks passed
@elasticmachine
Copy link

Package entityanalytics_okta - 1.5.0 containing this change is available at https://epr.elastic.co/search?package=entityanalytics_okta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:entityanalytics_okta Okta Entity Analytics Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[entityanalytics_okta.user] Add mappings for group metadata
3 participants