Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .buildkite/ftr_security_stateful_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ enabled:
- x-pack/platform/test/spaces_api_integration/deployment_agnostic/security_and_spaces/stateful.config_trial.ts
- x-pack/platform/test/spaces_api_integration/deployment_agnostic/security_and_spaces/stateful.copy_to_space.config_trial.ts
- x-pack/platform/test/spaces_api_integration/deployment_agnostic/security_and_spaces/stateful.copy_to_space.config_basic.ts
- x-pack/platform/test/automatic_import_v2_api_integration/configs/config.stateful.ts
- x-pack/solutions/security/test/alerting_api_integration/security_and_spaces/group2/config.ts
- x-pack/solutions/security/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts
- x-pack/solutions/security/test/cases_api_integration/security_and_spaces/config_trial.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@
*/

export type {
CreateAutoImportIntegrationRequestBody,
CreateAutoImportIntegrationResponse,
DeleteAutoImportIntegrationRequestParams,
GetAutoImportIntegrationRequestParams,
GetAutoImportIntegrationResponse,
GetAutoImportIntegrationsResponse,
UpdateAutoImportIntegrationRequestBody,
UpdateAutoImportIntegrationRequestParams,
} from './model/api/integrations/integration.gen';

export {
CreateAutoImportIntegrationRequestBody,
GetAutoImportIntegrationRequestParams,
} from './model/api/integrations/integration.gen';

export type { DataStreamSamples } from './model/index_samples.gen';

export type { Integration } from './model/common_attributes.gen';
export type { Integration, DataStream } from './model/common_attributes.gen';
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const CreateAutoImportIntegrationRequestBody = z
})
.strict()
)
.min(1),
.optional(),
})
.strict();
export type CreateAutoImportIntegrationRequestBodyInput = z.input<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ paths:
required:
- title
- description
- dataStreams
properties:
title:
description: The title of the integration
Expand All @@ -38,7 +37,6 @@ paths:
dataStreams:
description: The data streams of the integration
type: array
minItems: 1
items:
type: object
additionalProperties: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export const InputType = z.object({
*/
export type DataStream = z.infer<typeof DataStream>;
export const DataStream = z.object({
/**
* The data stream id
*/
data_stream_id: NonEmptyString.optional(),
/**
* The title of the data stream
*/
Expand All @@ -56,6 +60,10 @@ export const DataStream = z.object({
* The description of the data stream
*/
description: NonEmptyString.optional(),
/**
* The status of the data stream
*/
status: NonEmptyString.optional(),
/**
* The input types of the data stream
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ components:
allOf:
- type: object
properties:
data_stream_id:
description: The data stream id
$ref: '../../common/model/primitive.schema.yaml#/components/schemas/NonEmptyString'
title:
description: The title of the data stream
$ref: '../../common/model/primitive.schema.yaml#/components/schemas/NonEmptyString'
description:
description: The description of the data stream
$ref: '../../common/model/primitive.schema.yaml#/components/schemas/NonEmptyString'
status:
description: The status of the data stream # TODO: Add enum
$ref: '../../common/model/primitive.schema.yaml#/components/schemas/NonEmptyString'
inputTypes:
type: array
description: The input types of the data stream
Expand Down
Loading