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

[Security_Solution][Bug] Fix user name/domain to ECS structure #73530

Merged
merged 8 commits into from
Jul 29, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function processPath(passedEvent: ResolverEvent): string | undefined {
*/
export function userInfoForProcess(
passedEvent: ResolverEvent
): { user?: string; domain?: string } | undefined {
): { name?: string; domain?: string } | undefined {
return passedEvent.user;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ export const ProcessDetails = memo(function ProcessDetails({

const userEntry = {
title: 'user.name',
description: (userInfoForProcess(processEvent) as { name: string }).name,
description: userInfoForProcess(processEvent)?.name,
};

const domainEntry = {
title: 'user.domain',
description: (userInfoForProcess(processEvent) as { domain: string }).domain,
description: userInfoForProcess(processEvent)?.domain,
};

const parentPidEntry = {
Expand Down