Skip to content

Commit 0044d2b

Browse files
authored
Merge branch 'main' into asuka_update_endpoint_filterlist
2 parents 6e13e25 + f684ea4 commit 0044d2b

File tree

674 files changed

+17236
-3114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

674 files changed

+17236
-3114
lines changed

.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BASE_ES_SERVERLESS_REPO=docker.elastic.co/elasticsearch-ci/elasticsearch-serverl
88
TARGET_IMAGE=docker.elastic.co/kibana-ci/elasticsearch-serverless:latest-verified
99

1010
SOURCE_IMAGE_OR_TAG=$1
11-
if [[ $SOURCE_IMAGE_OR_TAG =~ :[a-zA-Z_-]+$ ]]; then
11+
if [[ $SOURCE_IMAGE_OR_TAG =~ :[a-zA-Z0-9_.-]+$ ]]; then
1212
# $SOURCE_IMAGE_OR_TAG was a full image
1313
SOURCE_IMAGE=$SOURCE_IMAGE_OR_TAG
1414
else

.eslintrc.js

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,116 @@ const RESTRICTED_IMPORTS = [
275275
name: '@testing-library/react-hooks',
276276
message: 'Please use @testing-library/react instead',
277277
},
278+
...[
279+
'Alt',
280+
'Alternative',
281+
'Applicative',
282+
'Apply',
283+
'Array',
284+
'Bifunctor',
285+
'boolean',
286+
'BooleanAlgebra',
287+
'Bounded',
288+
'BoundedDistributiveLattice',
289+
'BoundedJoinSemilattice',
290+
'BoundedLattice',
291+
'BoundedMeetSemilattice',
292+
'Category',
293+
'Chain',
294+
'ChainRec',
295+
'Choice',
296+
'Comonad',
297+
'Compactable',
298+
'Console',
299+
'Const',
300+
'Contravariant',
301+
'Date',
302+
'DistributiveLattice',
303+
'Either',
304+
'EitherT',
305+
'Eq',
306+
'Extend',
307+
'Field',
308+
'Filterable',
309+
'FilterableWithIndex',
310+
'Foldable',
311+
'FoldableWithIndex',
312+
'function',
313+
'Functor',
314+
'FunctorWithIndex',
315+
'Group',
316+
'HeytingAlgebra',
317+
'Identity',
318+
'Invariant',
319+
'IO',
320+
'IOEither',
321+
'IORef',
322+
'JoinSemilattice',
323+
'Lattice',
324+
'Magma',
325+
'Map',
326+
'MeetSemilattice',
327+
'Monad',
328+
'MonadIO',
329+
'MonadTask',
330+
'MonadThrow',
331+
'Monoid',
332+
'NonEmptyArray',
333+
'Option',
334+
'OptionT',
335+
'Ord',
336+
'Ordering',
337+
'pipeable',
338+
'Profunctor',
339+
'Random',
340+
'Reader',
341+
'ReaderEither',
342+
'ReaderT',
343+
'ReaderTask',
344+
'ReaderTaskEither',
345+
'ReadonlyArray',
346+
'ReadonlyMap',
347+
'ReadonlyNonEmptyArray',
348+
'ReadonlyRecord',
349+
'ReadonlySet',
350+
'ReadonlyTuple',
351+
'Record',
352+
'Ring',
353+
'Semigroup',
354+
'Semigroupoid',
355+
'Semiring',
356+
'Set',
357+
'Show',
358+
'State',
359+
'StateReaderTaskEither',
360+
'StateT',
361+
'Store',
362+
'Strong',
363+
'Task',
364+
'TaskEither',
365+
'TaskThese',
366+
'These',
367+
'TheseT',
368+
'Traced',
369+
'Traversable',
370+
'TraversableWithIndex',
371+
'Tree',
372+
'Tuple',
373+
'Unfoldable',
374+
'ValidationT',
375+
'Witherable',
376+
'Writer',
377+
'WriterT',
378+
].map((subset) => {
379+
return {
380+
name: `fp-ts/lib/${subset}`,
381+
message: `Please, use fp-ts/${subset} to avoid duplicating the package import`,
382+
};
383+
}),
384+
{
385+
name: `fp-ts/lib`,
386+
message: `Please, use fp-ts to avoid duplicating the package import`,
387+
},
278388
];
279389

