Skip to content

Commit

Permalink
Merge branch 'master' into remove-actions-side-car
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Aug 24, 2021
2 parents d44678a + 213abc4 commit ebc0868
Show file tree
Hide file tree
Showing 281 changed files with 30,695 additions and 23,644 deletions.
11 changes: 11 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,17 @@
#CC# /x-pack/plugins/logstash/ @elastic/logstash

# Reporting
/x-pack/examples/reporting_example/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/plugins/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/functional/apps/dashboard/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/functional/apps/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/functional/apps/reporting_management/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/functional/es_archives/lens/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/functional/es_archives/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/functional/fixtures/kbn_archiver/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/reporting_api_integration/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/reporting_functional/ @elastic/kibana-reporting-services @elastic/kibana-app-services
/x-pack/test/stack_functional_integration/apps/reporting/ @elastic/kibana-reporting-services @elastic/kibana-app-services
#CC# /x-pack/plugins/reporting/ @elastic/kibana-reporting-services


1 change: 1 addition & 0 deletions .github/workflows/project-assigner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
{"label": "Feature:Input Controls", "projectNumber": 72, "columnName": "Inbox"},
{"label": "Team:Security", "projectNumber": 320, "columnName": "Awaiting triage", "projectScope": "org"},
{"label": "Team:Operations", "projectNumber": 314, "columnName": "Triage", "projectScope": "org"}
{"label": "Team:Fleet", "projectNumber": 490, "columnName": "Inbox", "projectScope": "org"}
]
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
2 changes: 1 addition & 1 deletion api_docs/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@
"label": "ActionParamsType",
"description": [],
"signature": [
"{ readonly to: string[]; readonly message: string; readonly cc: string[]; readonly bcc: string[]; readonly subject: string; readonly kibanaFooterLink: Readonly<{} & { text: string; path: string; }>; }"
"{ readonly to: string[]; readonly message: string; readonly cc: string[]; readonly bcc: string[]; readonly subject: string; readonly kibanaFooterLink: Readonly<{} & { path: string; text: string; }>; }"
],
"path": "x-pack/plugins/actions/server/builtin_action_types/email.ts",
"deprecated": false,
Expand Down
2 changes: 1 addition & 1 deletion api_docs/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import actionsObj from './actions.json';




Contact [Kibana Alerting](https:/orgs/elastic/teams/kibana-alerting-services) for questions regarding this plugin.

**Code health stats**

