Skip to content

[Okta] Add field for okta.debug_context.debug_data.dt_hash - #7330

Merged
efd6 merged 3 commits into
elastic:mainfrom
SpencerLN:add_dthash_field
Aug 9, 2023
Merged

[Okta] Add field for okta.debug_context.debug_data.dt_hash#7330
efd6 merged 3 commits into
elastic:mainfrom
SpencerLN:add_dthash_field

Conversation

@SpencerLN

@SpencerLN SpencerLN commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Sets the value of the field okta.debug_context.debug_data.dt_hash.

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

@SpencerLN SpencerLN added the enhancement New feature or request label Aug 9, 2023
@SpencerLN
SpencerLN requested a review from a team as a code owner August 9, 2023 18:12
@elasticmachine

elasticmachine commented Aug 9, 2023

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: 2023-08-09T18:48:03.597+0000

  • Duration: 14 min 19 sec

Test stats 🧪

Test Results
Failed 0
Passed 7
Skipped 0
Total 7

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (1/1) 💚
Classes 100.0% (1/1) 💚
Methods 100.0% (19/19) 💚 27.273
Lines 92.026% (577/627) 👎 -7.974
Conditionals 100.0% (0/0) 💚
@elasticmachine

Copy link
Copy Markdown

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@bhapas bhapas 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

@efd6
efd6 merged commit c34e169 into elastic:main Aug 9, 2023
@SpencerLN
SpencerLN deleted the add_dthash_field branch August 9, 2023 20:54
@elasticmachine

Copy link
Copy Markdown

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

orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
)

The dtHash (device token hash) field in Okta audit logs can be useful for
detecting potential cookie theft, but these detections require the field to
be aggregatable.

So copy it from okta.debug_context.debug_data.flattened.dtHash, to
okta.debug_context.debug_data.dt_hash as a keyword.

ref:
https://sec.okta.com/shareddetections
https://www.rezonate.io/blog/okta-logs-decoded-unveiling-identity-threats-through-threat-hunting/
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:okta Okta

4 participants