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 Manual Alert in case #93726

Merged
merged 3 commits into from
Mar 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
get the data where it belongs
XavierM committed Mar 5, 2021
commit 0f0378c8fea7da43be07ff5fa30c49d8ba3c8741
Original file line number Diff line number Diff line change
@@ -379,10 +379,11 @@ export const UserActionTree = React.memo(
return comments;
}

const ruleId = comment?.rule?.id ?? manualAlertsData[alertId]?.rule?.id?.[0] ?? '';
const ruleId =
comment?.rule?.id ?? manualAlertsData[alertId]?.signal?.rule?.id?.[0] ?? '';
const ruleName =
comment?.rule?.name ??
manualAlertsData[alertId]?.rule?.name?.[0] ??
manualAlertsData[alertId]?.signal?.rule?.name?.[0] ??
i18n.UNKNOWN_RULE;

return [