-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[integrations][CrowdStrike] - Fixed Windows NT timestamp parsing issu…
…e and IDP Log pipeline field naming issue (#7548) * fixed windows NT timestamp issue and idp logs pipeline issues * updated changelog * updated comments and implemented PR sugestions * In Windows NT, the timestamp is a 64-bit value representing the number of 100-nanosecond intervals that have elapsed since January 1, 1601 (UTC). The high bit of this value is set to 1 to indicate that it's a Windows NT timestamp. The condition longValue > 0x0100000000000000L checks if the high bit of the 64-bit value is set, which indicates that it's a Windows NT timestamp. If this condition is true, it means the timestamp is a Windows NT timestamp and needs to be converted to a Unix timestamp. The conversion involves dividing the value by 10000000 to convert from 100-nanosecond intervals to seconds and then subtracting the offset 11644473600L to account for the difference between Windows NT and Unix epoch times. * made PR suggested changes * updated comments
- Loading branch information
Showing
5 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters