Skip to content

Commit

Permalink
[Security Solution] Show rule.description when displaying an alert vi…
Browse files Browse the repository at this point in the history
…ew flyout (#110221) (#110258)

Co-authored-by: Esteban Beltran <[email protected]>
  • Loading branch information
kibanamachine and academo authored Aug 26, 2021
1 parent ffffb69 commit 996b80b
Show file tree
Hide file tree
Showing 7 changed files with 846 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/security_solution/common/ecs/event/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ export enum EventCode {
MEMORY_SIGNATURE = 'memory_signature',
// Memory Protection alert
MALICIOUS_THREAD = 'malicious_thread',
// behavior
BEHAVIOR = 'behavior',
}
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ export class EndpointDocGenerator extends BaseDataGenerator {
},
rule: {
id: this.randomUUID(),
description: 'Behavior rule description',
},
event: {
action: 'rule_detection',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ export type AlertEvent = Partial<{
}>;
rule: Partial<{
id: ECSField<string>;
description: ECSField<string>;
}>;
file: Partial<{
owner: ECSField<string>;
Expand Down
Loading

0 comments on commit 996b80b

Please sign in to comment.