Expand Down
154 changes: 150 additions & 4 deletions api_docs/alerting.json
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
"id": "def-server.AlertingAuthorization.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "{\n ruleTypeRegistry,\n request,\n authorization,\n features,\n auditLogger,\n getSpace,\n getSpaceId,\n exemptConsumerIds,\n }",
"label": "{\n ruleTypeRegistry,\n request,\n authorization,\n features,\n auditLogger,\n getSpace,\n getSpaceId,\n }",
"description": [],
"signature": [
"ConstructorOptions"
Expand Down Expand Up @@ -555,6 +555,114 @@
],
"returnComment": []
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertingAuthorization.getAuthorizationFilter",
"type": "Function",
"tags": [],
"label": "getAuthorizationFilter",
"description": [],
"signature": [
"(authorizationEntity: ",
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.AlertingAuthorizationEntity",
"text": "AlertingAuthorizationEntity"
},
", filterOpts: ",
"AlertingAuthorizationFilterOpts",
", operation: ",
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.ReadOperations",
"text": "ReadOperations"
},
" | ",
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.WriteOperations",
"text": "WriteOperations"
},
") => Promise<{ filter?: ",
"KueryNode",
" | ",
"JsonObject",
" | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; logSuccessfulAuthorization: () => void; }>"
],
"path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "alerting",
"id": "def-server.AlertingAuthorization.getAuthorizationFilter.$1",
"type": "Enum",
"tags": [],
"label": "authorizationEntity",
"description": [],
"signature": [
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.AlertingAuthorizationEntity",
"text": "AlertingAuthorizationEntity"
}
],
"path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertingAuthorization.getAuthorizationFilter.$2",
"type": "Object",
"tags": [],
"label": "filterOpts",
"description": [],
"signature": [
"AlertingAuthorizationFilterOpts"
],
"path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts",
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertingAuthorization.getAuthorizationFilter.$3",
"type": "CompoundType",
"tags": [],
"label": "operation",
"description": [],
"signature": [
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.ReadOperations",
"text": "ReadOperations"
},
" | ",
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.WriteOperations",
"text": "WriteOperations"
}
],
"path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertingAuthorization.filterByRuleTypeAuthorization",
Expand Down Expand Up @@ -1616,7 +1724,7 @@
"section": "def-server.RulesClient",
"text": "RulesClient"
},
", \"get\" | \"delete\" | \"create\" | \"find\" | \"update\" | \"aggregate\" | \"enable\" | \"disable\" | \"muteAll\" | \"getAlertState\" | \"getAlertInstanceSummary\" | \"updateApiKey\" | \"unmuteAll\" | \"muteInstance\" | \"unmuteInstance\" | \"listAlertTypes\">"
", \"get\" | \"delete\" | \"create\" | \"find\" | \"resolve\" | \"update\" | \"aggregate\" | \"enable\" | \"disable\" | \"muteAll\" | \"getAlertState\" | \"getAlertInstanceSummary\" | \"updateApiKey\" | \"unmuteAll\" | \"muteInstance\" | \"unmuteInstance\" | \"listAlertTypes\" | \"getSpaceId\">"
],
"path": "x-pack/plugins/alerting/server/plugin.ts",
"deprecated": false,
Expand Down Expand Up @@ -1669,7 +1777,7 @@
"section": "def-server.AlertingAuthorization",
"text": "AlertingAuthorization"
},
", \"ensureAuthorized\" | \"getSpaceId\" | \"getAugmentedRuleTypesWithAuthorization\" | \"getFindAuthorizationFilter\" | \"filterByRuleTypeAuthorization\">"
", \"ensureAuthorized\" | \"getSpaceId\" | \"getAugmentedRuleTypesWithAuthorization\" | \"getFindAuthorizationFilter\" | \"getAuthorizationFilter\" | \"filterByRuleTypeAuthorization\">"
],
"path": "x-pack/plugins/alerting/server/plugin.ts",
"deprecated": false,
Expand Down Expand Up @@ -2022,6 +2130,14 @@
"section": "def-server.FindResult",
"text": "FindResult"
},
"<Params>>; resolve: <Params extends Record<string, unknown> = never>({ id, }: { id: string; }) => Promise<",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.ResolvedSanitizedRule",
"text": "ResolvedSanitizedRule"
},
"<Params>>; update: <Params extends Record<string, unknown> = never>({ id, data, }: ",
"UpdateOptions",
"<Params>) => Promise<",
Expand Down Expand Up @@ -2052,7 +2168,7 @@
"MuteOptions",
") => Promise<void>; listAlertTypes: () => Promise<Set<",
"RegistryAlertTypeWithAuth",
">>; }"
">>; getSpaceId: () => string | undefined; }"
],
"path": "x-pack/plugins/alerting/server/index.ts",
"deprecated": false,
Expand Down Expand Up @@ -3861,6 +3977,36 @@
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-common.ResolvedSanitizedRule",
"type": "Type",
"tags": [],
"label": "ResolvedSanitizedRule",
"description": [],
"signature": [
"Pick<",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.Alert",
"text": "Alert"
},
"<Params>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\"> & Pick<",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreSavedObjectsPluginApi",
"section": "def-server.SavedObjectsResolveResponse",
"text": "SavedObjectsResolveResponse"
},
"<unknown>, \"outcome\" | \"alias_target_id\">"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-common.SanitizedAlert",
Expand Down
4 changes: 2 additions & 2 deletions api_docs/alerting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import alertingObj from './alerting.json';




Contact [Kibana Alerting](https:/orgs/elastic/teams/kibana-alerting-services) for questions regarding this plugin.

**Code health stats**

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 243 | 0 | 235 | 16 |
| 248 | 0 | 240 | 16 |

## Client

Expand Down
Loading

0 comments on commit ebc0868

Please sign in to comment.