Change log for MICROSOFT_DEFENDER_ENDPOINT

Date Changes
2024-03-07 Added mapping for additional fields.
2024-02-22 BugFix:
- When "category" is "AdvancedHunting-DeviceImageLoadEvents", then mapped "target.process.file.*" fields to "target.file.*" fields.
- When "properties.ActionType" is "FileDeleted", then mapped "metadata.event_type" to "FILE_DELETION".
2023-10-12 Enhancement:
- Modified mappings from using deprecated UDM fields to the following alternative fields:
- Added mapping of "properties.ServiceSource", "properties.DetectionSource", and "properties.AttackTechniques" to "security_result.about.resource.attribute.labels".
- Added mapping of "observer.cloud.project.id" to "target.resource_ancestors.product_object_id".
- Added mapping of "WasExecutingWhileDetected", "properties.IsLocalAdmin", "properties.InitiatingProcessTokenElevation","properties.labels_InitiatingProcessIntegrityLevel", and "properties.RemoteIPType" to "principal.resource.attribute.labels".
- Mapped "process.AdditionalFields", "InitiatingProcessPosixEffectiveUser", "InitiatingProcessPosixEffectiveGroup", "InitiatingProcessPosixRealUser", "ProcessPosixEffectiveUser", "ProcessPosixFileUserOwner", "InitiatingProcessPosixFilePermissions", and "ProcessPosixFilePermissions" to "principal.resource.attribute.labels".
- Mapped "process.AdditionalFields" to "entity.resource.attribute.labels" for the category "AdvancedHunting-DeviceInfo" and "AdvancedHunting-DeviceNetworkInfo".
2023-08-02 Enhancement-
- Mapped "DeviceId" to "principal.asset_id".
- Mapped "DeviceName" to "principal.hostname".
- Mapped "OSPlatform" to "principal.asset.platform_software.platform".
- Mapped "OSVersion","OSArchitecture" to "principal.asset.platform_software.platform_version".
- Mapped "properties.OSArchitecture" to "principal.asset.platform_software.platform_version".
- Mapped "SoftwareVendor" to "principal.asset.software.vendor_name".
- Mapped "SoftwareName" to "principal.asset.software.name".
- Mapped "SoftwareVersion" to "principal.asset.software.version".
- Mapped "CveId" to "extensions.vulns.vulnerabilities.cve_id".
- Mapped "VulnerabilitySeverityLevel" to "extensions.vulns.vulnerabilities.severity".
- Mapped "RecommendedSecurityUpdate" to "security_result.detection_fields".
- Mapped "RecommendedSecurityUpdateId" to "security_result.detection_fields".
2023-06-19 - Parserd logs with no entity relation data as "GENERIC_EVENTS" instead of dropping.
- Added regular expression check to "properties.SenderFromAddress" prior mapping to UDM.
2023-06-05 - Mapped "properties.RemoteUrl" to "target.url".
- If "category" is "AdvancedHunting-DeviceFileEvents", mapped the "properties.file" details to "target.file" fields, otherwise mapped it to "target.process.file" fields.
2023-05-23 Enhancement - Mapped "properties.FileOriginUrl" to "principal.url".
- Mapped "properties.FileOriginIP" to "principal.ip".
2023-05-03 Fix -
- Added a gsub to correct "MacAddress" format prior mapping to UDM.
- Mapped "metadata.event_type" to "STATUS_UPDATE" where "properties.ActionType" is "ServiceInstalled" and does not have any of "target.process" fields.
2023-01-15 BugFix -
- Wherever possible, parsed 'AdvancedHunting-DeviceInfo' logs where the 'LoggedOnUsers' field is empty and stored as entities.
2022-10-14 Enhancement -
- Mapped "properties.UrlDomain" to "target.hostname".
- Mapped "properties.Url" to "target.url".
- Mapped "properties.UrlLocation", "OperationName" to "additional.fields".
2022-10-07 Enhancement - Added mapping for unparsed log
- Mapped "metadata.event_type" to "event_type1".
Added condition check for event_type.
2022-09-02 Enhancement -
- Mapped "metadata.event_type" to "REGISTRY_CREATION" where "properties.ActionType" is "RegistryKeyCreated".
2022-08-11 Enhancement-
- Mapped properties.Title to security_result.threat_name.
- Mapped properties.AlertId to metadata.product_log_id.
- Mapped properties.Category to security_result.category_details.
- Mapped properties.Severity to security_result.severity_details.
- Mapped properties.ServiceSource to security_result.about.labels.
- Mapped properties.DetectionSource to security_result.about.labels.
- Mapped properties.AttackTechniques to security_result.about.labels.
- Added a new grok pattern to parse incorrect json format logs with type AlertInfo.
2022-06-02 Enhancement- Following mappings were added and modified.
Mapped DeliveryAction to security_result.action.
Mapped LogonType to extensions.auth.mechanism as INTERACTIVE additionally.
For AdditionalFields.IsLocalLogon, extensions.auth.mechanism has been updated as LOCAL or REMOTE,based on boolean value.
Mapped ReportId to metadata.product_log_id.
Mapped DetectionMethods to security_result.rule_name.
Mapped Severity to security_result.severity and security_result.severity_details.
Mapped category to metadata.product_event_type.
Mapped RemoteUrl to target.url.
Mapped DeviceId to principal.asset_id.
PreviousRegistryValueData, PreviousRegistryKey and PreviousRegistryValueName mapping modified from target to src.
FileType, FileName, SHA256 and FileSize mapping modified to about from target for EmailAttachmentInfo event.
InitiatingProcessFileName appended to InitiatingProcessFolderPath if file name is not present.
SenderFromAddress additionally mapped to principal.user.product_object_id.
InitiatingProcessAccountSid mapped to principal.user.windows_sid.
InitiatingProcessAccountName mapped to principal.user.userid.
AccountDomain, AccountName, AccountSid mapped to target.user.userid, target.administrative_domain and target.user.windows_sid respectively.
RecipientEmailAddress additionally mapped to target.user.email_addresses.
RecipientObjectId mapped to target.user.product_object_id.
Modified the value stored in metadata.vendor_name to 'Microsoft'.
2022-05-05 Enhancement-
1) Updated parsing logic for AccountName and InitiatingProcessAccountName to map both values to UDM. InitiatingProcessAccountName when populated is mapped to principal.user.userid, and AccountName to target.user.userid.
2022-03-30 Enhancement-
1) For events AdvancedHunting-DeviceNetworkInfo and AdvancedHunting-DeviceInfo :
- Changed mapping for deviceId from 'entity.asset.asset_id' to 'entity.asset.product_object_id'.
- Changed mapping for ReportId from 'entity.asset.product_object_id' to 'entity.asset.attribute.labels'.
2) For all other events:
- Mapped deviceId to 'metadata.product_log_id'.
- Changed mapping for ReportId from 'metadata.product_log_id' to 'about.labels'.