Skip to content

Commit

Permalink
Updating alert attributes excluded from AAD
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Nov 17, 2020
1 parent b35af3c commit dc1dc4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/alerts/server/saved_objects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const AlertAttributesExcludedFromAAD = [
'muteAll',
'mutedInstanceIds',
'updatedBy',
'updatedAt',
'executionStatus',
];

Expand All @@ -28,6 +29,7 @@ export type AlertAttributesExcludedFromAADType =
| 'muteAll'
| 'mutedInstanceIds'
| 'updatedBy'
| 'updatedAt'
| 'executionStatus';

export function setupSavedObjects(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const DefaultAttributes = {
muteAll: true,
mutedInstanceIds: ['muted-instance-id-1', 'muted-instance-id-2'],
updatedBy: 'someone',
updatedAt: '2019-02-12T21:01:22.479Z',
};

const InvalidAttributes = { ...DefaultAttributes, foo: 'bar' };
Expand Down

0 comments on commit dc1dc4b

Please sign in to comment.