280390
module.exports = {

config/serverless.es.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ xpack.searchSynonyms.enabled: true
139139
xpack.searchQueryRules.enabled: false
140140

141141
## Search Connectors in stack management
142-
xpack.contentConnectors.enabled: false
142+
xpack.contentConnectors.ui.enabled: false

dev_docs/shared_ux/shared_ux_landing.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ layout: landing
5656
title: 'Kibana Page Template',
5757
description: "Learn how to use Kibana Page Template for your app's page layout",
5858
},
59+
{
60+
pageId: 'kibDevRenderingService',
61+
title: 'Core Rendering Service',
62+
description: 'Learn how to provide the Kibana global context in your React apps',
63+
},
5964
{
6065
pageId: 'kibDevReactKibanaContext',
6166
title: 'Kibana React Contexts',

docs/reference/kibana-audit-events.md

Lines changed: 117 additions & 117 deletions
Large diffs are not rendered by default.

oas_docs/bundle.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24161,6 +24161,93 @@
2416124161
]
2416224162
}
2416324163
},
24164+
"/api/fleet/epm/custom_integrations/{pkgName}": {
24165+
"put": {
24166+
"description": "[Required authorization] Route required privileges: fleet-settings-all AND integrations-all.",
24167+
"operationId": "put-fleet-epm-custom-integrations-pkgname",
24168+
"parameters": [
24169+
{
24170+
"description": "A required header to protect against CSRF attacks",
24171+
"in": "header",
24172+
"name": "kbn-xsrf",
24173+
"required": true,
24174+
"schema": {
24175+
"example": "true",
24176+
"type": "string"
24177+
}
24178+
},
24179+
{
24180+
"in": "path",
24181+
"name": "pkgName",
24182+
"required": true,
24183+
"schema": {
24184+
"type": "string"
24185+
}
24186+
}
24187+
],
24188+
"requestBody": {
24189+
"content": {
24190+
"application/json": {
24191+
"schema": {
24192+
"additionalProperties": false,
24193+
"properties": {
24194+
"categories": {
24195+
"items": {
24196+
"type": "string"
24197+
},
24198+
"type": "array"
24199+
},
24200+
"readMeData": {
24201+
"type": "string"
24202+
}
24203+
},
24204+
"required": [
24205+
"readMeData"
24206+
],
24207+
"type": "object"
24208+
}
24209+
}
24210+
}
24211+
},
24212+
"responses": {
24213+
"200": {},
24214+
"400": {
24215+
"content": {
24216+
"application/json": {
24217+
"schema": {
24218+
"additionalProperties": false,
24219+
"description": "Generic Error",
24220+
"properties": {
24221+
"attributes": {},
24222+
"error": {
24223+
"type": "string"
24224+
},
24225+
"errorType": {
24226+
"type": "string"
24227+
},
24228+
"message": {
24229+
"type": "string"
24230+
},
24231+
"statusCode": {
24232+
"type": "number"
24233+
}
24234+
},
24235+
"required": [
24236+
"message",
24237+
"attributes"
24238+
],
24239+
"type": "object"
24240+
}
24241+
}
24242+
}
24243+
}
24244+
},
24245+
"summary": "Update a custom integration",
24246+
"tags": [
24247+
"Elastic Package Manager (EPM)"
24248+
]
24249+
}
24250+
},
2416424251
"/api/fleet/epm/data_streams": {
2416524252
"get": {
2416624253
"description": "[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.",

oas_docs/bundle.serverless.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24161,6 +24161,93 @@
2416124161
]
2416224162
}
2416324163
},
24164+
"/api/fleet/epm/custom_integrations/{pkgName}": {
24165+
"put": {
24166+
"description": "[Required authorization] Route required privileges: fleet-settings-all AND integrations-all.",
24167+
"operationId": "put-fleet-epm-custom-integrations-pkgname",
24168+
"parameters": [
24169+
{
24170+
"description": "A required header to protect against CSRF attacks",
24171+
"in": "header",
24172+
"name": "kbn-xsrf",
24173+
"required": true,
24174+
"schema": {
24175+
"example": "true",
24176+
"type": "string"
24177+
}
24178+
},
24179+
{
24180+
"in": "path",
24181+
"name": "pkgName",
24182+
"required": true,
24183+
"schema": {
24184+
"type": "string"
24185+
}
24186+
}
24187+
],
24188+
"requestBody": {
24189+
"content": {
24190+
"application/json": {
24191+
"schema": {
24192+
"additionalProperties": false,
24193+
"properties": {
24194+
"categories": {
24195+
"items": {
24196+
"type": "string"
24197+
},
24198+
"type": "array"
24199+
},
24200+
"readMeData": {
24201+
"type": "string"
24202+
}
24203+
},
24204+
"required": [
24205+
"readMeData"
24206+
],
24207+
"type": "object"
24208+
}
24209+
}
24210+
}
24211+
},
24212+
"responses": {
24213+
"200": {},
24214+
"400": {
24215+
"content": {
24216+
"application/json": {
24217+
"schema": {
24218+
"additionalProperties": false,
24219+
"description": "Generic Error",
24220+
"properties": {
24221+
"attributes": {},
24222+
"error": {
24223+
"type": "string"
24224+
},
24225+
"errorType": {
24226+
"type": "string"
24227+
},
24228+
"message": {
24229+
"type": "string"
24230+
},
24231+
"statusCode": {
24232+
"type": "number"
24233+
}
24234+
},
24235+
"required": [
24236+
"message",
24237+
"attributes"
24238+
],
24239+
"type": "object"
24240+
}
24241+
}
24242+
}
24243+
}
24244+
},
24245+
"summary": "Update a custom integration",
24246+
"tags": [
24247+
"Elastic Package Manager (EPM)"
24248+
]
24249+
}
24250+
},
2416424251
"/api/fleet/epm/data_streams": {
2416524252
"get": {
2416624253
"description": "[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.",

oas_docs/output/kibana.serverless.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25575,6 +25575,63 @@ paths:
2557525575
summary: Create a custom integration
2557625576
tags:
2557725577
- Elastic Package Manager (EPM)
25578+
/api/fleet/epm/custom_integrations/{pkgName}:
25579+
put:
25580+
description: '[Required authorization] Route required privileges: fleet-settings-all AND integrations-all.'
25581+
operationId: put-fleet-epm-custom-integrations-pkgname
25582+
parameters:
25583+
- description: A required header to protect against CSRF attacks
25584+
in: header
25585+
name: kbn-xsrf
25586+
required: true
25587+
schema:
25588+
example: 'true'
25589+
type: string
25590+
- in: path
25591+
name: pkgName
25592+
required: true
25593+
schema:
25594+
type: string
25595+
requestBody:
25596+
content:
25597+
application/json:
25598+
schema:
25599+
additionalProperties: false
25600+
type: object
25601+
properties:
25602+
categories:
25603+
items:
25604+
type: string
25605+
type: array
25606+
readMeData:
25607+
type: string
25608+
required:
25609+
- readMeData
25610+
responses:
25611+
'200': {}
25612+
'400':
25613+
content:
25614+
application/json:
25615+
schema:
25616+
additionalProperties: false
25617+
description: Generic Error
25618+
type: object
25619+
properties:
25620+
attributes: {}
25621+
error:
25622+
type: string
25623+
errorType:
25624+
type: string
25625+
message:
25626+
type: string
25627+
statusCode:
25628+
type: number
25629+
required:
25630+
- message
25631+
- attributes
25632+
summary: Update a custom integration
25633+
tags:
25634+
- Elastic Package Manager (EPM)
2557825635
/api/fleet/epm/data_streams:
2557925636
get:
2558025637
description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.'

0 commit comments

Comments
 (0)