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

[Cases] Case action #168369

Merged
merged 73 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
d06df6d
Init the case action
cnasikas Oct 9, 2023
0f63cd7
Merge branch 'main' into case_action
cnasikas Oct 16, 2023
1b1caf0
Merge branch 'main' into case_action
cnasikas Oct 16, 2023
1da8277
Merge branch 'main' into case_action
cnasikas Oct 18, 2023
f6c1ce9
Merge branch 'main' into case_action
cnasikas Oct 23, 2023
d5bbd8e
[Cases] Case action: Registration and Oracle (#168370)
cnasikas Oct 23, 2023
a035154
Merge branch 'main' into case_action
cnasikas Nov 8, 2023
bc79e00
Merge branch 'case_action' of github.com:elastic/kibana into case_action
cnasikas Nov 8, 2023
28cfcb2
[Cases] Case action: Phase 2 (#169229)
cnasikas Nov 15, 2023
d306266
Merge branch 'main' into case_action
cnasikas Nov 15, 2023
f20aeaf
Merge branch 'main' into case_action
cnasikas Nov 22, 2023
c8d3d30
Merge branch 'main' into case_action
cnasikas Nov 29, 2023
76fd124
Merge branch 'main' into case_action
cnasikas Dec 6, 2023
5bd13c2
[CI] Auto-commit changed files from 'node scripts/check_mappings_upda…
kibanamachine Dec 6, 2023
7a2c5d9
[Cases] Case action: Time window (#171754)
cnasikas Dec 8, 2023
c095b48
Merge branch 'main' into case_action
cnasikas Dec 20, 2023
f6491cb
[Cases] Case action: Handle closed cases (#172709)
cnasikas Dec 20, 2023
a1a9840
Merge branch 'main' into case_action
cnasikas Jan 7, 2024
4f81c0c
[Cases] Case action: Error handling and retries (#173012)
cnasikas Jan 12, 2024
d37e952
Merge branch 'main' into case_action
cnasikas Jan 12, 2024
855b94d
Merge branch 'case_action' of github.com:elastic/kibana into case_action
cnasikas Jan 12, 2024
da09eea
Merge branch 'main' into case_action
cnasikas Jan 16, 2024
3128c06
[Cases] Add logs to the cases action (#175107)
cnasikas Jan 22, 2024
ef60814
Merge branch 'main' into case_action
cnasikas Jan 23, 2024
5a88a23
Merge branch 'case_action' of github.com:elastic/kibana into case_action
cnasikas Jan 23, 2024
63874df
Merge branch 'main' into case_action
cnasikas Jan 24, 2024
e25f522
[Cases] Apply circuit breakers to the case action (#175452)
cnasikas Jan 24, 2024
ce6c0c7
Merge branch 'main' into case_action
cnasikas Jan 29, 2024
7a4691c
[Cases] Case action refinements (#175505)
cnasikas Jan 31, 2024
ece0d63
Merge remote-tracking branch 'upstream/main' into case_action
adcoelho Feb 15, 2024
39afa54
Merge remote-tracking branch 'upstream/main' into case_action
adcoelho Feb 19, 2024
d1031ac
[Cases] Custom fields in case actions (#177033)
adcoelho Feb 21, 2024
439ed5d
Merge branch 'main' into case_action
cnasikas Mar 5, 2024
0634875
Merge branch 'case_action' of github.com:elastic/kibana into case_action
cnasikas Mar 5, 2024
2b9f5a4
Merge branch 'main' into case_action
cnasikas Mar 6, 2024
846a093
Merge branch 'main' into case_action
cnasikas Mar 11, 2024
dbbeca4
Merge branch 'main' into case_action
cnasikas Mar 14, 2024
5918e24
[Cases] Case action: Integration tests (#178277)
cnasikas Mar 19, 2024
0bd7535
Merge branch 'main' into case_action
cnasikas Mar 19, 2024
5315712
Merge branch 'case_action' of github.com:elastic/kibana into case_action
cnasikas Mar 19, 2024
3553218
Merge branch 'main' into case_action
cnasikas Mar 28, 2024
af20c71
Merge branch 'main' into case_action
cnasikas Mar 31, 2024
c0c881a
Merge branch 'main' into case_action
cnasikas Apr 1, 2024
b7b9a90
Merge branch 'case_action' of github.com:elastic/kibana into case_action
cnasikas Apr 1, 2024
d381f45
Merge branch 'main' into case_action
cnasikas Apr 2, 2024
b8765aa
[Cases] Add documentation (#177139)
cnasikas Apr 2, 2024
3453cb9
[Cases] Case action UI implementation (#179409)
js-jankisalvi Apr 3, 2024
44b9d94
Merge branch 'main' into case_action
cnasikas Apr 3, 2024
aec669d
[Cases] Register connector adapter (#179796)
cnasikas Apr 4, 2024
ee93e9a
Merge branch 'main' into case_action
cnasikas Apr 4, 2024
70ef229
Merge branch 'main' into case_action
cnasikas Apr 4, 2024
9c6cdbb
Trim title correctly
cnasikas Apr 4, 2024
c9186a2
Add basic telemetry
cnasikas Apr 4, 2024
825c3c4
Merge branch 'main' into case_action
cnasikas Apr 5, 2024
8ecfdbd
Rename cases oracle SO to cases rules
cnasikas Apr 5, 2024
0eafc0e
Fix telemetry checks
cnasikas Apr 5, 2024
f601a47
Fix so mappings
cnasikas Apr 5, 2024
af98dda
Fix SO integration tests
cnasikas Apr 5, 2024
67f90b2
Remove cases array from the oracle record
cnasikas Apr 7, 2024
a913efa
Fix mappings
cnasikas Apr 7, 2024
0407bdf
Fix SO hashing
cnasikas Apr 8, 2024
67712a2
Merge branch 'main' into case_action
cnasikas Apr 8, 2024
de6d3c5
Attach ungrouped alerts
cnasikas Apr 8, 2024
62d0284
Remove not relevant test
cnasikas Apr 9, 2024
c6c8609
Merge branch 'main' into case_action
cnasikas Apr 9, 2024
888b043
Show only aggregatable fields in the groupingBy
cnasikas Apr 10, 2024
1054f9a
Merge branch 'main' into case_action
cnasikas Apr 10, 2024
66012c2
PR feedback
cnasikas Apr 10, 2024
9d3b79e
Merge branch 'main' into case_action
cnasikas Apr 10, 2024
a7ddc63
Registers the required kibana privileges in the connector adapter
cnasikas Apr 10, 2024
5f0181d
Merge branch 'main' into case_action
cnasikas Apr 11, 2024
607703d
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Apr 11, 2024
f73ec73
Remove months and years from the time window
cnasikas Apr 11, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export const HASH_TO_VERSION_MAP = {
'cases-comments|93535d41ca0279a4a2e5d08acd3f28e3': '10.0.0',
'cases-configure|c124bd0be4c139d0f0f91fb9eeca8e37': '10.0.0',
'cases-connector-mappings|a98c33813f364f0b068e8c592ac6ef6d': '10.0.0',
'cases-rules|1cb4b03690489e07aa86f283dcea5ce1': '10.0.0',
'cases-telemetry|3d1b76c39bfb2cc8296b024d73854724': '10.0.0',
'cases-user-actions|07a6651cf37853dd5d64bfb2c796e102': '10.0.0',
'cases|8f7dc53b17c272ea19f831537daa082d': '10.1.0',
Expand Down
7 changes: 7 additions & 0 deletions packages/kbn-check-mappings-update-cli/current_fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@
"cases-connector-mappings": [
"owner"
],
"cases-rules": [
"counter",
"createdAt",
"rules",
"rules.id",
"updatedAt"
],
"cases-telemetry": [],
"cases-user-actions": [
"action",
Expand Down
27 changes: 24 additions & 3 deletions packages/kbn-check-mappings-update-cli/current_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,27 @@
}
}
},
"cases-rules": {
"dynamic": false,
"properties": {
"counter": {
"type": "unsigned_long"
},
"createdAt": {
"type": "date"
},
"rules": {
"properties": {
"id": {
"type": "keyword"
}
}
},
"updatedAt": {
"type": "date"
}
}
},
"cases-telemetry": {
"dynamic": false,
"properties": {}
Expand Down Expand Up @@ -1568,11 +1589,11 @@
"assetType": {
"type": "keyword"
},
"dashboardSavedObjectId": {
"type": "keyword"
},
"dashboardFilterAssetIdEnabled": {
"type": "boolean"
},
"dashboardSavedObjectId": {
"type": "keyword"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"cases-comments": "5cb0a421588831c2a950e50f486048b8aabbae25",
"cases-configure": "44ed7b8e0f44df39516b8870589b89e32224d2bf",
"cases-connector-mappings": "f9d1ac57e484e69506c36a8051e4d61f4a8cfd25",
"cases-rules": "6d1776f5c46a99e1a0f3085c537146c1cdfbc829",
"cases-telemetry": "f219eb7e26772884342487fc9602cfea07b3cedc",
"cases-user-actions": "483f10db9b3bd1617948d7032a98b7791bf87414",
"cloud-security-posture-settings": "e0f61c68bbb5e4cfa46ce8994fa001e417df51ca",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const previouslyRegisteredTypes = [
'cases-comments',
'cases-configure',
'cases-connector-mappings',
'cases-rules',
'cases-sub-case',
'cases-user-actions',
'cases-telemetry',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ describe('split .kibana index into multiple system indices', () => {
"cases-comments",
"cases-configure",
"cases-connector-mappings",
"cases-rules",
"cases-telemetry",
"cases-user-actions",
"cloud-security-posture-settings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('createSystemConnectors', () => {
{
id: 'system-connector-system-action-type-2',
actionTypeId: 'system-action-type-2',
name: 'System action: system-action-type-2',
name: 'My system action type',
secrets: {},
config: {},
isDeprecated: false,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/actions/server/create_system_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const createSystemConnectors = (actionTypes: ActionType[]): InMemoryConne
const systemConnectors: InMemoryConnector[] = systemActionTypes.map((systemActionType) => ({
id: `system-connector-${systemActionType.id}`,
actionTypeId: systemActionType.id,
name: `System action: ${systemActionType.id}`,
name: systemActionType.name,
isMissingSecrets: false,
config: {},
secrets: {},
Expand Down
Loading