-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
5dc8610
commit 4b4bab7
Showing
54 changed files
with
1,726 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ export const mockCases: Array<SavedObject<CaseAttributes>> = [ | |
attributes: { | ||
closed_at: null, | ||
closed_by: null, | ||
connector_id: 'none', | ||
created_at: '2019-11-25T21:54:48.952Z', | ||
created_by: { | ||
full_name: 'elastic', | ||
|
@@ -46,6 +47,7 @@ export const mockCases: Array<SavedObject<CaseAttributes>> = [ | |
attributes: { | ||
closed_at: null, | ||
closed_by: null, | ||
connector_id: 'none', | ||
created_at: '2019-11-25T22:32:00.900Z', | ||
created_by: { | ||
full_name: 'elastic', | ||
|
@@ -74,6 +76,7 @@ export const mockCases: Array<SavedObject<CaseAttributes>> = [ | |
attributes: { | ||
closed_at: null, | ||
closed_by: null, | ||
connector_id: '123', | ||
created_at: '2019-11-25T22:32:17.947Z', | ||
created_by: { | ||
full_name: 'elastic', | ||
|
@@ -106,6 +109,7 @@ export const mockCases: Array<SavedObject<CaseAttributes>> = [ | |
email: '[email protected]', | ||
username: 'elastic', | ||
}, | ||
connector_id: '123', | ||
created_at: '2019-11-25T22:32:17.947Z', | ||
created_by: { | ||
full_name: 'elastic', | ||
|
@@ -130,6 +134,35 @@ export const mockCases: Array<SavedObject<CaseAttributes>> = [ | |
}, | ||
]; | ||
|
||
export const mockCaseNoConnectorId: SavedObject<Partial<CaseAttributes>> = { | ||
type: 'cases', | ||
id: 'mock-no-connector_id', | ||
attributes: { | ||
closed_at: null, | ||
closed_by: null, | ||
created_at: '2019-11-25T21:54:48.952Z', | ||
created_by: { | ||
full_name: 'elastic', | ||
email: '[email protected]', | ||
username: 'elastic', | ||
}, | ||
description: 'This is a brand new case of a bad meanie defacing data', | ||
external_service: null, | ||
title: 'Super Bad Security Issue', | ||
status: 'open', | ||
tags: ['defacement'], | ||
updated_at: '2019-11-25T21:54:48.952Z', | ||
updated_by: { | ||
full_name: 'elastic', | ||
email: '[email protected]', | ||
username: 'elastic', | ||
}, | ||
}, | ||
references: [], | ||
updated_at: '2019-11-25T21:54:48.952Z', | ||
version: 'WzAsMV0=', | ||
}; | ||
|
||
export const mockCasesErrorTriggerData = [ | ||
{ | ||
id: 'valid-id', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.