Skip to content

Commit

Permalink
[Security Solution] [Exceptions] Amend Rule Exception's Comment text (
Browse files Browse the repository at this point in the history
#161092)

## Summary

- Addresses Docs team comment
#159908 (comment)
  • Loading branch information
WafaaNasr authored Jul 5, 2023
1 parent f758ba4 commit 16528cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('Rule Exceptions workflows from Alert', () => {
*/
validateExceptionCommentCountAndText(
1,
'Exception conditions are pre-filled with relevant data from alert with "id"'
'Exception conditions are pre-filled with relevant data from an alert with the alert id (_id):'
);

addExceptionFlyoutItemName(ITEM_NAME);
Expand Down Expand Up @@ -207,7 +207,7 @@ describe('Rule Exceptions workflows from Alert', () => {
*/
validateExceptionCommentCountAndText(
1,
'Exception conditions are pre-filled with relevant data from alert with "id"'
'Exception conditions are pre-filled with relevant data from an alert with the alert id (_id):'
);

addExceptionFlyoutItemName(ITEM_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ export const ADD_RULE_EXCEPTION_FROM_ALERT_COMMENT = (alertId: string) =>
{
values: { alertId },
defaultMessage:
'Exception conditions are pre-filled with relevant data from alert with "id" {alertId}.',
'Exception conditions are pre-filled with relevant data from an alert with the alert id (_id): {alertId}.',
}
);

0 comments on commit 16528cf

Please sign in to comment.