From 46dfa5a424d3395db180410be3ed9b304cf9b93d Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 11:57:14 -0700 Subject: [PATCH 1/9] Update client --- generated/kbapi/kibana.gen.go | 21182 +++----------------------------- 1 file changed, 1875 insertions(+), 19307 deletions(-) diff --git a/generated/kbapi/kibana.gen.go b/generated/kbapi/kibana.gen.go index e76562d40..6614f9b5e 100644 --- a/generated/kbapi/kibana.gen.go +++ b/generated/kbapi/kibana.gen.go @@ -516,22 +516,6 @@ const ( SecurityAIAssistantAPIIndexEntryUpdateFieldsTypeIndex SecurityAIAssistantAPIIndexEntryUpdateFieldsType = "index" ) -// Defines values for SecurityAIAssistantAPIInputTextInterruptResumeValueType. -const ( - SecurityAIAssistantAPIInputTextInterruptResumeValueTypeINPUTTEXT SecurityAIAssistantAPIInputTextInterruptResumeValueType = "INPUT_TEXT" -) - -// Defines values for SecurityAIAssistantAPIInputTextInterruptValueType. -const ( - SecurityAIAssistantAPIInputTextInterruptValueTypeINPUTTEXT SecurityAIAssistantAPIInputTextInterruptValueType = "INPUT_TEXT" -) - -// Defines values for SecurityAIAssistantAPIInterruptType. -const ( - SecurityAIAssistantAPIInterruptTypeINPUTTEXT SecurityAIAssistantAPIInterruptType = "INPUT_TEXT" - SecurityAIAssistantAPIInterruptTypeSELECTOPTION SecurityAIAssistantAPIInterruptType = "SELECT_OPTION" -) - // Defines values for SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason. const ( KNOWLEDGEBASEENTRYNOTMODIFIED SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason = "KNOWLEDGE_BASE_ENTRY_NOT_MODIFIED" @@ -589,89 +573,18 @@ const ( SecurityAlertsPage SecurityAIAssistantAPISecurityAlertsPageContentReferenceType = "SecurityAlertsPage" ) -// Defines values for SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor. -const ( - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorAccent SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "accent" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorAccentSecondary SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "accentSecondary" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorDanger SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "danger" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorNeutral SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "neutral" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorPrimary SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "primary" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorRisk SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "risk" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorSuccess SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "success" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorText SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "text" - SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorWarning SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "warning" -) - -// Defines values for SecurityAIAssistantAPISelectOptionInterruptResumeValueType. -const ( - SecurityAIAssistantAPISelectOptionInterruptResumeValueTypeSELECTOPTION SecurityAIAssistantAPISelectOptionInterruptResumeValueType = "SELECT_OPTION" -) - -// Defines values for SecurityAIAssistantAPISelectOptionInterruptValueType. -const ( - SELECTOPTION SecurityAIAssistantAPISelectOptionInterruptValueType = "SELECT_OPTION" -) - // Defines values for SecurityAIAssistantAPISortOrder. const ( SecurityAIAssistantAPISortOrderAsc SecurityAIAssistantAPISortOrder = "asc" SecurityAIAssistantAPISortOrderDesc SecurityAIAssistantAPISortOrder = "desc" ) -// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen. -const ( - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhenOnActionGroupChange SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen = "onActionGroupChange" - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhenOnActiveAlert SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen = "onActiveAlert" - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhenOnThrottleInterval SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen = "onThrottleInterval" -) - -// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus. -const ( - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusActive SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "active" - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusError SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "error" - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusOk SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "ok" - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusUnknown SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "unknown" - SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusWarning SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "warning" -) - -// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField. +// Defines values for SecurityDetectionsAPIAlertStatus. const ( - SecurityAttackDiscoveryAPIAttackDiscoveryFindSortFieldTimestamp SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField = "@timestamp" -) - -// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus. -const ( - SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusCanceled SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "canceled" - SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusDismissed SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "dismissed" - SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusFailed SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "failed" - SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusStarted SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "started" - SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusSucceeded SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "succeeded" -) - -// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction. -const ( - InvokeAI SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction = "invokeAI" - InvokeStream SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction = "invokeStream" -) - -// Defines values for SecurityAttackDiscoveryAPIProvider. -const ( - SecurityAttackDiscoveryAPIProviderAzureOpenAI SecurityAttackDiscoveryAPIProvider = "Azure OpenAI" - SecurityAttackDiscoveryAPIProviderOpenAI SecurityAttackDiscoveryAPIProvider = "OpenAI" - SecurityAttackDiscoveryAPIProviderOther SecurityAttackDiscoveryAPIProvider = "Other" -) - -// Defines values for SecurityAttackDiscoveryAPISortOrder. -const ( - SecurityAttackDiscoveryAPISortOrderAsc SecurityAttackDiscoveryAPISortOrder = "asc" - SecurityAttackDiscoveryAPISortOrderDesc SecurityAttackDiscoveryAPISortOrder = "desc" -) - -// Defines values for SecurityDetectionsAPIAlertStatusExceptClosed. -const ( - SecurityDetectionsAPIAlertStatusExceptClosedAcknowledged SecurityDetectionsAPIAlertStatusExceptClosed = "acknowledged" - SecurityDetectionsAPIAlertStatusExceptClosedInProgress SecurityDetectionsAPIAlertStatusExceptClosed = "in-progress" - SecurityDetectionsAPIAlertStatusExceptClosedOpen SecurityDetectionsAPIAlertStatusExceptClosed = "open" + SecurityDetectionsAPIAlertStatusAcknowledged SecurityDetectionsAPIAlertStatus = "acknowledged" + SecurityDetectionsAPIAlertStatusClosed SecurityDetectionsAPIAlertStatus = "closed" + SecurityDetectionsAPIAlertStatusInProgress SecurityDetectionsAPIAlertStatus = "in-progress" + SecurityDetectionsAPIAlertStatusOpen SecurityDetectionsAPIAlertStatus = "open" ) // Defines values for SecurityDetectionsAPIAlertSuppressionDurationUnit. @@ -765,7 +678,7 @@ const ( // Defines values for SecurityDetectionsAPIBulkDuplicateRulesAction. const ( - SecurityDetectionsAPIBulkDuplicateRulesActionDuplicate SecurityDetectionsAPIBulkDuplicateRulesAction = "duplicate" + Duplicate SecurityDetectionsAPIBulkDuplicateRulesAction = "duplicate" ) // Defines values for SecurityDetectionsAPIBulkEditRulesAction. @@ -803,22 +716,6 @@ const ( Run SecurityDetectionsAPIBulkManualRuleRunAction = "run" ) -// Defines values for SecurityDetectionsAPICloseAlertsByIdsStatus. -const ( - SecurityDetectionsAPICloseAlertsByIdsStatusClosed SecurityDetectionsAPICloseAlertsByIdsStatus = "closed" -) - -// Defines values for SecurityDetectionsAPICloseAlertsByQueryConflicts. -const ( - SecurityDetectionsAPICloseAlertsByQueryConflictsAbort SecurityDetectionsAPICloseAlertsByQueryConflicts = "abort" - SecurityDetectionsAPICloseAlertsByQueryConflictsProceed SecurityDetectionsAPICloseAlertsByQueryConflicts = "proceed" -) - -// Defines values for SecurityDetectionsAPICloseAlertsByQueryStatus. -const ( - SecurityDetectionsAPICloseAlertsByQueryStatusClosed SecurityDetectionsAPICloseAlertsByQueryStatus = "closed" -) - // Defines values for SecurityDetectionsAPIDefaultParamsCommand. const ( SecurityDetectionsAPIDefaultParamsCommandIsolate SecurityDetectionsAPIDefaultParamsCommand = "isolate" @@ -1112,16 +1009,6 @@ const ( SecurityDetectionsAPIQueryRuleUpdatePropsTypeQuery SecurityDetectionsAPIQueryRuleUpdatePropsType = "query" ) -// Defines values for SecurityDetectionsAPIReasonEnum. -const ( - SecurityDetectionsAPIReasonEnumAutomatedClosure SecurityDetectionsAPIReasonEnum = "automated_closure" - SecurityDetectionsAPIReasonEnumBenignPositive SecurityDetectionsAPIReasonEnum = "benign_positive" - SecurityDetectionsAPIReasonEnumDuplicate SecurityDetectionsAPIReasonEnum = "duplicate" - SecurityDetectionsAPIReasonEnumFalsePositive SecurityDetectionsAPIReasonEnum = "false_positive" - SecurityDetectionsAPIReasonEnumOther SecurityDetectionsAPIReasonEnum = "other" - SecurityDetectionsAPIReasonEnumTruePositive SecurityDetectionsAPIReasonEnum = "true_positive" -) - // Defines values for SecurityDetectionsAPIRiskScoreMappingOperator. const ( SecurityDetectionsAPIRiskScoreMappingOperatorEquals SecurityDetectionsAPIRiskScoreMappingOperator = "equals" @@ -1208,10 +1095,10 @@ const ( SecurityDetectionsAPISavedQueryRuleUpdatePropsTypeSavedQuery SecurityDetectionsAPISavedQueryRuleUpdatePropsType = "saved_query" ) -// Defines values for SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts. +// Defines values for SecurityDetectionsAPISetAlertsStatusByQueryConflicts. const ( - SecurityDetectionsAPISetAlertsStatusByQueryBaseConflictsAbort SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts = "abort" - SecurityDetectionsAPISetAlertsStatusByQueryBaseConflictsProceed SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts = "proceed" + Abort SecurityDetectionsAPISetAlertsStatusByQueryConflicts = "abort" + Proceed SecurityDetectionsAPISetAlertsStatusByQueryConflicts = "proceed" ) // Defines values for SecurityDetectionsAPISeverity. @@ -1429,23 +1316,21 @@ const ( // Defines values for SecurityEndpointManagementAPICommand. const ( - SecurityEndpointManagementAPICommandCancel SecurityEndpointManagementAPICommand = "cancel" SecurityEndpointManagementAPICommandExecute SecurityEndpointManagementAPICommand = "execute" SecurityEndpointManagementAPICommandGetFile SecurityEndpointManagementAPICommand = "get-file" SecurityEndpointManagementAPICommandIsolate SecurityEndpointManagementAPICommand = "isolate" SecurityEndpointManagementAPICommandKillProcess SecurityEndpointManagementAPICommand = "kill-process" SecurityEndpointManagementAPICommandRunningProcesses SecurityEndpointManagementAPICommand = "running-processes" - SecurityEndpointManagementAPICommandRunscript SecurityEndpointManagementAPICommand = "runscript" SecurityEndpointManagementAPICommandScan SecurityEndpointManagementAPICommand = "scan" SecurityEndpointManagementAPICommandSuspendProcess SecurityEndpointManagementAPICommand = "suspend-process" SecurityEndpointManagementAPICommandUnisolate SecurityEndpointManagementAPICommand = "unisolate" SecurityEndpointManagementAPICommandUpload SecurityEndpointManagementAPICommand = "upload" ) -// Defines values for SecurityEndpointManagementAPIResponseActionDetailsOutputsType. +// Defines values for SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType. const ( - SecurityEndpointManagementAPIResponseActionDetailsOutputsTypeJson SecurityEndpointManagementAPIResponseActionDetailsOutputsType = "json" - SecurityEndpointManagementAPIResponseActionDetailsOutputsTypeText SecurityEndpointManagementAPIResponseActionDetailsOutputsType = "text" + SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsTypeJson SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType = "json" + SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsTypeText SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType = "text" ) // Defines values for SecurityEndpointManagementAPISortDirection. @@ -1493,11 +1378,9 @@ const ( // Defines values for SecurityEntityAnalyticsAPIEngineComponentResource. const ( SecurityEntityAnalyticsAPIEngineComponentResourceComponentTemplate SecurityEntityAnalyticsAPIEngineComponentResource = "component_template" - SecurityEntityAnalyticsAPIEngineComponentResourceDataStream SecurityEntityAnalyticsAPIEngineComponentResource = "data_stream" SecurityEntityAnalyticsAPIEngineComponentResourceEnrichPolicy SecurityEntityAnalyticsAPIEngineComponentResource = "enrich_policy" SecurityEntityAnalyticsAPIEngineComponentResourceEntityDefinition SecurityEntityAnalyticsAPIEngineComponentResource = "entity_definition" SecurityEntityAnalyticsAPIEngineComponentResourceEntityEngine SecurityEntityAnalyticsAPIEngineComponentResource = "entity_engine" - SecurityEntityAnalyticsAPIEngineComponentResourceIlmPolicy SecurityEntityAnalyticsAPIEngineComponentResource = "ilm_policy" SecurityEntityAnalyticsAPIEngineComponentResourceIndex SecurityEntityAnalyticsAPIEngineComponentResource = "index" SecurityEntityAnalyticsAPIEngineComponentResourceIndexTemplate SecurityEntityAnalyticsAPIEngineComponentResource = "index_template" SecurityEntityAnalyticsAPIEngineComponentResourceIngestPipeline SecurityEntityAnalyticsAPIEngineComponentResource = "ingest_pipeline" @@ -1892,7 +1775,7 @@ const ( // Defines values for GenaiOpenaiOtherConfigApiProvider. const ( - GenaiOpenaiOtherConfigApiProviderOther GenaiOpenaiOtherConfigApiProvider = "Other" + Other GenaiOpenaiOtherConfigApiProvider = "Other" ) // Defines values for GenaiOpenaiOtherConfigVerificationMode. @@ -2196,9 +2079,9 @@ const ( // Defines values for PackageListItemInstallationInfoInstallStatus. const ( - InstallFailed PackageListItemInstallationInfoInstallStatus = "install_failed" - Installed PackageListItemInstallationInfoInstallStatus = "installed" - Installing PackageListItemInstallationInfoInstallStatus = "installing" + PackageListItemInstallationInfoInstallStatusInstallFailed PackageListItemInstallationInfoInstallStatus = "install_failed" + PackageListItemInstallationInfoInstallStatusInstalled PackageListItemInstallationInfoInstallStatus = "installed" + PackageListItemInstallationInfoInstallStatusInstalling PackageListItemInstallationInfoInstallStatus = "installing" ) // Defines values for PackageListItemInstallationInfoInstalledEsType. @@ -2936,13 +2819,6 @@ const ( CasesStatusOpen CasesStatus = "open" ) -// Defines values for PostAgentBuilderToolsJSONBodyType. -const ( - PostAgentBuilderToolsJSONBodyTypeEsql PostAgentBuilderToolsJSONBodyType = "esql" - PostAgentBuilderToolsJSONBodyTypeIndexSearch PostAgentBuilderToolsJSONBodyType = "index_search" - PostAgentBuilderToolsJSONBodyTypeWorkflow PostAgentBuilderToolsJSONBodyType = "workflow" -) - // Defines values for PostAlertingRuleIdJSONBodyActionsAlertsFilterQueryFiltersStateStore. const ( PostAlertingRuleIdJSONBodyActionsAlertsFilterQueryFiltersStateStoreAppState PostAlertingRuleIdJSONBodyActionsAlertsFilterQueryFiltersStateStore = "appState" @@ -3000,9 +2876,9 @@ const ( // Defines values for PutAlertingRuleIdJSONBodyNotifyWhen. const ( - PutAlertingRuleIdJSONBodyNotifyWhenOnActionGroupChange PutAlertingRuleIdJSONBodyNotifyWhen = "onActionGroupChange" - PutAlertingRuleIdJSONBodyNotifyWhenOnActiveAlert PutAlertingRuleIdJSONBodyNotifyWhen = "onActiveAlert" - PutAlertingRuleIdJSONBodyNotifyWhenOnThrottleInterval PutAlertingRuleIdJSONBodyNotifyWhen = "onThrottleInterval" + OnActionGroupChange PutAlertingRuleIdJSONBodyNotifyWhen = "onActionGroupChange" + OnActiveAlert PutAlertingRuleIdJSONBodyNotifyWhen = "onActiveAlert" + OnThrottleInterval PutAlertingRuleIdJSONBodyNotifyWhen = "onThrottleInterval" ) // Defines values for GetAlertingRulesFindParamsDefaultSearchOperator. @@ -3099,10 +2975,10 @@ const ( // Defines values for FindAssetCriticalityRecordsParamsSortField. const ( - FindAssetCriticalityRecordsParamsSortFieldCriticalityLevel FindAssetCriticalityRecordsParamsSortField = "criticality_level" - FindAssetCriticalityRecordsParamsSortFieldIdField FindAssetCriticalityRecordsParamsSortField = "id_field" - FindAssetCriticalityRecordsParamsSortFieldIdValue FindAssetCriticalityRecordsParamsSortField = "id_value" - FindAssetCriticalityRecordsParamsSortFieldTimestamp FindAssetCriticalityRecordsParamsSortField = "@timestamp" + CriticalityLevel FindAssetCriticalityRecordsParamsSortField = "criticality_level" + IdField FindAssetCriticalityRecordsParamsSortField = "id_field" + IdValue FindAssetCriticalityRecordsParamsSortField = "id_value" + Timestamp FindAssetCriticalityRecordsParamsSortField = "@timestamp" ) // Defines values for FindAssetCriticalityRecordsParamsSortDirection. @@ -3111,32 +2987,6 @@ const ( FindAssetCriticalityRecordsParamsSortDirectionDesc FindAssetCriticalityRecordsParamsSortDirection = "desc" ) -// Defines values for PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus. -const ( - PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatusAcknowledged PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus = "acknowledged" - PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatusClosed PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus = "closed" - PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatusOpen PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus = "open" -) - -// Defines values for PostAttackDiscoveryBulkJSONBodyUpdateVisibility. -const ( - NotShared PostAttackDiscoveryBulkJSONBodyUpdateVisibility = "not_shared" - Shared PostAttackDiscoveryBulkJSONBodyUpdateVisibility = "shared" -) - -// Defines values for AttackDiscoveryFindParamsStatus. -const ( - AttackDiscoveryFindParamsStatusAcknowledged AttackDiscoveryFindParamsStatus = "acknowledged" - AttackDiscoveryFindParamsStatusClosed AttackDiscoveryFindParamsStatus = "closed" - AttackDiscoveryFindParamsStatusOpen AttackDiscoveryFindParamsStatus = "open" -) - -// Defines values for FindAttackDiscoverySchedulesParamsSortDirection. -const ( - FindAttackDiscoverySchedulesParamsSortDirectionAsc FindAttackDiscoverySchedulesParamsSortDirection = "asc" - FindAttackDiscoverySchedulesParamsSortDirectionDesc FindAttackDiscoverySchedulesParamsSortDirection = "desc" -) - // Defines values for FindCasesDefaultSpaceParamsSeverity. const ( FindCasesDefaultSpaceParamsSeverityCritical FindCasesDefaultSpaceParamsSeverity = "critical" @@ -3237,7 +3087,7 @@ const ( // Defines values for RulePreviewJSONBody7Type. const ( - RulePreviewJSONBody7TypeEsql RulePreviewJSONBody7Type = "esql" + Esql RulePreviewJSONBody7Type = "esql" ) // Defines values for FindEndpointListItemsParamsSortOrder. @@ -3326,12 +3176,6 @@ const ( PostFleetAgentPoliciesAgentpolicyidCopyParamsFormatSimplified PostFleetAgentPoliciesAgentpolicyidCopyParamsFormat = "simplified" ) -// Defines values for PostFleetAgentlessPoliciesParamsFormat. -const ( - PostFleetAgentlessPoliciesParamsFormatLegacy PostFleetAgentlessPoliciesParamsFormat = "legacy" - PostFleetAgentlessPoliciesParamsFormatSimplified PostFleetAgentlessPoliciesParamsFormat = "simplified" -) - // Defines values for GetFleetAgentsParamsSortOrder. const ( GetFleetAgentsParamsSortOrderAsc GetFleetAgentsParamsSortOrder = "asc" @@ -3368,13 +3212,6 @@ const ( PostFleetAgentsAgentidRequestDiagnosticsJSONBodyAdditionalMetricsCPU PostFleetAgentsAgentidRequestDiagnosticsJSONBodyAdditionalMetrics = "CPU" ) -// Defines values for PostFleetCloudConnectorsJSONBodyCloudProvider. -const ( - Aws PostFleetCloudConnectorsJSONBodyCloudProvider = "aws" - Azure PostFleetCloudConnectorsJSONBodyCloudProvider = "azure" - Gcp PostFleetCloudConnectorsJSONBodyCloudProvider = "gcp" -) - // Defines values for PostFleetEpmCustomIntegrationsJSONBodyDatasetsType. const ( PostFleetEpmCustomIntegrationsJSONBodyDatasetsTypeLogs PostFleetEpmCustomIntegrationsJSONBodyDatasetsType = "logs" @@ -3467,8 +3304,8 @@ const ( // Defines values for PutFleetPackagePoliciesPackagepolicyidParamsFormat. const ( - Legacy PutFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy" - Simplified PutFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified" + PutFleetPackagePoliciesPackagepolicyidParamsFormatLegacy PutFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy" + PutFleetPackagePoliciesPackagepolicyidParamsFormatSimplified PutFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified" ) // Defines values for FindListsParamsSortOrder. @@ -3511,21 +3348,6 @@ const ( ImportListItemsParamsRefreshWaitFor ImportListItemsParamsRefresh = "wait_for" ) -// Defines values for GetMaintenanceWindowFindParamsStatus. -const ( - Archived GetMaintenanceWindowFindParamsStatus = "archived" - Finished GetMaintenanceWindowFindParamsStatus = "finished" - Running GetMaintenanceWindowFindParamsStatus = "running" - Upcoming GetMaintenanceWindowFindParamsStatus = "upcoming" -) - -// Defines values for ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes. -const ( - ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypesHost ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes = "host" - ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypesService ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes = "service" - ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypesUser ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes = "user" -) - // Defines values for PostSecurityRoleQueryJSONBodySortDirection. const ( PostSecurityRoleQueryJSONBodySortDirectionAsc PostSecurityRoleQueryJSONBodySortDirection = "asc" @@ -3583,56 +3405,22 @@ const ( // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps03ActionDropDocument PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action = "drop_document" + PutStreamsNameJSONBody00StreamIngestProcessingSteps03ActionRename PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action = "rename" ) // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps04ActionRename PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action = "rename" + PutStreamsNameJSONBody00StreamIngestProcessingSteps04ActionSet PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action = "set" ) // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps05ActionSet PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action = "set" + PutStreamsNameJSONBody00StreamIngestProcessingSteps05ActionAppend PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action = "append" ) // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps06ActionAppend PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action = "append" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps07ActionRemoveByPrefix PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps08ActionRemove PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action = "remove" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps09ActionConvert PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action = "convert" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeBoolean PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "boolean" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeDouble PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "double" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeInteger PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "integer" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeLong PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "long" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeString PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "string" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps010ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action = "manual_ingest_pipeline" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 = -1 + PutStreamsNameJSONBody00StreamIngestProcessingSteps06ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action = "manual_ingest_pipeline" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action. @@ -3652,56 +3440,22 @@ const ( // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps03ActionDropDocument PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action = "drop_document" + PutStreamsNameJSONBody01StreamIngestProcessingSteps03ActionRename PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action = "rename" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps04ActionRename PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action = "rename" + PutStreamsNameJSONBody01StreamIngestProcessingSteps04ActionSet PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action = "set" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps05ActionSet PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action = "set" + PutStreamsNameJSONBody01StreamIngestProcessingSteps05ActionAppend PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action = "append" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps06ActionAppend PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action = "append" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps07ActionRemoveByPrefix PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps08ActionRemove PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action = "remove" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps09ActionConvert PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action = "convert" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeBoolean PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "boolean" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeDouble PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "double" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeInteger PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "integer" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeLong PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "long" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeString PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "string" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps010ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action = "manual_ingest_pipeline" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 = -1 + PutStreamsNameJSONBody01StreamIngestProcessingSteps06ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action = "manual_ingest_pipeline" ) // Defines values for PostStreamsNameForkJSONBodyStatus. @@ -3727,56 +3481,22 @@ const ( // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03ActionDropDocument PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action = "drop_document" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03ActionRename PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action = "rename" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04ActionRename PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action = "rename" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04ActionSet PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action = "set" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05ActionSet PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action = "set" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05ActionAppend PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action = "append" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06ActionAppend PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action = "append" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07ActionRemoveByPrefix PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08ActionRemove PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action = "remove" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09ActionConvert PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action = "convert" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeBoolean PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "boolean" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeDouble PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "double" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeInteger PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "integer" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeLong PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "long" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeString PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "string" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action = "manual_ingest_pipeline" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 = -1 + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action = "manual_ingest_pipeline" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus. @@ -3802,56 +3522,22 @@ const ( // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03ActionDropDocument PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action = "drop_document" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03ActionRename PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action = "rename" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04ActionRename PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action = "rename" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04ActionSet PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action = "set" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05ActionSet PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action = "set" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05ActionAppend PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action = "append" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06ActionAppend PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action = "append" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07ActionRemoveByPrefix PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08ActionRemove PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action = "remove" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09ActionConvert PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action = "convert" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeBoolean PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "boolean" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeDouble PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "double" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeInteger PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "integer" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeLong PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "long" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeString PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "string" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action = "manual_ingest_pipeline" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 = -1 + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action = "manual_ingest_pipeline" ) // Defines values for GetSyntheticMonitorsParamsMonitorTypes0. @@ -3902,10 +3588,10 @@ const ( // Defines values for FindSlosOpParamsSortBy. const ( - FindSlosOpParamsSortByErrorBudgetConsumed FindSlosOpParamsSortBy = "error_budget_consumed" - FindSlosOpParamsSortByErrorBudgetRemaining FindSlosOpParamsSortBy = "error_budget_remaining" - FindSlosOpParamsSortBySliValue FindSlosOpParamsSortBy = "sli_value" - FindSlosOpParamsSortByStatus FindSlosOpParamsSortBy = "status" + ErrorBudgetConsumed FindSlosOpParamsSortBy = "error_budget_consumed" + ErrorBudgetRemaining FindSlosOpParamsSortBy = "error_budget_remaining" + SliValue FindSlosOpParamsSortBy = "sli_value" + Status FindSlosOpParamsSortBy = "status" ) // Defines values for FindSlosOpParamsSortDirection. @@ -5606,7 +5292,7 @@ type DataViews404ResponseError string // DataViews404ResponseStatusCode defines model for DataViews404Response.StatusCode. type DataViews404ResponseStatusCode int -// DataViewsAllownoindex Allows the data view saved object to exist before the data is available. Defaults to `false`. +// DataViewsAllownoindex Allows the data view saved object to exist before the data is available. type DataViewsAllownoindex = bool // DataViewsCreateDataViewRequestObject defines model for Data_views_create_data_view_request_object. @@ -5620,7 +5306,7 @@ type DataViewsCreateDataViewRequestObject struct { // DataViewsCreateDataViewRequestObjectInner The data view object. type DataViewsCreateDataViewRequestObjectInner struct { - // AllowNoIndex Allows the data view saved object to exist before the data is available. Defaults to `false`. + // AllowNoIndex Allows the data view saved object to exist before the data is available. AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"` FieldAttrs *map[string]DataViewsFieldattrs `json:"fieldAttrs,omitempty"` @@ -5660,7 +5346,7 @@ type DataViewsDataViewResponseObject struct { // DataViewsDataViewResponseObjectInner defines model for Data_views_data_view_response_object_inner. type DataViewsDataViewResponseObjectInner struct { - // AllowNoIndex Allows the data view saved object to exist before the data is available. Defaults to `false`. + // AllowNoIndex Allows the data view saved object to exist before the data is available. AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"` FieldAttrs *map[string]DataViewsFieldattrs `json:"fieldAttrs,omitempty"` @@ -5842,7 +5528,7 @@ type DataViewsUpdateDataViewRequestObject struct { // DataViewsUpdateDataViewRequestObjectInner The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted. type DataViewsUpdateDataViewRequestObjectInner struct { - // AllowNoIndex Allows the data view saved object to exist before the data is available. Defaults to `false`. + // AllowNoIndex Allows the data view saved object to exist before the data is available. AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"` // FieldFormats A map of field formats by field name. @@ -6216,15 +5902,6 @@ type SLOs409Response struct { StatusCode float32 `json:"statusCode"` } -// SLOsArtifacts Links to related assets for the SLO -type SLOsArtifacts struct { - // Dashboards Array of dashboard references - Dashboards *[]struct { - // Id Dashboard saved-object id - Id string `json:"id"` - } `json:"dashboards,omitempty"` -} - // SLOsBudgetingMethod The budgeting method to use when computing the rollup data. type SLOsBudgetingMethod string @@ -6307,9 +5984,6 @@ type SLOsBulkPurgeRollupResponse struct { // SLOsCreateSloRequest The create SLO API request body varies depending on the type of indicator, time window and budgeting method. type SLOsCreateSloRequest struct { - // Artifacts Links to related assets for the SLO - Artifacts *SLOsArtifacts `json:"artifacts,omitempty"` - // BudgetingMethod The budgeting method to use when computing the rollup data. BudgetingMethod SLOsBudgetingMethod `json:"budgetingMethod"` @@ -6827,9 +6501,6 @@ type SLOsSettings struct { // SLOsSloDefinitionResponse defines model for SLOs_slo_definition_response. type SLOsSloDefinitionResponse struct { - // Artifacts Links to related assets for the SLO - Artifacts *SLOsArtifacts `json:"artifacts,omitempty"` - // BudgetingMethod The budgeting method to use when computing the rollup data. BudgetingMethod SLOsBudgetingMethod `json:"budgetingMethod"` @@ -7014,9 +6685,6 @@ type SLOsTimesliceMetricPercentileMetricAggregation string // SLOsUpdateSloRequest The update SLO API request body varies depending on the type of indicator, time window and budgeting method. Partial update is handled. type SLOsUpdateSloRequest struct { - // Artifacts Links to related assets for the SLO - Artifacts *SLOsArtifacts `json:"artifacts,omitempty"` - // BudgetingMethod The budgeting method to use when computing the rollup data. BudgetingMethod *SLOsBudgetingMethod `json:"budgetingMethod,omitempty"` @@ -7212,24 +6880,6 @@ type SecurityAIAssistantAPIBaseContentReference struct { Type string `json:"type"` } -// SecurityAIAssistantAPIBaseInterruptResumeValue The basis of an interrupt resume value -type SecurityAIAssistantAPIBaseInterruptResumeValue struct { - // Type The type of interrupt - Type SecurityAIAssistantAPIInterruptType `json:"type"` -} - -// SecurityAIAssistantAPIBaseInterruptValue The basis of an agent interrupt -type SecurityAIAssistantAPIBaseInterruptValue struct { - // Expired Whether the interrupt has expired and can no longer be resumed. - Expired *bool `json:"expired,omitempty"` - - // ThreadId Thread ID of the graph execution that produced this message. - ThreadId string `json:"threadId"` - - // Type The type of interrupt - Type SecurityAIAssistantAPIInterruptType `json:"type"` -} - // SecurityAIAssistantAPIBulkCrudActionSummary defines model for Security_AI_Assistant_API_BulkCrudActionSummary. type SecurityAIAssistantAPIBulkCrudActionSummary struct { // Failed The number of failed actions. @@ -7830,49 +7480,6 @@ type SecurityAIAssistantAPIInputSchema = []struct { FieldType string `json:"fieldType"` } -// SecurityAIAssistantAPIInputTextInterruptResumeValue defines model for Security_AI_Assistant_API_InputTextInterruptResumeValue. -type SecurityAIAssistantAPIInputTextInterruptResumeValue struct { - Type SecurityAIAssistantAPIInputTextInterruptResumeValueType `json:"type"` - - // Value Text value used to resume the graph execution with. - Value string `json:"value"` -} - -// SecurityAIAssistantAPIInputTextInterruptResumeValueType defines model for SecurityAIAssistantAPIInputTextInterruptResumeValue.Type. -type SecurityAIAssistantAPIInputTextInterruptResumeValueType string - -// SecurityAIAssistantAPIInputTextInterruptValue defines model for Security_AI_Assistant_API_InputTextInterruptValue. -type SecurityAIAssistantAPIInputTextInterruptValue struct { - // Description Description of action required - Description *string `json:"description,omitempty"` - - // Expired Whether the interrupt has expired and can no longer be resumed. - Expired *bool `json:"expired,omitempty"` - - // Placeholder Placeholder text for the input field - Placeholder *string `json:"placeholder,omitempty"` - - // ThreadId Thread ID of the graph execution that produced this message. - ThreadId string `json:"threadId"` - Type SecurityAIAssistantAPIInputTextInterruptValueType `json:"type"` -} - -// SecurityAIAssistantAPIInputTextInterruptValueType defines model for SecurityAIAssistantAPIInputTextInterruptValue.Type. -type SecurityAIAssistantAPIInputTextInterruptValueType string - -// SecurityAIAssistantAPIInterruptResumeValue Union of the interrupt resume values -type SecurityAIAssistantAPIInterruptResumeValue struct { - union json.RawMessage -} - -// SecurityAIAssistantAPIInterruptType The type of interrupt -type SecurityAIAssistantAPIInterruptType string - -// SecurityAIAssistantAPIInterruptValue Union of the interrupt values -type SecurityAIAssistantAPIInterruptValue struct { - union json.RawMessage -} - // SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason Reason why a Knowledge Base Entry was skipped during the bulk action. type SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason string @@ -8041,12 +7648,6 @@ type SecurityAIAssistantAPIMessageData map[string]interface{} type SecurityAIAssistantAPIMessageMetadata struct { // ContentReferences A union of all content reference types ContentReferences *SecurityAIAssistantAPIContentReferences `json:"contentReferences,omitempty"` - - // InterruptResumeValue Union of the interrupt resume values - InterruptResumeValue *SecurityAIAssistantAPIInterruptResumeValue `json:"interruptResumeValue,omitempty"` - - // InterruptValue Union of the interrupt values - InterruptValue *SecurityAIAssistantAPIInterruptValue `json:"interruptValue,omitempty"` } // SecurityAIAssistantAPIMessageRole Message role. @@ -8334,46 +7935,6 @@ type SecurityAIAssistantAPISecurityAlertsPageContentReference struct { // SecurityAIAssistantAPISecurityAlertsPageContentReferenceType defines model for SecurityAIAssistantAPISecurityAlertsPageContentReference.Type. type SecurityAIAssistantAPISecurityAlertsPageContentReferenceType string -// SecurityAIAssistantAPISelectOptionInterruptOption A request approval option -type SecurityAIAssistantAPISelectOptionInterruptOption struct { - ButtonColor *SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor `json:"buttonColor,omitempty"` - Label string `json:"label"` - Value string `json:"value"` -} - -// SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor defines model for SecurityAIAssistantAPISelectOptionInterruptOption.ButtonColor. -type SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor string - -// SecurityAIAssistantAPISelectOptionInterruptResumeValue defines model for Security_AI_Assistant_API_SelectOptionInterruptResumeValue. -type SecurityAIAssistantAPISelectOptionInterruptResumeValue struct { - Type SecurityAIAssistantAPISelectOptionInterruptResumeValueType `json:"type"` - - // Value The value of the selected option to resume the graph execution with - Value string `json:"value"` -} - -// SecurityAIAssistantAPISelectOptionInterruptResumeValueType defines model for SecurityAIAssistantAPISelectOptionInterruptResumeValue.Type. -type SecurityAIAssistantAPISelectOptionInterruptResumeValueType string - -// SecurityAIAssistantAPISelectOptionInterruptValue defines model for Security_AI_Assistant_API_SelectOptionInterruptValue. -type SecurityAIAssistantAPISelectOptionInterruptValue struct { - // Description Description of action required - Description string `json:"description"` - - // Expired Whether the interrupt has expired and can no longer be resumed. - Expired *bool `json:"expired,omitempty"` - - // Options List of actions to choose from - Options []SecurityAIAssistantAPISelectOptionInterruptOption `json:"options"` - - // ThreadId Thread ID of the graph execution that produced this message. - ThreadId string `json:"threadId"` - Type SecurityAIAssistantAPISelectOptionInterruptValueType `json:"type"` -} - -// SecurityAIAssistantAPISelectOptionInterruptValueType defines model for SecurityAIAssistantAPISelectOptionInterruptValue.Type. -type SecurityAIAssistantAPISelectOptionInterruptValueType string - // SecurityAIAssistantAPISortOrder The order in which results are sorted. type SecurityAIAssistantAPISortOrder string @@ -8404,474 +7965,6 @@ type SecurityAIAssistantAPIVector struct { Tokens map[string]float32 `json:"tokens"` } -// SecurityAttackDiscoveryAPIAnonymizationFieldResponse defines model for Security_Attack_discovery_API_AnonymizationFieldResponse. -type SecurityAttackDiscoveryAPIAnonymizationFieldResponse struct { - // Allowed Whether this field is allowed to be sent to the model. - Allowed *bool `json:"allowed,omitempty"` - - // Anonymized Whether this field should be anonymized. - Anonymized *bool `json:"anonymized,omitempty"` - - // CreatedAt Timestamp of when the anonymization field was created. - CreatedAt *string `json:"createdAt,omitempty"` - - // CreatedBy Username of the person who created the anonymization field. - CreatedBy *string `json:"createdBy,omitempty"` - - // Field Name of the anonymization field. - Field string `json:"field"` - - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` - - // Namespace Kibana space in which this anonymization field exists. - Namespace *string `json:"namespace,omitempty"` - - // Timestamp A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters. - Timestamp *SecurityAttackDiscoveryAPINonEmptyTimestamp `json:"timestamp,omitempty"` - - // UpdatedAt Timestamp of the last update. - UpdatedAt *string `json:"updatedAt,omitempty"` - - // UpdatedBy Username of the person who last updated the field. - UpdatedBy *string `json:"updatedBy,omitempty"` -} - -// SecurityAttackDiscoveryAPIApiConfig defines model for Security_Attack_discovery_API_ApiConfig. -type SecurityAttackDiscoveryAPIApiConfig struct { - // ActionTypeId Action type ID - ActionTypeId string `json:"actionTypeId"` - - // ConnectorId Connector ID - ConnectorId string `json:"connectorId"` - - // DefaultSystemPromptId Default system prompt ID - DefaultSystemPromptId *string `json:"defaultSystemPromptId,omitempty"` - - // Model Model - Model *string `json:"model,omitempty"` - - // Provider Provider - Provider *SecurityAttackDiscoveryAPIProvider `json:"provider,omitempty"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert An attack discovery that's also an alert (Public API with snake_case) -type SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert struct { - // AlertIds The alert IDs that the attack discovery is based on - AlertIds []string `json:"alert_ids"` - - // AlertRuleUuid The optional kibana.alert.rule.uuid of the rule that generated this attack discovery (not applicable to ad hock runs) - AlertRuleUuid *string `json:"alert_rule_uuid,omitempty"` - - // AlertStart The optional time the attack discovery alert was created - AlertStart *string `json:"alert_start,omitempty"` - - // AlertUpdatedAt The optional time the attack discovery alert was last updated - AlertUpdatedAt *string `json:"alert_updated_at,omitempty"` - - // AlertUpdatedByUserId The optional id of the user who last updated the attack discovery alert - AlertUpdatedByUserId *string `json:"alert_updated_by_user_id,omitempty"` - - // AlertUpdatedByUserName The optional username of the user who updated the attack discovery alert - AlertUpdatedByUserName *string `json:"alert_updated_by_user_name,omitempty"` - - // AlertWorkflowStatus The optional kibana.alert.workflow_status of this attack discovery - AlertWorkflowStatus *string `json:"alert_workflow_status,omitempty"` - - // AlertWorkflowStatusUpdatedAt The optional time the attack discovery alert workflow status was last updated - AlertWorkflowStatusUpdatedAt *string `json:"alert_workflow_status_updated_at,omitempty"` - - // ConnectorId The ID of the connector that generated the attack discovery - ConnectorId string `json:"connector_id"` - - // ConnectorName The (human readable) name of the connector that generated the attack discovery - ConnectorName string `json:"connector_name"` - - // DetailsMarkdown Details of the attack with bulleted markdown that always uses special syntax for field names and values from the source data. - DetailsMarkdown string `json:"details_markdown"` - - // EntitySummaryMarkdown An optional, short (no more than a sentence) summary of the attack discovery featuring only the host.name and user.name fields (when they are applicable), using the same syntax - EntitySummaryMarkdown *string `json:"entity_summary_markdown,omitempty"` - - // GenerationUuid The generation ID of the run that created the attack discovery - GenerationUuid string `json:"generation_uuid"` - - // Id The unique ID of the attack discovery - Id string `json:"id"` - - // MitreAttackTactics An optional array of MITRE ATT&CK tactic for the attack discovery - MitreAttackTactics *[]string `json:"mitre_attack_tactics,omitempty"` - - // Replacements Replacements object used to anonymize/deanonymize messages - Replacements *SecurityAttackDiscoveryAPIReplacements `json:"replacements,omitempty"` - - // RiskScore The optional, (but typically populated after generation) risk score of the alert - RiskScore *int `json:"risk_score,omitempty"` - - // SummaryMarkdown A markdown summary of attack discovery, using the same syntax - SummaryMarkdown string `json:"summary_markdown"` - - // Timestamp A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters. - Timestamp SecurityAttackDiscoveryAPINonEmptyTimestamp `json:"timestamp"` - - // Title A title for the attack discovery, in plain text - Title string `json:"title"` - - // UserId The optional id of the user who generated the attack discovery - UserId *string `json:"user_id,omitempty"` - - // UserName The optional username of the user who generated the attack discovery, (not applicable to attack discoveries generated by rules) - UserName *string `json:"user_name,omitempty"` - - // Users The optional array of users who may view the attack discovery. When empty, (or not present), all users may view the attack discovery. - Users *[]SecurityAttackDiscoveryAPIUser `json:"users,omitempty"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule An attack discovery schedule -type SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule struct { - // Actions The attack discovery schedule actions - Actions []SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction `json:"actions"` - - // CreatedAt The date the schedule was created - CreatedAt time.Time `json:"created_at"` - - // CreatedBy The name of the user that created the schedule - CreatedBy string `json:"created_by"` - - // Enabled Indicates whether the schedule is enabled - Enabled bool `json:"enabled"` - - // Id UUID of attack discovery schedule - Id string `json:"id"` - - // LastExecution An attack discovery schedule execution information - LastExecution *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecution `json:"last_execution,omitempty"` - - // Name The name of the schedule - Name string `json:"name"` - - // Params An attack discovery schedule params - Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams `json:"params"` - Schedule SecurityAttackDiscoveryAPIIntervalApiSchedule `json:"schedule"` - - // UpdatedAt The date the schedule was updated - UpdatedAt time.Time `json:"updated_at"` - - // UpdatedBy The name of the user that updated the schedule - UpdatedBy string `json:"updated_by"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleAction. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction struct { - union json.RawMessage -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionAlertsFilter defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleActionAlertsFilter. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionAlertsFilter map[string]interface{} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionFrequency The action frequency defines when the action runs (for example, only on schedule execution or at specific time intervals). -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionFrequency struct { - // NotifyWhen The condition for throttling the notification: `onActionGroupChange`, `onActiveAlert`, or `onThrottleInterval` - NotifyWhen SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen `json:"notify_when"` - - // Summary Action summary indicates whether we will send a summary notification about all the generate alerts or notification per individual alert - Summary bool `json:"summary"` - - // Throttle Defines how often schedule actions are taken. Time interval in seconds, minutes, hours, or days. - Throttle SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionThrottle `json:"throttle"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionGroup Groups actions by use cases. Use `default` for alert notifications. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionGroup = string - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId The connector ID. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId = string - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen The condition for throttling the notification: `onActionGroupChange`, `onActiveAlert`, or `onThrottleInterval` -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen string - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams Object containing the allowed connector fields, which varies according to the connector type. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams map[string]interface{} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionThrottle Defines how often schedule actions are taken. Time interval in seconds, minutes, hours, or days. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionThrottle = string - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps An attack discovery schedule create properties -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps struct { - // Actions The attack discovery schedule actions - Actions *[]SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction `json:"actions,omitempty"` - - // Enabled Indicates whether the schedule is enabled - Enabled *bool `json:"enabled,omitempty"` - - // Name The name of the schedule - Name string `json:"name"` - - // Params An attack discovery schedule params - Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams `json:"params"` - Schedule SecurityAttackDiscoveryAPIIntervalApiSchedule `json:"schedule"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecution An attack discovery schedule execution information -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecution struct { - // Date Date of the execution - Date time.Time `json:"date"` - - // Duration Duration of the execution - Duration *float32 `json:"duration,omitempty"` - Message *string `json:"message,omitempty"` - - // Status An attack discovery schedule execution status - Status SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus `json:"status"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus An attack discovery schedule execution status -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus string - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleGeneralAction. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction struct { - // ActionTypeId The action type used for sending notifications. - ActionTypeId string `json:"action_type_id"` - AlertsFilter *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionAlertsFilter `json:"alerts_filter,omitempty"` - - // Frequency The action frequency defines when the action runs (for example, only on schedule execution or at specific time intervals). - Frequency *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionFrequency `json:"frequency,omitempty"` - - // Group Groups actions by use cases. Use `default` for alert notifications. - Group SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionGroup `json:"group"` - - // Id The connector ID. - Id SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId `json:"id"` - - // Params Object containing the allowed connector fields, which varies according to the connector type. - Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams `json:"params"` - - // Uuid A string that does not contain only whitespace characters. - Uuid *SecurityAttackDiscoveryAPINonEmptyString `json:"uuid,omitempty"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams An attack discovery schedule params -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams struct { - // AlertsIndexPattern The index pattern to get alerts from - AlertsIndexPattern string `json:"alerts_index_pattern"` - - // ApiConfig LLM API configuration. - ApiConfig struct { - // ActionTypeId Action type ID - ActionTypeId string `json:"actionTypeId"` - - // ConnectorId Connector ID - ConnectorId string `json:"connectorId"` - - // DefaultSystemPromptId Default system prompt ID - DefaultSystemPromptId *string `json:"defaultSystemPromptId,omitempty"` - - // Model Model - Model *string `json:"model,omitempty"` - - // Name The name of the connector - Name string `json:"name"` - - // Provider Provider - Provider *SecurityAttackDiscoveryAPIProvider `json:"provider,omitempty"` - } `json:"api_config"` - CombinedFilter *map[string]interface{} `json:"combined_filter,omitempty"` - End *string `json:"end,omitempty"` - - // Filters The filter array used to define the conditions for when alerts are selected as an attack discovery context. Defaults to an empty array. - Filters *SecurityAttackDiscoveryAPIFilters `json:"filters,omitempty"` - - // Query An query condition to filter alerts - Query *SecurityAttackDiscoveryAPIQuery `json:"query,omitempty"` - Size float32 `json:"size"` - Start *string `json:"start,omitempty"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleSystemAction. -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction struct { - // ActionTypeId The action type used for sending notifications. - ActionTypeId string `json:"action_type_id"` - - // Id The connector ID. - Id SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId `json:"id"` - - // Params Object containing the allowed connector fields, which varies according to the connector type. - Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams `json:"params"` - - // Uuid A string that does not contain only whitespace characters. - Uuid *SecurityAttackDiscoveryAPINonEmptyString `json:"uuid,omitempty"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps An attack discovery schedule update properties -type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps struct { - // Actions The attack discovery schedule actions - Actions []SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction `json:"actions"` - - // Name The name of the schedule - Name string `json:"name"` - - // Params An attack discovery schedule params - Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams `json:"params"` - Schedule SecurityAttackDiscoveryAPIIntervalApiSchedule `json:"schedule"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField Allowed field names to sort Attack discovery results by. Clients should only pass one of the listed values. -type SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField string - -// SecurityAttackDiscoveryAPIAttackDiscoveryGeneration defines model for Security_Attack_discovery_API_AttackDiscoveryGeneration. -type SecurityAttackDiscoveryAPIAttackDiscoveryGeneration struct { - // AlertsContextCount The number of alerts sent as context (max kibana.alert.rule.execution.metrics.alert_counts.active) to the LLM for the generation - AlertsContextCount *float32 `json:"alerts_context_count,omitempty"` - - // ConnectorId The connector id (event.dataset) for this generation - ConnectorId string `json:"connector_id"` - - // ConnectorStats Stats applicable to the connector for this generation - ConnectorStats *struct { - // AverageSuccessfulDurationNanoseconds The average duration (avg event.duration) in nanoseconds of successful generations for the same connector id, for the current user - AverageSuccessfulDurationNanoseconds *float32 `json:"average_successful_duration_nanoseconds,omitempty"` - - // SuccessfulGenerations The number of successful generations for the same connector id, for the current user - SuccessfulGenerations *float32 `json:"successful_generations,omitempty"` - } `json:"connector_stats,omitempty"` - - // Discoveries The number of new Attack discovery alerts (max kibana.alert.rule.execution.metrics.alert_counts.new) for this generation - Discoveries float32 `json:"discoveries"` - - // End When generation ended (max event.end) - End *string `json:"end,omitempty"` - - // ExecutionUuid The unique identifier (kibana.alert.rule.execution.uuid) for the generation - ExecutionUuid string `json:"execution_uuid"` - - // LoadingMessage Generation loading message (kibana.alert.rule.execution.status) - LoadingMessage string `json:"loading_message"` - - // Reason Reason for failed generations (event.reason) - Reason *string `json:"reason,omitempty"` - - // Start When generation started (min event.start) - Start string `json:"start"` - - // Status The status of the attack discovery generation - Status SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus `json:"status"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus The status of the attack discovery generation -type SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus string - -// SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig defines model for Security_Attack_discovery_API_AttackDiscoveryGenerationConfig. -type SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig struct { - // AlertsIndexPattern The (space specific) index pattern that contains the alerts to use as - // context for the attack discovery. - // Example: .alerts-security.alerts-default - AlertsIndexPattern string `json:"alertsIndexPattern"` - - // AnonymizationFields The list of fields, and whether or not they are anonymized, allowed to be sent to LLMs. Consider using the output of the `/api/security_ai_assistant/anonymization_fields/_find` API (for a specific Kibana space) to provide this value. - AnonymizationFields []SecurityAttackDiscoveryAPIAnonymizationFieldResponse `json:"anonymizationFields"` - ApiConfig SecurityAttackDiscoveryAPIApiConfig `json:"apiConfig"` - ConnectorName *string `json:"connectorName,omitempty"` - End *string `json:"end,omitempty"` - - // Filter An Elasticsearch-style query DSL object used to filter alerts. For example: - // ```json { - // "filter": { - // "bool": { - // "must": [], - // "filter": [ - // { - // "bool": { - // "should": [ - // { - // "term": { - // "user.name": { "value": "james" } - // } - // } - // ], - // "minimum_should_match": 1 - // } - // } - // ], - // "should": [], - // "must_not": [] - // } - // } - // } ``` - Filter *map[string]interface{} `json:"filter,omitempty"` - Model *string `json:"model,omitempty"` - - // Replacements Replacements object used to anonymize/deanonymize messages - Replacements *SecurityAttackDiscoveryAPIReplacements `json:"replacements,omitempty"` - Size float32 `json:"size"` - Start *string `json:"start,omitempty"` - SubAction SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction `json:"subAction"` -} - -// SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction defines model for SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig.SubAction. -type SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction string - -// SecurityAttackDiscoveryAPIAttackDiscoveryGenericError Generic error response for Attack discovery schedule operations -type SecurityAttackDiscoveryAPIAttackDiscoveryGenericError struct { - // Error Error type - Error *string `json:"error,omitempty"` - - // Message Human-readable error message describing what went wrong - Message *string `json:"message,omitempty"` - - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` -} - -// SecurityAttackDiscoveryAPIFilters The filter array used to define the conditions for when alerts are selected as an attack discovery context. Defaults to an empty array. -type SecurityAttackDiscoveryAPIFilters = []interface{} - -// SecurityAttackDiscoveryAPIIntervalApiSchedule defines model for Security_Attack_discovery_API_IntervalApiSchedule. -type SecurityAttackDiscoveryAPIIntervalApiSchedule struct { - // Interval The schedule interval - Interval string `json:"interval"` -} - -// SecurityAttackDiscoveryAPINonEmptyString A string that does not contain only whitespace characters. -type SecurityAttackDiscoveryAPINonEmptyString = string - -// SecurityAttackDiscoveryAPINonEmptyTimestamp A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters. -type SecurityAttackDiscoveryAPINonEmptyTimestamp = string - -// SecurityAttackDiscoveryAPIProvider Provider -type SecurityAttackDiscoveryAPIProvider string - -// SecurityAttackDiscoveryAPIQuery An query condition to filter alerts -type SecurityAttackDiscoveryAPIQuery struct { - Language string `json:"language"` - Query SecurityAttackDiscoveryAPIQuery_Query `json:"query"` -} - -// SecurityAttackDiscoveryAPIQueryQuery0 defines model for . -type SecurityAttackDiscoveryAPIQueryQuery0 = string - -// SecurityAttackDiscoveryAPIQueryQuery1 defines model for . -type SecurityAttackDiscoveryAPIQueryQuery1 map[string]interface{} - -// SecurityAttackDiscoveryAPIQuery_Query defines model for SecurityAttackDiscoveryAPIQuery.Query. -type SecurityAttackDiscoveryAPIQuery_Query struct { - union json.RawMessage -} - -// SecurityAttackDiscoveryAPIReplacements Replacements object used to anonymize/deanonymize messages -type SecurityAttackDiscoveryAPIReplacements map[string]string - -// SecurityAttackDiscoveryAPISortOrder The order in which results are sorted. -type SecurityAttackDiscoveryAPISortOrder string - -// SecurityAttackDiscoveryAPIUser Could be any string, not necessarily a UUID. -type SecurityAttackDiscoveryAPIUser struct { - // Id User id. - Id *string `json:"id,omitempty"` - - // Name User name. - Name *string `json:"name,omitempty"` -} - // SecurityDetectionsAPIAlertAssignees defines model for Security_Detections_API_AlertAssignees. type SecurityDetectionsAPIAlertAssignees struct { Add []string `json:"add"` @@ -8881,8 +7974,8 @@ type SecurityDetectionsAPIAlertAssignees struct { // SecurityDetectionsAPIAlertIds A list of alerts `id`s. type SecurityDetectionsAPIAlertIds = []string -// SecurityDetectionsAPIAlertStatusExceptClosed The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. -type SecurityDetectionsAPIAlertStatusExceptClosed string +// SecurityDetectionsAPIAlertStatus The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. +type SecurityDetectionsAPIAlertStatus string // SecurityDetectionsAPIAlertSuppression Defines alert suppression configuration. type SecurityDetectionsAPIAlertSuppression struct { @@ -9387,35 +8480,6 @@ type SecurityDetectionsAPIBulkManualRuleRun struct { // SecurityDetectionsAPIBulkManualRuleRunAction defines model for SecurityDetectionsAPIBulkManualRuleRun.Action. type SecurityDetectionsAPIBulkManualRuleRunAction string -// SecurityDetectionsAPICloseAlertsByIds defines model for Security_Detections_API_CloseAlertsByIds. -type SecurityDetectionsAPICloseAlertsByIds struct { - // Reason The reason for closing the alerts - Reason *SecurityDetectionsAPIReasonEnum `json:"reason,omitempty"` - - // SignalIds List of alert ids. Use field `_id` on alert document or `kibana.alert.uuid`. Note: signals are a deprecated term for alerts. - SignalIds []string `json:"signal_ids"` - Status SecurityDetectionsAPICloseAlertsByIdsStatus `json:"status"` -} - -// SecurityDetectionsAPICloseAlertsByIdsStatus defines model for SecurityDetectionsAPICloseAlertsByIds.Status. -type SecurityDetectionsAPICloseAlertsByIdsStatus string - -// SecurityDetectionsAPICloseAlertsByQuery defines model for Security_Detections_API_CloseAlertsByQuery. -type SecurityDetectionsAPICloseAlertsByQuery struct { - Conflicts *SecurityDetectionsAPICloseAlertsByQueryConflicts `json:"conflicts,omitempty"` - Query map[string]interface{} `json:"query"` - - // Reason The reason for closing the alerts - Reason *SecurityDetectionsAPIReasonEnum `json:"reason,omitempty"` - Status SecurityDetectionsAPICloseAlertsByQueryStatus `json:"status"` -} - -// SecurityDetectionsAPICloseAlertsByQueryConflicts defines model for SecurityDetectionsAPICloseAlertsByQuery.Conflicts. -type SecurityDetectionsAPICloseAlertsByQueryConflicts string - -// SecurityDetectionsAPICloseAlertsByQueryStatus defines model for SecurityDetectionsAPICloseAlertsByQuery.Status. -type SecurityDetectionsAPICloseAlertsByQueryStatus string - // SecurityDetectionsAPIConcurrentSearches defines model for Security_Detections_API_ConcurrentSearches. type SecurityDetectionsAPIConcurrentSearches = int @@ -10997,23 +10061,8 @@ type SecurityDetectionsAPIEventCategoryOverride = string // SecurityDetectionsAPIExceptionListType The exception type type SecurityDetectionsAPIExceptionListType string -// SecurityDetectionsAPIExternalRuleCustomizedFields An array of customized field names — that is, fields that the user has modified from their base value. Defaults to an empty array. -type SecurityDetectionsAPIExternalRuleCustomizedFields = []struct { - // FieldName Name of a user-modified field in the rule object. - FieldName string `json:"field_name"` -} - -// SecurityDetectionsAPIExternalRuleHasBaseVersion Determines whether an external/prebuilt rule has its original, unmodified version present when the calculation of its customization status is performed (`rule_source.is_customized` and `rule_source.customized_fields`). -type SecurityDetectionsAPIExternalRuleHasBaseVersion = bool - // SecurityDetectionsAPIExternalRuleSource Type of rule source for externally sourced rules, i.e. rules that have an external source, such as the Elastic Prebuilt rules repo. type SecurityDetectionsAPIExternalRuleSource struct { - // CustomizedFields An array of customized field names — that is, fields that the user has modified from their base value. Defaults to an empty array. - CustomizedFields SecurityDetectionsAPIExternalRuleCustomizedFields `json:"customized_fields"` - - // HasBaseVersion Determines whether an external/prebuilt rule has its original, unmodified version present when the calculation of its customization status is performed (`rule_source.is_customized` and `rule_source.customized_fields`). - HasBaseVersion SecurityDetectionsAPIExternalRuleHasBaseVersion `json:"has_base_version"` - // IsCustomized Determines whether an external/prebuilt rule has been customized by the user (i.e. any of its fields have been modified and diverged from the base value). IsCustomized SecurityDetectionsAPIIsExternalRuleCustomized `json:"is_customized"` Type SecurityDetectionsAPIExternalRuleSourceType `json:"type"` @@ -13599,9 +12648,6 @@ type SecurityDetectionsAPIQueryRuleUpdateProps struct { // SecurityDetectionsAPIQueryRuleUpdatePropsType Rule type type SecurityDetectionsAPIQueryRuleUpdatePropsType string -// SecurityDetectionsAPIReasonEnum The reason for closing the alerts -type SecurityDetectionsAPIReasonEnum string - // SecurityDetectionsAPIRelatedIntegration Related integration is a potential dependency of a rule. It's assumed that if the user installs // one of the related integrations of a rule, the rule might start to work properly because it will // have source events (generated by this integration) potentially matching the rule's query. @@ -14935,34 +13981,24 @@ type SecurityDetectionsAPISetAlertTags struct { // SecurityDetectionsAPISetAlertsStatusByIds defines model for Security_Detections_API_SetAlertsStatusByIds. type SecurityDetectionsAPISetAlertsStatusByIds struct { - union json.RawMessage -} - -// SecurityDetectionsAPISetAlertsStatusByIdsBase defines model for Security_Detections_API_SetAlertsStatusByIdsBase. -type SecurityDetectionsAPISetAlertsStatusByIdsBase struct { // SignalIds List of alert ids. Use field `_id` on alert document or `kibana.alert.uuid`. Note: signals are a deprecated term for alerts. SignalIds []string `json:"signal_ids"` // Status The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. - Status SecurityDetectionsAPIAlertStatusExceptClosed `json:"status"` + Status SecurityDetectionsAPIAlertStatus `json:"status"` } // SecurityDetectionsAPISetAlertsStatusByQuery defines model for Security_Detections_API_SetAlertsStatusByQuery. type SecurityDetectionsAPISetAlertsStatusByQuery struct { - union json.RawMessage -} - -// SecurityDetectionsAPISetAlertsStatusByQueryBase defines model for Security_Detections_API_SetAlertsStatusByQueryBase. -type SecurityDetectionsAPISetAlertsStatusByQueryBase struct { - Conflicts *SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts `json:"conflicts,omitempty"` - Query map[string]interface{} `json:"query"` + Conflicts *SecurityDetectionsAPISetAlertsStatusByQueryConflicts `json:"conflicts,omitempty"` + Query map[string]interface{} `json:"query"` // Status The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. - Status SecurityDetectionsAPIAlertStatusExceptClosed `json:"status"` + Status SecurityDetectionsAPIAlertStatus `json:"status"` } -// SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts defines model for SecurityDetectionsAPISetAlertsStatusByQueryBase.Conflicts. -type SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts string +// SecurityDetectionsAPISetAlertsStatusByQueryConflicts defines model for SecurityDetectionsAPISetAlertsStatusByQuery.Conflicts. +type SecurityDetectionsAPISetAlertsStatusByQueryConflicts string // SecurityDetectionsAPISetupGuide Populates the rule’s setup guide with instructions on rule prerequisites such as required integrations, configuration steps, and anything else needed for the rule to work correctly. type SecurityDetectionsAPISetupGuide = string @@ -17314,11 +16350,6 @@ type SecurityEndpointExceptionsAPISiemErrorResponse struct { StatusCode int `json:"status_code"` } -// SecurityEndpointManagementAPIActionDetailsResponse defines model for Security_Endpoint_Management_API_ActionDetailsResponse. -type SecurityEndpointManagementAPIActionDetailsResponse struct { - union json.RawMessage -} - // SecurityEndpointManagementAPIActionStateSuccessResponse defines model for Security_Endpoint_Management_API_ActionStateSuccessResponse. type SecurityEndpointManagementAPIActionStateSuccessResponse struct { Body struct { @@ -17356,90 +16387,6 @@ type SecurityEndpointManagementAPIAgentIds1 = string // SecurityEndpointManagementAPIAgentTypes List of agent types to retrieve. Defaults to `endpoint`. type SecurityEndpointManagementAPIAgentTypes string -// SecurityEndpointManagementAPICancel defines model for Security_Endpoint_Management_API_Cancel. -type SecurityEndpointManagementAPICancel struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *struct { - Code *string `json:"code,omitempty"` - } `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *struct { - Id *openapi_types.UUID `json:"id,omitempty"` - } `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - -// SecurityEndpointManagementAPICancelRouteRequestBody defines model for Security_Endpoint_Management_API_CancelRouteRequestBody. -type SecurityEndpointManagementAPICancelRouteRequestBody struct { - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agent_type,omitempty"` - - // AlertIds If this action is associated with any alerts, they can be specified here. The action will be logged in any cases associated with the specified alerts. - AlertIds *[]string `json:"alert_ids,omitempty"` - - // CaseIds The IDs of cases where the action taken will be logged. - CaseIds *[]string `json:"case_ids,omitempty"` - - // Comment Optional comment - Comment *SecurityEndpointManagementAPIComment `json:"comment,omitempty"` - - // EndpointIds List of endpoint IDs (cannot contain empty strings) - EndpointIds SecurityEndpointManagementAPIEndpointIds `json:"endpoint_ids"` - Parameters struct { - // Id ID of the response action to cancel - Id string `json:"id"` - } `json:"parameters"` -} - // SecurityEndpointManagementAPICloudFileScriptParameters defines model for Security_Endpoint_Management_API_CloudFileScriptParameters. type SecurityEndpointManagementAPICloudFileScriptParameters struct { // CloudFile Script name in cloud storage. @@ -17452,7 +16399,7 @@ type SecurityEndpointManagementAPICloudFileScriptParameters struct { Timeout *int `json:"timeout,omitempty"` } -// SecurityEndpointManagementAPICommand The command for the response action +// SecurityEndpointManagementAPICommand The command to be executed (cannot be an empty string) type SecurityEndpointManagementAPICommand string // SecurityEndpointManagementAPICommands A list of response action command names. @@ -17461,13 +16408,6 @@ type SecurityEndpointManagementAPICommands = []SecurityEndpointManagementAPIComm // SecurityEndpointManagementAPIComment Optional comment type SecurityEndpointManagementAPIComment = string -// SecurityEndpointManagementAPIDownloadUri defines model for Security_Endpoint_Management_API_DownloadUri. -type SecurityEndpointManagementAPIDownloadUri struct { - // DownloadUri The server relative URI to download the file associated with the output of the response action. - // URI does **not** include the space prefix - DownloadUri *string `json:"downloadUri,omitempty"` -} - // SecurityEndpointManagementAPIEndDate An end date in ISO format or Date Math format. type SecurityEndpointManagementAPIEndDate = string @@ -17477,82 +16417,6 @@ type SecurityEndpointManagementAPIEndpointIds = []string // SecurityEndpointManagementAPIEndpointMetadataResponse defines model for Security_Endpoint_Management_API_EndpointMetadataResponse. type SecurityEndpointManagementAPIEndpointMetadataResponse = map[string]interface{} -// SecurityEndpointManagementAPIExecute defines model for Security_Endpoint_Management_API_Execute. -type SecurityEndpointManagementAPIExecute struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *struct { - Code *string `json:"code,omitempty"` - Cwd *string `json:"cwd,omitempty"` - - // DownloadUri The server relative URI to download the file associated with the output of the response action. - // URI does **not** include the space prefix - DownloadUri *string `json:"downloadUri,omitempty"` - OutputFileId *string `json:"output_file_id,omitempty"` - OutputFileStderrTruncated *bool `json:"output_file_stderr_truncated,omitempty"` - OutputFileStdoutTruncated *bool `json:"output_file_stdout_truncated,omitempty"` - ShellCode *float32 `json:"shell_code,omitempty"` - Stderr *string `json:"stderr,omitempty"` - StderrTruncated *bool `json:"stderr_truncated,omitempty"` - Stdout *string `json:"stdout,omitempty"` - StdoutTruncated *bool `json:"stdout_truncated,omitempty"` - } `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *struct { - Command *string `json:"command,omitempty"` - Timeout *float32 `json:"timeout,omitempty"` - } `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - // SecurityEndpointManagementAPIExecuteRouteRequestBody defines model for Security_Endpoint_Management_API_ExecuteRouteRequestBody. type SecurityEndpointManagementAPIExecuteRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -17570,7 +16434,7 @@ type SecurityEndpointManagementAPIExecuteRouteRequestBody struct { // EndpointIds List of endpoint IDs (cannot contain empty strings) EndpointIds SecurityEndpointManagementAPIEndpointIds `json:"endpoint_ids"` Parameters struct { - // Command The command for the response action + // Command The command to be executed (cannot be an empty string) Command SecurityEndpointManagementAPICommand `json:"command"` // Timeout The maximum timeout value in milliseconds (optional) @@ -17584,79 +16448,8 @@ type SecurityEndpointManagementAPIExecuteRouteResponse = map[string]interface{} // SecurityEndpointManagementAPIGetEndpointActionListResponse defines model for Security_Endpoint_Management_API_GetEndpointActionListResponse. type SecurityEndpointManagementAPIGetEndpointActionListResponse = map[string]interface{} -// SecurityEndpointManagementAPIGetFile defines model for Security_Endpoint_Management_API_GetFile. -type SecurityEndpointManagementAPIGetFile struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *struct { - Code *string `json:"code,omitempty"` - Contents *[]struct { - FileName *string `json:"file_name,omitempty"` - Path *string `json:"path,omitempty"` - Sha256 *string `json:"sha256,omitempty"` - Size *float32 `json:"size,omitempty"` - Type *string `json:"type,omitempty"` - } `json:"contents,omitempty"` - - // DownloadUri The server relative URI to download the file associated with the output of the response action. - // URI does **not** include the space prefix - DownloadUri *string `json:"downloadUri,omitempty"` - ZipSize *float32 `json:"zip_size,omitempty"` - } `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *struct { - Path *string `json:"path,omitempty"` - } `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} +// SecurityEndpointManagementAPIGetEndpointActionResponse defines model for Security_Endpoint_Management_API_GetEndpointActionResponse. +type SecurityEndpointManagementAPIGetEndpointActionResponse = map[string]interface{} // SecurityEndpointManagementAPIGetFileRouteRequestBody defines model for Security_Endpoint_Management_API_GetFileRouteRequestBody. type SecurityEndpointManagementAPIGetFileRouteRequestBody struct { @@ -17721,119 +16514,9 @@ type SecurityEndpointManagementAPIHostPathScriptParameters struct { // SecurityEndpointManagementAPIHostStatuses A set of agent health statuses to filter by. type SecurityEndpointManagementAPIHostStatuses = []string -// SecurityEndpointManagementAPIIsolate defines model for Security_Endpoint_Management_API_Isolate. -type SecurityEndpointManagementAPIIsolate = SecurityEndpointManagementAPIResponseActionDetails - // SecurityEndpointManagementAPIIsolateRouteResponse defines model for Security_Endpoint_Management_API_IsolateRouteResponse. type SecurityEndpointManagementAPIIsolateRouteResponse = map[string]interface{} -// SecurityEndpointManagementAPIKillProcess defines model for Security_Endpoint_Management_API_KillProcess. -type SecurityEndpointManagementAPIKillProcess struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *SecurityEndpointManagementAPIKillProcess_Outputs_Content `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *SecurityEndpointManagementAPIKillProcess_Parameters `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcessOutputsContent0 defines model for . -type SecurityEndpointManagementAPIKillProcessOutputsContent0 struct { - Code *string `json:"code,omitempty"` - Command *string `json:"command,omitempty"` - Pid *float32 `json:"pid,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcessOutputsContent1 defines model for . -type SecurityEndpointManagementAPIKillProcessOutputsContent1 struct { - Code *string `json:"code,omitempty"` - Command *string `json:"command,omitempty"` - EntityId *string `json:"entity_id,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcessOutputsContent2 defines model for . -type SecurityEndpointManagementAPIKillProcessOutputsContent2 struct { - Code *string `json:"code,omitempty"` - Command *string `json:"command,omitempty"` - ProcessName *string `json:"process_name,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcess_Outputs_Content defines model for SecurityEndpointManagementAPIKillProcess.Outputs.Content. -type SecurityEndpointManagementAPIKillProcess_Outputs_Content struct { - union json.RawMessage -} - -// SecurityEndpointManagementAPIKillProcessParameters0 defines model for . -type SecurityEndpointManagementAPIKillProcessParameters0 struct { - // Pid The process ID (PID) of the process to terminate. - Pid *float32 `json:"pid,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcessParameters1 defines model for . -type SecurityEndpointManagementAPIKillProcessParameters1 struct { - // EntityId The entity ID of the process to terminate. - EntityId *string `json:"entity_id,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcessParameters2 defines model for . -type SecurityEndpointManagementAPIKillProcessParameters2 struct { - // ProcessName The name of the process to terminate. Valid for SentinelOne agent type only. - ProcessName *string `json:"process_name,omitempty"` -} - -// SecurityEndpointManagementAPIKillProcess_Parameters defines model for SecurityEndpointManagementAPIKillProcess.Parameters. -type SecurityEndpointManagementAPIKillProcess_Parameters struct { - union json.RawMessage -} - // SecurityEndpointManagementAPIKillProcessRouteRequestBody defines model for Security_Endpoint_Management_API_KillProcessRouteRequestBody. type SecurityEndpointManagementAPIKillProcessRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -17882,15 +16565,6 @@ type SecurityEndpointManagementAPIKillProcessRouteResponse = map[string]interfac // SecurityEndpointManagementAPIKuery A KQL string. type SecurityEndpointManagementAPIKuery = string -// SecurityEndpointManagementAPIMDERunScriptParameters Parameters for Run Script response action against Microsoft Defender Endpoint agent type. -type SecurityEndpointManagementAPIMDERunScriptParameters struct { - // Args Optional command line arguments for the script. - Args *string `json:"args,omitempty"` - - // ScriptName The name of the script to execute from the cloud storage. - ScriptName string `json:"scriptName"` -} - // SecurityEndpointManagementAPIMetadataListResponse defines model for Security_Endpoint_Management_API_MetadataListResponse. type SecurityEndpointManagementAPIMetadataListResponse = map[string]interface{} @@ -17946,87 +16620,81 @@ type SecurityEndpointManagementAPIRawScriptParameters struct { // SecurityEndpointManagementAPIResponseActionCreateSuccessResponse defines model for Security_Endpoint_Management_API_ResponseActionCreateSuccessResponse. type SecurityEndpointManagementAPIResponseActionCreateSuccessResponse struct { - Data *SecurityEndpointManagementAPIResponseActionDetails `json:"data,omitempty"` -} + // Data The created response action details + Data *struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` -// SecurityEndpointManagementAPIResponseActionDetails defines model for Security_Endpoint_Management_API_ResponseActionDetails. -type SecurityEndpointManagementAPIResponseActionDetails struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` + // AgentType The response action agent type + AgentType *string `json:"agentType,omitempty"` - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + // Agents The agent IDs for the hosts that the response action was sent to + Agents *map[string]interface{} `json:"agents,omitempty"` - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` + // Command The response action command + Command *string `json:"command,omitempty"` - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` + // Id The response action ID + Id *string `json:"id,omitempty"` - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` - // Outputs The outputs of the response action for each agent ID that it was sent to. Content different depending on the - // response action command and will only be present for agents that have responded to the response action - Outputs *map[string]struct { - // Content The response action output content for the agent ID. Exact format depends on the response action command. - Content SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content `json:"content"` - Type SecurityEndpointManagementAPIResponseActionDetailsOutputsType `json:"type"` - } `json:"outputs,omitempty"` + // Outputs The outputs of the response action for each agent ID that it was sent to + Outputs *map[string]struct { + // Content The response action output content for the agent ID. Exact format depends on the response action command. + Content SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content `json:"content"` + Type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType `json:"type"` + } `json:"outputs,omitempty"` - // Parameters The parameters of the response action. Content different depending on the response action command - Parameters *map[string]interface{} `json:"parameters,omitempty"` + // Parameters The parameters of the response action. Content different depending on the response action command + Parameters *map[string]interface{} `json:"parameters,omitempty"` - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` + // StartedAt The response action start time + StartedAt *string `json:"startedAt,omitempty"` - // Status The response action status - Status *string `json:"status,omitempty"` + // Status The response action status + Status *string `json:"status,omitempty"` - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"data,omitempty"` } -// SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 defines model for . -type SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 = map[string]interface{} +// SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 defines model for . +type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 = map[string]interface{} -// SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 defines model for . -type SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 = string +// SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 defines model for . +type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 = string -// SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content The response action output content for the agent ID. Exact format depends on the response action command. -type SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content struct { +// SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content The response action output content for the agent ID. Exact format depends on the response action command. +type SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content struct { union json.RawMessage } -// SecurityEndpointManagementAPIResponseActionDetailsOutputsType defines model for SecurityEndpointManagementAPIResponseActionDetails.Outputs.Type. -type SecurityEndpointManagementAPIResponseActionDetailsOutputsType string +// SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType defines model for SecurityEndpointManagementAPIResponseActionCreateSuccessResponse.Data.Outputs.Type. +type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType string // SecurityEndpointManagementAPIRunScriptRouteRequestBody defines model for Security_Endpoint_Management_API_RunScriptRouteRequestBody. type SecurityEndpointManagementAPIRunScriptRouteRequestBody struct { @@ -18054,245 +16722,6 @@ type SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters struct { union json.RawMessage } -// SecurityEndpointManagementAPIRunningProcesses defines model for Security_Endpoint_Management_API_RunningProcesses. -type SecurityEndpointManagementAPIRunningProcesses struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content `json:"content,omitempty"` - } `json:"outputs,omitempty"` - - // Parameters The parameters of the response action. Content different depending on the response action command - Parameters *map[string]interface{} `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - -// SecurityEndpointManagementAPIRunningProcesses_Outputs_Content defines model for SecurityEndpointManagementAPIRunningProcesses.Outputs.Content. -type SecurityEndpointManagementAPIRunningProcesses_Outputs_Content struct { - union json.RawMessage -} - -// SecurityEndpointManagementAPIRunningProcessesOutputEndpoint Processes output for `agentType` of `endpoint` -type SecurityEndpointManagementAPIRunningProcessesOutputEndpoint struct { - Code *string `json:"code,omitempty"` - Entries *[]struct { - Command *string `json:"command,omitempty"` - EntityId *string `json:"entity_id,omitempty"` - Pid *float32 `json:"pid,omitempty"` - User *string `json:"user,omitempty"` - } `json:"entries,omitempty"` -} - -// SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne defines model for Security_Endpoint_Management_API_RunningProcessesOutputSentinelOne. -type SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne struct { - Code *string `json:"code,omitempty"` - - // DownloadUri The server relative URI to download the file associated with the output of the response action. - // URI does **not** include the space prefix - DownloadUri *string `json:"downloadUri,omitempty"` -} - -// SecurityEndpointManagementAPIRunscript defines model for Security_Endpoint_Management_API_Runscript. -type SecurityEndpointManagementAPIRunscript struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *struct { - Code *string `json:"code,omitempty"` - - // DownloadUri The server relative URI to download the file associated with the output of the response action. - // URI does **not** include the space prefix - DownloadUri *string `json:"downloadUri,omitempty"` - Stderr *string `json:"stderr,omitempty"` - Stdout *string `json:"stdout,omitempty"` - } `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *SecurityEndpointManagementAPIRunscript_Parameters `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - -// SecurityEndpointManagementAPIRunscript_Parameters defines model for SecurityEndpointManagementAPIRunscript.Parameters. -type SecurityEndpointManagementAPIRunscript_Parameters struct { - union json.RawMessage -} - -// SecurityEndpointManagementAPIRunscriptParamsCrowdStrike defines model for Security_Endpoint_Management_API_RunscriptParamsCrowdStrike. -type SecurityEndpointManagementAPIRunscriptParamsCrowdStrike struct { - CloudFile *string `json:"cloudFile,omitempty"` - CommandLine *string `json:"commandLine,omitempty"` - HostPath *string `json:"hostPath,omitempty"` - Raw *string `json:"raw,omitempty"` - Timeout *float32 `json:"timeout,omitempty"` -} - -// SecurityEndpointManagementAPIRunscriptParamsMicrosoft defines model for Security_Endpoint_Management_API_RunscriptParamsMicrosoft. -type SecurityEndpointManagementAPIRunscriptParamsMicrosoft struct { - Args *string `json:"args,omitempty"` - ScriptName *string `json:"scriptName,omitempty"` -} - -// SecurityEndpointManagementAPIRunscriptParamsSentinelOne defines model for Security_Endpoint_Management_API_RunscriptParamsSentinelOne. -type SecurityEndpointManagementAPIRunscriptParamsSentinelOne struct { - ScriptId *string `json:"scriptId,omitempty"` - ScriptInput *string `json:"scriptInput,omitempty"` -} - -// SecurityEndpointManagementAPIScan defines model for Security_Endpoint_Management_API_Scan. -type SecurityEndpointManagementAPIScan struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *struct { - Code *string `json:"code,omitempty"` - } `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *struct { - Path *string `json:"path,omitempty"` - } `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - // SecurityEndpointManagementAPIScanRouteRequestBody defines model for Security_Endpoint_Management_API_ScanRouteRequestBody. type SecurityEndpointManagementAPIScanRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -18339,100 +16768,6 @@ type SecurityEndpointManagementAPIStartDate = string // SecurityEndpointManagementAPISuccessResponse defines model for Security_Endpoint_Management_API_SuccessResponse. type SecurityEndpointManagementAPISuccessResponse = map[string]interface{} -// SecurityEndpointManagementAPISuspendProcess defines model for Security_Endpoint_Management_API_SuspendProcess. -type SecurityEndpointManagementAPISuspendProcess struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *SecurityEndpointManagementAPISuspendProcess_Outputs_Content `json:"content,omitempty"` - } `json:"outputs,omitempty"` - Parameters *SecurityEndpointManagementAPISuspendProcess_Parameters `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - -// SecurityEndpointManagementAPISuspendProcessOutputsContent0 defines model for . -type SecurityEndpointManagementAPISuspendProcessOutputsContent0 struct { - Code *string `json:"code,omitempty"` - Command *string `json:"command,omitempty"` - Pid *float32 `json:"pid,omitempty"` -} - -// SecurityEndpointManagementAPISuspendProcessOutputsContent1 defines model for . -type SecurityEndpointManagementAPISuspendProcessOutputsContent1 struct { - Code *string `json:"code,omitempty"` - Command *string `json:"command,omitempty"` - EntityId *string `json:"entity_id,omitempty"` -} - -// SecurityEndpointManagementAPISuspendProcess_Outputs_Content defines model for SecurityEndpointManagementAPISuspendProcess.Outputs.Content. -type SecurityEndpointManagementAPISuspendProcess_Outputs_Content struct { - union json.RawMessage -} - -// SecurityEndpointManagementAPISuspendProcessParameters0 defines model for . -type SecurityEndpointManagementAPISuspendProcessParameters0 struct { - // Pid The process ID (PID) of the process to terminate. - Pid *float32 `json:"pid,omitempty"` -} - -// SecurityEndpointManagementAPISuspendProcessParameters1 defines model for . -type SecurityEndpointManagementAPISuspendProcessParameters1 struct { - // EntityId The entity ID of the process to terminate. - EntityId *string `json:"entity_id,omitempty"` -} - -// SecurityEndpointManagementAPISuspendProcess_Parameters defines model for SecurityEndpointManagementAPISuspendProcess.Parameters. -type SecurityEndpointManagementAPISuspendProcess_Parameters struct { - union json.RawMessage -} - // SecurityEndpointManagementAPISuspendProcessRouteRequestBody defines model for Security_Endpoint_Management_API_SuspendProcessRouteRequestBody. type SecurityEndpointManagementAPISuspendProcessRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -18481,82 +16816,9 @@ type SecurityEndpointManagementAPIType string // SecurityEndpointManagementAPITypes List of types of response actions type SecurityEndpointManagementAPITypes = []SecurityEndpointManagementAPIType -// SecurityEndpointManagementAPIUnisolate defines model for Security_Endpoint_Management_API_Unisolate. -type SecurityEndpointManagementAPIUnisolate = SecurityEndpointManagementAPIResponseActionDetails - // SecurityEndpointManagementAPIUnisolateRouteResponse defines model for Security_Endpoint_Management_API_UnisolateRouteResponse. type SecurityEndpointManagementAPIUnisolateRouteResponse = map[string]interface{} -// SecurityEndpointManagementAPIUpload defines model for Security_Endpoint_Management_API_Upload. -type SecurityEndpointManagementAPIUpload struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` - - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` - - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` - - // AgentType List of agent types to retrieve. Defaults to `endpoint`. - AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - - // Agents The agent IDs for the hosts that the response action was sent to - Agents *[]openapi_types.UUID `json:"agents,omitempty"` - - // Command The command for the response action - Command SecurityEndpointManagementAPICommand `json:"command"` - - // CompletedAt The response action completion time - CompletedAt *time.Time `json:"completedAt,omitempty"` - - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` - - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` - - // Id The response action ID - Id *openapi_types.UUID `json:"id,omitempty"` - - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` - - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` - Outputs *map[string]struct { - Content *struct { - Code *string `json:"code,omitempty"` - DiskFreeSpace *float32 `json:"disk_free_space,omitempty"` - Path *string `json:"path,omitempty"` - } `json:"content,omitempty"` - } `json:"outputs,omitempty"` - - // Parameters The parameters for upload returned on the details are derived via the API from the file that - // was uploaded at the time that the response action was submitted - Parameters *struct { - FileId *string `json:"file_id,omitempty"` - FileName *string `json:"file_name,omitempty"` - FileSha256 *string `json:"file_sha256,omitempty"` - FileSize *float32 `json:"file_size,omitempty"` - } `json:"parameters,omitempty"` - - // StartedAt The response action start time - StartedAt *time.Time `json:"startedAt,omitempty"` - - // Status The response action status - Status *string `json:"status,omitempty"` - - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` -} - // SecurityEndpointManagementAPIUploadRouteRequestBody defines model for Security_Endpoint_Management_API_UploadRouteRequestBody. type SecurityEndpointManagementAPIUploadRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -18607,21 +16869,6 @@ type SecurityEndpointManagementAPIWithOutputs0 = []string // SecurityEndpointManagementAPIWithOutputs1 defines model for . type SecurityEndpointManagementAPIWithOutputs1 = string -// SecurityEntityAnalyticsAPIAsset defines model for Security_Entity_Analytics_API_Asset. -type SecurityEntityAnalyticsAPIAsset struct { - BusinessUnit *string `json:"business_unit,omitempty"` - - // Criticality The criticality level of the asset. - Criticality *SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality,omitempty"` - Environment *string `json:"environment,omitempty"` - Id *string `json:"id,omitempty"` - Model *string `json:"model,omitempty"` - Name *string `json:"name,omitempty"` - Owner *string `json:"owner,omitempty"` - SerialNumber *string `json:"serial_number,omitempty"` - Vendor *string `json:"vendor,omitempty"` -} - // SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem defines model for Security_Entity_Analytics_API_AssetCriticalityBulkUploadErrorItem. type SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem struct { Index int `json:"index"` @@ -18815,11 +17062,6 @@ type SecurityEntityAnalyticsAPIEngineMetadata struct { // SecurityEntityAnalyticsAPIEngineStatus defines model for Security_Entity_Analytics_API_EngineStatus. type SecurityEntityAnalyticsAPIEngineStatus string -// SecurityEntityAnalyticsAPIEntitiesContainer defines model for Security_Entity_Analytics_API_EntitiesContainer. -type SecurityEntityAnalyticsAPIEntitiesContainer struct { - Entities []SecurityEntityAnalyticsAPIEntityContainer `json:"entities"` -} - // SecurityEntityAnalyticsAPIEntity defines model for Security_Entity_Analytics_API_Entity. type SecurityEntityAnalyticsAPIEntity struct { union json.RawMessage @@ -18839,57 +17081,6 @@ type SecurityEntityAnalyticsAPIEntityAnalyticsPrivileges struct { } `json:"privileges"` } -// SecurityEntityAnalyticsAPIEntityContainer defines model for Security_Entity_Analytics_API_EntityContainer. -type SecurityEntityAnalyticsAPIEntityContainer struct { - Record SecurityEntityAnalyticsAPIEntity `json:"record"` - Type SecurityEntityAnalyticsAPIEntityType `json:"type"` -} - -// SecurityEntityAnalyticsAPIEntityField defines model for Security_Entity_Analytics_API_EntityField. -type SecurityEntityAnalyticsAPIEntityField struct { - EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` - Attributes *struct { - Asset *bool `json:"asset,omitempty"` - Managed *bool `json:"managed,omitempty"` - MfaEnabled *bool `json:"mfa_enabled,omitempty"` - Privileged *bool `json:"privileged,omitempty"` - } `json:"attributes,omitempty"` - Behaviors *struct { - BruteForceVictim *bool `json:"brute_force_victim,omitempty"` - NewCountryLogin *bool `json:"new_country_login,omitempty"` - UsedUsbDevice *bool `json:"used_usb_device,omitempty"` - } `json:"behaviors,omitempty"` - Id string `json:"id"` - Lifecycle *struct { - FirstSeen *time.Time `json:"first_seen,omitempty"` - LastActivity *time.Time `json:"last_activity,omitempty"` - } `json:"lifecycle,omitempty"` - Name *string `json:"name,omitempty"` - Relationships *struct { - AccessedFrequentlyBy *[]string `json:"accessed_frequently_by,omitempty"` - AccessesFrequently *[]string `json:"accesses_frequently,omitempty"` - CommunicatesWith *[]string `json:"communicates_with,omitempty"` - DependentOf *[]string `json:"dependent_of,omitempty"` - DependsOn *[]string `json:"depends_on,omitempty"` - OwnedBy *[]string `json:"owned_by,omitempty"` - Owns *[]string `json:"owns,omitempty"` - SupervisedBy *[]string `json:"supervised_by,omitempty"` - Supervises *[]string `json:"supervises,omitempty"` - } `json:"relationships,omitempty"` - Risk *struct { - CalculatedLevel *SecurityEntityAnalyticsAPIEntityRiskLevels `json:"calculated_level,omitempty"` - - // CalculatedScore The raw numeric value of the given entity's risk score. - CalculatedScore *float64 `json:"calculated_score,omitempty"` - - // CalculatedScoreNorm The normalized numeric value of the given entity's risk score. Useful for comparing with other entities. - CalculatedScoreNorm *float64 `json:"calculated_score_norm,omitempty"` - } `json:"risk,omitempty"` - Source *string `json:"source,omitempty"` - SubType *string `json:"sub_type,omitempty"` - Type *string `json:"type,omitempty"` -} - // SecurityEntityAnalyticsAPIEntityRiskLevels defines model for Security_Entity_Analytics_API_EntityRiskLevels. type SecurityEntityAnalyticsAPIEntityRiskLevels string @@ -18933,23 +17124,40 @@ type SecurityEntityAnalyticsAPIEntityType string // SecurityEntityAnalyticsAPIGenericEntity defines model for Security_Entity_Analytics_API_GenericEntity. type SecurityEntityAnalyticsAPIGenericEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` - Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *struct { + // Criticality The criticality level of the asset. + Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` + } `json:"asset,omitempty"` + Entity struct { + EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` + Category *string `json:"category,omitempty"` + Id string `json:"id"` + Name string `json:"name"` + Source *string `json:"source,omitempty"` + Type string `json:"type"` + } `json:"entity"` } // SecurityEntityAnalyticsAPIHostEntity defines model for Security_Entity_Analytics_API_HostEntity. type SecurityEntityAnalyticsAPIHostEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` - Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` - Event *struct { + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *struct { + // Criticality The criticality level of the asset. + Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` + } `json:"asset,omitempty"` + Entity struct { + EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` + Name string `json:"name"` + Source string `json:"source"` + Type string `json:"type"` + } `json:"entity"` + Event *struct { Ingested *time.Time `json:"ingested,omitempty"` } `json:"event,omitempty"` - Host *struct { + Host struct { Architecture *[]string `json:"architecture,omitempty"` Domain *[]string `json:"domain,omitempty"` - Entity *SecurityEntityAnalyticsAPIEntityField `json:"entity,omitempty"` Hostname *[]string `json:"hostname,omitempty"` Id *[]string `json:"id,omitempty"` Ip *[]string `json:"ip,omitempty"` @@ -18957,7 +17165,7 @@ type SecurityEntityAnalyticsAPIHostEntity struct { Name string `json:"name"` Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` Type *[]string `json:"type,omitempty"` - } `json:"host,omitempty"` + } `json:"host"` } // SecurityEntityAnalyticsAPIIdField defines model for Security_Entity_Analytics_API_IdField. @@ -18982,7 +17190,11 @@ type SecurityEntityAnalyticsAPIMetadata = SecurityEntityAnalyticsAPITransformSta type SecurityEntityAnalyticsAPIMonitoredUserDoc struct { Timestamp *time.Time `json:"@timestamp,omitempty"` EntityAnalyticsMonitoring *struct { - Labels *[]SecurityEntityAnalyticsAPIMonitoringLabel `json:"labels,omitempty"` + Labels *[]struct { + Field *string `json:"field,omitempty"` + Source *string `json:"source,omitempty"` + Value *string `json:"value,omitempty"` + } `json:"labels,omitempty"` } `json:"entity_analytics_monitoring,omitempty"` Event *struct { Ingested *time.Time `json:"ingested,omitempty"` @@ -18993,31 +17205,6 @@ type SecurityEntityAnalyticsAPIMonitoredUserDoc struct { SourceIntegrations *[]string `json:"source_integrations,omitempty"` Sources *[]interface{} `json:"sources,omitempty"` } `json:"labels,omitempty"` - User *struct { - Entity *struct { - Attributes *struct { - // Privileged Indicates if the user is privileged. - Privileged *bool `json:"Privileged,omitempty"` - } `json:"attributes,omitempty"` - } `json:"entity,omitempty"` - - // IsPrivileged Indicates if the user is privileged. - IsPrivileged *bool `json:"is_privileged,omitempty"` - Name *string `json:"name,omitempty"` - } `json:"user,omitempty"` -} - -// SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc defines model for Security_Entity_Analytics_API_MonitoredUserUpdateDoc. -type SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc struct { - EntityAnalyticsMonitoring *struct { - Labels *[]SecurityEntityAnalyticsAPIMonitoringLabel `json:"labels,omitempty"` - } `json:"entity_analytics_monitoring,omitempty"` - Id *string `json:"id,omitempty"` - Labels *struct { - SourceIds *[]string `json:"source_ids,omitempty"` - SourceIntegrations *[]string `json:"source_integrations,omitempty"` - Sources *[]interface{} `json:"sources,omitempty"` - } `json:"labels,omitempty"` User *struct { // IsPrivileged Indicates if the user is privileged. IsPrivileged *bool `json:"is_privileged,omitempty"` @@ -19027,23 +17214,10 @@ type SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc struct { // SecurityEntityAnalyticsAPIMonitoringEngineDescriptor defines model for Security_Entity_Analytics_API_MonitoringEngineDescriptor. type SecurityEntityAnalyticsAPIMonitoringEngineDescriptor struct { - Error *struct { - // Message Error message typically only present if the engine is in error state - Message *string `json:"message,omitempty"` - } `json:"error,omitempty"` - - // Status The status of the Privilege Monitoring Engine Status SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus `json:"status"` } -// SecurityEntityAnalyticsAPIMonitoringLabel defines model for Security_Entity_Analytics_API_MonitoringLabel. -type SecurityEntityAnalyticsAPIMonitoringLabel struct { - Field string `json:"field"` - Source string `json:"source"` - Value string `json:"value"` -} - -// SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus The status of the Privilege Monitoring Engine +// SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus defines model for Security_Entity_Analytics_API_PrivilegeMonitoringEngineStatus. type SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus string // SecurityEntityAnalyticsAPIPrivmonUserCsvUploadErrorItem defines model for Security_Entity_Analytics_API_PrivmonUserCsvUploadErrorItem. @@ -19095,17 +17269,24 @@ type SecurityEntityAnalyticsAPIRiskScoreInput struct { // SecurityEntityAnalyticsAPIServiceEntity defines model for Security_Entity_Analytics_API_ServiceEntity. type SecurityEntityAnalyticsAPIServiceEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` - Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` - Event *struct { + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *struct { + // Criticality The criticality level of the asset. + Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` + } `json:"asset,omitempty"` + Entity struct { + EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` + Name string `json:"name"` + Source string `json:"source"` + Type string `json:"type"` + } `json:"entity"` + Event *struct { Ingested *time.Time `json:"ingested,omitempty"` } `json:"event,omitempty"` - Service *struct { - Entity *SecurityEntityAnalyticsAPIEntityField `json:"entity,omitempty"` - Name string `json:"name"` - Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` - } `json:"service,omitempty"` + Service struct { + Name string `json:"name"` + Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` + } `json:"service"` } // SecurityEntityAnalyticsAPIStoreStatus defines model for Security_Entity_Analytics_API_StoreStatus. @@ -19140,13 +17321,21 @@ type SecurityEntityAnalyticsAPITransformStatsMetadata struct { // SecurityEntityAnalyticsAPIUserEntity defines model for Security_Entity_Analytics_API_UserEntity. type SecurityEntityAnalyticsAPIUserEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` - Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` - Event *struct { + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *struct { + // Criticality The criticality level of the asset. + Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` + } `json:"asset,omitempty"` + Entity struct { + EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` + Name string `json:"name"` + Source string `json:"source"` + Type string `json:"type"` + } `json:"entity"` + Event *struct { Ingested *time.Time `json:"ingested,omitempty"` } `json:"event,omitempty"` - User *struct { + User struct { Domain *[]string `json:"domain,omitempty"` Email *[]string `json:"email,omitempty"` FullName *[]string `json:"full_name,omitempty"` @@ -19155,7 +17344,7 @@ type SecurityEntityAnalyticsAPIUserEntity struct { Name string `json:"name"` Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` Roles *[]string `json:"roles,omitempty"` - } `json:"user,omitempty"` + } `json:"user"` } // SecurityEntityAnalyticsAPIUserName defines model for Security_Entity_Analytics_API_UserName. @@ -21736,7 +19925,6 @@ type AgentPolicy struct { DataOutputId *string `json:"data_output_id,omitempty"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id,omitempty"` - FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id,omitempty"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -21814,25 +20002,18 @@ type AgentPolicyPackagePolicies1 = []struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *AgentPolicy_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs AgentPolicy_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs AgentPolicy_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -21853,7 +20034,6 @@ type AgentPolicyPackagePolicies1 = []struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -21864,31 +20044,22 @@ type AgentPolicyPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless,omitempty"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector,omitempty"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *AgentPolicy_PackagePolicies_1_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless,omitempty"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *AgentPolicy_PackagePolicies_1_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } // AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges defines model for AgentPolicy.PackagePolicies.1.Elasticsearch.Privileges. @@ -21962,21 +20133,21 @@ type AgentPolicyPackagePolicies1Inputs0 = []struct { // AgentPolicyPackagePolicies1Inputs0StreamsRelease defines model for AgentPolicy.PackagePolicies.1.Inputs.0.Streams.Release. type AgentPolicyPackagePolicies1Inputs0StreamsRelease string -// AgentPolicyPackagePolicies1Inputs1 Package policy inputs. Refer to the integration documentation to know which inputs are available. +// AgentPolicyPackagePolicies1Inputs1 Package policy inputs (see integration documentation to know what inputs are available) type AgentPolicyPackagePolicies1Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*AgentPolicy_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*AgentPolicy_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } @@ -22032,7 +20203,7 @@ type AgentPolicy_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties struct { union json.RawMessage } -// AgentPolicy_PackagePolicies_1_Inputs Package policy inputs. +// AgentPolicy_PackagePolicies_1_Inputs defines model for AgentPolicy.PackagePolicies.1.Inputs. type AgentPolicy_PackagePolicies_1_Inputs struct { union json.RawMessage } @@ -22044,7 +20215,7 @@ type AgentPolicyPackagePolicies1Vars0 map[string]struct { Value interface{} `json:"value"` } -// AgentPolicyPackagePolicies1Vars1 Input/stream level variable. Refer to the integration documentation for more information. +// AgentPolicyPackagePolicies1Vars1 Input/stream level variable (see integration documentation for more information) type AgentPolicyPackagePolicies1Vars1 map[string]*AgentPolicy_PackagePolicies_1_Vars_1_AdditionalProperties // AgentPolicyPackagePolicies1Vars10 defines model for . @@ -22073,7 +20244,7 @@ type AgentPolicy_PackagePolicies_1_Vars_1_AdditionalProperties struct { union json.RawMessage } -// AgentPolicy_PackagePolicies_1_Vars Package level variable. +// AgentPolicy_PackagePolicies_1_Vars defines model for AgentPolicy.PackagePolicies.1.Vars. type AgentPolicy_PackagePolicies_1_Vars struct { union json.RawMessage } @@ -22585,8 +20756,7 @@ type NewOutputElasticsearchPreset string // NewOutputElasticsearchSecretsSslKey0 defines model for . type NewOutputElasticsearchSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // NewOutputElasticsearchSecretsSslKey1 defines model for . @@ -22647,13 +20817,14 @@ type NewOutputKafka struct { Key NewOutputKafka_Secrets_Ssl_Key `json:"key"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *NewOutputShipper `json:"shipper,omitempty"` - Ssl *NewOutputSsl `json:"ssl,omitempty"` - Timeout *float32 `json:"timeout,omitempty"` - Topic *string `json:"topic,omitempty"` - Type NewOutputKafkaType `json:"type"` - Username *string `json:"username,omitempty"` - Version *string `json:"version,omitempty"` + Shipper *NewOutputShipper `json:"shipper,omitempty"` + Ssl *NewOutputSsl `json:"ssl,omitempty"` + Timeout *float32 `json:"timeout,omitempty"` + Topic *string `json:"topic,omitempty"` + Type NewOutputKafkaType `json:"type"` + Username *string `json:"username,omitempty"` + Version *string `json:"version,omitempty"` + WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` } // NewOutputKafkaAuthType defines model for NewOutputKafka.AuthType. @@ -22673,8 +20844,7 @@ type NewOutputKafkaSaslMechanism string // NewOutputKafkaSecretsPassword0 defines model for . type NewOutputKafkaSecretsPassword0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // NewOutputKafkaSecretsPassword1 defines model for . @@ -22687,8 +20857,7 @@ type NewOutputKafka_Secrets_Password struct { // NewOutputKafkaSecretsSslKey0 defines model for . type NewOutputKafkaSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // NewOutputKafkaSecretsSslKey1 defines model for . @@ -22721,15 +20890,15 @@ type NewOutputLogstash struct { Key *NewOutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *NewOutputShipper `json:"shipper,omitempty"` - Ssl *NewOutputSsl `json:"ssl,omitempty"` - Type NewOutputLogstashType `json:"type"` + Shipper *NewOutputShipper `json:"shipper,omitempty"` + Ssl *NewOutputSsl `json:"ssl,omitempty"` + Type NewOutputLogstashType `json:"type"` + WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` } // NewOutputLogstashSecretsSslKey0 defines model for . type NewOutputLogstashSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // NewOutputLogstashSecretsSslKey1 defines model for . @@ -22780,8 +20949,7 @@ type NewOutputRemoteElasticsearchPreset string // NewOutputRemoteElasticsearchSecretsServiceToken0 defines model for . type NewOutputRemoteElasticsearchSecretsServiceToken0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // NewOutputRemoteElasticsearchSecretsServiceToken1 defines model for . @@ -22794,8 +20962,7 @@ type NewOutputRemoteElasticsearch_Secrets_ServiceToken struct { // NewOutputRemoteElasticsearchSecretsSslKey0 defines model for . type NewOutputRemoteElasticsearchSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // NewOutputRemoteElasticsearchSecretsSslKey1 defines model for . @@ -22879,7 +21046,6 @@ type OutputElasticsearchPreset string // OutputElasticsearchSecretsSslKey0 defines model for . type OutputElasticsearchSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -22944,6 +21110,7 @@ type OutputKafka struct { Type OutputKafkaType `json:"type"` Username *string `json:"username,omitempty"` Version *string `json:"version,omitempty"` + WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -22996,7 +21163,6 @@ type OutputKafka_Sasl struct { // OutputKafkaSecretsPassword0 defines model for . type OutputKafkaSecretsPassword0 struct { - Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -23011,7 +21177,6 @@ type OutputKafka_Secrets_Password struct { // OutputKafkaSecretsSslKey0 defines model for . type OutputKafkaSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -23058,12 +21223,12 @@ type OutputLogstash struct { Shipper *OutputShipper `json:"shipper,omitempty"` Ssl *OutputSsl `json:"ssl,omitempty"` Type OutputLogstashType `json:"type"` + WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } // OutputLogstashSecretsSslKey0 defines model for . type OutputLogstashSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -23124,7 +21289,6 @@ type OutputRemoteElasticsearchPreset string // OutputRemoteElasticsearchSecretsServiceToken0 defines model for . type OutputRemoteElasticsearchSecretsServiceToken0 struct { - Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -23139,7 +21303,6 @@ type OutputRemoteElasticsearch_Secrets_ServiceToken struct { // OutputRemoteElasticsearchSecretsSslKey0 defines model for . type OutputRemoteElasticsearchSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -23316,7 +21479,6 @@ type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Type struct { // PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item defines model for PackageInfo.InstallationInfo.AdditionalSpacesInstalledKibana.Item. type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Type `json:"type"` @@ -23370,7 +21532,6 @@ type PackageInfo_InstallationInfo_InstalledKibana_Type struct { // PackageInfo_InstallationInfo_InstalledKibana_Item defines model for PackageInfo.InstallationInfo.InstalledKibana.Item. type PackageInfo_InstallationInfo_InstalledKibana_Item struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageInfo_InstallationInfo_InstalledKibana_Type `json:"type"` @@ -23415,13 +21576,11 @@ type PackageInfo_InstallationInfo struct { InstalledEs []PackageInfo_InstallationInfo_InstalledEs_Item `json:"installed_es"` InstalledKibana []PackageInfo_InstallationInfo_InstalledKibana_Item `json:"installed_kibana"` InstalledKibanaSpaceId *string `json:"installed_kibana_space_id,omitempty"` - IsRollbackTtlExpired *bool `json:"is_rollback_ttl_expired,omitempty"` LatestExecutedState *PackageInfo_InstallationInfo_LatestExecutedState `json:"latest_executed_state,omitempty"` LatestInstallFailedAttempts *[]PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item `json:"latest_install_failed_attempts,omitempty"` Name string `json:"name"` Namespaces *[]string `json:"namespaces,omitempty"` PreviousVersion *string `json:"previous_version,omitempty"` - RolledBack *bool `json:"rolled_back,omitempty"` Type string `json:"type"` UpdatedAt *string `json:"updated_at,omitempty"` VerificationKeyId *string `json:"verification_key_id,omitempty"` @@ -23560,7 +21719,6 @@ type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Type struc // PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item defines model for PackageListItem.InstallationInfo.AdditionalSpacesInstalledKibana.Item. type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Type `json:"type"` @@ -23614,7 +21772,6 @@ type PackageListItem_InstallationInfo_InstalledKibana_Type struct { // PackageListItem_InstallationInfo_InstalledKibana_Item defines model for PackageListItem.InstallationInfo.InstalledKibana.Item. type PackageListItem_InstallationInfo_InstalledKibana_Item struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageListItem_InstallationInfo_InstalledKibana_Type `json:"type"` @@ -23659,13 +21816,11 @@ type PackageListItem_InstallationInfo struct { InstalledEs []PackageListItem_InstallationInfo_InstalledEs_Item `json:"installed_es"` InstalledKibana []PackageListItem_InstallationInfo_InstalledKibana_Item `json:"installed_kibana"` InstalledKibanaSpaceId *string `json:"installed_kibana_space_id,omitempty"` - IsRollbackTtlExpired *bool `json:"is_rollback_ttl_expired,omitempty"` LatestExecutedState *PackageListItem_InstallationInfo_LatestExecutedState `json:"latest_executed_state,omitempty"` LatestInstallFailedAttempts *[]PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item `json:"latest_install_failed_attempts,omitempty"` Name string `json:"name"` Namespaces *[]string `json:"namespaces,omitempty"` PreviousVersion *string `json:"previous_version,omitempty"` - RolledBack *bool `json:"rolled_back,omitempty"` Type string `json:"type"` UpdatedAt *string `json:"updated_at,omitempty"` VerificationKeyId *string `json:"verification_key_id,omitempty"` @@ -23715,25 +21870,20 @@ type PackagePolicy struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PackagePolicy_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. + // Inputs Package policy inputs (see integration documentation to know what inputs are available) Inputs map[string]PackagePolicyInput `json:"inputs"` IsManaged *bool `json:"is_managed,omitempty"` - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -23754,7 +21904,6 @@ type PackagePolicy struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -23765,27 +21914,20 @@ type PackagePolicy struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` Revision float32 `json:"revision"` SecretReferences *[]PackagePolicySecretRef `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless,omitempty"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector,omitempty"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *map[string]interface{} `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless,omitempty"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *map[string]interface{} `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } // PackagePolicy_Elasticsearch_Privileges defines model for PackagePolicy.Elasticsearch.Privileges. @@ -23802,17 +21944,17 @@ type PackagePolicy_Elasticsearch struct { // PackagePolicyInput defines model for package_policy_input. type PackagePolicyInput struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]PackagePolicyInputStream `json:"streams,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } // PackagePolicyInputStream defines model for package_policy_input_stream. type PackagePolicyInputStream struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } @@ -23821,33 +21963,18 @@ type PackagePolicyInputStream struct { type PackagePolicyRequest struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` - - // Description Policy description. - Description *string `json:"description,omitempty"` - - // Force Force package policy creation even if the package is not verified, or if the agent policy is managed. - Force *bool `json:"force,omitempty"` - - // Id Policy unique identifier. - Id *string `json:"id,omitempty"` - - // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. - Inputs *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"` - - // Name Unique name for the policy. - Name string `json:"name"` - - // Namespace Policy namespace. When not specified, it inherits the agent policy namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id,omitempty"` - Package PackagePolicyRequestPackage `json:"package"` - - // PolicyId Deprecated. Use policy_ids instead. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - - // PolicyIds IDs of the agent policies which that package policy will be added to. - PolicyIds *[]string `json:"policy_ids,omitempty"` + Description *string `json:"description,omitempty"` + Force *bool `json:"force,omitempty"` + Id *string `json:"id,omitempty"` + + // Inputs Package policy inputs (see integration documentation to know what inputs are available) + Inputs *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id,omitempty"` + Package PackagePolicyRequestPackage `json:"package"` + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. SupportsAgentless *bool `json:"supports_agentless,omitempty"` @@ -23856,17 +21983,17 @@ type PackagePolicyRequest struct { // PackagePolicyRequestInput defines model for package_policy_request_input. type PackagePolicyRequestInput struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]PackagePolicyRequestInputStream `json:"streams,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } // PackagePolicyRequestInputStream defines model for package_policy_request_input_stream. type PackagePolicyRequestInputStream struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } @@ -23882,7 +22009,6 @@ type PackagePolicyRequestPackage struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -25252,38 +23378,21 @@ type ServerHost struct { ProxyId *string `json:"proxy_id,omitempty"` Secrets *struct { Ssl *struct { - AgentKey *ServerHost_Secrets_Ssl_AgentKey `json:"agent_key,omitempty"` - EsKey *ServerHost_Secrets_Ssl_EsKey `json:"es_key,omitempty"` - Key *ServerHost_Secrets_Ssl_Key `json:"key,omitempty"` + EsKey *ServerHost_Secrets_Ssl_EsKey `json:"es_key,omitempty"` + Key *ServerHost_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` Ssl *struct { - AgentCertificate *string `json:"agent_certificate,omitempty"` - AgentCertificateAuthorities *[]string `json:"agent_certificate_authorities,omitempty"` - AgentKey *string `json:"agent_key,omitempty"` - Certificate *string `json:"certificate,omitempty"` - CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` - ClientAuth *ServerHostSslClientAuth `json:"client_auth,omitempty"` - EsCertificate *string `json:"es_certificate,omitempty"` - EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` - EsKey *string `json:"es_key,omitempty"` - Key *string `json:"key,omitempty"` + Certificate *string `json:"certificate,omitempty"` + CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` + ClientAuth *ServerHostSslClientAuth `json:"client_auth,omitempty"` + EsCertificate *string `json:"es_certificate,omitempty"` + EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` + EsKey *string `json:"es_key,omitempty"` + Key *string `json:"key,omitempty"` } `json:"ssl,omitempty"` } -// ServerHostSecretsSslAgentKey0 defines model for . -type ServerHostSecretsSslAgentKey0 struct { - Id string `json:"id"` -} - -// ServerHostSecretsSslAgentKey1 defines model for . -type ServerHostSecretsSslAgentKey1 = string - -// ServerHost_Secrets_Ssl_AgentKey defines model for ServerHost.Secrets.Ssl.AgentKey. -type ServerHost_Secrets_Ssl_AgentKey struct { - union json.RawMessage -} - // ServerHostSecretsSslEsKey0 defines model for . type ServerHostSecretsSslEsKey0 struct { Id string `json:"id"` @@ -25639,8 +23748,7 @@ type UpdateOutputElasticsearchPreset string // UpdateOutputElasticsearchSecretsSslKey0 defines model for . type UpdateOutputElasticsearchSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // UpdateOutputElasticsearchSecretsSslKey1 defines model for . @@ -25700,13 +23808,14 @@ type UpdateOutputKafka struct { Key UpdateOutputKafka_Secrets_Ssl_Key `json:"key"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *UpdateOutputShipper `json:"shipper,omitempty"` - Ssl *UpdateOutputSsl `json:"ssl,omitempty"` - Timeout *float32 `json:"timeout,omitempty"` - Topic *string `json:"topic,omitempty"` - Type *UpdateOutputKafkaType `json:"type,omitempty"` - Username *string `json:"username,omitempty"` - Version *string `json:"version,omitempty"` + Shipper *UpdateOutputShipper `json:"shipper,omitempty"` + Ssl *UpdateOutputSsl `json:"ssl,omitempty"` + Timeout *float32 `json:"timeout,omitempty"` + Topic *string `json:"topic,omitempty"` + Type *UpdateOutputKafkaType `json:"type,omitempty"` + Username *string `json:"username,omitempty"` + Version *string `json:"version,omitempty"` + WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` } // UpdateOutputKafkaAuthType defines model for UpdateOutputKafka.AuthType. @@ -25726,8 +23835,7 @@ type UpdateOutputKafkaSaslMechanism string // UpdateOutputKafkaSecretsPassword0 defines model for . type UpdateOutputKafkaSecretsPassword0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // UpdateOutputKafkaSecretsPassword1 defines model for . @@ -25740,8 +23848,7 @@ type UpdateOutputKafka_Secrets_Password struct { // UpdateOutputKafkaSecretsSslKey0 defines model for . type UpdateOutputKafkaSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // UpdateOutputKafkaSecretsSslKey1 defines model for . @@ -25773,15 +23880,15 @@ type UpdateOutputLogstash struct { Key *UpdateOutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *UpdateOutputShipper `json:"shipper,omitempty"` - Ssl *UpdateOutputSsl `json:"ssl,omitempty"` - Type *UpdateOutputLogstashType `json:"type,omitempty"` + Shipper *UpdateOutputShipper `json:"shipper,omitempty"` + Ssl *UpdateOutputSsl `json:"ssl,omitempty"` + Type *UpdateOutputLogstashType `json:"type,omitempty"` + WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` } // UpdateOutputLogstashSecretsSslKey0 defines model for . type UpdateOutputLogstashSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // UpdateOutputLogstashSecretsSslKey1 defines model for . @@ -25831,8 +23938,7 @@ type UpdateOutputRemoteElasticsearchPreset string // UpdateOutputRemoteElasticsearchSecretsServiceToken0 defines model for . type UpdateOutputRemoteElasticsearchSecretsServiceToken0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // UpdateOutputRemoteElasticsearchSecretsServiceToken1 defines model for . @@ -25845,8 +23951,7 @@ type UpdateOutputRemoteElasticsearch_Secrets_ServiceToken struct { // UpdateOutputRemoteElasticsearchSecretsSslKey0 defines model for . type UpdateOutputRemoteElasticsearchSecretsSslKey0 struct { - Hash *string `json:"hash,omitempty"` - Id string `json:"id"` + Id string `json:"id"` } // UpdateOutputRemoteElasticsearchSecretsSslKey1 defines model for . @@ -26090,214 +24195,6 @@ type GetActionsConnectorTypesParams struct { FeatureId *string `form:"feature_id,omitempty" json:"feature_id,omitempty"` } -// PostAgentBuilderA2aAgentidJSONBody defines parameters for PostAgentBuilderA2aAgentid. -type PostAgentBuilderA2aAgentidJSONBody = interface{} - -// PostAgentBuilderAgentsJSONBody defines parameters for PostAgentBuilderAgents. -type PostAgentBuilderAgentsJSONBody struct { - // AvatarColor Optional hex color code for the agent avatar. - AvatarColor *string `json:"avatar_color,omitempty"` - - // AvatarSymbol Optional symbol/initials for the agent avatar. - AvatarSymbol *string `json:"avatar_symbol,omitempty"` - - // Configuration Configuration settings for the agent. - Configuration struct { - // Instructions Optional system instructions that define the agent behavior. - Instructions *string `json:"instructions,omitempty"` - Tools []struct { - // ToolIds Array of tool IDs that the agent can use. - ToolIds []string `json:"tool_ids"` - } `json:"tools"` - } `json:"configuration"` - - // Description Description of what the agent does. - Description string `json:"description"` - - // Id Unique identifier for the agent. - Id string `json:"id"` - - // Labels Optional labels for categorizing and organizing agents. - Labels *[]string `json:"labels,omitempty"` - - // Name Display name for the agent. - Name string `json:"name"` -} - -// PutAgentBuilderAgentsIdJSONBody defines parameters for PutAgentBuilderAgentsId. -type PutAgentBuilderAgentsIdJSONBody struct { - // AvatarColor Updated hex color code for the agent avatar. - AvatarColor *string `json:"avatar_color,omitempty"` - - // AvatarSymbol Updated symbol/initials for the agent avatar. - AvatarSymbol *string `json:"avatar_symbol,omitempty"` - - // Configuration Updated configuration settings for the agent. - Configuration *struct { - // Instructions Updated system instructions that define the agent behavior. - Instructions *string `json:"instructions,omitempty"` - Tools *[]struct { - // ToolIds Array of tool IDs that the agent can use. - ToolIds []string `json:"tool_ids"` - } `json:"tools,omitempty"` - } `json:"configuration,omitempty"` - - // Description Updated description of what the agent does. - Description *string `json:"description,omitempty"` - - // Labels Updated labels for categorizing and organizing agents. - Labels *[]string `json:"labels,omitempty"` - - // Name Updated display name for the agent. - Name *string `json:"name,omitempty"` -} - -// GetAgentBuilderConversationsParams defines parameters for GetAgentBuilderConversations. -type GetAgentBuilderConversationsParams struct { - // AgentId Optional agent ID to filter conversations by a specific agent. - AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"` -} - -// PostAgentBuilderConverseJSONBody defines parameters for PostAgentBuilderConverse. -type PostAgentBuilderConverseJSONBody struct { - // AgentId The ID of the agent to chat with. Defaults to the default Elastic AI agent. - AgentId *string `json:"agent_id,omitempty"` - - // Attachments Optional attachments to send with the message. - Attachments *[]struct { - // Data Payload of the attachment. - Data map[string]interface{} `json:"data"` - - // Hidden When true, the attachment will not be displayed in the UI. - Hidden *bool `json:"hidden,omitempty"` - - // Id Optional id for the attachment. - Id *string `json:"id,omitempty"` - - // Type Type of the attachment. - Type string `json:"type"` - } `json:"attachments,omitempty"` - - // BrowserApiTools Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. - BrowserApiTools *[]struct { - // Description Description of what the browser API tool does. - Description string `json:"description"` - - // Id Unique identifier for the browser API tool. - Id string `json:"id"` - Schema interface{} `json:"schema"` - } `json:"browser_api_tools,omitempty"` - - // Capabilities Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. - Capabilities *struct { - // Visualizations When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. - Visualizations *bool `json:"visualizations,omitempty"` - } `json:"capabilities,omitempty"` - - // ConnectorId Optional connector ID for the agent to use for external integrations. - ConnectorId *string `json:"connector_id,omitempty"` - - // ConversationId Optional existing conversation ID to continue a previous conversation. - ConversationId *string `json:"conversation_id,omitempty"` - - // Input The user input message to send to the agent. - Input string `json:"input"` -} - -// PostAgentBuilderConverseAsyncJSONBody defines parameters for PostAgentBuilderConverseAsync. -type PostAgentBuilderConverseAsyncJSONBody struct { - // AgentId The ID of the agent to chat with. Defaults to the default Elastic AI agent. - AgentId *string `json:"agent_id,omitempty"` - - // Attachments Optional attachments to send with the message. - Attachments *[]struct { - // Data Payload of the attachment. - Data map[string]interface{} `json:"data"` - - // Hidden When true, the attachment will not be displayed in the UI. - Hidden *bool `json:"hidden,omitempty"` - - // Id Optional id for the attachment. - Id *string `json:"id,omitempty"` - - // Type Type of the attachment. - Type string `json:"type"` - } `json:"attachments,omitempty"` - - // BrowserApiTools Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. - BrowserApiTools *[]struct { - // Description Description of what the browser API tool does. - Description string `json:"description"` - - // Id Unique identifier for the browser API tool. - Id string `json:"id"` - Schema interface{} `json:"schema"` - } `json:"browser_api_tools,omitempty"` - - // Capabilities Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. - Capabilities *struct { - // Visualizations When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. - Visualizations *bool `json:"visualizations,omitempty"` - } `json:"capabilities,omitempty"` - - // ConnectorId Optional connector ID for the agent to use for external integrations. - ConnectorId *string `json:"connector_id,omitempty"` - - // ConversationId Optional existing conversation ID to continue a previous conversation. - ConversationId *string `json:"conversation_id,omitempty"` - - // Input The user input message to send to the agent. - Input string `json:"input"` -} - -// PostAgentBuilderMcpJSONBody defines parameters for PostAgentBuilderMcp. -type PostAgentBuilderMcpJSONBody = interface{} - -// PostAgentBuilderToolsJSONBody defines parameters for PostAgentBuilderTools. -type PostAgentBuilderToolsJSONBody struct { - // Configuration Tool-specific configuration parameters. See examples for details. - Configuration map[string]interface{} `json:"configuration"` - - // Description Description of what the tool does. - Description *string `json:"description,omitempty"` - - // Id Unique identifier for the tool. - Id string `json:"id"` - - // Tags Optional tags for categorizing and organizing tools. - Tags *[]string `json:"tags,omitempty"` - - // Type The type of tool to create (e.g., esql, index_search). - Type PostAgentBuilderToolsJSONBodyType `json:"type"` -} - -// PostAgentBuilderToolsJSONBodyType defines parameters for PostAgentBuilderTools. -type PostAgentBuilderToolsJSONBodyType string - -// PostAgentBuilderToolsExecuteJSONBody defines parameters for PostAgentBuilderToolsExecute. -type PostAgentBuilderToolsExecuteJSONBody struct { - // ConnectorId Optional connector ID for tools that require external integrations. - ConnectorId *string `json:"connector_id,omitempty"` - - // ToolId The ID of the tool to execute. - ToolId string `json:"tool_id"` - - // ToolParams Parameters to pass to the tool execution. See examples for details - ToolParams map[string]interface{} `json:"tool_params"` -} - -// PutAgentBuilderToolsToolidJSONBody defines parameters for PutAgentBuilderToolsToolid. -type PutAgentBuilderToolsToolidJSONBody struct { - // Configuration Updated tool-specific configuration parameters. See examples for details. - Configuration *map[string]interface{} `json:"configuration,omitempty"` - - // Description Updated description of what the tool does. - Description *string `json:"description,omitempty"` - - // Tags Updated tags for categorizing and organizing tools. - Tags *[]string `json:"tags,omitempty"` -} - // PostAlertingRuleIdJSONBody defines parameters for PostAlertingRuleId. type PostAlertingRuleIdJSONBody struct { Actions *[]struct { @@ -26896,123 +24793,6 @@ type FindAssetCriticalityRecordsParamsSortField string // FindAssetCriticalityRecordsParamsSortDirection defines parameters for FindAssetCriticalityRecords. type FindAssetCriticalityRecordsParamsSortDirection string -// PostAttackDiscoveryBulkJSONBody defines parameters for PostAttackDiscoveryBulk. -type PostAttackDiscoveryBulkJSONBody struct { - // Update Configuration object containing all parameters for the bulk update operation - Update struct { - // EnableFieldRendering Enables a markdown syntax used to render pivot fields, for example `{{ user.name james }}`. When disabled, the same example would be rendered as `james`. This is primarily used for Attack discovery views within Kibana. Defaults to `false`. - EnableFieldRendering *bool `json:"enable_field_rendering,omitempty"` - - // Ids Array of Attack discovery IDs to update - Ids []string `json:"ids"` - - // KibanaAlertWorkflowStatus When provided, update the kibana.alert.workflow_status of the attack discovery alerts - KibanaAlertWorkflowStatus *PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus `json:"kibana_alert_workflow_status,omitempty"` - - // Visibility When provided, update the visibility of the alert, as determined by the kibana.alert.attack_discovery.users field - Visibility *PostAttackDiscoveryBulkJSONBodyUpdateVisibility `json:"visibility,omitempty"` - - // WithReplacements When true, returns the updated Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. This substitutes anonymized values with human-readable equivalents. Defaults to `true`. - WithReplacements *bool `json:"with_replacements,omitempty"` - } `json:"update"` -} - -// PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus defines parameters for PostAttackDiscoveryBulk. -type PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus string - -// PostAttackDiscoveryBulkJSONBodyUpdateVisibility defines parameters for PostAttackDiscoveryBulk. -type PostAttackDiscoveryBulkJSONBodyUpdateVisibility string - -// AttackDiscoveryFindParams defines parameters for AttackDiscoveryFind. -type AttackDiscoveryFindParams struct { - // AlertIds Filter results to Attack discoveries that include any of the provided alert IDs - AlertIds *[]string `form:"alert_ids,omitempty" json:"alert_ids,omitempty"` - - // ConnectorNames Filter results to Attack discoveries created by any of the provided human readable connector names. Note that values must match the human readable `connector_name` property of an Attack discovery, e.g. "GPT-5 Chat", which are distinct from `connector_id` values used to generate Attack discoveries. - ConnectorNames *[]string `form:"connector_names,omitempty" json:"connector_names,omitempty"` - - // EnableFieldRendering Enables a markdown syntax used to render pivot fields, for example `{{ user.name james }}`. When disabled, the same example would be rendered as `james`. This is primarily used for Attack discovery views within Kibana. Defaults to `false`. - EnableFieldRendering *bool `form:"enable_field_rendering,omitempty" json:"enable_field_rendering,omitempty"` - - // End End of the time range for the search. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h"). - End *string `form:"end,omitempty" json:"end,omitempty"` - - // Ids Filter results to the Attack discoveries with the specified IDs - Ids *[]string `form:"ids,omitempty" json:"ids,omitempty"` - - // IncludeUniqueAlertIds If `true`, the response will include `unique_alert_ids` and `unique_alert_ids_count` aggregated across the matched Attack discoveries - IncludeUniqueAlertIds *bool `form:"include_unique_alert_ids,omitempty" json:"include_unique_alert_ids,omitempty"` - - // Page Page number to return (used for pagination). Defaults to 1. - Page *int `form:"page,omitempty" json:"page,omitempty"` - - // PerPage Number of Attack discoveries to return per page (used for pagination). Defaults to 10. - PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` - - // Search Free-text search query applied to relevant text fields of Attack discoveries (title, description, tags, etc.) - Search *string `form:"search,omitempty" json:"search,omitempty"` - - // Shared Whether to filter by shared visibility. If omitted, both shared and privately visible Attack discoveries are returned. Use `true` to return only shared discoveries, `false` to return only those visible to the current user. - Shared *bool `form:"shared,omitempty" json:"shared,omitempty"` - - // SortField Field used to sort results. See `AttackDiscoveryFindSortField` for allowed values. - SortField *SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField `form:"sort_field,omitempty" json:"sort_field,omitempty"` - - // SortOrder Sort order direction `asc` for ascending or `desc` for descending. Defaults to `desc`. - SortOrder *SecurityAttackDiscoveryAPISortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"` - - // Start Start of the time range for the search. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d"). - Start *string `form:"start,omitempty" json:"start,omitempty"` - - // Status Filter by alert workflow status. Provide one or more of the allowed workflow states. - Status *[]AttackDiscoveryFindParamsStatus `form:"status,omitempty" json:"status,omitempty"` - - // WithReplacements When true, return the created Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. Defaults to `true`. - WithReplacements *bool `form:"with_replacements,omitempty" json:"with_replacements,omitempty"` -} - -// AttackDiscoveryFindParamsStatus defines parameters for AttackDiscoveryFind. -type AttackDiscoveryFindParamsStatus string - -// GetAttackDiscoveryGenerationsParams defines parameters for GetAttackDiscoveryGenerations. -type GetAttackDiscoveryGenerationsParams struct { - // End End of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h"). - End *string `form:"end,omitempty" json:"end,omitempty"` - - // Size The maximum number of generations to retrieve - Size *float32 `form:"size,omitempty" json:"size,omitempty"` - - // Start Start of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d"). - Start *string `form:"start,omitempty" json:"start,omitempty"` -} - -// GetAttackDiscoveryGenerationParams defines parameters for GetAttackDiscoveryGeneration. -type GetAttackDiscoveryGenerationParams struct { - // EnableFieldRendering Enables a markdown syntax used to render pivot fields, for example `{{ user.name james }}`. When disabled, the same example would be rendered as `james`. This is primarily used for Attack discovery views within Kibana. Defaults to `false`. - EnableFieldRendering *bool `form:"enable_field_rendering,omitempty" json:"enable_field_rendering,omitempty"` - - // WithReplacements When true, return the created Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. Defaults to `true`. - WithReplacements *bool `form:"with_replacements,omitempty" json:"with_replacements,omitempty"` -} - -// FindAttackDiscoverySchedulesParams defines parameters for FindAttackDiscoverySchedules. -type FindAttackDiscoverySchedulesParams struct { - // Page Page number to return (used for pagination). Defaults to 1. - Page *float32 `form:"page,omitempty" json:"page,omitempty"` - - // PerPage Number of Attack discovery schedules to return per page (used for pagination). Defaults to 10. - PerPage *float32 `form:"per_page,omitempty" json:"per_page,omitempty"` - - // SortField Field used to sort results. Common fields include 'name', 'created_at', 'updated_at', and 'enabled'. - SortField *SecurityAttackDiscoveryAPINonEmptyString `form:"sort_field,omitempty" json:"sort_field,omitempty"` - - // SortDirection Sort order direction. Use 'asc' for ascending or 'desc' for descending. Defaults to 'asc'. - SortDirection *FindAttackDiscoverySchedulesParamsSortDirection `form:"sort_direction,omitempty" json:"sort_direction,omitempty"` -} - -// FindAttackDiscoverySchedulesParamsSortDirection defines parameters for FindAttackDiscoverySchedules. -type FindAttackDiscoverySchedulesParamsSortDirection string - // DeleteCaseDefaultSpaceParams defines parameters for DeleteCaseDefaultSpace. type DeleteCaseDefaultSpaceParams struct { // Ids The cases that you want to removed. All non-ASCII characters must be URL encoded. @@ -28969,11 +26749,6 @@ type InitEntityEngineJSONBody struct { TimestampField *string `json:"timestampField,omitempty"` } -// UpsertEntitiesBulkParams defines parameters for UpsertEntitiesBulk. -type UpsertEntitiesBulkParams struct { - Force *bool `form:"force,omitempty" json:"force,omitempty"` -} - // ListEntitiesParams defines parameters for ListEntities. type ListEntitiesParams struct { SortField *string `form:"sort_field,omitempty" json:"sort_field,omitempty"` @@ -28989,17 +26764,6 @@ type ListEntitiesParams struct { // ListEntitiesParamsSortOrder defines parameters for ListEntities. type ListEntitiesParamsSortOrder string -// DeleteSingleEntityJSONBody defines parameters for DeleteSingleEntity. -type DeleteSingleEntityJSONBody struct { - // Id Identifier of the entity to be deleted, commonly entity.id value. - Id string `json:"id"` -} - -// UpsertEntityParams defines parameters for UpsertEntity. -type UpsertEntityParams struct { - Force *bool `form:"force,omitempty" json:"force,omitempty"` -} - // GetEntityStoreStatusParams defines parameters for GetEntityStoreStatus. type GetEntityStoreStatusParams struct { // IncludeComponents If true returns a detailed status of the engine including all it's components @@ -29705,161 +27469,6 @@ type GetFleetAgentStatusDataParamsAgentsIds0 = []string // GetFleetAgentStatusDataParamsAgentsIds1 defines parameters for GetFleetAgentStatusData. type GetFleetAgentStatusDataParamsAgentsIds1 = string -// PostFleetAgentlessPoliciesJSONBody defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` - - // Description Policy description. - Description *string `json:"description,omitempty"` - - // Force Force package policy creation even if the package is not verified, or if the agent policy is managed. - Force *bool `json:"force,omitempty"` - - // Id Policy unique identifier. - Id *string `json:"id,omitempty"` - - // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. - Inputs *map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Streams Input streams. Refer to the integration documentation to know which streams are available. - Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"streams,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"inputs,omitempty"` - - // Name Unique name for the policy. - Name string `json:"name"` - - // Namespace Policy namespace. When not specified, it inherits the agent policy namespace. - Namespace *string `json:"namespace,omitempty"` - Package struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties `json:"vars,omitempty"` -} - -// PostFleetAgentlessPoliciesParams defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesParams struct { - // Format The format of the response package policy. - Format *PostFleetAgentlessPoliciesParamsFormat `form:"format,omitempty" json:"format,omitempty"` -} - -// PostFleetAgentlessPoliciesParamsFormat defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesParamsFormat string - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars0 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars0 = bool - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars1 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars1 = string - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars2 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars2 = float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars3 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars3 = []string - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars4 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars4 = []float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars5 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// PostFleetAgentlessPoliciesJSONBodyInputsVars0 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars0 = bool - -// PostFleetAgentlessPoliciesJSONBodyInputsVars1 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars1 = string - -// PostFleetAgentlessPoliciesJSONBodyInputsVars2 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars2 = float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsVars3 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars3 = []string - -// PostFleetAgentlessPoliciesJSONBodyInputsVars4 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars4 = []float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsVars5 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// PostFleetAgentlessPoliciesJSONBodyVars0 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars0 = bool - -// PostFleetAgentlessPoliciesJSONBodyVars1 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars1 = string - -// PostFleetAgentlessPoliciesJSONBodyVars2 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars2 = float32 - -// PostFleetAgentlessPoliciesJSONBodyVars3 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars3 = []string - -// PostFleetAgentlessPoliciesJSONBodyVars4 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars4 = []float32 - -// PostFleetAgentlessPoliciesJSONBodyVars5 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// DeleteFleetAgentlessPoliciesPolicyidParams defines parameters for DeleteFleetAgentlessPoliciesPolicyid. -type DeleteFleetAgentlessPoliciesPolicyidParams struct { - // Force Force delete the policy even if the policy is managed. - Force *bool `form:"force,omitempty" json:"force,omitempty"` -} - // GetFleetAgentsParams defines parameters for GetFleetAgents. type GetFleetAgentsParams struct { Page *float32 `form:"page,omitempty" json:"page,omitempty"` @@ -29895,39 +27504,6 @@ type GetFleetAgentsActionStatusParams struct { ErrorSize *float32 `form:"errorSize,omitempty" json:"errorSize,omitempty"` } -// PostFleetAgentsBulkMigrateJSONBody defines parameters for PostFleetAgentsBulkMigrate. -type PostFleetAgentsBulkMigrateJSONBody struct { - Agents PostFleetAgentsBulkMigrateJSONBody_Agents `json:"agents"` - BatchSize *float32 `json:"batchSize,omitempty"` - EnrollmentToken string `json:"enrollment_token"` - Settings *struct { - CaSha256 *string `json:"ca_sha256,omitempty"` - CertificateAuthorities *string `json:"certificate_authorities,omitempty"` - ElasticAgentCert *string `json:"elastic_agent_cert,omitempty"` - ElasticAgentCertKey *string `json:"elastic_agent_cert_key,omitempty"` - ElasticAgentCertKeyPassphrase *string `json:"elastic_agent_cert_key_passphrase,omitempty"` - Headers *map[string]string `json:"headers,omitempty"` - Insecure *bool `json:"insecure,omitempty"` - ProxyDisabled *bool `json:"proxy_disabled,omitempty"` - ProxyHeaders *map[string]string `json:"proxy_headers,omitempty"` - ProxyUrl *string `json:"proxy_url,omitempty"` - Staging *string `json:"staging,omitempty"` - Tags *[]string `json:"tags,omitempty"` - } `json:"settings,omitempty"` - Uri string `json:"uri"` -} - -// PostFleetAgentsBulkMigrateJSONBodyAgents0 defines parameters for PostFleetAgentsBulkMigrate. -type PostFleetAgentsBulkMigrateJSONBodyAgents0 = []string - -// PostFleetAgentsBulkMigrateJSONBodyAgents1 defines parameters for PostFleetAgentsBulkMigrate. -type PostFleetAgentsBulkMigrateJSONBodyAgents1 = string - -// PostFleetAgentsBulkMigrateJSONBody_Agents defines parameters for PostFleetAgentsBulkMigrate. -type PostFleetAgentsBulkMigrateJSONBody_Agents struct { - union json.RawMessage -} - // PostFleetAgentsBulkReassignJSONBody defines parameters for PostFleetAgentsBulkReassign. type PostFleetAgentsBulkReassignJSONBody struct { Agents PostFleetAgentsBulkReassignJSONBody_Agents `json:"agents"` @@ -30089,27 +27665,6 @@ type PostFleetAgentsAgentidActionsJSONBody_Action struct { union json.RawMessage } -// PostFleetAgentsAgentidMigrateJSONBody defines parameters for PostFleetAgentsAgentidMigrate. -type PostFleetAgentsAgentidMigrateJSONBody struct { - EnrollmentToken string `json:"enrollment_token"` - Settings *struct { - CaSha256 *string `json:"ca_sha256,omitempty"` - CertificateAuthorities *string `json:"certificate_authorities,omitempty"` - ElasticAgentCert *string `json:"elastic_agent_cert,omitempty"` - ElasticAgentCertKey *string `json:"elastic_agent_cert_key,omitempty"` - ElasticAgentCertKeyPassphrase *string `json:"elastic_agent_cert_key_passphrase,omitempty"` - Headers *map[string]string `json:"headers,omitempty"` - Insecure *bool `json:"insecure,omitempty"` - ProxyDisabled *bool `json:"proxy_disabled,omitempty"` - ProxyHeaders *map[string]string `json:"proxy_headers,omitempty"` - ProxyUrl *string `json:"proxy_url,omitempty"` - ReplaceToken *string `json:"replace_token,omitempty"` - Staging *string `json:"staging,omitempty"` - Tags *[]string `json:"tags,omitempty"` - } `json:"settings,omitempty"` - Uri string `json:"uri"` -} - // PostFleetAgentsAgentidReassignJSONBody defines parameters for PostFleetAgentsAgentidReassign. type PostFleetAgentsAgentidReassignJSONBody struct { PolicyId string `json:"policy_id"` @@ -30142,114 +27697,6 @@ type GetFleetCheckPermissionsParams struct { FleetServerSetup *bool `form:"fleetServerSetup,omitempty" json:"fleetServerSetup,omitempty"` } -// GetFleetCloudConnectorsParams defines parameters for GetFleetCloudConnectors. -type GetFleetCloudConnectorsParams struct { - // Page The page number for pagination. - Page *string `form:"page,omitempty" json:"page,omitempty"` - - // PerPage The number of items per page. - PerPage *string `form:"perPage,omitempty" json:"perPage,omitempty"` - - // Kuery KQL query to filter cloud connectors. - Kuery *string `form:"kuery,omitempty" json:"kuery,omitempty"` -} - -// PostFleetCloudConnectorsJSONBody defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBody struct { - // CloudProvider The cloud provider type: aws, azure, or gcp. - CloudProvider PostFleetCloudConnectorsJSONBodyCloudProvider `json:"cloudProvider"` - - // Name The name of the cloud connector. - Name string `json:"name"` - Vars map[string]PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties `json:"vars"` -} - -// PostFleetCloudConnectorsJSONBodyCloudProvider defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyCloudProvider string - -// PostFleetCloudConnectorsJSONBodyVars0 defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyVars0 = string - -// PostFleetCloudConnectorsJSONBodyVars1 defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyVars1 = float32 - -// PostFleetCloudConnectorsJSONBodyVars2 defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyVars2 = bool - -// PostFleetCloudConnectorsJSONBodyVars3 defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyVars3 struct { - Frozen *bool `json:"frozen,omitempty"` - Type string `json:"type"` - Value PostFleetCloudConnectorsJSONBody_Vars_3_Value `json:"value"` -} - -// PostFleetCloudConnectorsJSONBodyVars3Value0 defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyVars3Value0 = string - -// PostFleetCloudConnectorsJSONBodyVars3Value1 defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBodyVars3Value1 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetCloudConnectorsJSONBody_Vars_3_Value defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBody_Vars_3_Value struct { - union json.RawMessage -} - -// PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties defines parameters for PostFleetCloudConnectors. -type PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// DeleteFleetCloudConnectorsCloudconnectoridParams defines parameters for DeleteFleetCloudConnectorsCloudconnectorid. -type DeleteFleetCloudConnectorsCloudconnectoridParams struct { - // Force If true, forces deletion even if the cloud connector is in use. - Force *bool `form:"force,omitempty" json:"force,omitempty"` -} - -// PutFleetCloudConnectorsCloudconnectoridJSONBody defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBody struct { - // Name The name of the cloud connector. - Name *string `json:"name,omitempty"` - Vars *map[string]PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties `json:"vars,omitempty"` -} - -// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars0 defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars0 = string - -// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars1 defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars1 = float32 - -// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars2 defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars2 = bool - -// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3 defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3 struct { - Frozen *bool `json:"frozen,omitempty"` - Type string `json:"type"` - Value PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_3_Value `json:"value"` -} - -// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value0 defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value0 = string - -// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value1 defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value1 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_3_Value defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_3_Value struct { - union json.RawMessage -} - -// PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties defines parameters for PutFleetCloudConnectorsCloudconnectorid. -type PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties struct { - union json.RawMessage -} - // GetFleetEnrollmentApiKeysParams defines parameters for GetFleetEnrollmentApiKeys. type GetFleetEnrollmentApiKeysParams struct { Page *float32 `form:"page,omitempty" json:"page,omitempty"` @@ -30351,14 +27798,6 @@ type PostFleetEpmPackagesBulkJSONBody_Packages_Item struct { union json.RawMessage } -// PostFleetEpmPackagesBulkRollbackJSONBody defines parameters for PostFleetEpmPackagesBulkRollback. -type PostFleetEpmPackagesBulkRollbackJSONBody struct { - Packages []struct { - // Name Package name to rollback - Name string `json:"name"` - } `json:"packages"` -} - // PostFleetEpmPackagesBulkUninstallJSONBody defines parameters for PostFleetEpmPackagesBulkUninstall. type PostFleetEpmPackagesBulkUninstallJSONBody struct { Force *bool `json:"force,omitempty"` @@ -30450,11 +27889,6 @@ type PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONBody struct { SpaceIds *[]string `json:"space_ids,omitempty"` } -// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody defines parameters for PostFleetEpmPackagesPkgnamePkgversionRuleAssets. -type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody struct { - Force *bool `json:"force,omitempty"` -} - // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody defines parameters for PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorize. type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody struct { Transforms []struct { @@ -30488,38 +27922,21 @@ type PostFleetFleetServerHostsJSONBody struct { ProxyId *string `json:"proxy_id,omitempty"` Secrets *struct { Ssl *struct { - AgentKey *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_AgentKey `json:"agent_key,omitempty"` - EsKey *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` - Key *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` + EsKey *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` + Key *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` Ssl *struct { - AgentCertificate *string `json:"agent_certificate,omitempty"` - AgentCertificateAuthorities *[]string `json:"agent_certificate_authorities,omitempty"` - AgentKey *string `json:"agent_key,omitempty"` - Certificate *string `json:"certificate,omitempty"` - CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` - ClientAuth *PostFleetFleetServerHostsJSONBodySslClientAuth `json:"client_auth,omitempty"` - EsCertificate *string `json:"es_certificate,omitempty"` - EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` - EsKey *string `json:"es_key,omitempty"` - Key *string `json:"key,omitempty"` + Certificate *string `json:"certificate,omitempty"` + CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` + ClientAuth *PostFleetFleetServerHostsJSONBodySslClientAuth `json:"client_auth,omitempty"` + EsCertificate *string `json:"es_certificate,omitempty"` + EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` + EsKey *string `json:"es_key,omitempty"` + Key *string `json:"key,omitempty"` } `json:"ssl,omitempty"` } -// PostFleetFleetServerHostsJSONBodySecretsSslAgentKey0 defines parameters for PostFleetFleetServerHosts. -type PostFleetFleetServerHostsJSONBodySecretsSslAgentKey0 struct { - Id string `json:"id"` -} - -// PostFleetFleetServerHostsJSONBodySecretsSslAgentKey1 defines parameters for PostFleetFleetServerHosts. -type PostFleetFleetServerHostsJSONBodySecretsSslAgentKey1 = string - -// PostFleetFleetServerHostsJSONBody_Secrets_Ssl_AgentKey defines parameters for PostFleetFleetServerHosts. -type PostFleetFleetServerHostsJSONBody_Secrets_Ssl_AgentKey struct { - union json.RawMessage -} - // PostFleetFleetServerHostsJSONBodySecretsSslEsKey0 defines parameters for PostFleetFleetServerHosts. type PostFleetFleetServerHostsJSONBodySecretsSslEsKey0 struct { Id string `json:"id"` @@ -30558,38 +27975,21 @@ type PutFleetFleetServerHostsItemidJSONBody struct { ProxyId *string `json:"proxy_id,omitempty"` Secrets *struct { Ssl *struct { - AgentKey *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_AgentKey `json:"agent_key,omitempty"` - EsKey *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` - Key *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` + EsKey *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` + Key *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` Ssl *struct { - AgentCertificate *string `json:"agent_certificate,omitempty"` - AgentCertificateAuthorities *[]string `json:"agent_certificate_authorities,omitempty"` - AgentKey *string `json:"agent_key,omitempty"` - Certificate *string `json:"certificate,omitempty"` - CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` - ClientAuth *PutFleetFleetServerHostsItemidJSONBodySslClientAuth `json:"client_auth,omitempty"` - EsCertificate *string `json:"es_certificate,omitempty"` - EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` - EsKey *string `json:"es_key,omitempty"` - Key *string `json:"key,omitempty"` + Certificate *string `json:"certificate,omitempty"` + CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` + ClientAuth *PutFleetFleetServerHostsItemidJSONBodySslClientAuth `json:"client_auth,omitempty"` + EsCertificate *string `json:"es_certificate,omitempty"` + EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` + EsKey *string `json:"es_key,omitempty"` + Key *string `json:"key,omitempty"` } `json:"ssl,omitempty"` } -// PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey0 defines parameters for PutFleetFleetServerHostsItemid. -type PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey0 struct { - Id string `json:"id"` -} - -// PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey1 defines parameters for PutFleetFleetServerHostsItemid. -type PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey1 = string - -// PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_AgentKey defines parameters for PutFleetFleetServerHostsItemid. -type PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_AgentKey struct { - union json.RawMessage -} - // PutFleetFleetServerHostsItemidJSONBodySecretsSslEsKey0 defines parameters for PutFleetFleetServerHostsItemid. type PutFleetFleetServerHostsItemidJSONBodySecretsSslEsKey0 struct { Id string `json:"id"` @@ -30779,17 +28179,13 @@ type PostFleetServiceTokensJSONBody struct { // PutFleetSettingsJSONBody defines parameters for PutFleetSettings. type PutFleetSettingsJSONBody struct { - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set AdditionalYamlConfig *string `json:"additional_yaml_config,omitempty"` DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - KibanaCaSha256 *string `json:"kibana_ca_sha256,omitempty"` - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` + KibanaCaSha256 *string `json:"kibana_ca_sha256,omitempty"` KibanaUrls *[]string `json:"kibana_urls,omitempty"` PrereleaseIntegrationsEnabled *bool `json:"prerelease_integrations_enabled,omitempty"` } @@ -31106,27 +28502,6 @@ type PutLogstashPipelineJSONBody struct { Settings *map[string]interface{} `json:"settings,omitempty"` } -// GetMaintenanceWindowFindParams defines parameters for GetMaintenanceWindowFind. -type GetMaintenanceWindowFindParams struct { - // Title The title of the maintenance window. - Title *string `form:"title,omitempty" json:"title,omitempty"` - - // CreatedBy The user who created the maintenance window. - CreatedBy *string `form:"created_by,omitempty" json:"created_by,omitempty"` - - // Status The status of the maintenance window. One of "running", "upcoming", "finished" or "archived". - Status *[]GetMaintenanceWindowFindParamsStatus `form:"status,omitempty" json:"status,omitempty"` - - // Page The page number to return. - Page *float32 `form:"page,omitempty" json:"page,omitempty"` - - // PerPage The number of maintenance windows to return per page. - PerPage *float32 `form:"per_page,omitempty" json:"per_page,omitempty"` -} - -// GetMaintenanceWindowFindParamsStatus defines parameters for GetMaintenanceWindowFind. -type GetMaintenanceWindowFindParamsStatus string - // MlSyncParams defines parameters for MlSync. type MlSyncParams struct { // Simulate When true, simulates the synchronization by returning only the list of actions that would be performed. @@ -31247,24 +28622,14 @@ type PersistPinnedEventRouteJSONBody struct { // ConfigureRiskEngineSavedObjectJSONBody defines parameters for ConfigureRiskEngineSavedObject. type ConfigureRiskEngineSavedObjectJSONBody struct { - EnableResetToZero *bool `json:"enable_reset_to_zero,omitempty"` ExcludeAlertStatuses *[]string `json:"exclude_alert_statuses,omitempty"` ExcludeAlertTags *[]string `json:"exclude_alert_tags,omitempty"` - Filters *[]struct { - EntityTypes []ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes `json:"entity_types"` - - // Filter KQL filter string - Filter string `json:"filter"` - } `json:"filters,omitempty"` - Range *struct { + Range *struct { End *string `json:"end,omitempty"` Start *string `json:"start,omitempty"` } `json:"range,omitempty"` } -// ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes defines parameters for ConfigureRiskEngineSavedObject. -type ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes string - // ScheduleRiskEngineNowJSONBody defines parameters for ScheduleRiskEngineNow. type ScheduleRiskEngineNowJSONBody interface{} @@ -31304,7 +28669,7 @@ type PostSavedObjectsExportJSONBody struct { // IncludeReferencesDeep Includes all of the referenced objects in the exported objects. IncludeReferencesDeep *bool `json:"includeReferencesDeep,omitempty"` - // Objects A list of objects to export. NOTE: this optional parameter cannot be combined with the `types` option + // Objects A list of objects to export. NOTE: this optiona cannot be combined with `types` option Objects *[]struct { Id string `json:"id"` Type string `json:"type"` @@ -31313,7 +28678,7 @@ type PostSavedObjectsExportJSONBody struct { // Search Search for documents to export using the Elasticsearch Simple Query String syntax. Search *string `json:"search,omitempty"` - // Type The saved object types to include in the export. Use `*` to export all the types. Valid options depend on enabled plugins, but may include `visualization`, `dashboard`, `search`, `index-pattern`, `tag`, `config`, `config-global`, `lens`, `map`, `event-annotation-group`, `query`, `url`, `action`, `alert`, `alerting_rule_template`, `apm-indices`, `cases-user-actions`, `cases`, `cases-comments`, `infrastructure-monitoring-log-view`, `ml-trained-model`, `osquery-saved-query`, `osquery-pack`, `osquery-pack-asset`. + // Type The saved object types to include in the export. Use `*` to export all the types. Type *PostSavedObjectsExportJSONBody_Type `json:"type,omitempty"` } @@ -32127,10 +29492,6 @@ type PutStreamsNameJSONBody0 struct { type PutStreamsNameJSONBody00 struct { Dashboards []string `json:"dashboards"` Queries []struct { - Feature *struct { - Filter PutStreamsNameJSONBody_0_0_Queries_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -32144,265 +29505,11 @@ type PutStreamsNameJSONBody00 struct { Processing struct { Steps []PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item `json:"steps"` } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` } `json:"ingest"` Name interface{} `json:"name,omitempty"` } `json:"stream"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00 struct { - Contains *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter struct { - union json.RawMessage -} - // PutStreamsNameJSONBody00StreamIngestLifecycle0 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestLifecycle0 struct { Dsl struct { @@ -32434,15 +29541,14 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps0 struct { // PutStreamsNameJSONBody00StreamIngestProcessingSteps00 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps00 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action defines parameters for PutStreamsName. @@ -32958,9 +30064,7 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -33216,7 +30320,11 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps03 struct { Action PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Override *bool `json:"override,omitempty"` + To string `json:"to"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -33469,13 +30577,13 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where struct // PutStreamsNameJSONBody00StreamIngestProcessingSteps04 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps04 struct { Action PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action `json:"action"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` + Value *string `json:"value,omitempty"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -33728,13 +30836,12 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where struct // PutStreamsNameJSONBody00StreamIngestProcessingSteps05 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps05 struct { Action PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` To string `json:"to"` - Value interface{} `json:"value,omitempty"` + Value []interface{} `json:"value"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -33986,14 +31093,60 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where struct // PutStreamsNameJSONBody00StreamIngestProcessingSteps06 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps06 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action defines parameters for PutStreamsName. @@ -34242,845 +31395,9 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_6_Where struct union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type `json:"type"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where struct { - union json.RawMessage -} - // PutStreamsNameJSONBody00StreamIngestProcessingSteps1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -35090,25 +31407,10 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - // PutStreamsNameJSONBody01 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01 struct { Dashboards []string `json:"dashboards"` Queries []struct { - Feature *struct { - Filter PutStreamsNameJSONBody_0_1_Queries_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -35122,265 +31424,11 @@ type PutStreamsNameJSONBody01 struct { Processing struct { Steps []PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item `json:"steps"` } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` } `json:"ingest"` Name interface{} `json:"name,omitempty"` } `json:"stream"` } -// PutStreamsNameJSONBody01QueriesFeatureFilter0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00 struct { - Contains *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter struct { - union json.RawMessage -} - // PutStreamsNameJSONBody01StreamIngestLifecycle0 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestLifecycle0 struct { Dsl struct { @@ -35412,15 +31460,14 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps0 struct { // PutStreamsNameJSONBody01StreamIngestProcessingSteps00 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps00 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action defines parameters for PutStreamsName. @@ -35936,9 +31983,7 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -36194,7 +32239,11 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps03 struct { Action PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Override *bool `json:"override,omitempty"` + To string `json:"to"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -36447,13 +32496,13 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where struct // PutStreamsNameJSONBody01StreamIngestProcessingSteps04 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps04 struct { Action PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action `json:"action"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` + Value *string `json:"value,omitempty"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -36706,13 +32755,12 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where struct // PutStreamsNameJSONBody01StreamIngestProcessingSteps05 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps05 struct { Action PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` To string `json:"to"` - Value interface{} `json:"value,omitempty"` + Value []interface{} `json:"value"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -36964,14 +33012,60 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where struct // PutStreamsNameJSONBody01StreamIngestProcessingSteps06 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps06 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action defines parameters for PutStreamsName. @@ -37220,845 +33314,9 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_6_Where struct union json.RawMessage } -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type `json:"type"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where struct { - union json.RawMessage -} - // PutStreamsNameJSONBody01StreamIngestProcessingSteps1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -38068,25 +33326,10 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item struct { union json.RawMessage } -// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - // PutStreamsNameJSONBody1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody1 struct { Dashboards []string `json:"dashboards"` Queries []struct { - Feature *struct { - Filter PutStreamsNameJSONBody_1_Queries_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -38104,249 +33347,6 @@ type PutStreamsNameJSONBody1 struct { } `json:"stream"` } -// PutStreamsNameJSONBody1QueriesFeatureFilter0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00 struct { - Contains *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter struct { - union json.RawMessage -} - // PostStreamsNameForkJSONBody defines parameters for PostStreamsNameFork. type PostStreamsNameForkJSONBody struct { Status *PostStreamsNameForkJSONBodyStatus `json:"status,omitempty"` @@ -38650,17 +33650,6 @@ type PutStreamsNameIngestJSONBodyIngest0 struct { Processing struct { Steps []PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item `json:"steps"` } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` Wired struct { Fields map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties `json:"fields"` Routing []struct { @@ -38702,15 +33691,14 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps0 struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action defines parameters for PutStreamsNameIngest. @@ -39226,9 +34214,7 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -39484,7 +34470,11 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03 struct { Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Override *bool `json:"override,omitempty"` + To string `json:"to"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -39737,13 +34727,13 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04 struct { Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action `json:"action"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` + Value *string `json:"value,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -39996,13 +34986,12 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05 struct { Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` To string `json:"to"` - Value interface{} `json:"value,omitempty"` + Value []interface{} `json:"value"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -40254,14 +35243,60 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action defines parameters for PutStreamsNameIngest. @@ -40510,845 +35545,9 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_6_Where struct { union json.RawMessage } -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type `json:"type"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where struct { - union json.RawMessage -} - // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -41358,17 +35557,6 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item struct { union json.RawMessage } -// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - // PutStreamsNameIngestJSONBodyIngest0WiredFields0 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0WiredFields0 struct { union json.RawMessage @@ -41413,10 +35601,7 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item struct { } // PutStreamsNameIngestJSONBodyIngest0WiredFields2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = []interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields3 = interface{} +type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = interface{} // PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties struct { @@ -41678,17 +35863,6 @@ type PutStreamsNameIngestJSONBodyIngest1 struct { Processing struct { Steps []PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item `json:"steps"` } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` } // PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 defines parameters for PutStreamsNameIngest. @@ -41735,10 +35909,7 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item struct } // PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = []interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 = interface{} +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = interface{} // PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties struct { @@ -41776,15 +35947,14 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps0 struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action defines parameters for PutStreamsNameIngest. @@ -42300,9 +36470,7 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -42558,7 +36726,11 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03 struct { Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Override *bool `json:"override,omitempty"` + To string `json:"to"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -42811,13 +36983,13 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04 struct { Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action `json:"action"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` + Value *string `json:"value,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -43070,13 +37242,12 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05 struct { Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` To string `json:"to"` - Value interface{} `json:"value,omitempty"` + Value []interface{} `json:"value"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -43328,14 +37499,60 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action defines parameters for PutStreamsNameIngest. @@ -43584,845 +37801,9 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_6_Where struct { union json.RawMessage } -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type `json:"type"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where struct { - union json.RawMessage -} - // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -44432,17 +37813,6 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item struct { union json.RawMessage } -// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - // PutStreamsNameIngestJSONBody_Ingest defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBody_Ingest struct { union json.RawMessage @@ -44466,8 +37836,7 @@ type PostStreamsNameContentExportJSONBodyInclude0 struct { // PostStreamsNameContentExportJSONBodyInclude1 defines parameters for PostStreamsNameContentExport. type PostStreamsNameContentExportJSONBodyInclude1 struct { Objects struct { - Mappings bool `json:"mappings"` - Queries []struct { + Queries []struct { Id string `json:"id"` } `json:"queries"` Routing []struct { @@ -44575,10 +37944,6 @@ type PostStreamsNameQueriesBulkJSONBody struct { // PostStreamsNameQueriesBulkJSONBodyOperations0 defines parameters for PostStreamsNameQueriesBulk. type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { Index struct { - Feature *struct { - Filter PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -44587,249 +37952,6 @@ type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { } `json:"index"` } -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter0 struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00 struct { - Contains *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter01 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter3 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter4 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter5 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter struct { - union json.RawMessage -} - // PostStreamsNameQueriesBulkJSONBodyOperations1 defines parameters for PostStreamsNameQueriesBulk. type PostStreamsNameQueriesBulkJSONBodyOperations1 struct { Delete struct { @@ -44858,259 +37980,12 @@ type DeleteStreamsNameQueriesQueryidJSONBody2 = interface{} // PutStreamsNameQueriesQueryidJSONBody defines parameters for PutStreamsNameQueriesQueryid. type PutStreamsNameQueriesQueryidJSONBody struct { - Feature *struct { - Filter PutStreamsNameQueriesQueryidJSONBody_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` Kql struct { Query string `json:"query"` } `json:"kql"` Title string `json:"title"` } -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00 struct { - Contains *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter01 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter3 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter4 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter5 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter struct { - union json.RawMessage -} - // GetStreamsNameRulesJSONBody defines parameters for GetStreamsNameRules. type GetStreamsNameRulesJSONBody struct { union json.RawMessage @@ -45174,273 +38049,31 @@ type GetStreamsNameSignificantEventsJSONBody1 = interface{} // GetStreamsNameSignificantEventsJSONBody2 defines parameters for GetStreamsNameSignificantEvents. type GetStreamsNameSignificantEventsJSONBody2 = interface{} -// PostStreamsNameSignificantEventsGenerateJSONBody defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody struct { - Feature *struct { - Description string `json:"description"` - Filter PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` -} - -// PostStreamsNameSignificantEventsGenerateParams defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateParams struct { - ConnectorId string `form:"connectorId" json:"connectorId"` - CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter0 struct { +// GetStreamsNameSignificantEventsGenerateJSONBody defines parameters for GetStreamsNameSignificantEventsGenerate. +type GetStreamsNameSignificantEventsGenerateJSONBody struct { union json.RawMessage } -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00 struct { - Contains *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains struct { - union json.RawMessage +// GetStreamsNameSignificantEventsGenerateParams defines parameters for GetStreamsNameSignificantEventsGenerate. +type GetStreamsNameSignificantEventsGenerateParams struct { + ConnectorId string `form:"connectorId" json:"connectorId"` + CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` + ShortLookback *string `form:"shortLookback,omitempty" json:"shortLookback,omitempty"` + LongLookback *string `form:"longLookback,omitempty" json:"longLookback,omitempty"` } -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith0 = string +// GetStreamsNameSignificantEventsGenerateJSONBody0 defines parameters for GetStreamsNameSignificantEventsGenerate. +type GetStreamsNameSignificantEventsGenerateJSONBody0 = map[string]interface{} -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith1 = float32 +// GetStreamsNameSignificantEventsGenerateJSONBody1 defines parameters for GetStreamsNameSignificantEventsGenerate. +type GetStreamsNameSignificantEventsGenerateJSONBody1 = interface{} -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter01 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter3 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter4 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter5 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter struct { - union json.RawMessage -} +// GetStreamsNameSignificantEventsGenerateJSONBody2 defines parameters for GetStreamsNameSignificantEventsGenerate. +type GetStreamsNameSignificantEventsGenerateJSONBody2 = interface{} // PostStreamsNameSignificantEventsPreviewJSONBody defines parameters for PostStreamsNameSignificantEventsPreview. type PostStreamsNameSignificantEventsPreviewJSONBody struct { Query struct { - Feature *struct { - Filter PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` Kql struct { Query string `json:"query"` } `json:"kql"` @@ -45454,249 +38087,6 @@ type PostStreamsNameSignificantEventsPreviewParams struct { BucketSize string `form:"bucketSize" json:"bucketSize"` } -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter0 struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00 struct { - Contains *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter01 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter3 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter4 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter5 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter struct { - union json.RawMessage -} - // GetSyntheticMonitorsParams defines parameters for GetSyntheticMonitors. type GetSyntheticMonitorsParams struct { // Filter Additional filtering criteria. @@ -45821,10 +38211,7 @@ type PostParametersJSONBody struct { type PostParametersJSONBody0 = []SyntheticsParameterRequest // DeleteParametersJSONBody defines parameters for DeleteParameters. -type DeleteParametersJSONBody struct { - // Ids An array of parameter IDs to delete. - Ids *[]string `json:"ids,omitempty"` -} +type DeleteParametersJSONBody = map[string]interface{} // PutParameterJSONBody defines parameters for PutParameter. type PutParameterJSONBody struct { @@ -46197,9 +38584,6 @@ type GetDefinitionsOpParams struct { // IncludeOutdatedOnly Indicates if the API returns only outdated SLO or all SLO definitions IncludeOutdatedOnly *bool `form:"includeOutdatedOnly,omitempty" json:"includeOutdatedOnly,omitempty"` - // IncludeHealth Indicates if the API returns SLO health data with definitions - IncludeHealth *bool `form:"includeHealth,omitempty" json:"includeHealth,omitempty"` - // Tags Filters the SLOs by tag Tags *string `form:"tags,omitempty" json:"tags,omitempty"` @@ -46216,33 +38600,6 @@ type GetDefinitionsOpParams struct { // PostActionsConnectorIdExecuteJSONRequestBody defines body for PostActionsConnectorIdExecute for application/json ContentType. type PostActionsConnectorIdExecuteJSONRequestBody PostActionsConnectorIdExecuteJSONBody -// PostAgentBuilderA2aAgentidJSONRequestBody defines body for PostAgentBuilderA2aAgentid for application/json ContentType. -type PostAgentBuilderA2aAgentidJSONRequestBody = PostAgentBuilderA2aAgentidJSONBody - -// PostAgentBuilderAgentsJSONRequestBody defines body for PostAgentBuilderAgents for application/json ContentType. -type PostAgentBuilderAgentsJSONRequestBody PostAgentBuilderAgentsJSONBody - -// PutAgentBuilderAgentsIdJSONRequestBody defines body for PutAgentBuilderAgentsId for application/json ContentType. -type PutAgentBuilderAgentsIdJSONRequestBody PutAgentBuilderAgentsIdJSONBody - -// PostAgentBuilderConverseJSONRequestBody defines body for PostAgentBuilderConverse for application/json ContentType. -type PostAgentBuilderConverseJSONRequestBody PostAgentBuilderConverseJSONBody - -// PostAgentBuilderConverseAsyncJSONRequestBody defines body for PostAgentBuilderConverseAsync for application/json ContentType. -type PostAgentBuilderConverseAsyncJSONRequestBody PostAgentBuilderConverseAsyncJSONBody - -// PostAgentBuilderMcpJSONRequestBody defines body for PostAgentBuilderMcp for application/json ContentType. -type PostAgentBuilderMcpJSONRequestBody = PostAgentBuilderMcpJSONBody - -// PostAgentBuilderToolsJSONRequestBody defines body for PostAgentBuilderTools for application/json ContentType. -type PostAgentBuilderToolsJSONRequestBody PostAgentBuilderToolsJSONBody - -// PostAgentBuilderToolsExecuteJSONRequestBody defines body for PostAgentBuilderToolsExecute for application/json ContentType. -type PostAgentBuilderToolsExecuteJSONRequestBody PostAgentBuilderToolsExecuteJSONBody - -// PutAgentBuilderToolsToolidJSONRequestBody defines body for PutAgentBuilderToolsToolid for application/json ContentType. -type PutAgentBuilderToolsToolidJSONRequestBody PutAgentBuilderToolsToolidJSONBody - // PostAlertingRuleIdJSONRequestBody defines body for PostAlertingRuleId for application/json ContentType. type PostAlertingRuleIdJSONRequestBody PostAlertingRuleIdJSONBody @@ -46282,18 +38639,6 @@ type CreateAssetCriticalityRecordJSONRequestBody CreateAssetCriticalityRecordJSO // BulkUpsertAssetCriticalityRecordsJSONRequestBody defines body for BulkUpsertAssetCriticalityRecords for application/json ContentType. type BulkUpsertAssetCriticalityRecordsJSONRequestBody BulkUpsertAssetCriticalityRecordsJSONBody -// PostAttackDiscoveryBulkJSONRequestBody defines body for PostAttackDiscoveryBulk for application/json ContentType. -type PostAttackDiscoveryBulkJSONRequestBody PostAttackDiscoveryBulkJSONBody - -// PostAttackDiscoveryGenerateJSONRequestBody defines body for PostAttackDiscoveryGenerate for application/json ContentType. -type PostAttackDiscoveryGenerateJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig - -// CreateAttackDiscoverySchedulesJSONRequestBody defines body for CreateAttackDiscoverySchedules for application/json ContentType. -type CreateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps - -// UpdateAttackDiscoverySchedulesJSONRequestBody defines body for UpdateAttackDiscoverySchedules for application/json ContentType. -type UpdateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps - // UpdateCaseDefaultSpaceJSONRequestBody defines body for UpdateCaseDefaultSpace for application/json ContentType. type UpdateCaseDefaultSpaceJSONRequestBody = CasesUpdateCaseRequest @@ -46384,9 +38729,6 @@ type SetAlertsStatusJSONRequestBody SetAlertsStatusJSONBody // SetAlertTagsJSONRequestBody defines body for SetAlertTags for application/json ContentType. type SetAlertTagsJSONRequestBody SetAlertTagsJSONBody -// CancelActionJSONRequestBody defines body for CancelAction for application/json ContentType. -type CancelActionJSONRequestBody = SecurityEndpointManagementAPICancelRouteRequestBody - // EndpointExecuteActionJSONRequestBody defines body for EndpointExecuteAction for application/json ContentType. type EndpointExecuteActionJSONRequestBody = SecurityEndpointManagementAPIExecuteRouteRequestBody @@ -46433,7 +38775,7 @@ type CreatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIUserName type PrivmonBulkUploadUsersCSVMultipartRequestBody PrivmonBulkUploadUsersCSVMultipartBody // UpdatePrivMonUserJSONRequestBody defines body for UpdatePrivMonUser for application/json ContentType. -type UpdatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc +type UpdatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIMonitoredUserDoc // InitEntityStoreJSONRequestBody defines body for InitEntityStore for application/json ContentType. type InitEntityStoreJSONRequestBody InitEntityStoreJSONBody @@ -46441,15 +38783,6 @@ type InitEntityStoreJSONRequestBody InitEntityStoreJSONBody // InitEntityEngineJSONRequestBody defines body for InitEntityEngine for application/json ContentType. type InitEntityEngineJSONRequestBody InitEntityEngineJSONBody -// UpsertEntitiesBulkJSONRequestBody defines body for UpsertEntitiesBulk for application/json ContentType. -type UpsertEntitiesBulkJSONRequestBody = SecurityEntityAnalyticsAPIEntitiesContainer - -// DeleteSingleEntityJSONRequestBody defines body for DeleteSingleEntity for application/json ContentType. -type DeleteSingleEntityJSONRequestBody DeleteSingleEntityJSONBody - -// UpsertEntityJSONRequestBody defines body for UpsertEntity for application/json ContentType. -type UpsertEntityJSONRequestBody = SecurityEntityAnalyticsAPIEntity - // CreateExceptionListJSONRequestBody defines body for CreateExceptionList for application/json ContentType. type CreateExceptionListJSONRequestBody CreateExceptionListJSONBody @@ -46492,15 +38825,9 @@ type PutFleetAgentPoliciesAgentpolicyidJSONRequestBody PutFleetAgentPoliciesAgen // PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody defines body for PostFleetAgentPoliciesAgentpolicyidCopy for application/json ContentType. type PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody PostFleetAgentPoliciesAgentpolicyidCopyJSONBody -// PostFleetAgentlessPoliciesJSONRequestBody defines body for PostFleetAgentlessPolicies for application/json ContentType. -type PostFleetAgentlessPoliciesJSONRequestBody PostFleetAgentlessPoliciesJSONBody - // PostFleetAgentsJSONRequestBody defines body for PostFleetAgents for application/json ContentType. type PostFleetAgentsJSONRequestBody PostFleetAgentsJSONBody -// PostFleetAgentsBulkMigrateJSONRequestBody defines body for PostFleetAgentsBulkMigrate for application/json ContentType. -type PostFleetAgentsBulkMigrateJSONRequestBody PostFleetAgentsBulkMigrateJSONBody - // PostFleetAgentsBulkReassignJSONRequestBody defines body for PostFleetAgentsBulkReassign for application/json ContentType. type PostFleetAgentsBulkReassignJSONRequestBody PostFleetAgentsBulkReassignJSONBody @@ -46522,9 +38849,6 @@ type PutFleetAgentsAgentidJSONRequestBody PutFleetAgentsAgentidJSONBody // PostFleetAgentsAgentidActionsJSONRequestBody defines body for PostFleetAgentsAgentidActions for application/json ContentType. type PostFleetAgentsAgentidActionsJSONRequestBody PostFleetAgentsAgentidActionsJSONBody -// PostFleetAgentsAgentidMigrateJSONRequestBody defines body for PostFleetAgentsAgentidMigrate for application/json ContentType. -type PostFleetAgentsAgentidMigrateJSONRequestBody PostFleetAgentsAgentidMigrateJSONBody - // PostFleetAgentsAgentidReassignJSONRequestBody defines body for PostFleetAgentsAgentidReassign for application/json ContentType. type PostFleetAgentsAgentidReassignJSONRequestBody PostFleetAgentsAgentidReassignJSONBody @@ -46537,12 +38861,6 @@ type PostFleetAgentsAgentidUnenrollJSONRequestBody PostFleetAgentsAgentidUnenrol // PostFleetAgentsAgentidUpgradeJSONRequestBody defines body for PostFleetAgentsAgentidUpgrade for application/json ContentType. type PostFleetAgentsAgentidUpgradeJSONRequestBody PostFleetAgentsAgentidUpgradeJSONBody -// PostFleetCloudConnectorsJSONRequestBody defines body for PostFleetCloudConnectors for application/json ContentType. -type PostFleetCloudConnectorsJSONRequestBody PostFleetCloudConnectorsJSONBody - -// PutFleetCloudConnectorsCloudconnectoridJSONRequestBody defines body for PutFleetCloudConnectorsCloudconnectorid for application/json ContentType. -type PutFleetCloudConnectorsCloudconnectoridJSONRequestBody PutFleetCloudConnectorsCloudconnectoridJSONBody - // PostFleetEnrollmentApiKeysJSONRequestBody defines body for PostFleetEnrollmentApiKeys for application/json ContentType. type PostFleetEnrollmentApiKeysJSONRequestBody PostFleetEnrollmentApiKeysJSONBody @@ -46558,9 +38876,6 @@ type PutFleetEpmCustomIntegrationsPkgnameJSONRequestBody PutFleetEpmCustomIntegr // PostFleetEpmPackagesBulkJSONRequestBody defines body for PostFleetEpmPackagesBulk for application/json ContentType. type PostFleetEpmPackagesBulkJSONRequestBody PostFleetEpmPackagesBulkJSONBody -// PostFleetEpmPackagesBulkRollbackJSONRequestBody defines body for PostFleetEpmPackagesBulkRollback for application/json ContentType. -type PostFleetEpmPackagesBulkRollbackJSONRequestBody PostFleetEpmPackagesBulkRollbackJSONBody - // PostFleetEpmPackagesBulkUninstallJSONRequestBody defines body for PostFleetEpmPackagesBulkUninstall for application/json ContentType. type PostFleetEpmPackagesBulkUninstallJSONRequestBody PostFleetEpmPackagesBulkUninstallJSONBody @@ -46576,9 +38891,6 @@ type PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody PutFleetEpmPackagesPkgn // PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets for application/json ContentType. type PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONBody -// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionRuleAssets for application/json ContentType. -type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody - // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorize for application/json ContentType. type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody @@ -46861,8 +39173,8 @@ type PutStreamsNameRulesRuleidJSONRequestBody PutStreamsNameRulesRuleidJSONBody // GetStreamsNameSignificantEventsJSONRequestBody defines body for GetStreamsNameSignificantEvents for application/json ContentType. type GetStreamsNameSignificantEventsJSONRequestBody GetStreamsNameSignificantEventsJSONBody -// PostStreamsNameSignificantEventsGenerateJSONRequestBody defines body for PostStreamsNameSignificantEventsGenerate for application/json ContentType. -type PostStreamsNameSignificantEventsGenerateJSONRequestBody PostStreamsNameSignificantEventsGenerateJSONBody +// GetStreamsNameSignificantEventsGenerateJSONRequestBody defines body for GetStreamsNameSignificantEventsGenerate for application/json ContentType. +type GetStreamsNameSignificantEventsGenerateJSONRequestBody GetStreamsNameSignificantEventsGenerateJSONBody // PostStreamsNameSignificantEventsPreviewJSONRequestBody defines body for PostStreamsNameSignificantEventsPreview for application/json ContentType. type PostStreamsNameSignificantEventsPreviewJSONRequestBody PostStreamsNameSignificantEventsPreviewJSONBody @@ -46880,7 +39192,7 @@ type PutSyntheticMonitorJSONRequestBody PutSyntheticMonitorJSONBody type PostParametersJSONRequestBody PostParametersJSONBody // DeleteParametersJSONRequestBody defines body for DeleteParameters for application/json ContentType. -type DeleteParametersJSONRequestBody DeleteParametersJSONBody +type DeleteParametersJSONRequestBody = DeleteParametersJSONBody // PutParameterJSONRequestBody defines body for PutParameter for application/json ContentType. type PutParameterJSONRequestBody PutParameterJSONBody @@ -49099,14 +41411,6 @@ func (a *OutputElasticsearchSecretsSslKey0) UnmarshalJSON(b []byte) error { return err } - if raw, found := object["hash"]; found { - err = json.Unmarshal(raw, &a.Hash) - if err != nil { - return fmt.Errorf("error reading 'hash': %w", err) - } - delete(object, "hash") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -49134,13 +41438,6 @@ func (a OutputElasticsearchSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Hash != nil { - object["hash"], err = json.Marshal(a.Hash) - if err != nil { - return nil, fmt.Errorf("error marshaling 'hash': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -49596,6 +41893,14 @@ func (a *OutputKafka) UnmarshalJSON(b []byte) error { delete(object, "version") } + if raw, found := object["write_to_logs_streams"]; found { + err = json.Unmarshal(raw, &a.WriteToLogsStreams) + if err != nil { + return fmt.Errorf("error reading 'write_to_logs_streams': %w", err) + } + delete(object, "write_to_logs_streams") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { @@ -49852,6 +42157,13 @@ func (a OutputKafka) MarshalJSON() ([]byte, error) { } } + if a.WriteToLogsStreams != nil { + object["write_to_logs_streams"], err = json.Marshal(a.WriteToLogsStreams) + if err != nil { + return nil, fmt.Errorf("error marshaling 'write_to_logs_streams': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50252,14 +42564,6 @@ func (a *OutputKafkaSecretsPassword0) UnmarshalJSON(b []byte) error { return err } - if raw, found := object["hash"]; found { - err = json.Unmarshal(raw, &a.Hash) - if err != nil { - return fmt.Errorf("error reading 'hash': %w", err) - } - delete(object, "hash") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -50287,13 +42591,6 @@ func (a OutputKafkaSecretsPassword0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Hash != nil { - object["hash"], err = json.Marshal(a.Hash) - if err != nil { - return nil, fmt.Errorf("error marshaling 'hash': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -50333,14 +42630,6 @@ func (a *OutputKafkaSecretsSslKey0) UnmarshalJSON(b []byte) error { return err } - if raw, found := object["hash"]; found { - err = json.Unmarshal(raw, &a.Hash) - if err != nil { - return fmt.Errorf("error reading 'hash': %w", err) - } - delete(object, "hash") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -50368,13 +42657,6 @@ func (a OutputKafkaSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Hash != nil { - object["hash"], err = json.Marshal(a.Hash) - if err != nil { - return nil, fmt.Errorf("error marshaling 'hash': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -50691,6 +42973,14 @@ func (a *OutputLogstash) UnmarshalJSON(b []byte) error { delete(object, "type") } + if raw, found := object["write_to_logs_streams"]; found { + err = json.Unmarshal(raw, &a.WriteToLogsStreams) + if err != nil { + return fmt.Errorf("error reading 'write_to_logs_streams': %w", err) + } + delete(object, "write_to_logs_streams") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { @@ -50816,6 +43106,13 @@ func (a OutputLogstash) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("error marshaling 'type': %w", err) } + if a.WriteToLogsStreams != nil { + object["write_to_logs_streams"], err = json.Marshal(a.WriteToLogsStreams) + if err != nil { + return nil, fmt.Errorf("error marshaling 'write_to_logs_streams': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50850,14 +43147,6 @@ func (a *OutputLogstashSecretsSslKey0) UnmarshalJSON(b []byte) error { return err } - if raw, found := object["hash"]; found { - err = json.Unmarshal(raw, &a.Hash) - if err != nil { - return fmt.Errorf("error reading 'hash': %w", err) - } - delete(object, "hash") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -50885,13 +43174,6 @@ func (a OutputLogstashSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Hash != nil { - object["hash"], err = json.Marshal(a.Hash) - if err != nil { - return nil, fmt.Errorf("error marshaling 'hash': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -51459,14 +43741,6 @@ func (a *OutputRemoteElasticsearchSecretsServiceToken0) UnmarshalJSON(b []byte) return err } - if raw, found := object["hash"]; found { - err = json.Unmarshal(raw, &a.Hash) - if err != nil { - return fmt.Errorf("error reading 'hash': %w", err) - } - delete(object, "hash") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -51494,13 +43768,6 @@ func (a OutputRemoteElasticsearchSecretsServiceToken0) MarshalJSON() ([]byte, er var err error object := make(map[string]json.RawMessage) - if a.Hash != nil { - object["hash"], err = json.Marshal(a.Hash) - if err != nil { - return nil, fmt.Errorf("error marshaling 'hash': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -51540,14 +43807,6 @@ func (a *OutputRemoteElasticsearchSecretsSslKey0) UnmarshalJSON(b []byte) error return err } - if raw, found := object["hash"]; found { - err = json.Unmarshal(raw, &a.Hash) - if err != nil { - return fmt.Errorf("error reading 'hash': %w", err) - } - delete(object, "hash") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -51575,13 +43834,6 @@ func (a OutputRemoteElasticsearchSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Hash != nil { - object["hash"], err = json.Marshal(a.Hash) - if err != nil { - return nil, fmt.Errorf("error marshaling 'hash': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -53200,14 +45452,6 @@ func (a *PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Unma return err } - if raw, found := object["deferred"]; found { - err = json.Unmarshal(raw, &a.Deferred) - if err != nil { - return fmt.Errorf("error reading 'deferred': %w", err) - } - delete(object, "deferred") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -53251,13 +45495,6 @@ func (a PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Marsh var err error object := make(map[string]json.RawMessage) - if a.Deferred != nil { - object["deferred"], err = json.Marshal(a.Deferred) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deferred': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -53610,14 +45847,6 @@ func (a *PackageInfo_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b []by return err } - if raw, found := object["deferred"]; found { - err = json.Unmarshal(raw, &a.Deferred) - if err != nil { - return fmt.Errorf("error reading 'deferred': %w", err) - } - delete(object, "deferred") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -53661,13 +45890,6 @@ func (a PackageInfo_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([]byte var err error object := make(map[string]json.RawMessage) - if a.Deferred != nil { - object["deferred"], err = json.Marshal(a.Deferred) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deferred': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -54075,14 +46297,6 @@ func (a *PackageInfo_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "installed_kibana_space_id") } - if raw, found := object["is_rollback_ttl_expired"]; found { - err = json.Unmarshal(raw, &a.IsRollbackTtlExpired) - if err != nil { - return fmt.Errorf("error reading 'is_rollback_ttl_expired': %w", err) - } - delete(object, "is_rollback_ttl_expired") - } - if raw, found := object["latest_executed_state"]; found { err = json.Unmarshal(raw, &a.LatestExecutedState) if err != nil { @@ -54123,14 +46337,6 @@ func (a *PackageInfo_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "previous_version") } - if raw, found := object["rolled_back"]; found { - err = json.Unmarshal(raw, &a.RolledBack) - if err != nil { - return fmt.Errorf("error reading 'rolled_back': %w", err) - } - delete(object, "rolled_back") - } - if raw, found := object["type"]; found { err = json.Unmarshal(raw, &a.Type) if err != nil { @@ -54245,13 +46451,6 @@ func (a PackageInfo_InstallationInfo) MarshalJSON() ([]byte, error) { } } - if a.IsRollbackTtlExpired != nil { - object["is_rollback_ttl_expired"], err = json.Marshal(a.IsRollbackTtlExpired) - if err != nil { - return nil, fmt.Errorf("error marshaling 'is_rollback_ttl_expired': %w", err) - } - } - if a.LatestExecutedState != nil { object["latest_executed_state"], err = json.Marshal(a.LatestExecutedState) if err != nil { @@ -54285,13 +46484,6 @@ func (a PackageInfo_InstallationInfo) MarshalJSON() ([]byte, error) { } } - if a.RolledBack != nil { - object["rolled_back"], err = json.Marshal(a.RolledBack) - if err != nil { - return nil, fmt.Errorf("error marshaling 'rolled_back': %w", err) - } - } - object["type"], err = json.Marshal(a.Type) if err != nil { return nil, fmt.Errorf("error marshaling 'type': %w", err) @@ -55529,14 +47721,6 @@ func (a *PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) return err } - if raw, found := object["deferred"]; found { - err = json.Unmarshal(raw, &a.Deferred) - if err != nil { - return fmt.Errorf("error reading 'deferred': %w", err) - } - delete(object, "deferred") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -55580,13 +47764,6 @@ func (a PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) M var err error object := make(map[string]json.RawMessage) - if a.Deferred != nil { - object["deferred"], err = json.Marshal(a.Deferred) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deferred': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -55939,14 +48116,6 @@ func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b return err } - if raw, found := object["deferred"]; found { - err = json.Unmarshal(raw, &a.Deferred) - if err != nil { - return fmt.Errorf("error reading 'deferred': %w", err) - } - delete(object, "deferred") - } - if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -55990,13 +48159,6 @@ func (a PackageListItem_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([] var err error object := make(map[string]json.RawMessage) - if a.Deferred != nil { - object["deferred"], err = json.Marshal(a.Deferred) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deferred': %w", err) - } - } - object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -56404,14 +48566,6 @@ func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "installed_kibana_space_id") } - if raw, found := object["is_rollback_ttl_expired"]; found { - err = json.Unmarshal(raw, &a.IsRollbackTtlExpired) - if err != nil { - return fmt.Errorf("error reading 'is_rollback_ttl_expired': %w", err) - } - delete(object, "is_rollback_ttl_expired") - } - if raw, found := object["latest_executed_state"]; found { err = json.Unmarshal(raw, &a.LatestExecutedState) if err != nil { @@ -56452,14 +48606,6 @@ func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "previous_version") } - if raw, found := object["rolled_back"]; found { - err = json.Unmarshal(raw, &a.RolledBack) - if err != nil { - return fmt.Errorf("error reading 'rolled_back': %w", err) - } - delete(object, "rolled_back") - } - if raw, found := object["type"]; found { err = json.Unmarshal(raw, &a.Type) if err != nil { @@ -56574,13 +48720,6 @@ func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error) { } } - if a.IsRollbackTtlExpired != nil { - object["is_rollback_ttl_expired"], err = json.Marshal(a.IsRollbackTtlExpired) - if err != nil { - return nil, fmt.Errorf("error marshaling 'is_rollback_ttl_expired': %w", err) - } - } - if a.LatestExecutedState != nil { object["latest_executed_state"], err = json.Marshal(a.LatestExecutedState) if err != nil { @@ -56614,13 +48753,6 @@ func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error) { } } - if a.RolledBack != nil { - object["rolled_back"], err = json.Marshal(a.RolledBack) - if err != nil { - return nil, fmt.Errorf("error marshaling 'rolled_back': %w", err) - } - } - object["type"], err = json.Marshal(a.Type) if err != nil { return nil, fmt.Errorf("error marshaling 'type': %w", err) @@ -59445,7 +51577,7 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) AsSLO // FromSLOsTimesliceMetricBasicMetricWithField overwrites any union data inside the SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item as the provided SLOsTimesliceMetricBasicMetricWithField func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) FromSLOsTimesliceMetricBasicMetricWithField(v SLOsTimesliceMetricBasicMetricWithField) error { - v.Aggregation = "cardinality" + v.Aggregation = "avg" b, err := json.Marshal(v) t.union = b return err @@ -59453,7 +51585,7 @@ func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) From // MergeSLOsTimesliceMetricBasicMetricWithField performs a merge with any union data inside the SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item, using the provided SLOsTimesliceMetricBasicMetricWithField func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) MergeSLOsTimesliceMetricBasicMetricWithField(v SLOsTimesliceMetricBasicMetricWithField) error { - v.Aggregation = "cardinality" + v.Aggregation = "avg" b, err := json.Marshal(v) if err != nil { return err @@ -59534,7 +51666,7 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) Value return nil, err } switch discriminator { - case "cardinality": + case "avg": return t.AsSLOsTimesliceMetricBasicMetricWithField() case "doc_count": return t.AsSLOsTimesliceMetricDocCountMetric() @@ -60491,130 +52623,6 @@ func (t *SecurityAIAssistantAPIContentReferences_AdditionalProperties) Unmarshal return err } -// AsSecurityAIAssistantAPISelectOptionInterruptResumeValue returns the union data inside the SecurityAIAssistantAPIInterruptResumeValue as a SecurityAIAssistantAPISelectOptionInterruptResumeValue -func (t SecurityAIAssistantAPIInterruptResumeValue) AsSecurityAIAssistantAPISelectOptionInterruptResumeValue() (SecurityAIAssistantAPISelectOptionInterruptResumeValue, error) { - var body SecurityAIAssistantAPISelectOptionInterruptResumeValue - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAIAssistantAPISelectOptionInterruptResumeValue overwrites any union data inside the SecurityAIAssistantAPIInterruptResumeValue as the provided SecurityAIAssistantAPISelectOptionInterruptResumeValue -func (t *SecurityAIAssistantAPIInterruptResumeValue) FromSecurityAIAssistantAPISelectOptionInterruptResumeValue(v SecurityAIAssistantAPISelectOptionInterruptResumeValue) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAIAssistantAPISelectOptionInterruptResumeValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptResumeValue, using the provided SecurityAIAssistantAPISelectOptionInterruptResumeValue -func (t *SecurityAIAssistantAPIInterruptResumeValue) MergeSecurityAIAssistantAPISelectOptionInterruptResumeValue(v SecurityAIAssistantAPISelectOptionInterruptResumeValue) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityAIAssistantAPIInputTextInterruptResumeValue returns the union data inside the SecurityAIAssistantAPIInterruptResumeValue as a SecurityAIAssistantAPIInputTextInterruptResumeValue -func (t SecurityAIAssistantAPIInterruptResumeValue) AsSecurityAIAssistantAPIInputTextInterruptResumeValue() (SecurityAIAssistantAPIInputTextInterruptResumeValue, error) { - var body SecurityAIAssistantAPIInputTextInterruptResumeValue - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAIAssistantAPIInputTextInterruptResumeValue overwrites any union data inside the SecurityAIAssistantAPIInterruptResumeValue as the provided SecurityAIAssistantAPIInputTextInterruptResumeValue -func (t *SecurityAIAssistantAPIInterruptResumeValue) FromSecurityAIAssistantAPIInputTextInterruptResumeValue(v SecurityAIAssistantAPIInputTextInterruptResumeValue) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAIAssistantAPIInputTextInterruptResumeValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptResumeValue, using the provided SecurityAIAssistantAPIInputTextInterruptResumeValue -func (t *SecurityAIAssistantAPIInterruptResumeValue) MergeSecurityAIAssistantAPIInputTextInterruptResumeValue(v SecurityAIAssistantAPIInputTextInterruptResumeValue) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityAIAssistantAPIInterruptResumeValue) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityAIAssistantAPIInterruptResumeValue) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityAIAssistantAPISelectOptionInterruptValue returns the union data inside the SecurityAIAssistantAPIInterruptValue as a SecurityAIAssistantAPISelectOptionInterruptValue -func (t SecurityAIAssistantAPIInterruptValue) AsSecurityAIAssistantAPISelectOptionInterruptValue() (SecurityAIAssistantAPISelectOptionInterruptValue, error) { - var body SecurityAIAssistantAPISelectOptionInterruptValue - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAIAssistantAPISelectOptionInterruptValue overwrites any union data inside the SecurityAIAssistantAPIInterruptValue as the provided SecurityAIAssistantAPISelectOptionInterruptValue -func (t *SecurityAIAssistantAPIInterruptValue) FromSecurityAIAssistantAPISelectOptionInterruptValue(v SecurityAIAssistantAPISelectOptionInterruptValue) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAIAssistantAPISelectOptionInterruptValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptValue, using the provided SecurityAIAssistantAPISelectOptionInterruptValue -func (t *SecurityAIAssistantAPIInterruptValue) MergeSecurityAIAssistantAPISelectOptionInterruptValue(v SecurityAIAssistantAPISelectOptionInterruptValue) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityAIAssistantAPIInputTextInterruptValue returns the union data inside the SecurityAIAssistantAPIInterruptValue as a SecurityAIAssistantAPIInputTextInterruptValue -func (t SecurityAIAssistantAPIInterruptValue) AsSecurityAIAssistantAPIInputTextInterruptValue() (SecurityAIAssistantAPIInputTextInterruptValue, error) { - var body SecurityAIAssistantAPIInputTextInterruptValue - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAIAssistantAPIInputTextInterruptValue overwrites any union data inside the SecurityAIAssistantAPIInterruptValue as the provided SecurityAIAssistantAPIInputTextInterruptValue -func (t *SecurityAIAssistantAPIInterruptValue) FromSecurityAIAssistantAPIInputTextInterruptValue(v SecurityAIAssistantAPIInputTextInterruptValue) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAIAssistantAPIInputTextInterruptValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptValue, using the provided SecurityAIAssistantAPIInputTextInterruptValue -func (t *SecurityAIAssistantAPIInterruptValue) MergeSecurityAIAssistantAPIInputTextInterruptValue(v SecurityAIAssistantAPIInputTextInterruptValue) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityAIAssistantAPIInterruptValue) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityAIAssistantAPIInterruptValue) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - // AsSecurityAIAssistantAPIDocumentEntryCreateFields returns the union data inside the SecurityAIAssistantAPIKnowledgeBaseEntryCreateProps as a SecurityAIAssistantAPIDocumentEntryCreateFields func (t SecurityAIAssistantAPIKnowledgeBaseEntryCreateProps) AsSecurityAIAssistantAPIDocumentEntryCreateFields() (SecurityAIAssistantAPIDocumentEntryCreateFields, error) { var body SecurityAIAssistantAPIDocumentEntryCreateFields @@ -60863,130 +52871,6 @@ func (t *SecurityAIAssistantAPIKnowledgeBaseEntryUpdateRouteProps) UnmarshalJSON return err } -// AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction returns the union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as a SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction -func (t SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction() (SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction, error) { - var body SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction overwrites any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction -func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction performs a merge with any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction, using the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction -func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction returns the union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as a SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction -func (t SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction() (SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction, error) { - var body SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction overwrites any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction -func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction performs a merge with any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction, using the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction -func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityAttackDiscoveryAPIQueryQuery0 returns the union data inside the SecurityAttackDiscoveryAPIQuery_Query as a SecurityAttackDiscoveryAPIQueryQuery0 -func (t SecurityAttackDiscoveryAPIQuery_Query) AsSecurityAttackDiscoveryAPIQueryQuery0() (SecurityAttackDiscoveryAPIQueryQuery0, error) { - var body SecurityAttackDiscoveryAPIQueryQuery0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAttackDiscoveryAPIQueryQuery0 overwrites any union data inside the SecurityAttackDiscoveryAPIQuery_Query as the provided SecurityAttackDiscoveryAPIQueryQuery0 -func (t *SecurityAttackDiscoveryAPIQuery_Query) FromSecurityAttackDiscoveryAPIQueryQuery0(v SecurityAttackDiscoveryAPIQueryQuery0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAttackDiscoveryAPIQueryQuery0 performs a merge with any union data inside the SecurityAttackDiscoveryAPIQuery_Query, using the provided SecurityAttackDiscoveryAPIQueryQuery0 -func (t *SecurityAttackDiscoveryAPIQuery_Query) MergeSecurityAttackDiscoveryAPIQueryQuery0(v SecurityAttackDiscoveryAPIQueryQuery0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityAttackDiscoveryAPIQueryQuery1 returns the union data inside the SecurityAttackDiscoveryAPIQuery_Query as a SecurityAttackDiscoveryAPIQueryQuery1 -func (t SecurityAttackDiscoveryAPIQuery_Query) AsSecurityAttackDiscoveryAPIQueryQuery1() (SecurityAttackDiscoveryAPIQueryQuery1, error) { - var body SecurityAttackDiscoveryAPIQueryQuery1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityAttackDiscoveryAPIQueryQuery1 overwrites any union data inside the SecurityAttackDiscoveryAPIQuery_Query as the provided SecurityAttackDiscoveryAPIQueryQuery1 -func (t *SecurityAttackDiscoveryAPIQuery_Query) FromSecurityAttackDiscoveryAPIQueryQuery1(v SecurityAttackDiscoveryAPIQueryQuery1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityAttackDiscoveryAPIQueryQuery1 performs a merge with any union data inside the SecurityAttackDiscoveryAPIQuery_Query, using the provided SecurityAttackDiscoveryAPIQueryQuery1 -func (t *SecurityAttackDiscoveryAPIQuery_Query) MergeSecurityAttackDiscoveryAPIQueryQuery1(v SecurityAttackDiscoveryAPIQueryQuery1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityAttackDiscoveryAPIQuery_Query) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityAttackDiscoveryAPIQuery_Query) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - // AsSecurityDetectionsAPIAlertsSortCombinations returns the union data inside the SecurityDetectionsAPIAlertsSort as a SecurityDetectionsAPIAlertsSortCombinations func (t SecurityDetectionsAPIAlertsSort) AsSecurityDetectionsAPIAlertsSortCombinations() (SecurityDetectionsAPIAlertsSortCombinations, error) { var body SecurityDetectionsAPIAlertsSortCombinations @@ -62877,184 +54761,6 @@ func (t *SecurityDetectionsAPIRuleUpdateProps) UnmarshalJSON(b []byte) error { return err } -// AsSecurityDetectionsAPICloseAlertsByIds returns the union data inside the SecurityDetectionsAPISetAlertsStatusByIds as a SecurityDetectionsAPICloseAlertsByIds -func (t SecurityDetectionsAPISetAlertsStatusByIds) AsSecurityDetectionsAPICloseAlertsByIds() (SecurityDetectionsAPICloseAlertsByIds, error) { - var body SecurityDetectionsAPICloseAlertsByIds - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityDetectionsAPICloseAlertsByIds overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByIds as the provided SecurityDetectionsAPICloseAlertsByIds -func (t *SecurityDetectionsAPISetAlertsStatusByIds) FromSecurityDetectionsAPICloseAlertsByIds(v SecurityDetectionsAPICloseAlertsByIds) error { - v.Status = "closed" - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityDetectionsAPICloseAlertsByIds performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByIds, using the provided SecurityDetectionsAPICloseAlertsByIds -func (t *SecurityDetectionsAPISetAlertsStatusByIds) MergeSecurityDetectionsAPICloseAlertsByIds(v SecurityDetectionsAPICloseAlertsByIds) error { - v.Status = "closed" - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityDetectionsAPISetAlertsStatusByIdsBase returns the union data inside the SecurityDetectionsAPISetAlertsStatusByIds as a SecurityDetectionsAPISetAlertsStatusByIdsBase -func (t SecurityDetectionsAPISetAlertsStatusByIds) AsSecurityDetectionsAPISetAlertsStatusByIdsBase() (SecurityDetectionsAPISetAlertsStatusByIdsBase, error) { - var body SecurityDetectionsAPISetAlertsStatusByIdsBase - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityDetectionsAPISetAlertsStatusByIdsBase overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByIds as the provided SecurityDetectionsAPISetAlertsStatusByIdsBase -func (t *SecurityDetectionsAPISetAlertsStatusByIds) FromSecurityDetectionsAPISetAlertsStatusByIdsBase(v SecurityDetectionsAPISetAlertsStatusByIdsBase) error { - v.Status = "Security_Detections_API_SetAlertsStatusByIdsBase" - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityDetectionsAPISetAlertsStatusByIdsBase performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByIds, using the provided SecurityDetectionsAPISetAlertsStatusByIdsBase -func (t *SecurityDetectionsAPISetAlertsStatusByIds) MergeSecurityDetectionsAPISetAlertsStatusByIdsBase(v SecurityDetectionsAPISetAlertsStatusByIdsBase) error { - v.Status = "Security_Detections_API_SetAlertsStatusByIdsBase" - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityDetectionsAPISetAlertsStatusByIds) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"status"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err -} - -func (t SecurityDetectionsAPISetAlertsStatusByIds) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() - if err != nil { - return nil, err - } - switch discriminator { - case "Security_Detections_API_SetAlertsStatusByIdsBase": - return t.AsSecurityDetectionsAPISetAlertsStatusByIdsBase() - case "closed": - return t.AsSecurityDetectionsAPICloseAlertsByIds() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) - } -} - -func (t SecurityDetectionsAPISetAlertsStatusByIds) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityDetectionsAPISetAlertsStatusByIds) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityDetectionsAPICloseAlertsByQuery returns the union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as a SecurityDetectionsAPICloseAlertsByQuery -func (t SecurityDetectionsAPISetAlertsStatusByQuery) AsSecurityDetectionsAPICloseAlertsByQuery() (SecurityDetectionsAPICloseAlertsByQuery, error) { - var body SecurityDetectionsAPICloseAlertsByQuery - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityDetectionsAPICloseAlertsByQuery overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as the provided SecurityDetectionsAPICloseAlertsByQuery -func (t *SecurityDetectionsAPISetAlertsStatusByQuery) FromSecurityDetectionsAPICloseAlertsByQuery(v SecurityDetectionsAPICloseAlertsByQuery) error { - v.Status = "closed" - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityDetectionsAPICloseAlertsByQuery performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery, using the provided SecurityDetectionsAPICloseAlertsByQuery -func (t *SecurityDetectionsAPISetAlertsStatusByQuery) MergeSecurityDetectionsAPICloseAlertsByQuery(v SecurityDetectionsAPICloseAlertsByQuery) error { - v.Status = "closed" - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityDetectionsAPISetAlertsStatusByQueryBase returns the union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as a SecurityDetectionsAPISetAlertsStatusByQueryBase -func (t SecurityDetectionsAPISetAlertsStatusByQuery) AsSecurityDetectionsAPISetAlertsStatusByQueryBase() (SecurityDetectionsAPISetAlertsStatusByQueryBase, error) { - var body SecurityDetectionsAPISetAlertsStatusByQueryBase - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityDetectionsAPISetAlertsStatusByQueryBase overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as the provided SecurityDetectionsAPISetAlertsStatusByQueryBase -func (t *SecurityDetectionsAPISetAlertsStatusByQuery) FromSecurityDetectionsAPISetAlertsStatusByQueryBase(v SecurityDetectionsAPISetAlertsStatusByQueryBase) error { - v.Status = "Security_Detections_API_SetAlertsStatusByQueryBase" - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityDetectionsAPISetAlertsStatusByQueryBase performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery, using the provided SecurityDetectionsAPISetAlertsStatusByQueryBase -func (t *SecurityDetectionsAPISetAlertsStatusByQuery) MergeSecurityDetectionsAPISetAlertsStatusByQueryBase(v SecurityDetectionsAPISetAlertsStatusByQueryBase) error { - v.Status = "Security_Detections_API_SetAlertsStatusByQueryBase" - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityDetectionsAPISetAlertsStatusByQuery) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"status"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err -} - -func (t SecurityDetectionsAPISetAlertsStatusByQuery) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() - if err != nil { - return nil, err - } - switch discriminator { - case "Security_Detections_API_SetAlertsStatusByQueryBase": - return t.AsSecurityDetectionsAPISetAlertsStatusByQueryBase() - case "closed": - return t.AsSecurityDetectionsAPICloseAlertsByQuery() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) - } -} - -func (t SecurityDetectionsAPISetAlertsStatusByQuery) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityDetectionsAPISetAlertsStatusByQuery) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - // AsSecurityDetectionsAPIThresholdField0 returns the union data inside the SecurityDetectionsAPIThresholdField as a SecurityDetectionsAPIThresholdField0 func (t SecurityDetectionsAPIThresholdField) AsSecurityDetectionsAPIThresholdField0() (SecurityDetectionsAPIThresholdField0, error) { var body SecurityDetectionsAPIThresholdField0 @@ -63433,24 +55139,22 @@ func (t *SecurityEndpointExceptionsAPIExceptionListItemEntryNestedEntryItem) Unm return err } -// AsSecurityEndpointManagementAPIKillProcess returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIKillProcess -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIKillProcess() (SecurityEndpointManagementAPIKillProcess, error) { - var body SecurityEndpointManagementAPIKillProcess +// AsSecurityEndpointManagementAPIAgentIds0 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds0 +func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds0() (SecurityEndpointManagementAPIAgentIds0, error) { + var body SecurityEndpointManagementAPIAgentIds0 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIKillProcess overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIKillProcess -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIKillProcess(v SecurityEndpointManagementAPIKillProcess) error { - v.Command = "kill-process" +// FromSecurityEndpointManagementAPIAgentIds0 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds0 +func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIKillProcess performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIKillProcess -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIKillProcess(v SecurityEndpointManagementAPIKillProcess) error { - v.Command = "kill-process" +// MergeSecurityEndpointManagementAPIAgentIds0 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds0 +func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { b, err := json.Marshal(v) if err != nil { return err @@ -63461,24 +55165,22 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIGetFile returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIGetFile -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIGetFile() (SecurityEndpointManagementAPIGetFile, error) { - var body SecurityEndpointManagementAPIGetFile +// AsSecurityEndpointManagementAPIAgentIds1 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds1 +func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds1() (SecurityEndpointManagementAPIAgentIds1, error) { + var body SecurityEndpointManagementAPIAgentIds1 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIGetFile overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIGetFile -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIGetFile(v SecurityEndpointManagementAPIGetFile) error { - v.Command = "get-file" +// FromSecurityEndpointManagementAPIAgentIds1 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds1 +func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIGetFile performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIGetFile -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIGetFile(v SecurityEndpointManagementAPIGetFile) error { - v.Command = "get-file" +// MergeSecurityEndpointManagementAPIAgentIds1 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds1 +func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { b, err := json.Marshal(v) if err != nil { return err @@ -63489,24 +55191,32 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIExecute returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIExecute -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIExecute() (SecurityEndpointManagementAPIExecute, error) { - var body SecurityEndpointManagementAPIExecute +func (t SecurityEndpointManagementAPIAgentIds) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIAgentIds) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0, error) { + var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIExecute overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIExecute -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIExecute(v SecurityEndpointManagementAPIExecute) error { - v.Command = "execute" +// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIExecute performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIExecute -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIExecute(v SecurityEndpointManagementAPIExecute) error { - v.Command = "execute" +// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { b, err := json.Marshal(v) if err != nil { return err @@ -63517,24 +55227,22 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIRunscript returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIRunscript -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIRunscript() (SecurityEndpointManagementAPIRunscript, error) { - var body SecurityEndpointManagementAPIRunscript +// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1, error) { + var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIRunscript overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIRunscript -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIRunscript(v SecurityEndpointManagementAPIRunscript) error { - v.Command = "runscript" +// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIRunscript performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIRunscript -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIRunscript(v SecurityEndpointManagementAPIRunscript) error { - v.Command = "runscript" +// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { b, err := json.Marshal(v) if err != nil { return err @@ -63545,24 +55253,22 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIUpload returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIUpload -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIUpload() (SecurityEndpointManagementAPIUpload, error) { - var body SecurityEndpointManagementAPIUpload +// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2, error) { + var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIUpload overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIUpload -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIUpload(v SecurityEndpointManagementAPIUpload) error { - v.Command = "upload" +// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIUpload performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIUpload -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIUpload(v SecurityEndpointManagementAPIUpload) error { - v.Command = "upload" +// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { b, err := json.Marshal(v) if err != nil { return err @@ -63573,24 +55279,32 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIScan returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIScan -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIScan() (SecurityEndpointManagementAPIScan, error) { - var body SecurityEndpointManagementAPIScan +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIPendingActionsSchema0 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema0 +func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema0() (SecurityEndpointManagementAPIPendingActionsSchema0, error) { + var body SecurityEndpointManagementAPIPendingActionsSchema0 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIScan overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIScan -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIScan(v SecurityEndpointManagementAPIScan) error { - v.Command = "scan" +// FromSecurityEndpointManagementAPIPendingActionsSchema0 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema0 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIScan performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIScan -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIScan(v SecurityEndpointManagementAPIScan) error { - v.Command = "scan" +// MergeSecurityEndpointManagementAPIPendingActionsSchema0 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema0 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { b, err := json.Marshal(v) if err != nil { return err @@ -63601,24 +55315,22 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPICancel returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPICancel -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPICancel() (SecurityEndpointManagementAPICancel, error) { - var body SecurityEndpointManagementAPICancel +// AsSecurityEndpointManagementAPIPendingActionsSchema1 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema1 +func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema1() (SecurityEndpointManagementAPIPendingActionsSchema1, error) { + var body SecurityEndpointManagementAPIPendingActionsSchema1 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPICancel overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPICancel -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPICancel(v SecurityEndpointManagementAPICancel) error { - v.Command = "cancel" +// FromSecurityEndpointManagementAPIPendingActionsSchema1 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema1 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPICancel performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPICancel -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPICancel(v SecurityEndpointManagementAPICancel) error { - v.Command = "cancel" +// MergeSecurityEndpointManagementAPIPendingActionsSchema1 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema1 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { b, err := json.Marshal(v) if err != nil { return err @@ -63629,24 +55341,32 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIIsolate returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIIsolate -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIIsolate() (SecurityEndpointManagementAPIIsolate, error) { - var body SecurityEndpointManagementAPIIsolate +func (t SecurityEndpointManagementAPIPendingActionsSchema) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIPendingActionsSchema) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 returns the union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as a SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 +func (t SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0() (SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0, error) { + var body SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIIsolate overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIIsolate -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIIsolate(v SecurityEndpointManagementAPIIsolate) error { - v.Command = "Security_Endpoint_Management_API_Isolate" +// FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 +func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIIsolate performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIIsolate -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIIsolate(v SecurityEndpointManagementAPIIsolate) error { - v.Command = "Security_Endpoint_Management_API_Isolate" +// MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 +func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0) error { b, err := json.Marshal(v) if err != nil { return err @@ -63657,24 +55377,22 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPIUnisolate returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIUnisolate -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIUnisolate() (SecurityEndpointManagementAPIUnisolate, error) { - var body SecurityEndpointManagementAPIUnisolate +// AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 returns the union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as a SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 +func (t SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1() (SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1, error) { + var body SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIUnisolate overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIUnisolate -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIUnisolate(v SecurityEndpointManagementAPIUnisolate) error { - v.Command = "Security_Endpoint_Management_API_Unisolate" +// FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 +func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIUnisolate performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIUnisolate -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIUnisolate(v SecurityEndpointManagementAPIUnisolate) error { - v.Command = "Security_Endpoint_Management_API_Unisolate" +// MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 +func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1) error { b, err := json.Marshal(v) if err != nil { return err @@ -63685,559 +55403,12 @@ func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpoi return err } -// AsSecurityEndpointManagementAPISuspendProcess returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPISuspendProcess -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPISuspendProcess() (SecurityEndpointManagementAPISuspendProcess, error) { - var body SecurityEndpointManagementAPISuspendProcess - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPISuspendProcess overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPISuspendProcess -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPISuspendProcess(v SecurityEndpointManagementAPISuspendProcess) error { - v.Command = "suspend-process" - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPISuspendProcess performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPISuspendProcess -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPISuspendProcess(v SecurityEndpointManagementAPISuspendProcess) error { - v.Command = "suspend-process" - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIRunningProcesses returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIRunningProcesses -func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIRunningProcesses() (SecurityEndpointManagementAPIRunningProcesses, error) { - var body SecurityEndpointManagementAPIRunningProcesses - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIRunningProcesses overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIRunningProcesses -func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIRunningProcesses(v SecurityEndpointManagementAPIRunningProcesses) error { - v.Command = "running-processes" - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIRunningProcesses performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIRunningProcesses -func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIRunningProcesses(v SecurityEndpointManagementAPIRunningProcesses) error { - v.Command = "running-processes" - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIActionDetailsResponse) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"command"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err -} - -func (t SecurityEndpointManagementAPIActionDetailsResponse) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() - if err != nil { - return nil, err - } - switch discriminator { - case "Security_Endpoint_Management_API_Isolate": - return t.AsSecurityEndpointManagementAPIIsolate() - case "Security_Endpoint_Management_API_Unisolate": - return t.AsSecurityEndpointManagementAPIUnisolate() - case "cancel": - return t.AsSecurityEndpointManagementAPICancel() - case "execute": - return t.AsSecurityEndpointManagementAPIExecute() - case "get-file": - return t.AsSecurityEndpointManagementAPIGetFile() - case "kill-process": - return t.AsSecurityEndpointManagementAPIKillProcess() - case "running-processes": - return t.AsSecurityEndpointManagementAPIRunningProcesses() - case "runscript": - return t.AsSecurityEndpointManagementAPIRunscript() - case "scan": - return t.AsSecurityEndpointManagementAPIScan() - case "suspend-process": - return t.AsSecurityEndpointManagementAPISuspendProcess() - case "upload": - return t.AsSecurityEndpointManagementAPIUpload() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) - } -} - -func (t SecurityEndpointManagementAPIActionDetailsResponse) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIActionDetailsResponse) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIAgentIds0 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds0 -func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds0() (SecurityEndpointManagementAPIAgentIds0, error) { - var body SecurityEndpointManagementAPIAgentIds0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIAgentIds0 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds0 -func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIAgentIds0 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds0 -func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIAgentIds1 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds1 -func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds1() (SecurityEndpointManagementAPIAgentIds1, error) { - var body SecurityEndpointManagementAPIAgentIds1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIAgentIds1 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds1 -func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIAgentIds1 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds1 -func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIAgentIds) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIAgentIds) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIKillProcessOutputsContent0 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as a SecurityEndpointManagementAPIKillProcessOutputsContent0 -func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) AsSecurityEndpointManagementAPIKillProcessOutputsContent0() (SecurityEndpointManagementAPIKillProcessOutputsContent0, error) { - var body SecurityEndpointManagementAPIKillProcessOutputsContent0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as the provided SecurityEndpointManagementAPIKillProcessOutputsContent0 -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) FromSecurityEndpointManagementAPIKillProcessOutputsContent0(v SecurityEndpointManagementAPIKillProcessOutputsContent0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content, using the provided SecurityEndpointManagementAPIKillProcessOutputsContent0 -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) MergeSecurityEndpointManagementAPIKillProcessOutputsContent0(v SecurityEndpointManagementAPIKillProcessOutputsContent0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIKillProcessOutputsContent1 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as a SecurityEndpointManagementAPIKillProcessOutputsContent1 -func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) AsSecurityEndpointManagementAPIKillProcessOutputsContent1() (SecurityEndpointManagementAPIKillProcessOutputsContent1, error) { - var body SecurityEndpointManagementAPIKillProcessOutputsContent1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as the provided SecurityEndpointManagementAPIKillProcessOutputsContent1 -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) FromSecurityEndpointManagementAPIKillProcessOutputsContent1(v SecurityEndpointManagementAPIKillProcessOutputsContent1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content, using the provided SecurityEndpointManagementAPIKillProcessOutputsContent1 -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) MergeSecurityEndpointManagementAPIKillProcessOutputsContent1(v SecurityEndpointManagementAPIKillProcessOutputsContent1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIKillProcessOutputsContent2 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as a SecurityEndpointManagementAPIKillProcessOutputsContent2 -func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) AsSecurityEndpointManagementAPIKillProcessOutputsContent2() (SecurityEndpointManagementAPIKillProcessOutputsContent2, error) { - var body SecurityEndpointManagementAPIKillProcessOutputsContent2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessOutputsContent2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as the provided SecurityEndpointManagementAPIKillProcessOutputsContent2 -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) FromSecurityEndpointManagementAPIKillProcessOutputsContent2(v SecurityEndpointManagementAPIKillProcessOutputsContent2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessOutputsContent2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content, using the provided SecurityEndpointManagementAPIKillProcessOutputsContent2 -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) MergeSecurityEndpointManagementAPIKillProcessOutputsContent2(v SecurityEndpointManagementAPIKillProcessOutputsContent2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIKillProcessParameters0 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as a SecurityEndpointManagementAPIKillProcessParameters0 -func (t SecurityEndpointManagementAPIKillProcess_Parameters) AsSecurityEndpointManagementAPIKillProcessParameters0() (SecurityEndpointManagementAPIKillProcessParameters0, error) { - var body SecurityEndpointManagementAPIKillProcessParameters0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessParameters0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as the provided SecurityEndpointManagementAPIKillProcessParameters0 -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) FromSecurityEndpointManagementAPIKillProcessParameters0(v SecurityEndpointManagementAPIKillProcessParameters0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters, using the provided SecurityEndpointManagementAPIKillProcessParameters0 -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) MergeSecurityEndpointManagementAPIKillProcessParameters0(v SecurityEndpointManagementAPIKillProcessParameters0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIKillProcessParameters1 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as a SecurityEndpointManagementAPIKillProcessParameters1 -func (t SecurityEndpointManagementAPIKillProcess_Parameters) AsSecurityEndpointManagementAPIKillProcessParameters1() (SecurityEndpointManagementAPIKillProcessParameters1, error) { - var body SecurityEndpointManagementAPIKillProcessParameters1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessParameters1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as the provided SecurityEndpointManagementAPIKillProcessParameters1 -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) FromSecurityEndpointManagementAPIKillProcessParameters1(v SecurityEndpointManagementAPIKillProcessParameters1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters, using the provided SecurityEndpointManagementAPIKillProcessParameters1 -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) MergeSecurityEndpointManagementAPIKillProcessParameters1(v SecurityEndpointManagementAPIKillProcessParameters1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIKillProcessParameters2 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as a SecurityEndpointManagementAPIKillProcessParameters2 -func (t SecurityEndpointManagementAPIKillProcess_Parameters) AsSecurityEndpointManagementAPIKillProcessParameters2() (SecurityEndpointManagementAPIKillProcessParameters2, error) { - var body SecurityEndpointManagementAPIKillProcessParameters2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessParameters2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as the provided SecurityEndpointManagementAPIKillProcessParameters2 -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) FromSecurityEndpointManagementAPIKillProcessParameters2(v SecurityEndpointManagementAPIKillProcessParameters2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessParameters2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters, using the provided SecurityEndpointManagementAPIKillProcessParameters2 -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) MergeSecurityEndpointManagementAPIKillProcessParameters2(v SecurityEndpointManagementAPIKillProcessParameters2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIKillProcess_Parameters) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIKillProcess_Parameters) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0, error) { - var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1, error) { - var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2, error) { - var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIPendingActionsSchema0 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema0 -func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema0() (SecurityEndpointManagementAPIPendingActionsSchema0, error) { - var body SecurityEndpointManagementAPIPendingActionsSchema0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIPendingActionsSchema0 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema0 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIPendingActionsSchema0 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema0 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIPendingActionsSchema1 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema1 -func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema1() (SecurityEndpointManagementAPIPendingActionsSchema1, error) { - var body SecurityEndpointManagementAPIPendingActionsSchema1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIPendingActionsSchema1 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema1 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIPendingActionsSchema1 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema1 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIPendingActionsSchema) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIPendingActionsSchema) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 returns the union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as a SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 -func (t SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0() (SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0, error) { - var body SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 -func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 -func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 returns the union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as a SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 -func (t SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1() (SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1, error) { - var body SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 -func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 -func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) MarshalJSON() ([]byte, error) { +func (t SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) UnmarshalJSON(b []byte) error { +func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } @@ -64346,32 +55517,6 @@ func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) Merg return err } -// AsSecurityEndpointManagementAPIMDERunScriptParameters returns the union data inside the SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters as a SecurityEndpointManagementAPIMDERunScriptParameters -func (t SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIMDERunScriptParameters() (SecurityEndpointManagementAPIMDERunScriptParameters, error) { - var body SecurityEndpointManagementAPIMDERunScriptParameters - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIMDERunScriptParameters overwrites any union data inside the SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIMDERunScriptParameters -func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIMDERunScriptParameters(v SecurityEndpointManagementAPIMDERunScriptParameters) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIMDERunScriptParameters performs a merge with any union data inside the SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIMDERunScriptParameters -func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIMDERunScriptParameters(v SecurityEndpointManagementAPIMDERunScriptParameters) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - func (t SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err @@ -64382,280 +55527,6 @@ func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) Unma return err } -// AsSecurityEndpointManagementAPIRunningProcessesOutputEndpoint returns the union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as a SecurityEndpointManagementAPIRunningProcessesOutputEndpoint -func (t SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) AsSecurityEndpointManagementAPIRunningProcessesOutputEndpoint() (SecurityEndpointManagementAPIRunningProcessesOutputEndpoint, error) { - var body SecurityEndpointManagementAPIRunningProcessesOutputEndpoint - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIRunningProcessesOutputEndpoint overwrites any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as the provided SecurityEndpointManagementAPIRunningProcessesOutputEndpoint -func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) FromSecurityEndpointManagementAPIRunningProcessesOutputEndpoint(v SecurityEndpointManagementAPIRunningProcessesOutputEndpoint) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIRunningProcessesOutputEndpoint performs a merge with any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content, using the provided SecurityEndpointManagementAPIRunningProcessesOutputEndpoint -func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) MergeSecurityEndpointManagementAPIRunningProcessesOutputEndpoint(v SecurityEndpointManagementAPIRunningProcessesOutputEndpoint) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne returns the union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as a SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne -func (t SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) AsSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne() (SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne, error) { - var body SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne overwrites any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as the provided SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne -func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) FromSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne(v SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne performs a merge with any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content, using the provided SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne -func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) MergeSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne(v SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIRunscriptParamsCrowdStrike returns the union data inside the SecurityEndpointManagementAPIRunscript_Parameters as a SecurityEndpointManagementAPIRunscriptParamsCrowdStrike -func (t SecurityEndpointManagementAPIRunscript_Parameters) AsSecurityEndpointManagementAPIRunscriptParamsCrowdStrike() (SecurityEndpointManagementAPIRunscriptParamsCrowdStrike, error) { - var body SecurityEndpointManagementAPIRunscriptParamsCrowdStrike - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIRunscriptParamsCrowdStrike overwrites any union data inside the SecurityEndpointManagementAPIRunscript_Parameters as the provided SecurityEndpointManagementAPIRunscriptParamsCrowdStrike -func (t *SecurityEndpointManagementAPIRunscript_Parameters) FromSecurityEndpointManagementAPIRunscriptParamsCrowdStrike(v SecurityEndpointManagementAPIRunscriptParamsCrowdStrike) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIRunscriptParamsCrowdStrike performs a merge with any union data inside the SecurityEndpointManagementAPIRunscript_Parameters, using the provided SecurityEndpointManagementAPIRunscriptParamsCrowdStrike -func (t *SecurityEndpointManagementAPIRunscript_Parameters) MergeSecurityEndpointManagementAPIRunscriptParamsCrowdStrike(v SecurityEndpointManagementAPIRunscriptParamsCrowdStrike) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIRunscriptParamsMicrosoft returns the union data inside the SecurityEndpointManagementAPIRunscript_Parameters as a SecurityEndpointManagementAPIRunscriptParamsMicrosoft -func (t SecurityEndpointManagementAPIRunscript_Parameters) AsSecurityEndpointManagementAPIRunscriptParamsMicrosoft() (SecurityEndpointManagementAPIRunscriptParamsMicrosoft, error) { - var body SecurityEndpointManagementAPIRunscriptParamsMicrosoft - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIRunscriptParamsMicrosoft overwrites any union data inside the SecurityEndpointManagementAPIRunscript_Parameters as the provided SecurityEndpointManagementAPIRunscriptParamsMicrosoft -func (t *SecurityEndpointManagementAPIRunscript_Parameters) FromSecurityEndpointManagementAPIRunscriptParamsMicrosoft(v SecurityEndpointManagementAPIRunscriptParamsMicrosoft) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIRunscriptParamsMicrosoft performs a merge with any union data inside the SecurityEndpointManagementAPIRunscript_Parameters, using the provided SecurityEndpointManagementAPIRunscriptParamsMicrosoft -func (t *SecurityEndpointManagementAPIRunscript_Parameters) MergeSecurityEndpointManagementAPIRunscriptParamsMicrosoft(v SecurityEndpointManagementAPIRunscriptParamsMicrosoft) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPIRunscriptParamsSentinelOne returns the union data inside the SecurityEndpointManagementAPIRunscript_Parameters as a SecurityEndpointManagementAPIRunscriptParamsSentinelOne -func (t SecurityEndpointManagementAPIRunscript_Parameters) AsSecurityEndpointManagementAPIRunscriptParamsSentinelOne() (SecurityEndpointManagementAPIRunscriptParamsSentinelOne, error) { - var body SecurityEndpointManagementAPIRunscriptParamsSentinelOne - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPIRunscriptParamsSentinelOne overwrites any union data inside the SecurityEndpointManagementAPIRunscript_Parameters as the provided SecurityEndpointManagementAPIRunscriptParamsSentinelOne -func (t *SecurityEndpointManagementAPIRunscript_Parameters) FromSecurityEndpointManagementAPIRunscriptParamsSentinelOne(v SecurityEndpointManagementAPIRunscriptParamsSentinelOne) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPIRunscriptParamsSentinelOne performs a merge with any union data inside the SecurityEndpointManagementAPIRunscript_Parameters, using the provided SecurityEndpointManagementAPIRunscriptParamsSentinelOne -func (t *SecurityEndpointManagementAPIRunscript_Parameters) MergeSecurityEndpointManagementAPIRunscriptParamsSentinelOne(v SecurityEndpointManagementAPIRunscriptParamsSentinelOne) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPIRunscript_Parameters) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIRunscript_Parameters) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPISuspendProcessOutputsContent0 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as a SecurityEndpointManagementAPISuspendProcessOutputsContent0 -func (t SecurityEndpointManagementAPISuspendProcess_Outputs_Content) AsSecurityEndpointManagementAPISuspendProcessOutputsContent0() (SecurityEndpointManagementAPISuspendProcessOutputsContent0, error) { - var body SecurityEndpointManagementAPISuspendProcessOutputsContent0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPISuspendProcessOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as the provided SecurityEndpointManagementAPISuspendProcessOutputsContent0 -func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) FromSecurityEndpointManagementAPISuspendProcessOutputsContent0(v SecurityEndpointManagementAPISuspendProcessOutputsContent0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPISuspendProcessOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content, using the provided SecurityEndpointManagementAPISuspendProcessOutputsContent0 -func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) MergeSecurityEndpointManagementAPISuspendProcessOutputsContent0(v SecurityEndpointManagementAPISuspendProcessOutputsContent0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPISuspendProcessOutputsContent1 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as a SecurityEndpointManagementAPISuspendProcessOutputsContent1 -func (t SecurityEndpointManagementAPISuspendProcess_Outputs_Content) AsSecurityEndpointManagementAPISuspendProcessOutputsContent1() (SecurityEndpointManagementAPISuspendProcessOutputsContent1, error) { - var body SecurityEndpointManagementAPISuspendProcessOutputsContent1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPISuspendProcessOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as the provided SecurityEndpointManagementAPISuspendProcessOutputsContent1 -func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) FromSecurityEndpointManagementAPISuspendProcessOutputsContent1(v SecurityEndpointManagementAPISuspendProcessOutputsContent1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPISuspendProcessOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content, using the provided SecurityEndpointManagementAPISuspendProcessOutputsContent1 -func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) MergeSecurityEndpointManagementAPISuspendProcessOutputsContent1(v SecurityEndpointManagementAPISuspendProcessOutputsContent1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPISuspendProcess_Outputs_Content) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPISuspendProcessParameters0 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as a SecurityEndpointManagementAPISuspendProcessParameters0 -func (t SecurityEndpointManagementAPISuspendProcess_Parameters) AsSecurityEndpointManagementAPISuspendProcessParameters0() (SecurityEndpointManagementAPISuspendProcessParameters0, error) { - var body SecurityEndpointManagementAPISuspendProcessParameters0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPISuspendProcessParameters0 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as the provided SecurityEndpointManagementAPISuspendProcessParameters0 -func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) FromSecurityEndpointManagementAPISuspendProcessParameters0(v SecurityEndpointManagementAPISuspendProcessParameters0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPISuspendProcessParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters, using the provided SecurityEndpointManagementAPISuspendProcessParameters0 -func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) MergeSecurityEndpointManagementAPISuspendProcessParameters0(v SecurityEndpointManagementAPISuspendProcessParameters0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsSecurityEndpointManagementAPISuspendProcessParameters1 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as a SecurityEndpointManagementAPISuspendProcessParameters1 -func (t SecurityEndpointManagementAPISuspendProcess_Parameters) AsSecurityEndpointManagementAPISuspendProcessParameters1() (SecurityEndpointManagementAPISuspendProcessParameters1, error) { - var body SecurityEndpointManagementAPISuspendProcessParameters1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromSecurityEndpointManagementAPISuspendProcessParameters1 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as the provided SecurityEndpointManagementAPISuspendProcessParameters1 -func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) FromSecurityEndpointManagementAPISuspendProcessParameters1(v SecurityEndpointManagementAPISuspendProcessParameters1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeSecurityEndpointManagementAPISuspendProcessParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters, using the provided SecurityEndpointManagementAPISuspendProcessParameters1 -func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) MergeSecurityEndpointManagementAPISuspendProcessParameters1(v SecurityEndpointManagementAPISuspendProcessParameters1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t SecurityEndpointManagementAPISuspendProcess_Parameters) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - // AsSecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0 returns the union data inside the SecurityEndpointManagementAPISuspendProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0 func (t SecurityEndpointManagementAPISuspendProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0() (SecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0, error) { var body SecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0 @@ -70879,68 +61750,6 @@ func (t *RunPushtoservice_SubActionParams_Incident_SourceIp) UnmarshalJSON(b []b return err } -// AsServerHostSecretsSslAgentKey0 returns the union data inside the ServerHost_Secrets_Ssl_AgentKey as a ServerHostSecretsSslAgentKey0 -func (t ServerHost_Secrets_Ssl_AgentKey) AsServerHostSecretsSslAgentKey0() (ServerHostSecretsSslAgentKey0, error) { - var body ServerHostSecretsSslAgentKey0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromServerHostSecretsSslAgentKey0 overwrites any union data inside the ServerHost_Secrets_Ssl_AgentKey as the provided ServerHostSecretsSslAgentKey0 -func (t *ServerHost_Secrets_Ssl_AgentKey) FromServerHostSecretsSslAgentKey0(v ServerHostSecretsSslAgentKey0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeServerHostSecretsSslAgentKey0 performs a merge with any union data inside the ServerHost_Secrets_Ssl_AgentKey, using the provided ServerHostSecretsSslAgentKey0 -func (t *ServerHost_Secrets_Ssl_AgentKey) MergeServerHostSecretsSslAgentKey0(v ServerHostSecretsSslAgentKey0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsServerHostSecretsSslAgentKey1 returns the union data inside the ServerHost_Secrets_Ssl_AgentKey as a ServerHostSecretsSslAgentKey1 -func (t ServerHost_Secrets_Ssl_AgentKey) AsServerHostSecretsSslAgentKey1() (ServerHostSecretsSslAgentKey1, error) { - var body ServerHostSecretsSslAgentKey1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromServerHostSecretsSslAgentKey1 overwrites any union data inside the ServerHost_Secrets_Ssl_AgentKey as the provided ServerHostSecretsSslAgentKey1 -func (t *ServerHost_Secrets_Ssl_AgentKey) FromServerHostSecretsSslAgentKey1(v ServerHostSecretsSslAgentKey1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeServerHostSecretsSslAgentKey1 performs a merge with any union data inside the ServerHost_Secrets_Ssl_AgentKey, using the provided ServerHostSecretsSslAgentKey1 -func (t *ServerHost_Secrets_Ssl_AgentKey) MergeServerHostSecretsSslAgentKey1(v ServerHostSecretsSslAgentKey1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t ServerHost_Secrets_Ssl_AgentKey) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *ServerHost_Secrets_Ssl_AgentKey) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - // AsServerHostSecretsSslEsKey0 returns the union data inside the ServerHost_Secrets_Ssl_EsKey as a ServerHostSecretsSslEsKey0 func (t ServerHost_Secrets_Ssl_EsKey) AsServerHostSecretsSslEsKey0() (ServerHostSecretsSslEsKey0, error) { var body ServerHostSecretsSslEsKey0 @@ -73436,81 +64245,6 @@ type ClientInterface interface { // GetActionsConnectorTypes request GetActionsConnectorTypes(ctx context.Context, params *GetActionsConnectorTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostAgentBuilderA2aAgentidWithBody request with any body - PostAgentBuilderA2aAgentidWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderA2aAgentid(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderA2aAgentidJson request - GetAgentBuilderA2aAgentidJson(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderAgents request - GetAgentBuilderAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAgentBuilderAgentsWithBody request with any body - PostAgentBuilderAgentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderAgents(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteAgentBuilderAgentsId request - DeleteAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderAgentsId request - GetAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutAgentBuilderAgentsIdWithBody request with any body - PutAgentBuilderAgentsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutAgentBuilderAgentsId(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderConversations request - GetAgentBuilderConversations(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteAgentBuilderConversationsConversationId request - DeleteAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderConversationsConversationId request - GetAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAgentBuilderConverseWithBody request with any body - PostAgentBuilderConverseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderConverse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAgentBuilderConverseAsyncWithBody request with any body - PostAgentBuilderConverseAsyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderConverseAsync(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAgentBuilderMcpWithBody request with any body - PostAgentBuilderMcpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderMcp(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderTools request - GetAgentBuilderTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAgentBuilderToolsWithBody request with any body - PostAgentBuilderToolsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderTools(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAgentBuilderToolsExecuteWithBody request with any body - PostAgentBuilderToolsExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAgentBuilderToolsExecute(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteAgentBuilderToolsId request - DeleteAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAgentBuilderToolsId request - GetAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutAgentBuilderToolsToolidWithBody request with any body - PutAgentBuilderToolsToolidWithBody(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutAgentBuilderToolsToolid(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetAlertingHealth request GetAlertingHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -73640,53 +64374,6 @@ type ClientInterface interface { // FindAssetCriticalityRecords request FindAssetCriticalityRecords(ctx context.Context, params *FindAssetCriticalityRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostAttackDiscoveryBulkWithBody request with any body - PostAttackDiscoveryBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAttackDiscoveryBulk(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // AttackDiscoveryFind request - AttackDiscoveryFind(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAttackDiscoveryGenerateWithBody request with any body - PostAttackDiscoveryGenerateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostAttackDiscoveryGenerate(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAttackDiscoveryGenerations request - GetAttackDiscoveryGenerations(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAttackDiscoveryGeneration request - GetAttackDiscoveryGeneration(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostAttackDiscoveryGenerationsDismiss request - PostAttackDiscoveryGenerationsDismiss(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) - - // CreateAttackDiscoverySchedulesWithBody request with any body - CreateAttackDiscoverySchedulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - CreateAttackDiscoverySchedules(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // FindAttackDiscoverySchedules request - FindAttackDiscoverySchedules(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteAttackDiscoverySchedules request - DeleteAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetAttackDiscoverySchedules request - GetAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) - - // UpdateAttackDiscoverySchedulesWithBody request with any body - UpdateAttackDiscoverySchedulesWithBody(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - UpdateAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DisableAttackDiscoverySchedules request - DisableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) - - // EnableAttackDiscoverySchedules request - EnableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteCaseDefaultSpace request DeleteCaseDefaultSpace(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -73923,11 +64610,6 @@ type ClientInterface interface { // EndpointGetActionsList request EndpointGetActionsList(ctx context.Context, params *EndpointGetActionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CancelActionWithBody request with any body - CancelActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - CancelAction(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // EndpointExecuteActionWithBody request with any body EndpointExecuteActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74101,24 +64783,9 @@ type ClientInterface interface { // StopEntityEngine request StopEntityEngine(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpsertEntitiesBulkWithBody request with any body - UpsertEntitiesBulkWithBody(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - UpsertEntitiesBulk(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ListEntities request ListEntities(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteSingleEntityWithBody request with any body - DeleteSingleEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - DeleteSingleEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // UpsertEntityWithBody request with any body - UpsertEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - UpsertEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetEntityStoreStatus request GetEntityStoreStatus(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74253,14 +64920,6 @@ type ClientInterface interface { // GetFleetAgentStatusData request GetFleetAgentStatusData(ctx context.Context, params *GetFleetAgentStatusDataParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetAgentlessPoliciesWithBody request with any body - PostFleetAgentlessPoliciesWithBody(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetAgentlessPolicies(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteFleetAgentlessPoliciesPolicyid request - DeleteFleetAgentlessPoliciesPolicyid(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetFleetAgents request GetFleetAgents(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74278,11 +64937,6 @@ type ClientInterface interface { // GetFleetAgentsAvailableVersions request GetFleetAgentsAvailableVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetAgentsBulkMigrateWithBody request with any body - PostFleetAgentsBulkMigrateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetAgentsBulkMigrate(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetAgentsBulkReassignWithBody request with any body PostFleetAgentsBulkReassignWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74339,11 +64993,6 @@ type ClientInterface interface { PostFleetAgentsAgentidActions(ctx context.Context, agentId string, body PostFleetAgentsAgentidActionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetAgentsAgentidMigrateWithBody request with any body - PostFleetAgentsAgentidMigrateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetAgentsAgentidMigrate(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetAgentsAgentidReassignWithBody request with any body PostFleetAgentsAgentidReassignWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74370,25 +65019,6 @@ type ClientInterface interface { // GetFleetCheckPermissions request GetFleetCheckPermissions(ctx context.Context, params *GetFleetCheckPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetFleetCloudConnectors request - GetFleetCloudConnectors(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostFleetCloudConnectorsWithBody request with any body - PostFleetCloudConnectorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetCloudConnectors(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteFleetCloudConnectorsCloudconnectorid request - DeleteFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetFleetCloudConnectorsCloudconnectorid request - GetFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutFleetCloudConnectorsCloudconnectoridWithBody request with any body - PutFleetCloudConnectorsCloudconnectoridWithBody(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetFleetDataStreams request GetFleetDataStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74438,14 +65068,6 @@ type ClientInterface interface { PostFleetEpmPackagesBulk(ctx context.Context, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetEpmPackagesBulkRollbackWithBody request with any body - PostFleetEpmPackagesBulkRollbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetEpmPackagesBulkRollback(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetFleetEpmPackagesBulkRollbackTaskid request - GetFleetEpmPackagesBulkRollbackTaskid(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetEpmPackagesBulkUninstallWithBody request with any body PostFleetEpmPackagesBulkUninstallWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74468,9 +65090,6 @@ type ClientInterface interface { // GetFleetEpmPackagesLimited request GetFleetEpmPackagesLimited(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetEpmPackagesPkgnameRollback request - PostFleetEpmPackagesPkgnameRollback(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetFleetEpmPackagesPkgnameStats request GetFleetEpmPackagesPkgnameStats(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74501,11 +65120,6 @@ type ClientInterface interface { PostFleetEpmPackagesPkgnamePkgversionKibanaAssets(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody request with any body - PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetEpmPackagesPkgnamePkgversionRuleAssets(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody request with any body PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74752,9 +65366,6 @@ type ClientInterface interface { // GetLogstashPipelines request GetLogstashPipelines(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetMaintenanceWindowFind request - GetMaintenanceWindowFind(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostMaintenanceWindowIdArchive request PostMaintenanceWindowIdArchive(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -75205,10 +65816,10 @@ type ClientInterface interface { GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostStreamsNameSignificantEventsGenerateWithBody request with any body - PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameSignificantEventsGenerateWithBody request with any body + GetStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + GetStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStreamsNameSignificantEventsPreviewWithBody request with any body PostStreamsNameSignificantEventsPreviewWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -75496,342 +66107,6 @@ func (c *Client) GetActionsConnectorTypes(ctx context.Context, params *GetAction return c.Client.Do(req) } -func (c *Client) PostAgentBuilderA2aAgentidWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderA2aAgentidRequestWithBody(c.Server, agentId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderA2aAgentid(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderA2aAgentidRequest(c.Server, agentId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderA2aAgentidJson(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderA2aAgentidJsonRequest(c.Server, agentId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderAgentsRequest(c.Server) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderAgentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderAgentsRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderAgents(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderAgentsRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteAgentBuilderAgentsIdRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderAgentsIdRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutAgentBuilderAgentsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutAgentBuilderAgentsIdRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutAgentBuilderAgentsId(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutAgentBuilderAgentsIdRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderConversations(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderConversationsRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteAgentBuilderConversationsConversationIdRequest(c.Server, conversationId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderConversationsConversationIdRequest(c.Server, conversationId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderConverseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderConverseRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderConverse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderConverseRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderConverseAsyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderConverseAsyncRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderConverseAsync(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderConverseAsyncRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderMcpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderMcpRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderMcp(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderMcpRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderToolsRequest(c.Server) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderToolsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderToolsRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderTools(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderToolsRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderToolsExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderToolsExecuteRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAgentBuilderToolsExecute(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAgentBuilderToolsExecuteRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteAgentBuilderToolsIdRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAgentBuilderToolsIdRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutAgentBuilderToolsToolidWithBody(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutAgentBuilderToolsToolidRequestWithBody(c.Server, toolId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutAgentBuilderToolsToolid(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutAgentBuilderToolsToolidRequest(c.Server, toolId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetAlertingHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAlertingHealthRequest(c.Server) if err != nil { @@ -76396,210 +66671,6 @@ func (c *Client) FindAssetCriticalityRecords(ctx context.Context, params *FindAs return c.Client.Do(req) } -func (c *Client) PostAttackDiscoveryBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAttackDiscoveryBulkRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAttackDiscoveryBulk(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAttackDiscoveryBulkRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) AttackDiscoveryFind(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewAttackDiscoveryFindRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAttackDiscoveryGenerateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAttackDiscoveryGenerateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAttackDiscoveryGenerate(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAttackDiscoveryGenerateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAttackDiscoveryGenerations(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAttackDiscoveryGenerationsRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAttackDiscoveryGeneration(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAttackDiscoveryGenerationRequest(c.Server, executionUuid, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostAttackDiscoveryGenerationsDismiss(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostAttackDiscoveryGenerationsDismissRequest(c.Server, executionUuid) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) CreateAttackDiscoverySchedulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateAttackDiscoverySchedulesRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) CreateAttackDiscoverySchedules(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateAttackDiscoverySchedulesRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) FindAttackDiscoverySchedules(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewFindAttackDiscoverySchedulesRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteAttackDiscoverySchedulesRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetAttackDiscoverySchedulesRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpdateAttackDiscoverySchedulesWithBody(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateAttackDiscoverySchedulesRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpdateAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateAttackDiscoverySchedulesRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DisableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDisableAttackDiscoverySchedulesRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) EnableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewEnableAttackDiscoverySchedulesRequest(c.Server, id) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) DeleteCaseDefaultSpace(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteCaseDefaultSpaceRequest(c.Server, params) if err != nil { @@ -77656,30 +67727,6 @@ func (c *Client) EndpointGetActionsList(ctx context.Context, params *EndpointGet return c.Client.Do(req) } -func (c *Client) CancelActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCancelActionRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) CancelAction(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCancelActionRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) EndpointExecuteActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewEndpointExecuteActionRequestWithBody(c.Server, contentType, body) if err != nil { @@ -78436,30 +68483,6 @@ func (c *Client) StopEntityEngine(ctx context.Context, entityType SecurityEntity return c.Client.Do(req) } -func (c *Client) UpsertEntitiesBulkWithBody(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpsertEntitiesBulkRequestWithBody(c.Server, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpsertEntitiesBulk(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpsertEntitiesBulkRequest(c.Server, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) ListEntities(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewListEntitiesRequest(c.Server, params) if err != nil { @@ -78472,54 +68495,6 @@ func (c *Client) ListEntities(ctx context.Context, params *ListEntitiesParams, r return c.Client.Do(req) } -func (c *Client) DeleteSingleEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteSingleEntityRequestWithBody(c.Server, entityType, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteSingleEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteSingleEntityRequest(c.Server, entityType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpsertEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpsertEntityRequestWithBody(c.Server, entityType, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpsertEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpsertEntityRequest(c.Server, entityType, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetEntityStoreStatus(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetEntityStoreStatusRequest(c.Server, params) if err != nil { @@ -79108,42 +69083,6 @@ func (c *Client) GetFleetAgentStatusData(ctx context.Context, params *GetFleetAg return c.Client.Do(req) } -func (c *Client) PostFleetAgentlessPoliciesWithBody(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentlessPoliciesRequestWithBody(c.Server, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetAgentlessPolicies(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentlessPoliciesRequest(c.Server, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteFleetAgentlessPoliciesPolicyid(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteFleetAgentlessPoliciesPolicyidRequest(c.Server, policyId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetFleetAgents(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetAgentsRequest(c.Server, params) if err != nil { @@ -79216,30 +69155,6 @@ func (c *Client) GetFleetAgentsAvailableVersions(ctx context.Context, reqEditors return c.Client.Do(req) } -func (c *Client) PostFleetAgentsBulkMigrateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentsBulkMigrateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetAgentsBulkMigrate(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentsBulkMigrateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) PostFleetAgentsBulkReassignWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetAgentsBulkReassignRequestWithBody(c.Server, contentType, body) if err != nil { @@ -79492,30 +69407,6 @@ func (c *Client) PostFleetAgentsAgentidActions(ctx context.Context, agentId stri return c.Client.Do(req) } -func (c *Client) PostFleetAgentsAgentidMigrateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentsAgentidMigrateRequestWithBody(c.Server, agentId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetAgentsAgentidMigrate(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentsAgentidMigrateRequest(c.Server, agentId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) PostFleetAgentsAgentidReassignWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetAgentsAgentidReassignRequestWithBody(c.Server, agentId, contentType, body) if err != nil { @@ -79636,90 +69527,6 @@ func (c *Client) GetFleetCheckPermissions(ctx context.Context, params *GetFleetC return c.Client.Do(req) } -func (c *Client) GetFleetCloudConnectors(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetFleetCloudConnectorsRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetCloudConnectorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetCloudConnectorsRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetCloudConnectors(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetCloudConnectorsRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteFleetCloudConnectorsCloudconnectoridRequest(c.Server, cloudConnectorId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetFleetCloudConnectorsCloudconnectoridRequest(c.Server, cloudConnectorId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutFleetCloudConnectorsCloudconnectoridWithBody(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody(c.Server, cloudConnectorId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutFleetCloudConnectorsCloudconnectoridRequest(c.Server, cloudConnectorId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetFleetDataStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetDataStreamsRequest(c.Server) if err != nil { @@ -79936,42 +69743,6 @@ func (c *Client) PostFleetEpmPackagesBulk(ctx context.Context, params *PostFleet return c.Client.Do(req) } -func (c *Client) PostFleetEpmPackagesBulkRollbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetEpmPackagesBulkRollbackRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetEpmPackagesBulkRollback(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetEpmPackagesBulkRollbackRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetFleetEpmPackagesBulkRollbackTaskid(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetFleetEpmPackagesBulkRollbackTaskidRequest(c.Server, taskId) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) PostFleetEpmPackagesBulkUninstallWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetEpmPackagesBulkUninstallRequestWithBody(c.Server, contentType, body) if err != nil { @@ -80068,18 +69839,6 @@ func (c *Client) GetFleetEpmPackagesLimited(ctx context.Context, reqEditors ...R return c.Client.Do(req) } -func (c *Client) PostFleetEpmPackagesPkgnameRollback(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetEpmPackagesPkgnameRollbackRequest(c.Server, pkgName) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetFleetEpmPackagesPkgnameStats(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetEpmPackagesPkgnameStatsRequest(c.Server, pkgName) if err != nil { @@ -80212,30 +69971,6 @@ func (c *Client) PostFleetEpmPackagesPkgnamePkgversionKibanaAssets(ctx context.C return c.Client.Do(req) } -func (c *Client) PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(c.Server, pkgName, pkgVersion, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetEpmPackagesPkgnamePkgversionRuleAssets(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequest(c.Server, pkgName, pkgVersion, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeRequestWithBody(c.Server, pkgName, pkgVersion, params, contentType, body) if err != nil { @@ -81316,18 +71051,6 @@ func (c *Client) GetLogstashPipelines(ctx context.Context, reqEditors ...Request return c.Client.Do(req) } -func (c *Client) GetMaintenanceWindowFind(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetMaintenanceWindowFindRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) PostMaintenanceWindowIdArchive(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostMaintenanceWindowIdArchiveRequest(c.Server, id) if err != nil { @@ -83392,8 +73115,8 @@ func (c *Client) GetStreamsNameSignificantEvents(ctx context.Context, name strin return c.Client.Do(req) } -func (c *Client) PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameSignificantEventsGenerateRequestWithBody(c.Server, name, params, contentType, body) +func (c *Client) GetStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameSignificantEventsGenerateRequestWithBody(c.Server, name, params, contentType, body) if err != nil { return nil, err } @@ -83404,8 +73127,8 @@ func (c *Client) PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Co return c.Client.Do(req) } -func (c *Client) PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameSignificantEventsGenerateRequest(c.Server, name, params, body) +func (c *Client) GetStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameSignificantEventsGenerateRequest(c.Server, name, params, body) if err != nil { return nil, err } @@ -84628,728 +74351,6 @@ func NewGetActionsConnectorTypesRequest(server string, params *GetActionsConnect return req, nil } -// NewPostAgentBuilderA2aAgentidRequest calls the generic PostAgentBuilderA2aAgentid builder with application/json body -func NewPostAgentBuilderA2aAgentidRequest(server string, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderA2aAgentidRequestWithBody(server, agentId, "application/json", bodyReader) -} - -// NewPostAgentBuilderA2aAgentidRequestWithBody generates requests for PostAgentBuilderA2aAgentid with any type of body -func NewPostAgentBuilderA2aAgentidRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentId", runtime.ParamLocationPath, agentId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/a2a/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewGetAgentBuilderA2aAgentidJsonRequest generates requests for GetAgentBuilderA2aAgentidJson -func NewGetAgentBuilderA2aAgentidJsonRequest(server string, agentId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentId", runtime.ParamLocationPath, agentId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/a2a/%s.json", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetAgentBuilderAgentsRequest generates requests for GetAgentBuilderAgents -func NewGetAgentBuilderAgentsRequest(server string) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/agents") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostAgentBuilderAgentsRequest calls the generic PostAgentBuilderAgents builder with application/json body -func NewPostAgentBuilderAgentsRequest(server string, body PostAgentBuilderAgentsJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderAgentsRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAgentBuilderAgentsRequestWithBody generates requests for PostAgentBuilderAgents with any type of body -func NewPostAgentBuilderAgentsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/agents") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteAgentBuilderAgentsIdRequest generates requests for DeleteAgentBuilderAgentsId -func NewDeleteAgentBuilderAgentsIdRequest(server string, id string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/agents/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetAgentBuilderAgentsIdRequest generates requests for GetAgentBuilderAgentsId -func NewGetAgentBuilderAgentsIdRequest(server string, id string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/agents/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutAgentBuilderAgentsIdRequest calls the generic PutAgentBuilderAgentsId builder with application/json body -func NewPutAgentBuilderAgentsIdRequest(server string, id string, body PutAgentBuilderAgentsIdJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutAgentBuilderAgentsIdRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewPutAgentBuilderAgentsIdRequestWithBody generates requests for PutAgentBuilderAgentsId with any type of body -func NewPutAgentBuilderAgentsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/agents/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewGetAgentBuilderConversationsRequest generates requests for GetAgentBuilderConversations -func NewGetAgentBuilderConversationsRequest(server string, params *GetAgentBuilderConversationsParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/conversations") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.AgentId != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agent_id", runtime.ParamLocationQuery, *params.AgentId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewDeleteAgentBuilderConversationsConversationIdRequest generates requests for DeleteAgentBuilderConversationsConversationId -func NewDeleteAgentBuilderConversationsConversationIdRequest(server string, conversationId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "conversation_id", runtime.ParamLocationPath, conversationId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/conversations/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetAgentBuilderConversationsConversationIdRequest generates requests for GetAgentBuilderConversationsConversationId -func NewGetAgentBuilderConversationsConversationIdRequest(server string, conversationId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "conversation_id", runtime.ParamLocationPath, conversationId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/conversations/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostAgentBuilderConverseRequest calls the generic PostAgentBuilderConverse builder with application/json body -func NewPostAgentBuilderConverseRequest(server string, body PostAgentBuilderConverseJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderConverseRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAgentBuilderConverseRequestWithBody generates requests for PostAgentBuilderConverse with any type of body -func NewPostAgentBuilderConverseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/converse") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPostAgentBuilderConverseAsyncRequest calls the generic PostAgentBuilderConverseAsync builder with application/json body -func NewPostAgentBuilderConverseAsyncRequest(server string, body PostAgentBuilderConverseAsyncJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderConverseAsyncRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAgentBuilderConverseAsyncRequestWithBody generates requests for PostAgentBuilderConverseAsync with any type of body -func NewPostAgentBuilderConverseAsyncRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/converse/async") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPostAgentBuilderMcpRequest calls the generic PostAgentBuilderMcp builder with application/json body -func NewPostAgentBuilderMcpRequest(server string, body PostAgentBuilderMcpJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderMcpRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAgentBuilderMcpRequestWithBody generates requests for PostAgentBuilderMcp with any type of body -func NewPostAgentBuilderMcpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/mcp") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewGetAgentBuilderToolsRequest generates requests for GetAgentBuilderTools -func NewGetAgentBuilderToolsRequest(server string) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/tools") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostAgentBuilderToolsRequest calls the generic PostAgentBuilderTools builder with application/json body -func NewPostAgentBuilderToolsRequest(server string, body PostAgentBuilderToolsJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderToolsRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAgentBuilderToolsRequestWithBody generates requests for PostAgentBuilderTools with any type of body -func NewPostAgentBuilderToolsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/tools") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPostAgentBuilderToolsExecuteRequest calls the generic PostAgentBuilderToolsExecute builder with application/json body -func NewPostAgentBuilderToolsExecuteRequest(server string, body PostAgentBuilderToolsExecuteJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAgentBuilderToolsExecuteRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAgentBuilderToolsExecuteRequestWithBody generates requests for PostAgentBuilderToolsExecute with any type of body -func NewPostAgentBuilderToolsExecuteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/tools/_execute") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteAgentBuilderToolsIdRequest generates requests for DeleteAgentBuilderToolsId -func NewDeleteAgentBuilderToolsIdRequest(server string, id string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/tools/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetAgentBuilderToolsIdRequest generates requests for GetAgentBuilderToolsId -func NewGetAgentBuilderToolsIdRequest(server string, id string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/tools/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutAgentBuilderToolsToolidRequest calls the generic PutAgentBuilderToolsToolid builder with application/json body -func NewPutAgentBuilderToolsToolidRequest(server string, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutAgentBuilderToolsToolidRequestWithBody(server, toolId, "application/json", bodyReader) -} - -// NewPutAgentBuilderToolsToolidRequestWithBody generates requests for PutAgentBuilderToolsToolid with any type of body -func NewPutAgentBuilderToolsToolidRequestWithBody(server string, toolId string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "toolId", runtime.ParamLocationPath, toolId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/agent_builder/tools/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewGetAlertingHealthRequest generates requests for GetAlertingHealth func NewGetAlertingHealthRequest(server string) (*http.Request, error) { var err error @@ -87304,866 +76305,6 @@ func NewFindAssetCriticalityRecordsRequest(server string, params *FindAssetCriti return req, nil } -// NewPostAttackDiscoveryBulkRequest calls the generic PostAttackDiscoveryBulk builder with application/json body -func NewPostAttackDiscoveryBulkRequest(server string, body PostAttackDiscoveryBulkJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAttackDiscoveryBulkRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAttackDiscoveryBulkRequestWithBody generates requests for PostAttackDiscoveryBulk with any type of body -func NewPostAttackDiscoveryBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/_bulk") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewAttackDiscoveryFindRequest generates requests for AttackDiscoveryFind -func NewAttackDiscoveryFindRequest(server string, params *AttackDiscoveryFindParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/_find") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.AlertIds != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alert_ids", runtime.ParamLocationQuery, *params.AlertIds); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.ConnectorNames != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "connector_names", runtime.ParamLocationQuery, *params.ConnectorNames); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.EnableFieldRendering != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enable_field_rendering", runtime.ParamLocationQuery, *params.EnableFieldRendering); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.End != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end", runtime.ParamLocationQuery, *params.End); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Ids != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ids", runtime.ParamLocationQuery, *params.Ids); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.IncludeUniqueAlertIds != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_unique_alert_ids", runtime.ParamLocationQuery, *params.IncludeUniqueAlertIds); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Page != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.PerPage != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "per_page", runtime.ParamLocationQuery, *params.PerPage); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Search != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search", runtime.ParamLocationQuery, *params.Search); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Shared != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shared", runtime.ParamLocationQuery, *params.Shared); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.SortField != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_field", runtime.ParamLocationQuery, *params.SortField); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.SortOrder != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_order", runtime.ParamLocationQuery, *params.SortOrder); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Start != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start", runtime.ParamLocationQuery, *params.Start); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Status != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.WithReplacements != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_replacements", runtime.ParamLocationQuery, *params.WithReplacements); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostAttackDiscoveryGenerateRequest calls the generic PostAttackDiscoveryGenerate builder with application/json body -func NewPostAttackDiscoveryGenerateRequest(server string, body PostAttackDiscoveryGenerateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostAttackDiscoveryGenerateRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostAttackDiscoveryGenerateRequestWithBody generates requests for PostAttackDiscoveryGenerate with any type of body -func NewPostAttackDiscoveryGenerateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/_generate") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewGetAttackDiscoveryGenerationsRequest generates requests for GetAttackDiscoveryGenerations -func NewGetAttackDiscoveryGenerationsRequest(server string, params *GetAttackDiscoveryGenerationsParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/generations") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.End != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end", runtime.ParamLocationQuery, *params.End); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Size != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size", runtime.ParamLocationQuery, *params.Size); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Start != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start", runtime.ParamLocationQuery, *params.Start); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetAttackDiscoveryGenerationRequest generates requests for GetAttackDiscoveryGeneration -func NewGetAttackDiscoveryGenerationRequest(server string, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "execution_uuid", runtime.ParamLocationPath, executionUuid) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/generations/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.EnableFieldRendering != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enable_field_rendering", runtime.ParamLocationQuery, *params.EnableFieldRendering); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.WithReplacements != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_replacements", runtime.ParamLocationQuery, *params.WithReplacements); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostAttackDiscoveryGenerationsDismissRequest generates requests for PostAttackDiscoveryGenerationsDismiss -func NewPostAttackDiscoveryGenerationsDismissRequest(server string, executionUuid SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "execution_uuid", runtime.ParamLocationPath, executionUuid) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/generations/%s/_dismiss", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewCreateAttackDiscoverySchedulesRequest calls the generic CreateAttackDiscoverySchedules builder with application/json body -func NewCreateAttackDiscoverySchedulesRequest(server string, body CreateAttackDiscoverySchedulesJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewCreateAttackDiscoverySchedulesRequestWithBody(server, "application/json", bodyReader) -} - -// NewCreateAttackDiscoverySchedulesRequestWithBody generates requests for CreateAttackDiscoverySchedules with any type of body -func NewCreateAttackDiscoverySchedulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewFindAttackDiscoverySchedulesRequest generates requests for FindAttackDiscoverySchedules -func NewFindAttackDiscoverySchedulesRequest(server string, params *FindAttackDiscoverySchedulesParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules/_find") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Page != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.PerPage != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "per_page", runtime.ParamLocationQuery, *params.PerPage); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.SortField != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_field", runtime.ParamLocationQuery, *params.SortField); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.SortDirection != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_direction", runtime.ParamLocationQuery, *params.SortDirection); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewDeleteAttackDiscoverySchedulesRequest generates requests for DeleteAttackDiscoverySchedules -func NewDeleteAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetAttackDiscoverySchedulesRequest generates requests for GetAttackDiscoverySchedules -func NewGetAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewUpdateAttackDiscoverySchedulesRequest calls the generic UpdateAttackDiscoverySchedules builder with application/json body -func NewUpdateAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewUpdateAttackDiscoverySchedulesRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewUpdateAttackDiscoverySchedulesRequestWithBody generates requests for UpdateAttackDiscoverySchedules with any type of body -func NewUpdateAttackDiscoverySchedulesRequestWithBody(server string, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDisableAttackDiscoverySchedulesRequest generates requests for DisableAttackDiscoverySchedules -func NewDisableAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s/_disable", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewEnableAttackDiscoverySchedulesRequest generates requests for EnableAttackDiscoverySchedules -func NewEnableAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s/_enable", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - // NewDeleteCaseDefaultSpaceRequest generates requests for DeleteCaseDefaultSpace func NewDeleteCaseDefaultSpaceRequest(server string, params *DeleteCaseDefaultSpaceParams) (*http.Request, error) { var err error @@ -91410,46 +79551,6 @@ func NewEndpointGetActionsListRequest(server string, params *EndpointGetActionsL return req, nil } -// NewCancelActionRequest calls the generic CancelAction builder with application/json body -func NewCancelActionRequest(server string, body CancelActionJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewCancelActionRequestWithBody(server, "application/json", bodyReader) -} - -// NewCancelActionRequestWithBody generates requests for CancelAction with any type of body -func NewCancelActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/endpoint/action/cancel") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewEndpointExecuteActionRequest calls the generic EndpointExecuteAction builder with application/json body func NewEndpointExecuteActionRequest(server string, body EndpointExecuteActionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -93398,68 +81499,6 @@ func NewStopEntityEngineRequest(server string, entityType SecurityEntityAnalytic return req, nil } -// NewUpsertEntitiesBulkRequest calls the generic UpsertEntitiesBulk builder with application/json body -func NewUpsertEntitiesBulkRequest(server string, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewUpsertEntitiesBulkRequestWithBody(server, params, "application/json", bodyReader) -} - -// NewUpsertEntitiesBulkRequestWithBody generates requests for UpsertEntitiesBulk with any type of body -func NewUpsertEntitiesBulkRequestWithBody(server string, params *UpsertEntitiesBulkParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/entity_store/entities/bulk") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Force != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewListEntitiesRequest generates requests for ListEntities func NewListEntitiesRequest(server string, params *ListEntitiesParams) (*http.Request, error) { var err error @@ -93585,122 +81624,6 @@ func NewListEntitiesRequest(server string, params *ListEntitiesParams) (*http.Re return req, nil } -// NewDeleteSingleEntityRequest calls the generic DeleteSingleEntity builder with application/json body -func NewDeleteSingleEntityRequest(server string, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewDeleteSingleEntityRequestWithBody(server, entityType, "application/json", bodyReader) -} - -// NewDeleteSingleEntityRequestWithBody generates requests for DeleteSingleEntity with any type of body -func NewDeleteSingleEntityRequestWithBody(server string, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "entityType", runtime.ParamLocationPath, entityType) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/entity_store/entities/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewUpsertEntityRequest calls the generic UpsertEntity builder with application/json body -func NewUpsertEntityRequest(server string, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewUpsertEntityRequestWithBody(server, entityType, params, "application/json", bodyReader) -} - -// NewUpsertEntityRequestWithBody generates requests for UpsertEntity with any type of body -func NewUpsertEntityRequestWithBody(server string, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "entityType", runtime.ParamLocationPath, entityType) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/entity_store/entities/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Force != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewGetEntityStoreStatusRequest generates requests for GetEntityStoreStatus func NewGetEntityStoreStatusRequest(server string, params *GetEntityStoreStatusParams) (*http.Request, error) { var err error @@ -95796,96 +83719,8 @@ func NewGetFleetAgentPoliciesAgentpolicyidDownloadRequest(server string, agentPo return req, nil } -// NewGetFleetAgentPoliciesAgentpolicyidFullRequest generates requests for GetFleetAgentPoliciesAgentpolicyidFull -func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidFullParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentPolicyId", runtime.ParamLocationPath, agentPolicyId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/full", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Download != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download", runtime.ParamLocationQuery, *params.Download); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Standalone != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "standalone", runtime.ParamLocationQuery, *params.Standalone); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Kubernetes != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kubernetes", runtime.ParamLocationQuery, *params.Kubernetes); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest generates requests for GetFleetAgentPoliciesAgentpolicyidOutputs -func NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest(server string, agentPolicyId string) (*http.Request, error) { +// NewGetFleetAgentPoliciesAgentpolicyidFullRequest generates requests for GetFleetAgentPoliciesAgentpolicyidFull +func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidFullParams) (*http.Request, error) { var err error var pathParam0 string @@ -95900,34 +83735,7 @@ func NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest(server string, agentPol return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/outputs", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetFleetAgentStatusRequest generates requests for GetFleetAgentStatus -func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agent_status") + operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/full", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -95940,9 +83748,9 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar if params != nil { queryValues := queryURL.Query() - if params.PolicyId != nil { + if params.Download != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyId", runtime.ParamLocationQuery, *params.PolicyId); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download", runtime.ParamLocationQuery, *params.Download); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -95956,9 +83764,9 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar } - if params.PolicyIds != nil { + if params.Standalone != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyIds", runtime.ParamLocationQuery, *params.PolicyIds); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "standalone", runtime.ParamLocationQuery, *params.Standalone); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -95972,9 +83780,9 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar } - if params.Kuery != nil { + if params.Kubernetes != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kubernetes", runtime.ParamLocationQuery, *params.Kubernetes); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -95999,16 +83807,50 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar return req, nil } -// NewGetFleetAgentStatusDataRequest generates requests for GetFleetAgentStatusData -func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatusDataParams) (*http.Request, error) { +// NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest generates requests for GetFleetAgentPoliciesAgentpolicyidOutputs +func NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest(server string, agentPolicyId string) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentPolicyId", runtime.ParamLocationPath, agentPolicyId) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agent_status/data") + operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/outputs", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetFleetAgentStatusRequest generates requests for GetFleetAgentStatus +func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/agent_status") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -96021,21 +83863,9 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu if params != nil { queryValues := queryURL.Query() - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agentsIds", runtime.ParamLocationQuery, params.AgentsIds); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if params.PkgName != nil { + if params.PolicyId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgName", runtime.ParamLocationQuery, *params.PkgName); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyId", runtime.ParamLocationQuery, *params.PolicyId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -96049,9 +83879,9 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu } - if params.PkgVersion != nil { + if params.PolicyIds != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgVersion", runtime.ParamLocationQuery, *params.PkgVersion); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyIds", runtime.ParamLocationQuery, *params.PolicyIds); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -96065,9 +83895,9 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu } - if params.PreviewData != nil { + if params.Kuery != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "previewData", runtime.ParamLocationQuery, *params.PreviewData); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -96092,19 +83922,8 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu return req, nil } -// NewPostFleetAgentlessPoliciesRequest calls the generic PostFleetAgentlessPolicies builder with application/json body -func NewPostFleetAgentlessPoliciesRequest(server string, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostFleetAgentlessPoliciesRequestWithBody(server, params, "application/json", bodyReader) -} - -// NewPostFleetAgentlessPoliciesRequestWithBody generates requests for PostFleetAgentlessPolicies with any type of body -func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader) (*http.Request, error) { +// NewGetFleetAgentStatusDataRequest generates requests for GetFleetAgentStatusData +func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatusDataParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -96112,7 +83931,7 @@ func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFle return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agentless_policies") + operationPath := fmt.Sprintf("/api/fleet/agent_status/data") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -96125,9 +83944,21 @@ func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFle if params != nil { queryValues := queryURL.Query() - if params.Format != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agentsIds", runtime.ParamLocationQuery, params.AgentsIds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "format", runtime.ParamLocationQuery, *params.Format); err != nil { + if params.PkgName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgName", runtime.ParamLocationQuery, *params.PkgName); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -96141,51 +83972,25 @@ func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFle } - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteFleetAgentlessPoliciesPolicyidRequest generates requests for DeleteFleetAgentlessPoliciesPolicyid -func NewDeleteFleetAgentlessPoliciesPolicyidRequest(server string, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "policyId", runtime.ParamLocationPath, policyId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agentless_policies/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + if params.PkgVersion != nil { - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgVersion", runtime.ParamLocationQuery, *params.PkgVersion); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - if params != nil { - queryValues := queryURL.Query() + } - if params.Force != nil { + if params.PreviewData != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "previewData", runtime.ParamLocationQuery, *params.PreviewData); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -96202,7 +84007,7 @@ func NewDeleteFleetAgentlessPoliciesPolicyidRequest(server string, policyId stri queryURL.RawQuery = queryValues.Encode() } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } @@ -96681,46 +84486,6 @@ func NewGetFleetAgentsAvailableVersionsRequest(server string) (*http.Request, er return req, nil } -// NewPostFleetAgentsBulkMigrateRequest calls the generic PostFleetAgentsBulkMigrate builder with application/json body -func NewPostFleetAgentsBulkMigrateRequest(server string, body PostFleetAgentsBulkMigrateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostFleetAgentsBulkMigrateRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostFleetAgentsBulkMigrateRequestWithBody generates requests for PostFleetAgentsBulkMigrate with any type of body -func NewPostFleetAgentsBulkMigrateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agents/bulk_migrate") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewPostFleetAgentsBulkReassignRequest calls the generic PostFleetAgentsBulkReassign builder with application/json body func NewPostFleetAgentsBulkReassignRequest(server string, body PostFleetAgentsBulkReassignJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -97299,53 +85064,6 @@ func NewPostFleetAgentsAgentidActionsRequestWithBody(server string, agentId stri return req, nil } -// NewPostFleetAgentsAgentidMigrateRequest calls the generic PostFleetAgentsAgentidMigrate builder with application/json body -func NewPostFleetAgentsAgentidMigrateRequest(server string, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostFleetAgentsAgentidMigrateRequestWithBody(server, agentId, "application/json", bodyReader) -} - -// NewPostFleetAgentsAgentidMigrateRequestWithBody generates requests for PostFleetAgentsAgentidMigrate with any type of body -func NewPostFleetAgentsAgentidMigrateRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentId", runtime.ParamLocationPath, agentId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agents/%s/migrate", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewPostFleetAgentsAgentidReassignRequest calls the generic PostFleetAgentsAgentidReassign builder with application/json body func NewPostFleetAgentsAgentidReassignRequest(server string, agentId string, body PostFleetAgentsAgentidReassignJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -97617,264 +85335,6 @@ func NewGetFleetCheckPermissionsRequest(server string, params *GetFleetCheckPerm return req, nil } -// NewGetFleetCloudConnectorsRequest generates requests for GetFleetCloudConnectors -func NewGetFleetCloudConnectorsRequest(server string, params *GetFleetCloudConnectorsParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/cloud_connectors") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Page != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.PerPage != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "perPage", runtime.ParamLocationQuery, *params.PerPage); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Kuery != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostFleetCloudConnectorsRequest calls the generic PostFleetCloudConnectors builder with application/json body -func NewPostFleetCloudConnectorsRequest(server string, body PostFleetCloudConnectorsJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostFleetCloudConnectorsRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostFleetCloudConnectorsRequestWithBody generates requests for PostFleetCloudConnectors with any type of body -func NewPostFleetCloudConnectorsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/cloud_connectors") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteFleetCloudConnectorsCloudconnectoridRequest generates requests for DeleteFleetCloudConnectorsCloudconnectorid -func NewDeleteFleetCloudConnectorsCloudconnectoridRequest(server string, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "cloudConnectorId", runtime.ParamLocationPath, cloudConnectorId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/cloud_connectors/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Force != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetFleetCloudConnectorsCloudconnectoridRequest generates requests for GetFleetCloudConnectorsCloudconnectorid -func NewGetFleetCloudConnectorsCloudconnectoridRequest(server string, cloudConnectorId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "cloudConnectorId", runtime.ParamLocationPath, cloudConnectorId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/cloud_connectors/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutFleetCloudConnectorsCloudconnectoridRequest calls the generic PutFleetCloudConnectorsCloudconnectorid builder with application/json body -func NewPutFleetCloudConnectorsCloudconnectoridRequest(server string, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody(server, cloudConnectorId, "application/json", bodyReader) -} - -// NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody generates requests for PutFleetCloudConnectorsCloudconnectorid with any type of body -func NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody(server string, cloudConnectorId string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "cloudConnectorId", runtime.ParamLocationPath, cloudConnectorId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/cloud_connectors/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewGetFleetDataStreamsRequest generates requests for GetFleetDataStreams func NewGetFleetDataStreamsRequest(server string) (*http.Request, error) { var err error @@ -98544,81 +86004,19 @@ func NewPostFleetEpmPackagesRequestWithBody(server string, params *PostFleetEpmP return req, nil } -// NewPostFleetEpmPackagesBulkRequest calls the generic PostFleetEpmPackagesBulk builder with application/json body -func NewPostFleetEpmPackagesBulkRequest(server string, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostFleetEpmPackagesBulkRequestWithBody(server, params, "application/json", bodyReader) -} - -// NewPostFleetEpmPackagesBulkRequestWithBody generates requests for PostFleetEpmPackagesBulk with any type of body -func NewPostFleetEpmPackagesBulkRequestWithBody(server string, params *PostFleetEpmPackagesBulkParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Prerelease != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPostFleetEpmPackagesBulkRollbackRequest calls the generic PostFleetEpmPackagesBulkRollback builder with application/json body -func NewPostFleetEpmPackagesBulkRollbackRequest(server string, body PostFleetEpmPackagesBulkRollbackJSONRequestBody) (*http.Request, error) { +// NewPostFleetEpmPackagesBulkRequest calls the generic PostFleetEpmPackagesBulk builder with application/json body +func NewPostFleetEpmPackagesBulkRequest(server string, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostFleetEpmPackagesBulkRollbackRequestWithBody(server, "application/json", bodyReader) + return NewPostFleetEpmPackagesBulkRequestWithBody(server, params, "application/json", bodyReader) } -// NewPostFleetEpmPackagesBulkRollbackRequestWithBody generates requests for PostFleetEpmPackagesBulkRollback with any type of body -func NewPostFleetEpmPackagesBulkRollbackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostFleetEpmPackagesBulkRequestWithBody generates requests for PostFleetEpmPackagesBulk with any type of body +func NewPostFleetEpmPackagesBulkRequestWithBody(server string, params *PostFleetEpmPackagesBulkParams, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -98626,7 +86024,7 @@ func NewPostFleetEpmPackagesBulkRollbackRequestWithBody(server string, contentTy return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk_rollback") + operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -98636,46 +86034,34 @@ func NewPostFleetEpmPackagesBulkRollbackRequestWithBody(server string, contentTy return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewGetFleetEpmPackagesBulkRollbackTaskidRequest generates requests for GetFleetEpmPackagesBulkRollbackTaskid -func NewGetFleetEpmPackagesBulkRollbackTaskidRequest(server string, taskId string) (*http.Request, error) { - var err error + if params != nil { + queryValues := queryURL.Query() - var pathParam0 string + if params.Prerelease != nil { - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "taskId", runtime.ParamLocationPath, taskId) - if err != nil { - return nil, err - } + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk_rollback/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath + queryURL.RawQuery = queryValues.Encode() } - queryURL, err := serverURL.Parse(operationPath) + req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } + req.Header.Add("Content-Type", contentType) return req, nil } @@ -98984,40 +86370,6 @@ func NewGetFleetEpmPackagesLimitedRequest(server string) (*http.Request, error) return req, nil } -// NewPostFleetEpmPackagesPkgnameRollbackRequest generates requests for PostFleetEpmPackagesPkgnameRollback -func NewPostFleetEpmPackagesPkgnameRollbackRequest(server string, pkgName string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/rollback", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - // NewGetFleetEpmPackagesPkgnameStatsRequest generates requests for GetFleetEpmPackagesPkgnameStats func NewGetFleetEpmPackagesPkgnameStatsRequest(server string, pkgName string) (*http.Request, error) { var err error @@ -99260,217 +86612,7 @@ func NewPostFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgN return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Prerelease != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.IgnoreMappingUpdateErrors != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignoreMappingUpdateErrors", runtime.ParamLocationQuery, *params.IgnoreMappingUpdateErrors); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.SkipDataStreamRollover != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "skipDataStreamRollover", runtime.ParamLocationQuery, *params.SkipDataStreamRollover); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewPutFleetEpmPackagesPkgnamePkgversionRequest calls the generic PutFleetEpmPackagesPkgnamePkgversion builder with application/json body -func NewPutFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, body PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) -} - -// NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody generates requests for PutFleetEpmPackagesPkgnamePkgversion with any type of body -func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssets -func NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest(server string, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/datastream_assets", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "packagePolicyId", runtime.ParamLocationQuery, params.PackagePolicyId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionKibanaAssets -func NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -99480,27 +86622,83 @@ func NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if params != nil { + queryValues := queryURL.Query() + + if params.Prerelease != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IgnoreMappingUpdateErrors != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignoreMappingUpdateErrors", runtime.ParamLocationQuery, *params.IgnoreMappingUpdateErrors); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SkipDataStreamRollover != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "skipDataStreamRollover", runtime.ParamLocationQuery, *params.SkipDataStreamRollover); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } -// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest calls the generic PostFleetEpmPackagesPkgnamePkgversionKibanaAssets builder with application/json body -func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody) (*http.Request, error) { +// NewPutFleetEpmPackagesPkgnamePkgversionRequest calls the generic PutFleetEpmPackagesPkgnamePkgversion builder with application/json body +func NewPutFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, body PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) + return NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) } -// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets with any type of body -func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { +// NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody generates requests for PutFleetEpmPackagesPkgnamePkgversion with any type of body +func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -99522,7 +86720,7 @@ func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -99532,7 +86730,7 @@ func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } @@ -99542,19 +86740,119 @@ func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server return req, nil } -// NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequest calls the generic PostFleetEpmPackagesPkgnamePkgversionRuleAssets builder with application/json body -func NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequest(server string, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody) (*http.Request, error) { +// NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssets +func NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest(server string, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/datastream_assets", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "packagePolicyId", runtime.ParamLocationQuery, params.PackagePolicyId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionKibanaAssets +func NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest calls the generic PostFleetEpmPackagesPkgnamePkgversionKibanaAssets builder with application/json body +func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) + return NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) } -// NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversionRuleAssets with any type of body -func NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets with any type of body +func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -99576,7 +86874,7 @@ func NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(server st return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/rule_assets", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -102783,105 +90081,31 @@ func NewDeleteLogstashPipelineRequest(server string, id string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetLogstashPipelineRequest generates requests for GetLogstashPipeline -func NewGetLogstashPipelineRequest(server string, id string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutLogstashPipelineRequest calls the generic PutLogstashPipeline builder with application/json body -func NewPutLogstashPipelineRequest(server string, id string, body PutLogstashPipelineJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutLogstashPipelineRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewPutLogstashPipelineRequestWithBody generates requests for PutLogstashPipeline with any type of body -func NewPutLogstashPipelineRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewGetLogstashPipelinesRequest generates requests for GetLogstashPipelines -func NewGetLogstashPipelinesRequest(server string) (*http.Request, error) { +// NewGetLogstashPipelineRequest generates requests for GetLogstashPipeline +func NewGetLogstashPipelineRequest(server string, id string) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/logstash/pipelines") + operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -102899,16 +90123,34 @@ func NewGetLogstashPipelinesRequest(server string) (*http.Request, error) { return req, nil } -// NewGetMaintenanceWindowFindRequest generates requests for GetMaintenanceWindowFind -func NewGetMaintenanceWindowFindRequest(server string, params *GetMaintenanceWindowFindParams) (*http.Request, error) { +// NewPutLogstashPipelineRequest calls the generic PutLogstashPipeline builder with application/json body +func NewPutLogstashPipelineRequest(server string, id string, body PutLogstashPipelineJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutLogstashPipelineRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPutLogstashPipelineRequestWithBody generates requests for PutLogstashPipeline with any type of body +func NewPutLogstashPipelineRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/maintenance_window/_find") + operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -102918,90 +90160,33 @@ func NewGetMaintenanceWindowFindRequest(server string, params *GetMaintenanceWin return nil, err } - if params != nil { - queryValues := queryURL.Query() - - if params.Title != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title", runtime.ParamLocationQuery, *params.Title); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.CreatedBy != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by", runtime.ParamLocationQuery, *params.CreatedBy); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Status != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.Page != nil { + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } + req.Header.Add("Content-Type", contentType) - } + return req, nil +} - if params.PerPage != nil { +// NewGetLogstashPipelinesRequest generates requests for GetLogstashPipelines +func NewGetLogstashPipelinesRequest(server string) (*http.Request, error) { + var err error - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "per_page", runtime.ParamLocationQuery, *params.PerPage); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } - } + operationPath := fmt.Sprintf("/api/logstash/pipelines") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } - queryURL.RawQuery = queryValues.Encode() + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -108779,19 +95964,19 @@ func NewGetStreamsNameSignificantEventsRequestWithBody(server string, name strin return req, nil } -// NewPostStreamsNameSignificantEventsGenerateRequest calls the generic PostStreamsNameSignificantEventsGenerate builder with application/json body -func NewPostStreamsNameSignificantEventsGenerateRequest(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody) (*http.Request, error) { +// NewGetStreamsNameSignificantEventsGenerateRequest calls the generic GetStreamsNameSignificantEventsGenerate builder with application/json body +func NewGetStreamsNameSignificantEventsGenerateRequest(server string, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server, name, params, "application/json", bodyReader) + return NewGetStreamsNameSignificantEventsGenerateRequestWithBody(server, name, params, "application/json", bodyReader) } -// NewPostStreamsNameSignificantEventsGenerateRequestWithBody generates requests for PostStreamsNameSignificantEventsGenerate with any type of body -func NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameSignificantEventsGenerateRequestWithBody generates requests for GetStreamsNameSignificantEventsGenerate with any type of body +func NewGetStreamsNameSignificantEventsGenerateRequestWithBody(server string, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -108847,34 +96032,42 @@ func NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server string, n } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) + if params.ShortLookback != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shortLookback", runtime.ParamLocationQuery, *params.ShortLookback); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } } } + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) + if params.LongLookback != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longLookback", runtime.ParamLocationQuery, *params.LongLookback); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } } } + } queryURL.RawQuery = queryValues.Encode() } - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), body) if err != nil { return nil, err } @@ -112029,22 +99222,6 @@ func NewGetDefinitionsOpRequest(server string, spaceId SLOsSpaceId, params *GetD } - if params.IncludeHealth != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "includeHealth", runtime.ParamLocationQuery, *params.IncludeHealth); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - if params.Tags != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tags", runtime.ParamLocationQuery, *params.Tags); err != nil { @@ -112171,81 +99348,6 @@ type ClientWithResponsesInterface interface { // GetActionsConnectorTypesWithResponse request GetActionsConnectorTypesWithResponse(ctx context.Context, params *GetActionsConnectorTypesParams, reqEditors ...RequestEditorFn) (*GetActionsConnectorTypesResponse, error) - // PostAgentBuilderA2aAgentidWithBodyWithResponse request with any body - PostAgentBuilderA2aAgentidWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) - - PostAgentBuilderA2aAgentidWithResponse(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) - - // GetAgentBuilderA2aAgentidJsonWithResponse request - GetAgentBuilderA2aAgentidJsonWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderA2aAgentidJsonResponse, error) - - // GetAgentBuilderAgentsWithResponse request - GetAgentBuilderAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsResponse, error) - - // PostAgentBuilderAgentsWithBodyWithResponse request with any body - PostAgentBuilderAgentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) - - PostAgentBuilderAgentsWithResponse(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) - - // DeleteAgentBuilderAgentsIdWithResponse request - DeleteAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderAgentsIdResponse, error) - - // GetAgentBuilderAgentsIdWithResponse request - GetAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsIdResponse, error) - - // PutAgentBuilderAgentsIdWithBodyWithResponse request with any body - PutAgentBuilderAgentsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) - - PutAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) - - // GetAgentBuilderConversationsWithResponse request - GetAgentBuilderConversationsWithResponse(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsResponse, error) - - // DeleteAgentBuilderConversationsConversationIdWithResponse request - DeleteAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderConversationsConversationIdResponse, error) - - // GetAgentBuilderConversationsConversationIdWithResponse request - GetAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsConversationIdResponse, error) - - // PostAgentBuilderConverseWithBodyWithResponse request with any body - PostAgentBuilderConverseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) - - PostAgentBuilderConverseWithResponse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) - - // PostAgentBuilderConverseAsyncWithBodyWithResponse request with any body - PostAgentBuilderConverseAsyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) - - PostAgentBuilderConverseAsyncWithResponse(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) - - // PostAgentBuilderMcpWithBodyWithResponse request with any body - PostAgentBuilderMcpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) - - PostAgentBuilderMcpWithResponse(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) - - // GetAgentBuilderToolsWithResponse request - GetAgentBuilderToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsResponse, error) - - // PostAgentBuilderToolsWithBodyWithResponse request with any body - PostAgentBuilderToolsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) - - PostAgentBuilderToolsWithResponse(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) - - // PostAgentBuilderToolsExecuteWithBodyWithResponse request with any body - PostAgentBuilderToolsExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) - - PostAgentBuilderToolsExecuteWithResponse(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) - - // DeleteAgentBuilderToolsIdWithResponse request - DeleteAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsIdResponse, error) - - // GetAgentBuilderToolsIdWithResponse request - GetAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsIdResponse, error) - - // PutAgentBuilderToolsToolidWithBodyWithResponse request with any body - PutAgentBuilderToolsToolidWithBodyWithResponse(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) - - PutAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) - // GetAlertingHealthWithResponse request GetAlertingHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingHealthResponse, error) @@ -112375,53 +99477,6 @@ type ClientWithResponsesInterface interface { // FindAssetCriticalityRecordsWithResponse request FindAssetCriticalityRecordsWithResponse(ctx context.Context, params *FindAssetCriticalityRecordsParams, reqEditors ...RequestEditorFn) (*FindAssetCriticalityRecordsResponse, error) - // PostAttackDiscoveryBulkWithBodyWithResponse request with any body - PostAttackDiscoveryBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) - - PostAttackDiscoveryBulkWithResponse(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) - - // AttackDiscoveryFindWithResponse request - AttackDiscoveryFindWithResponse(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*AttackDiscoveryFindResponse, error) - - // PostAttackDiscoveryGenerateWithBodyWithResponse request with any body - PostAttackDiscoveryGenerateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) - - PostAttackDiscoveryGenerateWithResponse(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) - - // GetAttackDiscoveryGenerationsWithResponse request - GetAttackDiscoveryGenerationsWithResponse(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationsResponse, error) - - // GetAttackDiscoveryGenerationWithResponse request - GetAttackDiscoveryGenerationWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationResponse, error) - - // PostAttackDiscoveryGenerationsDismissWithResponse request - PostAttackDiscoveryGenerationsDismissWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerationsDismissResponse, error) - - // CreateAttackDiscoverySchedulesWithBodyWithResponse request with any body - CreateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) - - CreateAttackDiscoverySchedulesWithResponse(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) - - // FindAttackDiscoverySchedulesWithResponse request - FindAttackDiscoverySchedulesWithResponse(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*FindAttackDiscoverySchedulesResponse, error) - - // DeleteAttackDiscoverySchedulesWithResponse request - DeleteAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DeleteAttackDiscoverySchedulesResponse, error) - - // GetAttackDiscoverySchedulesWithResponse request - GetAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*GetAttackDiscoverySchedulesResponse, error) - - // UpdateAttackDiscoverySchedulesWithBodyWithResponse request with any body - UpdateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) - - UpdateAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) - - // DisableAttackDiscoverySchedulesWithResponse request - DisableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DisableAttackDiscoverySchedulesResponse, error) - - // EnableAttackDiscoverySchedulesWithResponse request - EnableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*EnableAttackDiscoverySchedulesResponse, error) - // DeleteCaseDefaultSpaceWithResponse request DeleteCaseDefaultSpaceWithResponse(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*DeleteCaseDefaultSpaceResponse, error) @@ -112658,11 +99713,6 @@ type ClientWithResponsesInterface interface { // EndpointGetActionsListWithResponse request EndpointGetActionsListWithResponse(ctx context.Context, params *EndpointGetActionsListParams, reqEditors ...RequestEditorFn) (*EndpointGetActionsListResponse, error) - // CancelActionWithBodyWithResponse request with any body - CancelActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) - - CancelActionWithResponse(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) - // EndpointExecuteActionWithBodyWithResponse request with any body EndpointExecuteActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EndpointExecuteActionResponse, error) @@ -112836,24 +99886,9 @@ type ClientWithResponsesInterface interface { // StopEntityEngineWithResponse request StopEntityEngineWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, reqEditors ...RequestEditorFn) (*StopEntityEngineResponse, error) - // UpsertEntitiesBulkWithBodyWithResponse request with any body - UpsertEntitiesBulkWithBodyWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) - - UpsertEntitiesBulkWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) - // ListEntitiesWithResponse request ListEntitiesWithResponse(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*ListEntitiesResponse, error) - // DeleteSingleEntityWithBodyWithResponse request with any body - DeleteSingleEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) - - DeleteSingleEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) - - // UpsertEntityWithBodyWithResponse request with any body - UpsertEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) - - UpsertEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) - // GetEntityStoreStatusWithResponse request GetEntityStoreStatusWithResponse(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*GetEntityStoreStatusResponse, error) @@ -112988,14 +100023,6 @@ type ClientWithResponsesInterface interface { // GetFleetAgentStatusDataWithResponse request GetFleetAgentStatusDataWithResponse(ctx context.Context, params *GetFleetAgentStatusDataParams, reqEditors ...RequestEditorFn) (*GetFleetAgentStatusDataResponse, error) - // PostFleetAgentlessPoliciesWithBodyWithResponse request with any body - PostFleetAgentlessPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) - - PostFleetAgentlessPoliciesWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) - - // DeleteFleetAgentlessPoliciesPolicyidWithResponse request - DeleteFleetAgentlessPoliciesPolicyidWithResponse(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) - // GetFleetAgentsWithResponse request GetFleetAgentsWithResponse(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*GetFleetAgentsResponse, error) @@ -113013,11 +100040,6 @@ type ClientWithResponsesInterface interface { // GetFleetAgentsAvailableVersionsWithResponse request GetFleetAgentsAvailableVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetAgentsAvailableVersionsResponse, error) - // PostFleetAgentsBulkMigrateWithBodyWithResponse request with any body - PostFleetAgentsBulkMigrateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) - - PostFleetAgentsBulkMigrateWithResponse(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) - // PostFleetAgentsBulkReassignWithBodyWithResponse request with any body PostFleetAgentsBulkReassignWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkReassignResponse, error) @@ -113074,11 +100096,6 @@ type ClientWithResponsesInterface interface { PostFleetAgentsAgentidActionsWithResponse(ctx context.Context, agentId string, body PostFleetAgentsAgentidActionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidActionsResponse, error) - // PostFleetAgentsAgentidMigrateWithBodyWithResponse request with any body - PostFleetAgentsAgentidMigrateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) - - PostFleetAgentsAgentidMigrateWithResponse(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) - // PostFleetAgentsAgentidReassignWithBodyWithResponse request with any body PostFleetAgentsAgentidReassignWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidReassignResponse, error) @@ -113105,25 +100122,6 @@ type ClientWithResponsesInterface interface { // GetFleetCheckPermissionsWithResponse request GetFleetCheckPermissionsWithResponse(ctx context.Context, params *GetFleetCheckPermissionsParams, reqEditors ...RequestEditorFn) (*GetFleetCheckPermissionsResponse, error) - // GetFleetCloudConnectorsWithResponse request - GetFleetCloudConnectorsWithResponse(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsResponse, error) - - // PostFleetCloudConnectorsWithBodyWithResponse request with any body - PostFleetCloudConnectorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) - - PostFleetCloudConnectorsWithResponse(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) - - // DeleteFleetCloudConnectorsCloudconnectoridWithResponse request - DeleteFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*DeleteFleetCloudConnectorsCloudconnectoridResponse, error) - - // GetFleetCloudConnectorsCloudconnectoridWithResponse request - GetFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsCloudconnectoridResponse, error) - - // PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse request with any body - PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) - - PutFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) - // GetFleetDataStreamsWithResponse request GetFleetDataStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetDataStreamsResponse, error) @@ -113173,14 +100171,6 @@ type ClientWithResponsesInterface interface { PostFleetEpmPackagesBulkWithResponse(ctx context.Context, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkResponse, error) - // PostFleetEpmPackagesBulkRollbackWithBodyWithResponse request with any body - PostFleetEpmPackagesBulkRollbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) - - PostFleetEpmPackagesBulkRollbackWithResponse(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) - - // GetFleetEpmPackagesBulkRollbackTaskidWithResponse request - GetFleetEpmPackagesBulkRollbackTaskidWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesBulkRollbackTaskidResponse, error) - // PostFleetEpmPackagesBulkUninstallWithBodyWithResponse request with any body PostFleetEpmPackagesBulkUninstallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkUninstallResponse, error) @@ -113203,9 +100193,6 @@ type ClientWithResponsesInterface interface { // GetFleetEpmPackagesLimitedWithResponse request GetFleetEpmPackagesLimitedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesLimitedResponse, error) - // PostFleetEpmPackagesPkgnameRollbackWithResponse request - PostFleetEpmPackagesPkgnameRollbackWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnameRollbackResponse, error) - // GetFleetEpmPackagesPkgnameStatsWithResponse request GetFleetEpmPackagesPkgnameStatsWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesPkgnameStatsResponse, error) @@ -113236,11 +100223,6 @@ type ClientWithResponsesInterface interface { PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsWithResponse(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse, error) - // PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse request with any body - PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) - - PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithResponse(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) - // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse request with any body PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse, error) @@ -113487,9 +100469,6 @@ type ClientWithResponsesInterface interface { // GetLogstashPipelinesWithResponse request GetLogstashPipelinesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLogstashPipelinesResponse, error) - // GetMaintenanceWindowFindWithResponse request - GetMaintenanceWindowFindWithResponse(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowFindResponse, error) - // PostMaintenanceWindowIdArchiveWithResponse request PostMaintenanceWindowIdArchiveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostMaintenanceWindowIdArchiveResponse, error) @@ -113940,10 +100919,10 @@ type ClientWithResponsesInterface interface { GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) - // PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body - PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) + // GetStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body + GetStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) - PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) + GetStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) // PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with any body PostStreamsNameSignificantEventsPreviewWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) @@ -114261,405 +101240,6 @@ func (r GetActionsConnectorTypesResponse) StatusCode() int { return 0 } -type PostAgentBuilderA2aAgentidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderA2aAgentidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderA2aAgentidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderA2aAgentidJsonResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderA2aAgentidJsonResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderA2aAgentidJsonResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderAgentsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderAgentsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderAgentsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAgentBuilderAgentsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderAgentsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderAgentsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteAgentBuilderAgentsIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteAgentBuilderAgentsIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteAgentBuilderAgentsIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderAgentsIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderAgentsIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderAgentsIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutAgentBuilderAgentsIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutAgentBuilderAgentsIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutAgentBuilderAgentsIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderConversationsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderConversationsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderConversationsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteAgentBuilderConversationsConversationIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteAgentBuilderConversationsConversationIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteAgentBuilderConversationsConversationIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderConversationsConversationIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderConversationsConversationIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderConversationsConversationIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAgentBuilderConverseResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderConverseResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderConverseResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAgentBuilderConverseAsyncResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderConverseAsyncResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderConverseAsyncResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAgentBuilderMcpResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderMcpResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderMcpResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderToolsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderToolsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderToolsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAgentBuilderToolsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderToolsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderToolsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAgentBuilderToolsExecuteResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostAgentBuilderToolsExecuteResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAgentBuilderToolsExecuteResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteAgentBuilderToolsIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteAgentBuilderToolsIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteAgentBuilderToolsIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAgentBuilderToolsIdResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetAgentBuilderToolsIdResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderToolsIdResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutAgentBuilderToolsToolidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutAgentBuilderToolsToolidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutAgentBuilderToolsToolidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type GetAlertingHealthResponse struct { Body []byte HTTPResponse *http.Response @@ -117006,460 +103586,6 @@ func (r FindAssetCriticalityRecordsResponse) StatusCode() int { return 0 } -type PostAttackDiscoveryBulkResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Data Array of updated Attack discovery alert objects. Each item includes the applied modifications from the bulk update request. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` - } - JSON400 *struct { - // Error Error type - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong with the bulk update request - Message string `json:"message"` - - // StatusCode HTTP status code - StatusCode float32 `json:"status_code"` - } -} - -// Status returns HTTPResponse.Status -func (r PostAttackDiscoveryBulkResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAttackDiscoveryBulkResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type AttackDiscoveryFindResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // ConnectorNames List of human readable connector names that are present in the matched Attack discoveries. Useful for building client filters or summaries. - ConnectorNames []string `json:"connector_names"` - - // Data Array of matched Attack discovery objects. Each item follows the `AttackDiscoveryApiAlert` schema. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` - - // Page Current page number of the paginated result set. - Page int `json:"page"` - - // PerPage Number of items requested per page. - PerPage int `json:"per_page"` - - // Total Total number of Attack discoveries matching the query (across all pages). - Total int `json:"total"` - - // UniqueAlertIds List of unique alert IDs aggregated from the matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. - UniqueAlertIds *[]string `json:"unique_alert_ids,omitempty"` - - // UniqueAlertIdsCount Number of unique alert IDs across all matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. - UniqueAlertIdsCount int `json:"unique_alert_ids_count"` - } - JSON400 *struct { - // Error Error type - Error *string `json:"error,omitempty"` - - // Message Human-readable error message - Message *string `json:"message,omitempty"` - - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r AttackDiscoveryFindResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r AttackDiscoveryFindResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAttackDiscoveryGenerateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // ExecutionUuid A string that does not contain only whitespace characters. - ExecutionUuid SecurityAttackDiscoveryAPINonEmptyString `json:"execution_uuid"` - } - JSON400 *struct { - // Error Error type - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong - Message string `json:"message"` - - // StatusCode HTTP status code - StatusCode float32 `json:"status_code"` - } -} - -// Status returns HTTPResponse.Status -func (r PostAttackDiscoveryGenerateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAttackDiscoveryGenerateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAttackDiscoveryGenerationsResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Generations List of attack discovery generations - Generations []SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generations"` - } - JSON400 *struct { - // Error Error type - Error *string `json:"error,omitempty"` - - // Message Human-readable error message - Message *string `json:"message,omitempty"` - - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r GetAttackDiscoveryGenerationsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAttackDiscoveryGenerationsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAttackDiscoveryGenerationResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Data Array of Attack discoveries generated during this execution. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` - Generation *SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generation,omitempty"` - } - JSON400 *struct { - // Error Error type - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong with the request - Message string `json:"message"` - - // StatusCode HTTP status code - StatusCode float32 `json:"status_code"` - } -} - -// Status returns HTTPResponse.Status -func (r GetAttackDiscoveryGenerationResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAttackDiscoveryGenerationResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostAttackDiscoveryGenerationsDismissResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // AlertsContextCount The number of alerts that were sent as context to the LLM for this generation. - AlertsContextCount *float32 `json:"alerts_context_count,omitempty"` - - // ConnectorId The unique identifier of the connector used to generate the attack discoveries. - ConnectorId string `json:"connector_id"` - - // ConnectorStats Statistical information about the connector's performance for this user, providing insights into usage patterns and success rates. - ConnectorStats *struct { - // AverageSuccessfulDurationNanoseconds The average duration in nanoseconds for successful generations using this connector by the current user. - AverageSuccessfulDurationNanoseconds *float32 `json:"average_successful_duration_nanoseconds,omitempty"` - - // SuccessfulGenerations The total number of Attack discoveries successfully created for this generation - SuccessfulGenerations *float32 `json:"successful_generations,omitempty"` - } `json:"connector_stats,omitempty"` - - // Discoveries The number of attack discoveries that were generated during this execution. - Discoveries float32 `json:"discoveries"` - - // End The timestamp when the generation process completed, in ISO 8601 format. This field may be absent for generations that haven't finished. - End *string `json:"end,omitempty"` - - // ExecutionUuid The unique identifier for this attack discovery generation execution. This UUID can be used to reference this specific generation in other API calls. - ExecutionUuid string `json:"execution_uuid"` - - // LoadingMessage A human-readable message describing the current state or progress of the generation process. Provides context about what the AI is analyzing. - LoadingMessage string `json:"loading_message"` - - // Reason Additional context or reasoning provided when a generation fails or encounters issues. This field helps diagnose problems with the generation process. - Reason *string `json:"reason,omitempty"` - - // Start The timestamp when the generation process began, in ISO 8601 format. This marks the beginning of the AI analysis. - Start string `json:"start"` - - // Status The current status of the attack discovery generation. After dismissing, this will be set to "dismissed". - Status PostAttackDiscoveryGenerationsDismiss200Status `json:"status"` - } - JSON400 *struct { - // Error Error type or category - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong with the request. - Message string `json:"message"` - - // StatusCode HTTP status code indicating the type of client error - StatusCode float32 `json:"status_code"` - } -} -type PostAttackDiscoveryGenerationsDismiss200Status string - -// Status returns HTTPResponse.Status -func (r PostAttackDiscoveryGenerationsDismissResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostAttackDiscoveryGenerationsDismissResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type CreateAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule - JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError -} - -// Status returns HTTPResponse.Status -func (r CreateAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r CreateAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type FindAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Data Array of matched Attack discovery schedule objects. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule `json:"data"` - - // Page Current page number of the paginated result set. - Page float32 `json:"page"` - - // PerPage Number of items requested per page. - PerPage float32 `json:"per_page"` - - // Total Total number of Attack discovery schedules matching the query (across all pages). - Total float32 `json:"total"` - } - JSON400 *struct { - // Error Error type - Error *string `json:"error,omitempty"` - - // Message Human-readable error message - Message *string `json:"message,omitempty"` - - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r FindAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r FindAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` - } - JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError -} - -// Status returns HTTPResponse.Status -func (r DeleteAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule - JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError -} - -// Status returns HTTPResponse.Status -func (r GetAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type UpdateAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule - JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError -} - -// Status returns HTTPResponse.Status -func (r UpdateAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r UpdateAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DisableAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` - } - JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError -} - -// Status returns HTTPResponse.Status -func (r DisableAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DisableAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type EnableAttackDiscoverySchedulesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` - } - JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError -} - -// Status returns HTTPResponse.Status -func (r EnableAttackDiscoverySchedulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r EnableAttackDiscoverySchedulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type DeleteCaseDefaultSpaceResponse struct { Body []byte HTTPResponse *http.Response @@ -119221,28 +105347,6 @@ func (r EndpointGetActionsListResponse) StatusCode() int { return 0 } -type CancelActionResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse -} - -// Status returns HTTPResponse.Status -func (r CancelActionResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r CancelActionResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type EndpointExecuteActionResponse struct { Body []byte HTTPResponse *http.Response @@ -119488,7 +105592,7 @@ func (r EndpointUploadActionResponse) StatusCode() int { type EndpointGetActionsDetailsResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *SecurityEndpointManagementAPIActionDetailsResponse + JSON200 *SecurityEndpointManagementAPIGetEndpointActionResponse } // Status returns HTTPResponse.Status @@ -119510,21 +105614,8 @@ func (r EndpointGetActionsDetailsResponse) StatusCode() int { type EndpointFileInfoResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *struct { - Data *struct { - ActionId *string `json:"actionId,omitempty"` - AgentId *string `json:"agentId,omitempty"` - AgentType *string `json:"agentType,omitempty"` - Created *time.Time `json:"created,omitempty"` - Id *string `json:"id,omitempty"` - MimeType *string `json:"mimeType,omitempty"` - Name *string `json:"name,omitempty"` - Size *float32 `json:"size,omitempty"` - Status *EndpointFileInfo200DataStatus `json:"status,omitempty"` - } `json:"data,omitempty"` - } + JSON200 *SecurityEndpointManagementAPISuccessResponse } -type EndpointFileInfo200DataStatus string // Status returns HTTPResponse.Status func (r EndpointFileInfoResponse) Status() string { @@ -119545,6 +105636,7 @@ func (r EndpointFileInfoResponse) StatusCode() int { type EndpointFileDownloadResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *SecurityEndpointManagementAPISuccessResponse } // Status returns HTTPResponse.Status @@ -119924,7 +106016,6 @@ type InitMonitoringEngineResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityEntityAnalyticsAPIMonitoringEngineDescriptor - JSON500 *SecurityEntityAnalyticsAPIMonitoringEngineDescriptor } // Status returns HTTPResponse.Status @@ -119979,18 +106070,7 @@ type PrivMonHealthResponse struct { Error *struct { Message *string `json:"message,omitempty"` } `json:"error,omitempty"` - - // Status The status of the Privilege Monitoring Engine Status SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus `json:"status"` - - // Users User statistics for privilege monitoring - Users *struct { - // CurrentCount Current number of privileged users being monitored - CurrentCount int `json:"current_count"` - - // MaxAllowed Maximum number of privileged users allowed to be monitored - MaxAllowed int `json:"max_allowed"` - } `json:"users,omitempty"` } } @@ -120408,27 +106488,6 @@ func (r StopEntityEngineResponse) StatusCode() int { return 0 } -type UpsertEntitiesBulkResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r UpsertEntitiesBulkResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r UpsertEntitiesBulkResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type ListEntitiesResponse struct { Body []byte HTTPResponse *http.Response @@ -120457,52 +106516,6 @@ func (r ListEntitiesResponse) StatusCode() int { return 0 } -type DeleteSingleEntityResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Deleted *bool `json:"deleted,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r DeleteSingleEntityResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteSingleEntityResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type UpsertEntityResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityEntityAnalyticsAPIEntity -} - -// Status returns HTTPResponse.Status -func (r UpsertEntityResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r UpsertEntityResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type GetEntityStoreStatusResponse struct { Body []byte HTTPResponse *http.Response @@ -121385,7 +107398,6 @@ type PostFleetAgentPoliciesBulkGetResponse struct { DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` - FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -121474,25 +107486,18 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -121513,7 +107518,6 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -121524,31 +107528,22 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } type PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -121614,19 +107609,19 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs0 = []struct { } type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs0StreamsRelease string type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs1StreamsVars0 = bool @@ -121848,10 +107843,9 @@ type GetFleetAgentPoliciesAgentpolicyidAutoUpgradeAgentsStatusResponse struct { HTTPResponse *http.Response JSON200 *struct { CurrentVersions []struct { - Agents float32 `json:"agents"` - FailedUpgradeActionIds *[]string `json:"failedUpgradeActionIds,omitempty"` - FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` - Version string `json:"version"` + Agents float32 `json:"agents"` + FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` + Version string `json:"version"` } `json:"currentVersions"` TotalAgents float32 `json:"totalAgents"` } @@ -121917,7 +107911,6 @@ type PostFleetAgentPoliciesAgentpolicyidCopyResponse struct { DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` - FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -122006,25 +107999,18 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -122045,7 +108031,6 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -122056,31 +108041,22 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } type PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -122146,19 +108122,19 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs0 = []s } type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs0StreamsRelease string type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs1StreamsVars0 = bool @@ -122284,11 +108260,9 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item0 = string type GetFleetAgentPoliciesAgentpolicyidFull200Item1 struct { Agent *struct { Download struct { - ProxyHeaders *map[string]GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_ProxyHeaders_AdditionalProperties `json:"proxy_headers"` - ProxyUrl *string `json:"proxy_url,omitempty"` - Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets `json:"secrets,omitempty"` - SourceURI string `json:"sourceURI"` - Ssl *struct { + Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets `json:"secrets,omitempty"` + SourceURI string `json:"sourceURI"` + Ssl *struct { Certificate *string `json:"certificate,omitempty"` CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` Key *string `json:"key,omitempty"` @@ -122360,12 +108334,6 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item1 struct { Signature string `json:"signature"` } `json:"signed,omitempty"` } -type GetFleetAgentPoliciesAgentpolicyidFull200Item1AgentDownloadProxyHeaders0 = string -type GetFleetAgentPoliciesAgentpolicyidFull200Item1AgentDownloadProxyHeaders1 = bool -type GetFleetAgentPoliciesAgentpolicyidFull200Item1AgentDownloadProxyHeaders2 = float32 -type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_ProxyHeaders_AdditionalProperties struct { - union json.RawMessage -} type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets_Ssl_Key struct { Id *string `json:"id,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` @@ -122379,10 +108347,10 @@ type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets st AdditionalProperties map[string]interface{} `json:"-"` } type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0 struct { - Hosts []string `json:"hosts"` - ProxyHeaders *map[string]GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_ProxyHeaders_AdditionalProperties `json:"proxy_headers"` - ProxyUrl *string `json:"proxy_url,omitempty"` - Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_Secrets `json:"secrets,omitempty"` + Hosts []string `json:"hosts"` + ProxyHeaders interface{} `json:"proxy_headers"` + ProxyUrl *string `json:"proxy_url,omitempty"` + Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_Secrets `json:"secrets,omitempty"` Ssl *struct { Certificate *string `json:"certificate,omitempty"` CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` @@ -122391,12 +108359,6 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0 struct { VerificationMode *string `json:"verification_mode,omitempty"` } `json:"ssl,omitempty"` } -type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0ProxyHeaders0 = string -type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0ProxyHeaders1 = bool -type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0ProxyHeaders2 = float32 -type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_ProxyHeaders_AdditionalProperties struct { - union json.RawMessage -} type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_Secrets_Ssl_Key struct { Id *string `json:"id,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` @@ -122469,19 +108431,13 @@ type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Inputs_Item struct { UseOutput string `json:"use_output"` AdditionalProperties map[string]interface{} `json:"-"` } -type GetFleetAgentPoliciesAgentpolicyidFull200Item1OutputsProxyHeaders0 = string -type GetFleetAgentPoliciesAgentpolicyidFull200Item1OutputsProxyHeaders1 = bool -type GetFleetAgentPoliciesAgentpolicyidFull200Item1OutputsProxyHeaders2 = float32 -type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Outputs_ProxyHeaders_AdditionalProperties struct { - union json.RawMessage -} type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Outputs_AdditionalProperties struct { - CaSha256 *string `json:"ca_sha256"` - Hosts *[]string `json:"hosts,omitempty"` - ProxyHeaders *map[string]GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Outputs_ProxyHeaders_AdditionalProperties `json:"proxy_headers"` - ProxyUrl *string `json:"proxy_url,omitempty"` - Type string `json:"type"` - AdditionalProperties map[string]interface{} `json:"-"` + CaSha256 *string `json:"ca_sha256"` + Hosts *[]string `json:"hosts,omitempty"` + ProxyHeaders interface{} `json:"proxy_headers"` + ProxyUrl *string `json:"proxy_url,omitempty"` + Type string `json:"type"` + AdditionalProperties map[string]interface{} `json:"-"` } type GetFleetAgentPoliciesAgentpolicyidFull_200_Item struct { union json.RawMessage @@ -122632,290 +108588,6 @@ func (r GetFleetAgentStatusDataResponse) StatusCode() int { return 0 } -type PostFleetAgentlessPoliciesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Item The created agentless package policy. - Item struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` - Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` - - // Description Package policy description - Description *string `json:"description,omitempty"` - Elasticsearch *PostFleetAgentlessPolicies_200_Item_Elasticsearch `json:"elasticsearch,omitempty"` - Enabled bool `json:"enabled"` - - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentlessPolicies_200_Item_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. - Name string `json:"name"` - - // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id"` - - // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - Overrides *struct { - Inputs *map[string]interface{} `json:"inputs,omitempty"` - } `json:"overrides"` - Package *struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package,omitempty"` - - // PolicyId ID of the agent policy which the package policy will be added to. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` - SecretReferences *[]struct { - Id string `json:"id"` - } `json:"secret_references,omitempty"` - SpaceIds *[]string `json:"spaceIds,omitempty"` - - // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentlessPolicies_200_Item_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` - } `json:"item"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - JSON409 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} -type PostFleetAgentlessPolicies_200_Item_Elasticsearch_Privileges struct { - Cluster *[]string `json:"cluster,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetAgentlessPolicies_200_Item_Elasticsearch struct { - Privileges *PostFleetAgentlessPolicies_200_Item_Elasticsearch_Privileges `json:"privileges,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetAgentlessPolicies200ItemInputs0 = []struct { - CompiledInput interface{} `json:"compiled_input"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - PolicyTemplate *string `json:"policy_template,omitempty"` - Streams []struct { - CompiledStream interface{} `json:"compiled_stream"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - DataStream struct { - Dataset string `json:"dataset"` - Elasticsearch *struct { - DynamicDataset *bool `json:"dynamic_dataset,omitempty"` - DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` - Privileges *struct { - Indices *[]string `json:"indices,omitempty"` - } `json:"privileges,omitempty"` - } `json:"elasticsearch,omitempty"` - Type string `json:"type"` - } `json:"data_stream"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - Release *PostFleetAgentlessPolicies200ItemInputs0StreamsRelease `json:"release,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"streams"` - Type string `json:"type"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` -} -type PostFleetAgentlessPolicies200ItemInputs0StreamsRelease string -type PostFleetAgentlessPolicies200ItemInputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Streams Input streams. Refer to the integration documentation to know which streams are available. - Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPolicies_200_Item_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"streams,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPolicies_200_Item_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` -} -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars0 = bool -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars1 = string -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars2 = float32 -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars3 = []string -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars4 = []float32 -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetAgentlessPolicies_200_Item_Inputs_1_Streams_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies200ItemInputs1Vars0 = bool -type PostFleetAgentlessPolicies200ItemInputs1Vars1 = string -type PostFleetAgentlessPolicies200ItemInputs1Vars2 = float32 -type PostFleetAgentlessPolicies200ItemInputs1Vars3 = []string -type PostFleetAgentlessPolicies200ItemInputs1Vars4 = []float32 -type PostFleetAgentlessPolicies200ItemInputs1Vars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetAgentlessPolicies_200_Item_Inputs_1_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies_200_Item_Inputs struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies200ItemVars0 map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` -} -type PostFleetAgentlessPolicies200ItemVars1 map[string]*PostFleetAgentlessPolicies_200_Item_Vars_1_AdditionalProperties -type PostFleetAgentlessPolicies200ItemVars10 = bool -type PostFleetAgentlessPolicies200ItemVars11 = string -type PostFleetAgentlessPolicies200ItemVars12 = float32 -type PostFleetAgentlessPolicies200ItemVars13 = []string -type PostFleetAgentlessPolicies200ItemVars14 = []float32 -type PostFleetAgentlessPolicies200ItemVars15 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetAgentlessPolicies_200_Item_Vars_1_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies_200_Item_Vars struct { - union json.RawMessage -} - -// Status returns HTTPResponse.Status -func (r PostFleetAgentlessPoliciesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetAgentlessPoliciesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteFleetAgentlessPoliciesPolicyidResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Id The ID of the deleted agentless package policy. - Id string `json:"id"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - JSON409 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r DeleteFleetAgentlessPoliciesPolicyidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteFleetAgentlessPoliciesPolicyidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type GetFleetAgentsResponse struct { Body []byte HTTPResponse *http.Response @@ -123227,37 +108899,6 @@ func (r GetFleetAgentsAvailableVersionsResponse) StatusCode() int { return 0 } -type PostFleetAgentsBulkMigrateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - ActionId string `json:"actionId"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PostFleetAgentsBulkMigrateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetAgentsBulkMigrateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type PostFleetAgentsBulkReassignResponse struct { Body []byte HTTPResponse *http.Response @@ -123478,13 +109119,12 @@ type GetFleetAgentsSetupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { - IsReady bool `json:"isReady"` - IsActionSecretsStorageEnabled *bool `json:"is_action_secrets_storage_enabled,omitempty"` - IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` - IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` - MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` - MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` - PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` + IsReady bool `json:"isReady"` + IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` + IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` + MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` + MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` + PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` } JSON400 *struct { Attributes interface{} `json:"attributes"` @@ -123895,37 +109535,6 @@ func (r PostFleetAgentsAgentidActionsResponse) StatusCode() int { return 0 } -type PostFleetAgentsAgentidMigrateResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - ActionId string `json:"actionId"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PostFleetAgentsAgentidMigrateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetAgentsAgentidMigrateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type PostFleetAgentsAgentidReassignResponse struct { Body []byte HTTPResponse *http.Response @@ -124109,197 +109718,6 @@ func (r GetFleetCheckPermissionsResponse) StatusCode() int { return 0 } -type GetFleetCloudConnectorsResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Items []struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"items"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r GetFleetCloudConnectorsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetFleetCloudConnectorsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostFleetCloudConnectorsResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Item struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"item"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PostFleetCloudConnectorsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetCloudConnectorsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteFleetCloudConnectorsCloudconnectoridResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Id string `json:"id"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r DeleteFleetCloudConnectorsCloudconnectoridResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteFleetCloudConnectorsCloudconnectoridResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetFleetCloudConnectorsCloudconnectoridResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Item struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"item"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r GetFleetCloudConnectorsCloudconnectoridResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetFleetCloudConnectorsCloudconnectoridResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutFleetCloudConnectorsCloudconnectoridResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Item struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"item"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PutFleetCloudConnectorsCloudconnectoridResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutFleetCloudConnectorsCloudconnectoridResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type GetFleetDataStreamsResponse struct { Body []byte HTTPResponse *http.Response @@ -124637,7 +110055,6 @@ type PostFleetEpmCustomIntegrationsResponse struct { } } type PostFleetEpmCustomIntegrations200Items0 struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PostFleetEpmCustomIntegrations_200_Items_0_Type `json:"type"` @@ -124813,7 +110230,6 @@ type PostFleetEpmPackagesBulk200Items0 struct { Version string `json:"version"` } type PostFleetEpmPackagesBulk200Items0ResultAssets0 struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PostFleetEpmPackagesBulk_200_Items_0_Result_Assets_0_Type `json:"type"` @@ -124864,78 +110280,6 @@ func (r PostFleetEpmPackagesBulkResponse) StatusCode() int { return 0 } -type PostFleetEpmPackagesBulkRollbackResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - TaskId string `json:"taskId"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PostFleetEpmPackagesBulkRollbackResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetEpmPackagesBulkRollbackResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetFleetEpmPackagesBulkRollbackTaskidResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Results *[]struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Name string `json:"name"` - Success bool `json:"success"` - } `json:"results,omitempty"` - Status string `json:"status"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r GetFleetEpmPackagesBulkRollbackTaskidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetFleetEpmPackagesBulkRollbackTaskidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type PostFleetEpmPackagesBulkUninstallResponse struct { Body []byte HTTPResponse *http.Response @@ -125170,38 +110514,6 @@ func (r GetFleetEpmPackagesLimitedResponse) StatusCode() int { return 0 } -type PostFleetEpmPackagesPkgnameRollbackResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Success bool `json:"success"` - Version string `json:"version"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PostFleetEpmPackagesPkgnameRollbackResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetEpmPackagesPkgnameRollbackResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type GetFleetEpmPackagesPkgnameStatsResponse struct { Body []byte HTTPResponse *http.Response @@ -125251,7 +110563,6 @@ type DeleteFleetEpmPackagesPkgnamePkgversionResponse struct { } } type DeleteFleetEpmPackagesPkgnamePkgversion200Items0 struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type DeleteFleetEpmPackagesPkgnamePkgversion_200_Items_0_Type `json:"type"` @@ -125341,7 +110652,6 @@ type PostFleetEpmPackagesPkgnamePkgversionResponse struct { } } type PostFleetEpmPackagesPkgnamePkgversion200Items0 struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PostFleetEpmPackagesPkgnamePkgversion_200_Items_0_Type `json:"type"` @@ -125434,7 +110744,6 @@ type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_AdditionalSp union json.RawMessage } type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_AdditionalSpacesInstalledKibana_Type `json:"type"` @@ -125468,7 +110777,6 @@ type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKib union json.RawMessage } type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKibana_Item struct { - Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKibana_Type `json:"type"` @@ -125503,13 +110811,11 @@ type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo struct { InstalledEs []PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledEs_Item `json:"installed_es"` InstalledKibana []PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKibana_Item `json:"installed_kibana"` InstalledKibanaSpaceId *string `json:"installed_kibana_space_id,omitempty"` - IsRollbackTtlExpired *bool `json:"is_rollback_ttl_expired,omitempty"` LatestExecutedState *PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_LatestExecutedState `json:"latest_executed_state,omitempty"` LatestInstallFailedAttempts *[]PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_LatestInstallFailedAttempts_Item `json:"latest_install_failed_attempts,omitempty"` Name string `json:"name"` Namespaces *[]string `json:"namespaces,omitempty"` PreviousVersion *string `json:"previous_version"` - RolledBack *bool `json:"rolled_back,omitempty"` Type string `json:"type"` UpdatedAt *string `json:"updated_at,omitempty"` VerificationKeyId *string `json:"verification_key_id"` @@ -125696,37 +111002,6 @@ func (r PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse) StatusCode() return 0 } -type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - Success bool `json:"success"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse struct { Body []byte HTTPResponse *http.Response @@ -126486,25 +111761,18 @@ type PostFleetPackagePoliciesBulkGetResponse struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesBulkGet_200_Items_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -126525,7 +111793,6 @@ type PostFleetPackagePoliciesBulkGetResponse struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -126536,31 +111803,22 @@ type PostFleetPackagePoliciesBulkGetResponse struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } `json:"items"` } JSON400 *struct { @@ -126638,19 +111896,19 @@ type PostFleetPackagePoliciesBulkGet200ItemsInputs0 = []struct { } type PostFleetPackagePoliciesBulkGet200ItemsInputs0StreamsRelease string type PostFleetPackagePoliciesBulkGet200ItemsInputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetPackagePoliciesBulkGet_200_Items_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetPackagePoliciesBulkGet_200_Items_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetPackagePoliciesBulkGet200ItemsInputs1StreamsVars0 = bool @@ -126738,7 +111996,6 @@ type PostFleetPackagePoliciesDeleteResponse struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -126893,284 +112150,18 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` Id *string `json:"id,omitempty"` + Inputs PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Inputs Package policy inputs. - Inputs PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. - Name string `json:"name"` - - // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id"` - - // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - Overrides *struct { - Inputs *map[string]interface{} `json:"inputs,omitempty"` - } `json:"overrides"` - Package *struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package,omitempty"` - - // PolicyId ID of the agent policy which the package policy will be added to. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` - SecretReferences *[]struct { - Id string `json:"id"` - } `json:"secret_references,omitempty"` - SpaceIds *[]string `json:"spaceIds,omitempty"` - - // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges struct { - Cluster *[]string `json:"cluster,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch struct { - Privileges *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges `json:"privileges,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0 = []struct { - CompiledInput interface{} `json:"compiled_input"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - PolicyTemplate *string `json:"policy_template,omitempty"` - Streams []struct { - CompiledStream interface{} `json:"compiled_stream"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - DataStream struct { - Dataset string `json:"dataset"` - Elasticsearch *struct { - DynamicDataset *bool `json:"dynamic_dataset,omitempty"` - DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` - Privileges *struct { - Indices *[]string `json:"indices,omitempty"` - } `json:"privileges,omitempty"` - } `json:"elasticsearch,omitempty"` - Type string `json:"type"` - } `json:"data_stream"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - Release *PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease `json:"release,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"streams"` - Type string `json:"type"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Streams Input streams. Refer to the integration documentation to know which streams are available. - Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"streams,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars0 = bool -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars1 = string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars2 = float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars3 = []string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars4 = []float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars0 = bool -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars1 = string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars2 = float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars3 = []string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars4 = []float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars0 map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars1 map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars10 = bool -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars11 = string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars12 = float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars13 = []string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars14 = []float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars15 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt *string `json:"created_at,omitempty"` - CreatedBy *string `json:"created_by,omitempty"` - - // Description Package policy description - Description *string `json:"description,omitempty"` - Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_1_Elasticsearch `json:"elasticsearch,omitempty"` - Enabled bool `json:"enabled"` - Errors *[]struct { - Key *string `json:"key,omitempty"` - Message string `json:"message"` - } `json:"errors,omitempty"` - Force *bool `json:"force,omitempty"` - Id *string `json:"id,omitempty"` - Inputs []struct { - CompiledInput interface{} `json:"compiled_input"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - PolicyTemplate *string `json:"policy_template,omitempty"` - Streams []struct { - CompiledStream interface{} `json:"compiled_stream"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - DataStream struct { - Dataset string `json:"dataset"` - Elasticsearch *struct { - DynamicDataset *bool `json:"dynamic_dataset,omitempty"` - DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` - Privileges *struct { - Indices *[]string `json:"indices,omitempty"` - } `json:"privileges,omitempty"` - } `json:"elasticsearch,omitempty"` - Type string `json:"type"` - } `json:"data_stream"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - Release *PostFleetPackagePoliciesUpgradeDryrun200Diff1InputsStreamsRelease `json:"release,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"streams"` - Type string `json:"type"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - MissingVars *[]string `json:"missingVars,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -127191,7 +112182,6 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -127202,22 +112192,77 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set PolicyId *string `json:"policy_id"` PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision *float32 `json:"revision,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` + SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` + SupportsAgentless *bool `json:"supports_agentless"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges struct { + Cluster *[]string `json:"cluster,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch struct { + Privileges *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges `json:"privileges,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0 = []struct { + CompiledInput interface{} `json:"compiled_input"` - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt *string `json:"updated_at,omitempty"` - UpdatedBy *string `json:"updated_by,omitempty"` + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + PolicyTemplate *string `json:"policy_template,omitempty"` + Streams []struct { + CompiledStream interface{} `json:"compiled_stream"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + DataStream struct { + Dataset string `json:"dataset"` + Elasticsearch *struct { + DynamicDataset *bool `json:"dynamic_dataset,omitempty"` + DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` + Privileges *struct { + Indices *[]string `json:"indices,omitempty"` + } `json:"privileges,omitempty"` + } `json:"elasticsearch,omitempty"` + Type string `json:"type"` + } `json:"data_stream"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + Release *PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease `json:"release,omitempty"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"streams"` + Type string `json:"type"` // Vars Package variable (see integration documentation for more information) Vars *map[string]struct { @@ -127225,8 +112270,196 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { Type *string `json:"type,omitempty"` Value interface{} `json:"value"` } `json:"vars,omitempty"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1 map[string]struct { + // Enabled enable or disable that input, (default to true) + Enabled *bool `json:"enabled,omitempty"` + + // Streams Input streams (see integration documentation to know what streams are available) + Streams *map[string]struct { + // Enabled enable or disable that stream, (default to true) + Enabled *bool `json:"enabled,omitempty"` + + // Vars Input/stream level variable (see integration documentation for more information) + Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` + } `json:"streams,omitempty"` + + // Vars Input/stream level variable (see integration documentation for more information) + Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars0 = bool +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars1 = string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars2 = float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars3 = []string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars4 = []float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars0 = bool +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars1 = string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars2 = float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars3 = []string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars4 = []float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars0 map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars1 map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars10 = bool +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars11 = string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars12 = float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars13 = []string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars14 = []float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars15 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { + // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. + AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` + CreatedAt *string `json:"created_at,omitempty"` + CreatedBy *string `json:"created_by,omitempty"` + + // Description Package policy description + Description *string `json:"description,omitempty"` + Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_1_Elasticsearch `json:"elasticsearch,omitempty"` + Enabled bool `json:"enabled"` + Errors *[]struct { + Key *string `json:"key,omitempty"` + Message string `json:"message"` + } `json:"errors,omitempty"` + Force *bool `json:"force,omitempty"` + Id *string `json:"id,omitempty"` + Inputs []struct { + CompiledInput interface{} `json:"compiled_input"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + PolicyTemplate *string `json:"policy_template,omitempty"` + Streams []struct { + CompiledStream interface{} `json:"compiled_stream"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + DataStream struct { + Dataset string `json:"dataset"` + Elasticsearch *struct { + DynamicDataset *bool `json:"dynamic_dataset,omitempty"` + DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` + Privileges *struct { + Indices *[]string `json:"indices,omitempty"` + } `json:"privileges,omitempty"` + } `json:"elasticsearch,omitempty"` + Type string `json:"type"` + } `json:"data_stream"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + Release *PostFleetPackagePoliciesUpgradeDryrun200Diff1InputsStreamsRelease `json:"release,omitempty"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"streams"` + Type string `json:"type"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + MissingVars *[]string `json:"missingVars,omitempty"` + + // Name Package policy name (should be unique) + Name string `json:"name"` + + // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id"` + + // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + Overrides *struct { + Inputs *map[string]interface{} `json:"inputs,omitempty"` + } `json:"overrides"` + Package *struct { + ExperimentalDataStreamFeatures *[]struct { + DataStream string `json:"data_stream"` + Features struct { + DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` + DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` + SyntheticSource *bool `json:"synthetic_source,omitempty"` + Tsdb *bool `json:"tsdb,omitempty"` + } `json:"features"` + } `json:"experimental_data_stream_features,omitempty"` + + // Name Package name + Name string `json:"name"` + RequiresRoot *bool `json:"requires_root,omitempty"` + Title *string `json:"title,omitempty"` + + // Version Package version + Version string `json:"version"` + } `json:"package,omitempty"` - // Version Package policy ES version. + // PolicyId Agent policy ID where that package policy will be added + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision *float32 `json:"revision,omitempty"` + SecretReferences *[]struct { + Id string `json:"id"` + } `json:"secret_references,omitempty"` + + // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. + SupportsAgentless *bool `json:"supports_agentless"` + UpdatedAt *string `json:"updated_at,omitempty"` + UpdatedBy *string `json:"updated_by,omitempty"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -127592,10 +112825,6 @@ type GetFleetRemoteSyncedIntegrationsStatusResponse struct { PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` - Warning *struct { - Message *string `json:"message,omitempty"` - Title string `json:"title"` - } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -127658,10 +112887,6 @@ type GetFleetRemoteSyncedIntegrationsOutputidRemoteStatusResponse struct { PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsOutputidRemoteStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` - Warning *struct { - Message *string `json:"message,omitempty"` - Title string `json:"title"` - } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -127749,8 +112974,7 @@ type GetFleetSettingsResponse struct { HTTPResponse *http.Response JSON200 *struct { Item struct { - ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` - DeleteUnenrolledAgents *struct { + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -127800,8 +113024,7 @@ type PutFleetSettingsResponse struct { HTTPResponse *http.Response JSON200 *struct { Item struct { - ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` - DeleteUnenrolledAgents *struct { + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -128651,97 +113874,6 @@ func (r GetLogstashPipelinesResponse) StatusCode() int { return 0 } -type GetMaintenanceWindowFindResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - MaintenanceWindows []struct { - // CreatedAt The date and time when the maintenance window was created. - CreatedAt string `json:"created_at"` - - // CreatedBy The identifier for the user that created the maintenance window. - CreatedBy *string `json:"created_by"` - - // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - Enabled bool `json:"enabled"` - - // Id The identifier for the maintenance window. - Id string `json:"id"` - Schedule struct { - Custom struct { - // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. - Duration string `json:"duration"` - Recurring *struct { - // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. - End *string `json:"end,omitempty"` - - // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. - Every *string `json:"every,omitempty"` - - // Occurrences The total number of recurrences of the schedule. - Occurrences *float32 `json:"occurrences,omitempty"` - - // OnMonth The specific months for a recurring schedule. Valid values are 1-12. - OnMonth *[]float32 `json:"onMonth,omitempty"` - - // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. - OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` - - // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - OnWeekDay *[]string `json:"onWeekDay,omitempty"` - } `json:"recurring,omitempty"` - - // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. - Start string `json:"start"` - - // Timezone The timezone of the schedule. The default timezone is UTC. - Timezone *string `json:"timezone,omitempty"` - } `json:"custom"` - } `json:"schedule"` - Scope *struct { - Alerting struct { - Query struct { - // Kql A filter written in Kibana Query Language (KQL). - Kql string `json:"kql"` - } `json:"query"` - } `json:"alerting"` - } `json:"scope,omitempty"` - - // Status The current status of the maintenance window. - Status GetMaintenanceWindowFind200MaintenanceWindowsStatus `json:"status"` - - // Title The name of the maintenance window. - Title string `json:"title"` - - // UpdatedAt The date and time when the maintenance window was last updated. - UpdatedAt string `json:"updated_at"` - - // UpdatedBy The identifier for the user that last updated this maintenance window. - UpdatedBy *string `json:"updated_by"` - } `json:"maintenanceWindows"` - Page float32 `json:"page"` - PerPage float32 `json:"per_page"` - Total float32 `json:"total"` - } -} -type GetMaintenanceWindowFind200MaintenanceWindowsStatus string - -// Status returns HTTPResponse.Status -func (r GetMaintenanceWindowFindResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetMaintenanceWindowFindResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type PostMaintenanceWindowIdArchiveResponse struct { Body []byte HTTPResponse *http.Response @@ -130397,9 +115529,6 @@ type ReadKnowledgeBaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { - // DefendInsightsExists Indicates if Defend Insights documentation exists in the KnowledgeBase. - DefendInsightsExists *bool `json:"defend_insights_exists,omitempty"` - // ElserExists Indicates if the ELSER model exists for the KnowledgeBase. ElserExists *bool `json:"elser_exists,omitempty"` @@ -131424,13 +116553,13 @@ func (r GetStreamsNameSignificantEventsResponse) StatusCode() int { return 0 } -type PostStreamsNameSignificantEventsGenerateResponse struct { +type GetStreamsNameSignificantEventsGenerateResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r PostStreamsNameSignificantEventsGenerateResponse) Status() string { +func (r GetStreamsNameSignificantEventsGenerateResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -131438,7 +116567,7 @@ func (r PostStreamsNameSignificantEventsGenerateResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameSignificantEventsGenerateResponse) StatusCode() int { +func (r GetStreamsNameSignificantEventsGenerateResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -132034,14 +117163,6 @@ type GetDraftTimelinesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIPersistTimelineResponse - JSON403 *struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } - JSON409 *struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } } // Status returns HTTPResponse.Status @@ -132064,14 +117185,6 @@ type CleanDraftTimelinesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIPersistTimelineResponse - JSON403 *struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } - JSON409 *struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } } // Status returns HTTPResponse.Status @@ -132115,10 +117228,6 @@ type PersistFavoriteRouteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIFavoriteTimelineResponse - JSON403 *struct { - Body *string `json:"body,omitempty"` - StatusCode *float32 `json:"statusCode,omitempty"` - } } // Status returns HTTPResponse.Status @@ -132178,10 +117287,6 @@ type InstallPrepackedTimelinesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIImportTimelineResult - JSON500 *struct { - Body *string `json:"body,omitempty"` - StatusCode *float32 `json:"statusCode,omitempty"` - } } // Status returns HTTPResponse.Status @@ -132245,11 +117350,6 @@ type GetTimelinesResponse struct { // TotalCount The total amount of results TotalCount float32 `json:"totalCount"` } - JSON400 *struct { - // Body The error message - Body *string `json:"body,omitempty"` - StatusCode *float32 `json:"statusCode,omitempty"` - } } // Status returns HTTPResponse.Status @@ -133238,249 +118338,6 @@ func (c *ClientWithResponses) GetActionsConnectorTypesWithResponse(ctx context.C return ParseGetActionsConnectorTypesResponse(rsp) } -// PostAgentBuilderA2aAgentidWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderA2aAgentidResponse -func (c *ClientWithResponses) PostAgentBuilderA2aAgentidWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) { - rsp, err := c.PostAgentBuilderA2aAgentidWithBody(ctx, agentId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderA2aAgentidResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderA2aAgentidWithResponse(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) { - rsp, err := c.PostAgentBuilderA2aAgentid(ctx, agentId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderA2aAgentidResponse(rsp) -} - -// GetAgentBuilderA2aAgentidJsonWithResponse request returning *GetAgentBuilderA2aAgentidJsonResponse -func (c *ClientWithResponses) GetAgentBuilderA2aAgentidJsonWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderA2aAgentidJsonResponse, error) { - rsp, err := c.GetAgentBuilderA2aAgentidJson(ctx, agentId, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderA2aAgentidJsonResponse(rsp) -} - -// GetAgentBuilderAgentsWithResponse request returning *GetAgentBuilderAgentsResponse -func (c *ClientWithResponses) GetAgentBuilderAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsResponse, error) { - rsp, err := c.GetAgentBuilderAgents(ctx, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderAgentsResponse(rsp) -} - -// PostAgentBuilderAgentsWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderAgentsResponse -func (c *ClientWithResponses) PostAgentBuilderAgentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) { - rsp, err := c.PostAgentBuilderAgentsWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderAgentsResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderAgentsWithResponse(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) { - rsp, err := c.PostAgentBuilderAgents(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderAgentsResponse(rsp) -} - -// DeleteAgentBuilderAgentsIdWithResponse request returning *DeleteAgentBuilderAgentsIdResponse -func (c *ClientWithResponses) DeleteAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderAgentsIdResponse, error) { - rsp, err := c.DeleteAgentBuilderAgentsId(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteAgentBuilderAgentsIdResponse(rsp) -} - -// GetAgentBuilderAgentsIdWithResponse request returning *GetAgentBuilderAgentsIdResponse -func (c *ClientWithResponses) GetAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsIdResponse, error) { - rsp, err := c.GetAgentBuilderAgentsId(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderAgentsIdResponse(rsp) -} - -// PutAgentBuilderAgentsIdWithBodyWithResponse request with arbitrary body returning *PutAgentBuilderAgentsIdResponse -func (c *ClientWithResponses) PutAgentBuilderAgentsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) { - rsp, err := c.PutAgentBuilderAgentsIdWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutAgentBuilderAgentsIdResponse(rsp) -} - -func (c *ClientWithResponses) PutAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) { - rsp, err := c.PutAgentBuilderAgentsId(ctx, id, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutAgentBuilderAgentsIdResponse(rsp) -} - -// GetAgentBuilderConversationsWithResponse request returning *GetAgentBuilderConversationsResponse -func (c *ClientWithResponses) GetAgentBuilderConversationsWithResponse(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsResponse, error) { - rsp, err := c.GetAgentBuilderConversations(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderConversationsResponse(rsp) -} - -// DeleteAgentBuilderConversationsConversationIdWithResponse request returning *DeleteAgentBuilderConversationsConversationIdResponse -func (c *ClientWithResponses) DeleteAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderConversationsConversationIdResponse, error) { - rsp, err := c.DeleteAgentBuilderConversationsConversationId(ctx, conversationId, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteAgentBuilderConversationsConversationIdResponse(rsp) -} - -// GetAgentBuilderConversationsConversationIdWithResponse request returning *GetAgentBuilderConversationsConversationIdResponse -func (c *ClientWithResponses) GetAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsConversationIdResponse, error) { - rsp, err := c.GetAgentBuilderConversationsConversationId(ctx, conversationId, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderConversationsConversationIdResponse(rsp) -} - -// PostAgentBuilderConverseWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderConverseResponse -func (c *ClientWithResponses) PostAgentBuilderConverseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) { - rsp, err := c.PostAgentBuilderConverseWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderConverseResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderConverseWithResponse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) { - rsp, err := c.PostAgentBuilderConverse(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderConverseResponse(rsp) -} - -// PostAgentBuilderConverseAsyncWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderConverseAsyncResponse -func (c *ClientWithResponses) PostAgentBuilderConverseAsyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) { - rsp, err := c.PostAgentBuilderConverseAsyncWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderConverseAsyncResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderConverseAsyncWithResponse(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) { - rsp, err := c.PostAgentBuilderConverseAsync(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderConverseAsyncResponse(rsp) -} - -// PostAgentBuilderMcpWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderMcpResponse -func (c *ClientWithResponses) PostAgentBuilderMcpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) { - rsp, err := c.PostAgentBuilderMcpWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderMcpResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderMcpWithResponse(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) { - rsp, err := c.PostAgentBuilderMcp(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderMcpResponse(rsp) -} - -// GetAgentBuilderToolsWithResponse request returning *GetAgentBuilderToolsResponse -func (c *ClientWithResponses) GetAgentBuilderToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsResponse, error) { - rsp, err := c.GetAgentBuilderTools(ctx, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderToolsResponse(rsp) -} - -// PostAgentBuilderToolsWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderToolsResponse -func (c *ClientWithResponses) PostAgentBuilderToolsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) { - rsp, err := c.PostAgentBuilderToolsWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderToolsResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderToolsWithResponse(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) { - rsp, err := c.PostAgentBuilderTools(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderToolsResponse(rsp) -} - -// PostAgentBuilderToolsExecuteWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderToolsExecuteResponse -func (c *ClientWithResponses) PostAgentBuilderToolsExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) { - rsp, err := c.PostAgentBuilderToolsExecuteWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderToolsExecuteResponse(rsp) -} - -func (c *ClientWithResponses) PostAgentBuilderToolsExecuteWithResponse(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) { - rsp, err := c.PostAgentBuilderToolsExecute(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAgentBuilderToolsExecuteResponse(rsp) -} - -// DeleteAgentBuilderToolsIdWithResponse request returning *DeleteAgentBuilderToolsIdResponse -func (c *ClientWithResponses) DeleteAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsIdResponse, error) { - rsp, err := c.DeleteAgentBuilderToolsId(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteAgentBuilderToolsIdResponse(rsp) -} - -// GetAgentBuilderToolsIdWithResponse request returning *GetAgentBuilderToolsIdResponse -func (c *ClientWithResponses) GetAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsIdResponse, error) { - rsp, err := c.GetAgentBuilderToolsId(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAgentBuilderToolsIdResponse(rsp) -} - -// PutAgentBuilderToolsToolidWithBodyWithResponse request with arbitrary body returning *PutAgentBuilderToolsToolidResponse -func (c *ClientWithResponses) PutAgentBuilderToolsToolidWithBodyWithResponse(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) { - rsp, err := c.PutAgentBuilderToolsToolidWithBody(ctx, toolId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutAgentBuilderToolsToolidResponse(rsp) -} - -func (c *ClientWithResponses) PutAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) { - rsp, err := c.PutAgentBuilderToolsToolid(ctx, toolId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutAgentBuilderToolsToolidResponse(rsp) -} - // GetAlertingHealthWithResponse request returning *GetAlertingHealthResponse func (c *ClientWithResponses) GetAlertingHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingHealthResponse, error) { rsp, err := c.GetAlertingHealth(ctx, reqEditors...) @@ -133892,155 +118749,6 @@ func (c *ClientWithResponses) FindAssetCriticalityRecordsWithResponse(ctx contex return ParseFindAssetCriticalityRecordsResponse(rsp) } -// PostAttackDiscoveryBulkWithBodyWithResponse request with arbitrary body returning *PostAttackDiscoveryBulkResponse -func (c *ClientWithResponses) PostAttackDiscoveryBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) { - rsp, err := c.PostAttackDiscoveryBulkWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAttackDiscoveryBulkResponse(rsp) -} - -func (c *ClientWithResponses) PostAttackDiscoveryBulkWithResponse(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) { - rsp, err := c.PostAttackDiscoveryBulk(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAttackDiscoveryBulkResponse(rsp) -} - -// AttackDiscoveryFindWithResponse request returning *AttackDiscoveryFindResponse -func (c *ClientWithResponses) AttackDiscoveryFindWithResponse(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*AttackDiscoveryFindResponse, error) { - rsp, err := c.AttackDiscoveryFind(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseAttackDiscoveryFindResponse(rsp) -} - -// PostAttackDiscoveryGenerateWithBodyWithResponse request with arbitrary body returning *PostAttackDiscoveryGenerateResponse -func (c *ClientWithResponses) PostAttackDiscoveryGenerateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) { - rsp, err := c.PostAttackDiscoveryGenerateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAttackDiscoveryGenerateResponse(rsp) -} - -func (c *ClientWithResponses) PostAttackDiscoveryGenerateWithResponse(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) { - rsp, err := c.PostAttackDiscoveryGenerate(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAttackDiscoveryGenerateResponse(rsp) -} - -// GetAttackDiscoveryGenerationsWithResponse request returning *GetAttackDiscoveryGenerationsResponse -func (c *ClientWithResponses) GetAttackDiscoveryGenerationsWithResponse(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationsResponse, error) { - rsp, err := c.GetAttackDiscoveryGenerations(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAttackDiscoveryGenerationsResponse(rsp) -} - -// GetAttackDiscoveryGenerationWithResponse request returning *GetAttackDiscoveryGenerationResponse -func (c *ClientWithResponses) GetAttackDiscoveryGenerationWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationResponse, error) { - rsp, err := c.GetAttackDiscoveryGeneration(ctx, executionUuid, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAttackDiscoveryGenerationResponse(rsp) -} - -// PostAttackDiscoveryGenerationsDismissWithResponse request returning *PostAttackDiscoveryGenerationsDismissResponse -func (c *ClientWithResponses) PostAttackDiscoveryGenerationsDismissWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerationsDismissResponse, error) { - rsp, err := c.PostAttackDiscoveryGenerationsDismiss(ctx, executionUuid, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostAttackDiscoveryGenerationsDismissResponse(rsp) -} - -// CreateAttackDiscoverySchedulesWithBodyWithResponse request with arbitrary body returning *CreateAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) CreateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) { - rsp, err := c.CreateAttackDiscoverySchedulesWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseCreateAttackDiscoverySchedulesResponse(rsp) -} - -func (c *ClientWithResponses) CreateAttackDiscoverySchedulesWithResponse(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) { - rsp, err := c.CreateAttackDiscoverySchedules(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseCreateAttackDiscoverySchedulesResponse(rsp) -} - -// FindAttackDiscoverySchedulesWithResponse request returning *FindAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) FindAttackDiscoverySchedulesWithResponse(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*FindAttackDiscoverySchedulesResponse, error) { - rsp, err := c.FindAttackDiscoverySchedules(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseFindAttackDiscoverySchedulesResponse(rsp) -} - -// DeleteAttackDiscoverySchedulesWithResponse request returning *DeleteAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) DeleteAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DeleteAttackDiscoverySchedulesResponse, error) { - rsp, err := c.DeleteAttackDiscoverySchedules(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteAttackDiscoverySchedulesResponse(rsp) -} - -// GetAttackDiscoverySchedulesWithResponse request returning *GetAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) GetAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*GetAttackDiscoverySchedulesResponse, error) { - rsp, err := c.GetAttackDiscoverySchedules(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetAttackDiscoverySchedulesResponse(rsp) -} - -// UpdateAttackDiscoverySchedulesWithBodyWithResponse request with arbitrary body returning *UpdateAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) UpdateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) { - rsp, err := c.UpdateAttackDiscoverySchedulesWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpdateAttackDiscoverySchedulesResponse(rsp) -} - -func (c *ClientWithResponses) UpdateAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) { - rsp, err := c.UpdateAttackDiscoverySchedules(ctx, id, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpdateAttackDiscoverySchedulesResponse(rsp) -} - -// DisableAttackDiscoverySchedulesWithResponse request returning *DisableAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) DisableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DisableAttackDiscoverySchedulesResponse, error) { - rsp, err := c.DisableAttackDiscoverySchedules(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseDisableAttackDiscoverySchedulesResponse(rsp) -} - -// EnableAttackDiscoverySchedulesWithResponse request returning *EnableAttackDiscoverySchedulesResponse -func (c *ClientWithResponses) EnableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*EnableAttackDiscoverySchedulesResponse, error) { - rsp, err := c.EnableAttackDiscoverySchedules(ctx, id, reqEditors...) - if err != nil { - return nil, err - } - return ParseEnableAttackDiscoverySchedulesResponse(rsp) -} - // DeleteCaseDefaultSpaceWithResponse request returning *DeleteCaseDefaultSpaceResponse func (c *ClientWithResponses) DeleteCaseDefaultSpaceWithResponse(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*DeleteCaseDefaultSpaceResponse, error) { rsp, err := c.DeleteCaseDefaultSpace(ctx, params, reqEditors...) @@ -134805,23 +119513,6 @@ func (c *ClientWithResponses) EndpointGetActionsListWithResponse(ctx context.Con return ParseEndpointGetActionsListResponse(rsp) } -// CancelActionWithBodyWithResponse request with arbitrary body returning *CancelActionResponse -func (c *ClientWithResponses) CancelActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) { - rsp, err := c.CancelActionWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseCancelActionResponse(rsp) -} - -func (c *ClientWithResponses) CancelActionWithResponse(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) { - rsp, err := c.CancelAction(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseCancelActionResponse(rsp) -} - // EndpointExecuteActionWithBodyWithResponse request with arbitrary body returning *EndpointExecuteActionResponse func (c *ClientWithResponses) EndpointExecuteActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EndpointExecuteActionResponse, error) { rsp, err := c.EndpointExecuteActionWithBody(ctx, contentType, body, reqEditors...) @@ -135373,23 +120064,6 @@ func (c *ClientWithResponses) StopEntityEngineWithResponse(ctx context.Context, return ParseStopEntityEngineResponse(rsp) } -// UpsertEntitiesBulkWithBodyWithResponse request with arbitrary body returning *UpsertEntitiesBulkResponse -func (c *ClientWithResponses) UpsertEntitiesBulkWithBodyWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) { - rsp, err := c.UpsertEntitiesBulkWithBody(ctx, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpsertEntitiesBulkResponse(rsp) -} - -func (c *ClientWithResponses) UpsertEntitiesBulkWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) { - rsp, err := c.UpsertEntitiesBulk(ctx, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpsertEntitiesBulkResponse(rsp) -} - // ListEntitiesWithResponse request returning *ListEntitiesResponse func (c *ClientWithResponses) ListEntitiesWithResponse(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*ListEntitiesResponse, error) { rsp, err := c.ListEntities(ctx, params, reqEditors...) @@ -135399,40 +120073,6 @@ func (c *ClientWithResponses) ListEntitiesWithResponse(ctx context.Context, para return ParseListEntitiesResponse(rsp) } -// DeleteSingleEntityWithBodyWithResponse request with arbitrary body returning *DeleteSingleEntityResponse -func (c *ClientWithResponses) DeleteSingleEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) { - rsp, err := c.DeleteSingleEntityWithBody(ctx, entityType, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteSingleEntityResponse(rsp) -} - -func (c *ClientWithResponses) DeleteSingleEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) { - rsp, err := c.DeleteSingleEntity(ctx, entityType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteSingleEntityResponse(rsp) -} - -// UpsertEntityWithBodyWithResponse request with arbitrary body returning *UpsertEntityResponse -func (c *ClientWithResponses) UpsertEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) { - rsp, err := c.UpsertEntityWithBody(ctx, entityType, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpsertEntityResponse(rsp) -} - -func (c *ClientWithResponses) UpsertEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) { - rsp, err := c.UpsertEntity(ctx, entityType, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpsertEntityResponse(rsp) -} - // GetEntityStoreStatusWithResponse request returning *GetEntityStoreStatusResponse func (c *ClientWithResponses) GetEntityStoreStatusWithResponse(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*GetEntityStoreStatusResponse, error) { rsp, err := c.GetEntityStoreStatus(ctx, params, reqEditors...) @@ -135861,32 +120501,6 @@ func (c *ClientWithResponses) GetFleetAgentStatusDataWithResponse(ctx context.Co return ParseGetFleetAgentStatusDataResponse(rsp) } -// PostFleetAgentlessPoliciesWithBodyWithResponse request with arbitrary body returning *PostFleetAgentlessPoliciesResponse -func (c *ClientWithResponses) PostFleetAgentlessPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) { - rsp, err := c.PostFleetAgentlessPoliciesWithBody(ctx, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentlessPoliciesResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetAgentlessPoliciesWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) { - rsp, err := c.PostFleetAgentlessPolicies(ctx, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentlessPoliciesResponse(rsp) -} - -// DeleteFleetAgentlessPoliciesPolicyidWithResponse request returning *DeleteFleetAgentlessPoliciesPolicyidResponse -func (c *ClientWithResponses) DeleteFleetAgentlessPoliciesPolicyidWithResponse(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) { - rsp, err := c.DeleteFleetAgentlessPoliciesPolicyid(ctx, policyId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteFleetAgentlessPoliciesPolicyidResponse(rsp) -} - // GetFleetAgentsWithResponse request returning *GetFleetAgentsResponse func (c *ClientWithResponses) GetFleetAgentsWithResponse(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*GetFleetAgentsResponse, error) { rsp, err := c.GetFleetAgents(ctx, params, reqEditors...) @@ -135940,23 +120554,6 @@ func (c *ClientWithResponses) GetFleetAgentsAvailableVersionsWithResponse(ctx co return ParseGetFleetAgentsAvailableVersionsResponse(rsp) } -// PostFleetAgentsBulkMigrateWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsBulkMigrateResponse -func (c *ClientWithResponses) PostFleetAgentsBulkMigrateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) { - rsp, err := c.PostFleetAgentsBulkMigrateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentsBulkMigrateResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetAgentsBulkMigrateWithResponse(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) { - rsp, err := c.PostFleetAgentsBulkMigrate(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentsBulkMigrateResponse(rsp) -} - // PostFleetAgentsBulkReassignWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsBulkReassignResponse func (c *ClientWithResponses) PostFleetAgentsBulkReassignWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkReassignResponse, error) { rsp, err := c.PostFleetAgentsBulkReassignWithBody(ctx, contentType, body, reqEditors...) @@ -136139,23 +120736,6 @@ func (c *ClientWithResponses) PostFleetAgentsAgentidActionsWithResponse(ctx cont return ParsePostFleetAgentsAgentidActionsResponse(rsp) } -// PostFleetAgentsAgentidMigrateWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsAgentidMigrateResponse -func (c *ClientWithResponses) PostFleetAgentsAgentidMigrateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) { - rsp, err := c.PostFleetAgentsAgentidMigrateWithBody(ctx, agentId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentsAgentidMigrateResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetAgentsAgentidMigrateWithResponse(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) { - rsp, err := c.PostFleetAgentsAgentidMigrate(ctx, agentId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentsAgentidMigrateResponse(rsp) -} - // PostFleetAgentsAgentidReassignWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsAgentidReassignResponse func (c *ClientWithResponses) PostFleetAgentsAgentidReassignWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidReassignResponse, error) { rsp, err := c.PostFleetAgentsAgentidReassignWithBody(ctx, agentId, contentType, body, reqEditors...) @@ -136242,67 +120822,6 @@ func (c *ClientWithResponses) GetFleetCheckPermissionsWithResponse(ctx context.C return ParseGetFleetCheckPermissionsResponse(rsp) } -// GetFleetCloudConnectorsWithResponse request returning *GetFleetCloudConnectorsResponse -func (c *ClientWithResponses) GetFleetCloudConnectorsWithResponse(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsResponse, error) { - rsp, err := c.GetFleetCloudConnectors(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetFleetCloudConnectorsResponse(rsp) -} - -// PostFleetCloudConnectorsWithBodyWithResponse request with arbitrary body returning *PostFleetCloudConnectorsResponse -func (c *ClientWithResponses) PostFleetCloudConnectorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) { - rsp, err := c.PostFleetCloudConnectorsWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetCloudConnectorsResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetCloudConnectorsWithResponse(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) { - rsp, err := c.PostFleetCloudConnectors(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetCloudConnectorsResponse(rsp) -} - -// DeleteFleetCloudConnectorsCloudconnectoridWithResponse request returning *DeleteFleetCloudConnectorsCloudconnectoridResponse -func (c *ClientWithResponses) DeleteFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*DeleteFleetCloudConnectorsCloudconnectoridResponse, error) { - rsp, err := c.DeleteFleetCloudConnectorsCloudconnectorid(ctx, cloudConnectorId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteFleetCloudConnectorsCloudconnectoridResponse(rsp) -} - -// GetFleetCloudConnectorsCloudconnectoridWithResponse request returning *GetFleetCloudConnectorsCloudconnectoridResponse -func (c *ClientWithResponses) GetFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsCloudconnectoridResponse, error) { - rsp, err := c.GetFleetCloudConnectorsCloudconnectorid(ctx, cloudConnectorId, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetFleetCloudConnectorsCloudconnectoridResponse(rsp) -} - -// PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse request with arbitrary body returning *PutFleetCloudConnectorsCloudconnectoridResponse -func (c *ClientWithResponses) PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) { - rsp, err := c.PutFleetCloudConnectorsCloudconnectoridWithBody(ctx, cloudConnectorId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutFleetCloudConnectorsCloudconnectoridResponse(rsp) -} - -func (c *ClientWithResponses) PutFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) { - rsp, err := c.PutFleetCloudConnectorsCloudconnectorid(ctx, cloudConnectorId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutFleetCloudConnectorsCloudconnectoridResponse(rsp) -} - // GetFleetDataStreamsWithResponse request returning *GetFleetDataStreamsResponse func (c *ClientWithResponses) GetFleetDataStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetDataStreamsResponse, error) { rsp, err := c.GetFleetDataStreams(ctx, reqEditors...) @@ -136460,32 +120979,6 @@ func (c *ClientWithResponses) PostFleetEpmPackagesBulkWithResponse(ctx context.C return ParsePostFleetEpmPackagesBulkResponse(rsp) } -// PostFleetEpmPackagesBulkRollbackWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesBulkRollbackResponse -func (c *ClientWithResponses) PostFleetEpmPackagesBulkRollbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) { - rsp, err := c.PostFleetEpmPackagesBulkRollbackWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetEpmPackagesBulkRollbackResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetEpmPackagesBulkRollbackWithResponse(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) { - rsp, err := c.PostFleetEpmPackagesBulkRollback(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetEpmPackagesBulkRollbackResponse(rsp) -} - -// GetFleetEpmPackagesBulkRollbackTaskidWithResponse request returning *GetFleetEpmPackagesBulkRollbackTaskidResponse -func (c *ClientWithResponses) GetFleetEpmPackagesBulkRollbackTaskidWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesBulkRollbackTaskidResponse, error) { - rsp, err := c.GetFleetEpmPackagesBulkRollbackTaskid(ctx, taskId, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetFleetEpmPackagesBulkRollbackTaskidResponse(rsp) -} - // PostFleetEpmPackagesBulkUninstallWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesBulkUninstallResponse func (c *ClientWithResponses) PostFleetEpmPackagesBulkUninstallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkUninstallResponse, error) { rsp, err := c.PostFleetEpmPackagesBulkUninstallWithBody(ctx, contentType, body, reqEditors...) @@ -136556,15 +121049,6 @@ func (c *ClientWithResponses) GetFleetEpmPackagesLimitedWithResponse(ctx context return ParseGetFleetEpmPackagesLimitedResponse(rsp) } -// PostFleetEpmPackagesPkgnameRollbackWithResponse request returning *PostFleetEpmPackagesPkgnameRollbackResponse -func (c *ClientWithResponses) PostFleetEpmPackagesPkgnameRollbackWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnameRollbackResponse, error) { - rsp, err := c.PostFleetEpmPackagesPkgnameRollback(ctx, pkgName, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetEpmPackagesPkgnameRollbackResponse(rsp) -} - // GetFleetEpmPackagesPkgnameStatsWithResponse request returning *GetFleetEpmPackagesPkgnameStatsResponse func (c *ClientWithResponses) GetFleetEpmPackagesPkgnameStatsWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesPkgnameStatsResponse, error) { rsp, err := c.GetFleetEpmPackagesPkgnameStats(ctx, pkgName, reqEditors...) @@ -136661,23 +121145,6 @@ func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsW return ParsePostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse(rsp) } -// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse -func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) { - rsp, err := c.PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody(ctx, pkgName, pkgVersion, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithResponse(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) { - rsp, err := c.PostFleetEpmPackagesPkgnamePkgversionRuleAssets(ctx, pkgName, pkgVersion, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse(rsp) -} - // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse, error) { rsp, err := c.PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody(ctx, pkgName, pkgVersion, params, contentType, body, reqEditors...) @@ -137464,15 +121931,6 @@ func (c *ClientWithResponses) GetLogstashPipelinesWithResponse(ctx context.Conte return ParseGetLogstashPipelinesResponse(rsp) } -// GetMaintenanceWindowFindWithResponse request returning *GetMaintenanceWindowFindResponse -func (c *ClientWithResponses) GetMaintenanceWindowFindWithResponse(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowFindResponse, error) { - rsp, err := c.GetMaintenanceWindowFind(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetMaintenanceWindowFindResponse(rsp) -} - // PostMaintenanceWindowIdArchiveWithResponse request returning *PostMaintenanceWindowIdArchiveResponse func (c *ClientWithResponses) PostMaintenanceWindowIdArchiveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostMaintenanceWindowIdArchiveResponse, error) { rsp, err := c.PostMaintenanceWindowIdArchive(ctx, id, reqEditors...) @@ -138955,21 +123413,21 @@ func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithResponse(ctx co return ParseGetStreamsNameSignificantEventsResponse(rsp) } -// PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsGenerateResponse -func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { - rsp, err := c.PostStreamsNameSignificantEventsGenerateWithBody(ctx, name, params, contentType, body, reqEditors...) +// GetStreamsNameSignificantEventsGenerateWithBodyWithResponse request with arbitrary body returning *GetStreamsNameSignificantEventsGenerateResponse +func (c *ClientWithResponses) GetStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) { + rsp, err := c.GetStreamsNameSignificantEventsGenerateWithBody(ctx, name, params, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) + return ParseGetStreamsNameSignificantEventsGenerateResponse(rsp) } -func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { - rsp, err := c.PostStreamsNameSignificantEventsGenerate(ctx, name, params, body, reqEditors...) +func (c *ClientWithResponses) GetStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) { + rsp, err := c.GetStreamsNameSignificantEventsGenerate(ctx, name, params, body, reqEditors...) if err != nil { return nil, err } - return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) + return ParseGetStreamsNameSignificantEventsGenerateResponse(rsp) } // PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsPreviewResponse @@ -139844,310 +124302,6 @@ func ParseGetActionsConnectorTypesResponse(rsp *http.Response) (*GetActionsConne return response, nil } -// ParsePostAgentBuilderA2aAgentidResponse parses an HTTP response from a PostAgentBuilderA2aAgentidWithResponse call -func ParsePostAgentBuilderA2aAgentidResponse(rsp *http.Response) (*PostAgentBuilderA2aAgentidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderA2aAgentidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderA2aAgentidJsonResponse parses an HTTP response from a GetAgentBuilderA2aAgentidJsonWithResponse call -func ParseGetAgentBuilderA2aAgentidJsonResponse(rsp *http.Response) (*GetAgentBuilderA2aAgentidJsonResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderA2aAgentidJsonResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderAgentsResponse parses an HTTP response from a GetAgentBuilderAgentsWithResponse call -func ParseGetAgentBuilderAgentsResponse(rsp *http.Response) (*GetAgentBuilderAgentsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderAgentsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostAgentBuilderAgentsResponse parses an HTTP response from a PostAgentBuilderAgentsWithResponse call -func ParsePostAgentBuilderAgentsResponse(rsp *http.Response) (*PostAgentBuilderAgentsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderAgentsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteAgentBuilderAgentsIdResponse parses an HTTP response from a DeleteAgentBuilderAgentsIdWithResponse call -func ParseDeleteAgentBuilderAgentsIdResponse(rsp *http.Response) (*DeleteAgentBuilderAgentsIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteAgentBuilderAgentsIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderAgentsIdResponse parses an HTTP response from a GetAgentBuilderAgentsIdWithResponse call -func ParseGetAgentBuilderAgentsIdResponse(rsp *http.Response) (*GetAgentBuilderAgentsIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderAgentsIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutAgentBuilderAgentsIdResponse parses an HTTP response from a PutAgentBuilderAgentsIdWithResponse call -func ParsePutAgentBuilderAgentsIdResponse(rsp *http.Response) (*PutAgentBuilderAgentsIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutAgentBuilderAgentsIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderConversationsResponse parses an HTTP response from a GetAgentBuilderConversationsWithResponse call -func ParseGetAgentBuilderConversationsResponse(rsp *http.Response) (*GetAgentBuilderConversationsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderConversationsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteAgentBuilderConversationsConversationIdResponse parses an HTTP response from a DeleteAgentBuilderConversationsConversationIdWithResponse call -func ParseDeleteAgentBuilderConversationsConversationIdResponse(rsp *http.Response) (*DeleteAgentBuilderConversationsConversationIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteAgentBuilderConversationsConversationIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderConversationsConversationIdResponse parses an HTTP response from a GetAgentBuilderConversationsConversationIdWithResponse call -func ParseGetAgentBuilderConversationsConversationIdResponse(rsp *http.Response) (*GetAgentBuilderConversationsConversationIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderConversationsConversationIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostAgentBuilderConverseResponse parses an HTTP response from a PostAgentBuilderConverseWithResponse call -func ParsePostAgentBuilderConverseResponse(rsp *http.Response) (*PostAgentBuilderConverseResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderConverseResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostAgentBuilderConverseAsyncResponse parses an HTTP response from a PostAgentBuilderConverseAsyncWithResponse call -func ParsePostAgentBuilderConverseAsyncResponse(rsp *http.Response) (*PostAgentBuilderConverseAsyncResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderConverseAsyncResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostAgentBuilderMcpResponse parses an HTTP response from a PostAgentBuilderMcpWithResponse call -func ParsePostAgentBuilderMcpResponse(rsp *http.Response) (*PostAgentBuilderMcpResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderMcpResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderToolsResponse parses an HTTP response from a GetAgentBuilderToolsWithResponse call -func ParseGetAgentBuilderToolsResponse(rsp *http.Response) (*GetAgentBuilderToolsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderToolsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostAgentBuilderToolsResponse parses an HTTP response from a PostAgentBuilderToolsWithResponse call -func ParsePostAgentBuilderToolsResponse(rsp *http.Response) (*PostAgentBuilderToolsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderToolsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostAgentBuilderToolsExecuteResponse parses an HTTP response from a PostAgentBuilderToolsExecuteWithResponse call -func ParsePostAgentBuilderToolsExecuteResponse(rsp *http.Response) (*PostAgentBuilderToolsExecuteResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAgentBuilderToolsExecuteResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteAgentBuilderToolsIdResponse parses an HTTP response from a DeleteAgentBuilderToolsIdWithResponse call -func ParseDeleteAgentBuilderToolsIdResponse(rsp *http.Response) (*DeleteAgentBuilderToolsIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteAgentBuilderToolsIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetAgentBuilderToolsIdResponse parses an HTTP response from a GetAgentBuilderToolsIdWithResponse call -func ParseGetAgentBuilderToolsIdResponse(rsp *http.Response) (*GetAgentBuilderToolsIdResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentBuilderToolsIdResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutAgentBuilderToolsToolidResponse parses an HTTP response from a PutAgentBuilderToolsToolidWithResponse call -func ParsePutAgentBuilderToolsToolidResponse(rsp *http.Response) (*PutAgentBuilderToolsToolidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutAgentBuilderToolsToolidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - // ParseGetAlertingHealthResponse parses an HTTP response from a GetAlertingHealthWithResponse call func ParseGetAlertingHealthResponse(rsp *http.Response) (*GetAlertingHealthResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -142285,942 +126439,391 @@ func ParseCreateUpdateAgentConfigurationResponse(rsp *http.Response) (*CreateUpd } response.JSON403 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - } - - return response, nil -} - -// ParseGetAgentNameForServiceResponse parses an HTTP response from a GetAgentNameForServiceWithResponse call -func ParseGetAgentNameForServiceResponse(rsp *http.Response) (*GetAgentNameForServiceResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAgentNameForServiceResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUIServiceAgentNameResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - } - - return response, nil -} - -// ParseGetEnvironmentsForServiceResponse parses an HTTP response from a GetEnvironmentsForServiceWithResponse call -func ParseGetEnvironmentsForServiceResponse(rsp *http.Response) (*GetEnvironmentsForServiceResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetEnvironmentsForServiceResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUIServiceEnvironmentsResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - } - - return response, nil -} - -// ParseSearchSingleConfigurationResponse parses an HTTP response from a SearchSingleConfigurationWithResponse call -func ParseSearchSingleConfigurationResponse(rsp *http.Response) (*SearchSingleConfigurationResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &SearchSingleConfigurationResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUISearchAgentConfigurationResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - } - - return response, nil -} - -// ParseGetSingleAgentConfigurationResponse parses an HTTP response from a GetSingleAgentConfigurationWithResponse call -func ParseGetSingleAgentConfigurationResponse(rsp *http.Response) (*GetSingleAgentConfigurationResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetSingleAgentConfigurationResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUISingleAgentConfigurationResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - } - - return response, nil -} - -// ParseGetSourceMapsResponse parses an HTTP response from a GetSourceMapsWithResponse call -func ParseGetSourceMapsResponse(rsp *http.Response) (*GetSourceMapsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetSourceMapsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUISourceMapsResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest APMUI500Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest APMUI501Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - - } - - return response, nil -} - -// ParseUploadSourceMapResponse parses an HTTP response from a UploadSourceMapWithResponse call -func ParseUploadSourceMapResponse(rsp *http.Response) (*UploadSourceMapResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &UploadSourceMapResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUIUploadSourceMapsResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest APMUI403Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest APMUI500Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest APMUI501Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON501 = &dest - - } - - return response, nil -} - -// ParseDeleteSourceMapResponse parses an HTTP response from a DeleteSourceMapWithResponse call -func ParseDeleteSourceMapResponse(rsp *http.Response) (*DeleteSourceMapResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteSourceMapResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest map[string]interface{} - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest APMUI403Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest APMUI500Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest APMUI501Response + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON501 = &dest + response.JSON404 = &dest } return response, nil } -// ParseDeleteAssetCriticalityRecordResponse parses an HTTP response from a DeleteAssetCriticalityRecordWithResponse call -func ParseDeleteAssetCriticalityRecordResponse(rsp *http.Response) (*DeleteAssetCriticalityRecordResponse, error) { +// ParseGetAgentNameForServiceResponse parses an HTTP response from a GetAgentNameForServiceWithResponse call +func ParseGetAgentNameForServiceResponse(rsp *http.Response) (*GetAgentNameForServiceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteAssetCriticalityRecordResponse{ + response := &GetAgentNameForServiceResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Deleted True if the record was deleted or false if the record did not exist. - Deleted bool `json:"deleted"` - Record *SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"record,omitempty"` - } + var dest APMUIServiceAgentNameResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - } - - return response, nil -} - -// ParseGetAssetCriticalityRecordResponse parses an HTTP response from a GetAssetCriticalityRecordWithResponse call -func ParseGetAssetCriticalityRecordResponse(rsp *http.Response) (*GetAssetCriticalityRecordResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetAssetCriticalityRecordResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest - - } - - return response, nil -} - -// ParseCreateAssetCriticalityRecordResponse parses an HTTP response from a CreateAssetCriticalityRecordWithResponse call -func ParseCreateAssetCriticalityRecordResponse(rsp *http.Response) (*CreateAssetCriticalityRecordResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } + response.JSON400 = &dest - response := &CreateAssetCriticalityRecordResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest + response.JSON404 = &dest } return response, nil } -// ParseBulkUpsertAssetCriticalityRecordsResponse parses an HTTP response from a BulkUpsertAssetCriticalityRecordsWithResponse call -func ParseBulkUpsertAssetCriticalityRecordsResponse(rsp *http.Response) (*BulkUpsertAssetCriticalityRecordsResponse, error) { +// ParseGetEnvironmentsForServiceResponse parses an HTTP response from a GetEnvironmentsForServiceWithResponse call +func ParseGetEnvironmentsForServiceResponse(rsp *http.Response) (*GetEnvironmentsForServiceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &BulkUpsertAssetCriticalityRecordsResponse{ + response := &GetEnvironmentsForServiceResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Errors []SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem `json:"errors"` - Stats SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadStats `json:"stats"` - } + var dest APMUIServiceEnvironmentsResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - } - - return response, nil -} - -// ParseFindAssetCriticalityRecordsResponse parses an HTTP response from a FindAssetCriticalityRecordsWithResponse call -func ParseFindAssetCriticalityRecordsResponse(rsp *http.Response) (*FindAssetCriticalityRecordsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &FindAssetCriticalityRecordsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Page int `json:"page"` - PerPage int `json:"per_page"` - Records []SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"records"` - Total int `json:"total"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest + response.JSON404 = &dest } return response, nil } -// ParsePostAttackDiscoveryBulkResponse parses an HTTP response from a PostAttackDiscoveryBulkWithResponse call -func ParsePostAttackDiscoveryBulkResponse(rsp *http.Response) (*PostAttackDiscoveryBulkResponse, error) { +// ParseSearchSingleConfigurationResponse parses an HTTP response from a SearchSingleConfigurationWithResponse call +func ParseSearchSingleConfigurationResponse(rsp *http.Response) (*SearchSingleConfigurationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostAttackDiscoveryBulkResponse{ + response := &SearchSingleConfigurationResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Data Array of updated Attack discovery alert objects. Each item includes the applied modifications from the bulk update request. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` - } + var dest APMUISearchAgentConfigurationResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong with the bulk update request - Message string `json:"message"` - - // StatusCode HTTP status code - StatusCode float32 `json:"status_code"` - } + var dest APMUI400Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest - } - - return response, nil -} - -// ParseAttackDiscoveryFindResponse parses an HTTP response from a AttackDiscoveryFindWithResponse call -func ParseAttackDiscoveryFindResponse(rsp *http.Response) (*AttackDiscoveryFindResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &AttackDiscoveryFindResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // ConnectorNames List of human readable connector names that are present in the matched Attack discoveries. Useful for building client filters or summaries. - ConnectorNames []string `json:"connector_names"` - - // Data Array of matched Attack discovery objects. Each item follows the `AttackDiscoveryApiAlert` schema. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` - - // Page Current page number of the paginated result set. - Page int `json:"page"` - - // PerPage Number of items requested per page. - PerPage int `json:"per_page"` - - // Total Total number of Attack discoveries matching the query (across all pages). - Total int `json:"total"` - - // UniqueAlertIds List of unique alert IDs aggregated from the matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. - UniqueAlertIds *[]string `json:"unique_alert_ids,omitempty"` - - // UniqueAlertIdsCount Number of unique alert IDs across all matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. - UniqueAlertIdsCount int `json:"unique_alert_ids_count"` - } + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type - Error *string `json:"error,omitempty"` - - // Message Human-readable error message - Message *string `json:"message,omitempty"` + response.JSON401 = &dest - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` - } + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON400 = &dest + response.JSON404 = &dest } return response, nil } -// ParsePostAttackDiscoveryGenerateResponse parses an HTTP response from a PostAttackDiscoveryGenerateWithResponse call -func ParsePostAttackDiscoveryGenerateResponse(rsp *http.Response) (*PostAttackDiscoveryGenerateResponse, error) { +// ParseGetSingleAgentConfigurationResponse parses an HTTP response from a GetSingleAgentConfigurationWithResponse call +func ParseGetSingleAgentConfigurationResponse(rsp *http.Response) (*GetSingleAgentConfigurationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostAttackDiscoveryGenerateResponse{ + response := &GetSingleAgentConfigurationResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // ExecutionUuid A string that does not contain only whitespace characters. - ExecutionUuid SecurityAttackDiscoveryAPINonEmptyString `json:"execution_uuid"` - } + var dest APMUISingleAgentConfigurationResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong - Message string `json:"message"` + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest - // StatusCode HTTP status code - StatusCode float32 `json:"status_code"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON400 = &dest + response.JSON404 = &dest } return response, nil } -// ParseGetAttackDiscoveryGenerationsResponse parses an HTTP response from a GetAttackDiscoveryGenerationsWithResponse call -func ParseGetAttackDiscoveryGenerationsResponse(rsp *http.Response) (*GetAttackDiscoveryGenerationsResponse, error) { +// ParseGetSourceMapsResponse parses an HTTP response from a GetSourceMapsWithResponse call +func ParseGetSourceMapsResponse(rsp *http.Response) (*GetSourceMapsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetAttackDiscoveryGenerationsResponse{ + response := &GetSourceMapsResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Generations List of attack discovery generations - Generations []SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generations"` - } + var dest APMUISourceMapsResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type - Error *string `json:"error,omitempty"` + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest - // Message Human-readable error message - Message *string `json:"message,omitempty"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest APMUI500Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err } + response.JSON500 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: + var dest APMUI501Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON400 = &dest + response.JSON501 = &dest } return response, nil } -// ParseGetAttackDiscoveryGenerationResponse parses an HTTP response from a GetAttackDiscoveryGenerationWithResponse call -func ParseGetAttackDiscoveryGenerationResponse(rsp *http.Response) (*GetAttackDiscoveryGenerationResponse, error) { +// ParseUploadSourceMapResponse parses an HTTP response from a UploadSourceMapWithResponse call +func ParseUploadSourceMapResponse(rsp *http.Response) (*UploadSourceMapResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetAttackDiscoveryGenerationResponse{ + response := &UploadSourceMapResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Data Array of Attack discoveries generated during this execution. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` - Generation *SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generation,omitempty"` - } + var dest APMUIUploadSourceMapsResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type - Error string `json:"error"` - - // Message Human-readable error message describing what went wrong with the request - Message string `json:"message"` - - // StatusCode HTTP status code - StatusCode float32 `json:"status_code"` - } + var dest APMUI400Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest - } - - return response, nil -} - -// ParsePostAttackDiscoveryGenerationsDismissResponse parses an HTTP response from a PostAttackDiscoveryGenerationsDismissWithResponse call -func ParsePostAttackDiscoveryGenerationsDismissResponse(rsp *http.Response) (*PostAttackDiscoveryGenerationsDismissResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostAttackDiscoveryGenerationsDismissResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // AlertsContextCount The number of alerts that were sent as context to the LLM for this generation. - AlertsContextCount *float32 `json:"alerts_context_count,omitempty"` - - // ConnectorId The unique identifier of the connector used to generate the attack discoveries. - ConnectorId string `json:"connector_id"` - - // ConnectorStats Statistical information about the connector's performance for this user, providing insights into usage patterns and success rates. - ConnectorStats *struct { - // AverageSuccessfulDurationNanoseconds The average duration in nanoseconds for successful generations using this connector by the current user. - AverageSuccessfulDurationNanoseconds *float32 `json:"average_successful_duration_nanoseconds,omitempty"` - - // SuccessfulGenerations The total number of Attack discoveries successfully created for this generation - SuccessfulGenerations *float32 `json:"successful_generations,omitempty"` - } `json:"connector_stats,omitempty"` - - // Discoveries The number of attack discoveries that were generated during this execution. - Discoveries float32 `json:"discoveries"` - - // End The timestamp when the generation process completed, in ISO 8601 format. This field may be absent for generations that haven't finished. - End *string `json:"end,omitempty"` - - // ExecutionUuid The unique identifier for this attack discovery generation execution. This UUID can be used to reference this specific generation in other API calls. - ExecutionUuid string `json:"execution_uuid"` - - // LoadingMessage A human-readable message describing the current state or progress of the generation process. Provides context about what the AI is analyzing. - LoadingMessage string `json:"loading_message"` - - // Reason Additional context or reasoning provided when a generation fails or encounters issues. This field helps diagnose problems with the generation process. - Reason *string `json:"reason,omitempty"` - - // Start The timestamp when the generation process began, in ISO 8601 format. This marks the beginning of the AI analysis. - Start string `json:"start"` - - // Status The current status of the attack discovery generation. After dismissing, this will be set to "dismissed". - Status PostAttackDiscoveryGenerationsDismiss200Status `json:"status"` - } + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type or category - Error string `json:"error"` + response.JSON401 = &dest - // Message Human-readable error message describing what went wrong with the request. - Message string `json:"message"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest APMUI403Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest - // StatusCode HTTP status code indicating the type of client error - StatusCode float32 `json:"status_code"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest APMUI500Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err } + response.JSON500 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: + var dest APMUI501Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON400 = &dest + response.JSON501 = &dest } return response, nil } -// ParseCreateAttackDiscoverySchedulesResponse parses an HTTP response from a CreateAttackDiscoverySchedulesWithResponse call -func ParseCreateAttackDiscoverySchedulesResponse(rsp *http.Response) (*CreateAttackDiscoverySchedulesResponse, error) { +// ParseDeleteSourceMapResponse parses an HTTP response from a DeleteSourceMapWithResponse call +func ParseDeleteSourceMapResponse(rsp *http.Response) (*DeleteSourceMapResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &CreateAttackDiscoverySchedulesResponse{ + response := &DeleteSourceMapResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule + var dest map[string]interface{} if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError + var dest APMUI400Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest - } - - return response, nil -} - -// ParseFindAttackDiscoverySchedulesResponse parses an HTTP response from a FindAttackDiscoverySchedulesWithResponse call -func ParseFindAttackDiscoverySchedulesResponse(rsp *http.Response) (*FindAttackDiscoverySchedulesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &FindAttackDiscoverySchedulesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Data Array of matched Attack discovery schedule objects. - Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule `json:"data"` - - // Page Current page number of the paginated result set. - Page float32 `json:"page"` - - // PerPage Number of items requested per page. - PerPage float32 `json:"per_page"` - - // Total Total number of Attack discovery schedules matching the query (across all pages). - Total float32 `json:"total"` - } + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error Error type - Error *string `json:"error,omitempty"` + response.JSON401 = &dest - // Message Human-readable error message - Message *string `json:"message,omitempty"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest APMUI403Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest - // StatusCode HTTP status code - StatusCode *float32 `json:"status_code,omitempty"` + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest APMUI500Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err } + response.JSON500 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: + var dest APMUI501Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON400 = &dest + response.JSON501 = &dest } return response, nil } -// ParseDeleteAttackDiscoverySchedulesResponse parses an HTTP response from a DeleteAttackDiscoverySchedulesWithResponse call -func ParseDeleteAttackDiscoverySchedulesResponse(rsp *http.Response) (*DeleteAttackDiscoverySchedulesResponse, error) { +// ParseDeleteAssetCriticalityRecordResponse parses an HTTP response from a DeleteAssetCriticalityRecordWithResponse call +func ParseDeleteAssetCriticalityRecordResponse(rsp *http.Response) (*DeleteAssetCriticalityRecordResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteAttackDiscoverySchedulesResponse{ + response := &DeleteAssetCriticalityRecordResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -143228,101 +126831,81 @@ func ParseDeleteAttackDiscoverySchedulesResponse(rsp *http.Response) (*DeleteAtt switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + // Deleted True if the record was deleted or false if the record did not exist. + Deleted bool `json:"deleted"` + Record *SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"record,omitempty"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - } return response, nil } -// ParseGetAttackDiscoverySchedulesResponse parses an HTTP response from a GetAttackDiscoverySchedulesWithResponse call -func ParseGetAttackDiscoverySchedulesResponse(rsp *http.Response) (*GetAttackDiscoverySchedulesResponse, error) { +// ParseGetAssetCriticalityRecordResponse parses an HTTP response from a GetAssetCriticalityRecordWithResponse call +func ParseGetAssetCriticalityRecordResponse(rsp *http.Response) (*GetAssetCriticalityRecordResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetAttackDiscoverySchedulesResponse{ + response := &GetAssetCriticalityRecordResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule + var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - } return response, nil } -// ParseUpdateAttackDiscoverySchedulesResponse parses an HTTP response from a UpdateAttackDiscoverySchedulesWithResponse call -func ParseUpdateAttackDiscoverySchedulesResponse(rsp *http.Response) (*UpdateAttackDiscoverySchedulesResponse, error) { +// ParseCreateAssetCriticalityRecordResponse parses an HTTP response from a CreateAssetCriticalityRecordWithResponse call +func ParseCreateAssetCriticalityRecordResponse(rsp *http.Response) (*CreateAssetCriticalityRecordResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &UpdateAttackDiscoverySchedulesResponse{ + response := &CreateAssetCriticalityRecordResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule + var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - } return response, nil } -// ParseDisableAttackDiscoverySchedulesResponse parses an HTTP response from a DisableAttackDiscoverySchedulesWithResponse call -func ParseDisableAttackDiscoverySchedulesResponse(rsp *http.Response) (*DisableAttackDiscoverySchedulesResponse, error) { +// ParseBulkUpsertAssetCriticalityRecordsResponse parses an HTTP response from a BulkUpsertAssetCriticalityRecordsWithResponse call +func ParseBulkUpsertAssetCriticalityRecordsResponse(rsp *http.Response) (*BulkUpsertAssetCriticalityRecordsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DisableAttackDiscoverySchedulesResponse{ + response := &BulkUpsertAssetCriticalityRecordsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -143330,35 +126913,28 @@ func ParseDisableAttackDiscoverySchedulesResponse(rsp *http.Response) (*DisableA switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + Errors []SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem `json:"errors"` + Stats SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadStats `json:"stats"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - } return response, nil } -// ParseEnableAttackDiscoverySchedulesResponse parses an HTTP response from a EnableAttackDiscoverySchedulesWithResponse call -func ParseEnableAttackDiscoverySchedulesResponse(rsp *http.Response) (*EnableAttackDiscoverySchedulesResponse, error) { +// ParseFindAssetCriticalityRecordsResponse parses an HTTP response from a FindAssetCriticalityRecordsWithResponse call +func ParseFindAssetCriticalityRecordsResponse(rsp *http.Response) (*FindAssetCriticalityRecordsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &EnableAttackDiscoverySchedulesResponse{ + response := &FindAssetCriticalityRecordsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -143366,21 +126942,16 @@ func ParseEnableAttackDiscoverySchedulesResponse(rsp *http.Response) (*EnableAtt switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - // Id A string that does not contain only whitespace characters. - Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + Page int `json:"page"` + PerPage int `json:"per_page"` + Records []SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"records"` + Total int `json:"total"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - } return response, nil @@ -145751,32 +129322,6 @@ func ParseEndpointGetActionsListResponse(rsp *http.Response) (*EndpointGetAction return response, nil } -// ParseCancelActionResponse parses an HTTP response from a CancelActionWithResponse call -func ParseCancelActionResponse(rsp *http.Response) (*CancelActionResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &CancelActionResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEndpointManagementAPIResponseActionCreateSuccessResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - // ParseEndpointExecuteActionResponse parses an HTTP response from a EndpointExecuteActionWithResponse call func ParseEndpointExecuteActionResponse(rsp *http.Response) (*EndpointExecuteActionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -146078,7 +129623,7 @@ func ParseEndpointGetActionsDetailsResponse(rsp *http.Response) (*EndpointGetAct switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEndpointManagementAPIActionDetailsResponse + var dest SecurityEndpointManagementAPIGetEndpointActionResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -146104,19 +129649,7 @@ func ParseEndpointFileInfoResponse(rsp *http.Response) (*EndpointFileInfoRespons switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Data *struct { - ActionId *string `json:"actionId,omitempty"` - AgentId *string `json:"agentId,omitempty"` - AgentType *string `json:"agentType,omitempty"` - Created *time.Time `json:"created,omitempty"` - Id *string `json:"id,omitempty"` - MimeType *string `json:"mimeType,omitempty"` - Name *string `json:"name,omitempty"` - Size *float32 `json:"size,omitempty"` - Status *EndpointFileInfo200DataStatus `json:"status,omitempty"` - } `json:"data,omitempty"` - } + var dest SecurityEndpointManagementAPISuccessResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -146140,6 +129673,16 @@ func ParseEndpointFileDownloadResponse(rsp *http.Response) (*EndpointFileDownloa HTTPResponse: rsp, } + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityEndpointManagementAPISuccessResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + return response, nil } @@ -146751,13 +130294,6 @@ func ParseInitMonitoringEngineResponse(rsp *http.Response) (*InitMonitoringEngin } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest SecurityEntityAnalyticsAPIMonitoringEngineDescriptor - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -146821,18 +130357,7 @@ func ParsePrivMonHealthResponse(rsp *http.Response) (*PrivMonHealthResponse, err Error *struct { Message *string `json:"message,omitempty"` } `json:"error,omitempty"` - - // Status The status of the Privilege Monitoring Engine Status SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus `json:"status"` - - // Users User statistics for privilege monitoring - Users *struct { - // CurrentCount Current number of privileged users being monitored - CurrentCount int `json:"current_count"` - - // MaxAllowed Maximum number of privileged users allowed to be monitored - MaxAllowed int `json:"max_allowed"` - } `json:"users,omitempty"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -147315,22 +130840,6 @@ func ParseStopEntityEngineResponse(rsp *http.Response) (*StopEntityEngineRespons return response, nil } -// ParseUpsertEntitiesBulkResponse parses an HTTP response from a UpsertEntitiesBulkWithResponse call -func ParseUpsertEntitiesBulkResponse(rsp *http.Response) (*UpsertEntitiesBulkResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &UpsertEntitiesBulkResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - // ParseListEntitiesResponse parses an HTTP response from a ListEntitiesWithResponse call func ParseListEntitiesResponse(rsp *http.Response) (*ListEntitiesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -147363,60 +130872,6 @@ func ParseListEntitiesResponse(rsp *http.Response) (*ListEntitiesResponse, error return response, nil } -// ParseDeleteSingleEntityResponse parses an HTTP response from a DeleteSingleEntityWithResponse call -func ParseDeleteSingleEntityResponse(rsp *http.Response) (*DeleteSingleEntityResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteSingleEntityResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Deleted *bool `json:"deleted,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - -// ParseUpsertEntityResponse parses an HTTP response from a UpsertEntityWithResponse call -func ParseUpsertEntityResponse(rsp *http.Response) (*UpsertEntityResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &UpsertEntityResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEntityAnalyticsAPIEntity - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - // ParseGetEntityStoreStatusResponse parses an HTTP response from a GetEntityStoreStatusWithResponse call func ParseGetEntityStoreStatusResponse(rsp *http.Response) (*GetEntityStoreStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -148858,7 +132313,6 @@ func ParsePostFleetAgentPoliciesBulkGetResponse(rsp *http.Response) (*PostFleetA DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` - FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -149153,10 +132607,9 @@ func ParseGetFleetAgentPoliciesAgentpolicyidAutoUpgradeAgentsStatusResponse(rsp case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { CurrentVersions []struct { - Agents float32 `json:"agents"` - FailedUpgradeActionIds *[]string `json:"failedUpgradeActionIds,omitempty"` - FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` - Version string `json:"version"` + Agents float32 `json:"agents"` + FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` + Version string `json:"version"` } `json:"currentVersions"` TotalAgents float32 `json:"totalAgents"` } @@ -149232,7 +132685,6 @@ func ParsePostFleetAgentPoliciesAgentpolicyidCopyResponse(rsp *http.Response) (* DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` - FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -149577,195 +133029,6 @@ func ParseGetFleetAgentStatusDataResponse(rsp *http.Response) (*GetFleetAgentSta return response, nil } -// ParsePostFleetAgentlessPoliciesResponse parses an HTTP response from a PostFleetAgentlessPoliciesWithResponse call -func ParsePostFleetAgentlessPoliciesResponse(rsp *http.Response) (*PostFleetAgentlessPoliciesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetAgentlessPoliciesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Item The created agentless package policy. - Item struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` - Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` - - // Description Package policy description - Description *string `json:"description,omitempty"` - Elasticsearch *PostFleetAgentlessPolicies_200_Item_Elasticsearch `json:"elasticsearch,omitempty"` - Enabled bool `json:"enabled"` - - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentlessPolicies_200_Item_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. - Name string `json:"name"` - - // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id"` - - // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - Overrides *struct { - Inputs *map[string]interface{} `json:"inputs,omitempty"` - } `json:"overrides"` - Package *struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package,omitempty"` - - // PolicyId ID of the agent policy which the package policy will be added to. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` - SecretReferences *[]struct { - Id string `json:"id"` - } `json:"secret_references,omitempty"` - SpaceIds *[]string `json:"spaceIds,omitempty"` - - // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentlessPolicies_200_Item_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON409 = &dest - - } - - return response, nil -} - -// ParseDeleteFleetAgentlessPoliciesPolicyidResponse parses an HTTP response from a DeleteFleetAgentlessPoliciesPolicyidWithResponse call -func ParseDeleteFleetAgentlessPoliciesPolicyidResponse(rsp *http.Response) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteFleetAgentlessPoliciesPolicyidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Id The ID of the deleted agentless package policy. - Id string `json:"id"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON409 = &dest - - } - - return response, nil -} - // ParseGetFleetAgentsResponse parses an HTTP response from a GetFleetAgentsWithResponse call func ParseGetFleetAgentsResponse(rsp *http.Response) (*GetFleetAgentsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -150110,47 +133373,6 @@ func ParseGetFleetAgentsAvailableVersionsResponse(rsp *http.Response) (*GetFleet return response, nil } -// ParsePostFleetAgentsBulkMigrateResponse parses an HTTP response from a PostFleetAgentsBulkMigrateWithResponse call -func ParsePostFleetAgentsBulkMigrateResponse(rsp *http.Response) (*PostFleetAgentsBulkMigrateResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetAgentsBulkMigrateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - ActionId string `json:"actionId"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - // ParsePostFleetAgentsBulkReassignResponse parses an HTTP response from a PostFleetAgentsBulkReassignWithResponse call func ParsePostFleetAgentsBulkReassignResponse(rsp *http.Response) (*PostFleetAgentsBulkReassignResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -150453,13 +133675,12 @@ func ParseGetFleetAgentsSetupResponse(rsp *http.Response) (*GetFleetAgentsSetupR switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - IsReady bool `json:"isReady"` - IsActionSecretsStorageEnabled *bool `json:"is_action_secrets_storage_enabled,omitempty"` - IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` - IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` - MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` - MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` - PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` + IsReady bool `json:"isReady"` + IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` + IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` + MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` + MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` + PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -150895,47 +134116,6 @@ func ParsePostFleetAgentsAgentidActionsResponse(rsp *http.Response) (*PostFleetA return response, nil } -// ParsePostFleetAgentsAgentidMigrateResponse parses an HTTP response from a PostFleetAgentsAgentidMigrateWithResponse call -func ParsePostFleetAgentsAgentidMigrateResponse(rsp *http.Response) (*PostFleetAgentsAgentidMigrateResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetAgentsAgentidMigrateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - ActionId string `json:"actionId"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - // ParsePostFleetAgentsAgentidReassignResponse parses an HTTP response from a PostFleetAgentsAgentidReassignWithResponse call func ParsePostFleetAgentsAgentidReassignResponse(rsp *http.Response) (*PostFleetAgentsAgentidReassignResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -151162,247 +134342,6 @@ func ParseGetFleetCheckPermissionsResponse(rsp *http.Response) (*GetFleetCheckPe return response, nil } -// ParseGetFleetCloudConnectorsResponse parses an HTTP response from a GetFleetCloudConnectorsWithResponse call -func ParseGetFleetCloudConnectorsResponse(rsp *http.Response) (*GetFleetCloudConnectorsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetFleetCloudConnectorsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Items []struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"items"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParsePostFleetCloudConnectorsResponse parses an HTTP response from a PostFleetCloudConnectorsWithResponse call -func ParsePostFleetCloudConnectorsResponse(rsp *http.Response) (*PostFleetCloudConnectorsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetCloudConnectorsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Item struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParseDeleteFleetCloudConnectorsCloudconnectoridResponse parses an HTTP response from a DeleteFleetCloudConnectorsCloudconnectoridWithResponse call -func ParseDeleteFleetCloudConnectorsCloudconnectoridResponse(rsp *http.Response) (*DeleteFleetCloudConnectorsCloudconnectoridResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteFleetCloudConnectorsCloudconnectoridResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Id string `json:"id"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParseGetFleetCloudConnectorsCloudconnectoridResponse parses an HTTP response from a GetFleetCloudConnectorsCloudconnectoridWithResponse call -func ParseGetFleetCloudConnectorsCloudconnectoridResponse(rsp *http.Response) (*GetFleetCloudConnectorsCloudconnectoridResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetFleetCloudConnectorsCloudconnectoridResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Item struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParsePutFleetCloudConnectorsCloudconnectoridResponse parses an HTTP response from a PutFleetCloudConnectorsCloudconnectoridWithResponse call -func ParsePutFleetCloudConnectorsCloudconnectoridResponse(rsp *http.Response) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutFleetCloudConnectorsCloudconnectoridResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Item struct { - CloudProvider string `json:"cloudProvider"` - CreatedAt string `json:"created_at"` - Id string `json:"id"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - PackagePolicyCount float32 `json:"packagePolicyCount"` - UpdatedAt string `json:"updated_at"` - Vars map[string]interface{} `json:"vars"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - // ParseGetFleetDataStreamsResponse parses an HTTP response from a GetFleetDataStreamsWithResponse call func ParseGetFleetDataStreamsResponse(rsp *http.Response) (*GetFleetDataStreamsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -151526,226 +134465,15 @@ func ParseGetFleetEnrollmentApiKeysResponse(rsp *http.Response) (*GetFleetEnroll return response, nil } -// ParsePostFleetEnrollmentApiKeysResponse parses an HTTP response from a PostFleetEnrollmentApiKeysWithResponse call -func ParsePostFleetEnrollmentApiKeysResponse(rsp *http.Response) (*PostFleetEnrollmentApiKeysResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetEnrollmentApiKeysResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Action PostFleetEnrollmentApiKeys200Action `json:"action"` - Item struct { - // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - Active bool `json:"active"` - - // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. - ApiKey string `json:"api_key"` - - // ApiKeyId The ID of the API key in the Security API. - ApiKeyId string `json:"api_key_id"` - CreatedAt string `json:"created_at"` - Hidden *bool `json:"hidden,omitempty"` - Id string `json:"id"` - - // Name The name of the enrollment API key. - Name *string `json:"name,omitempty"` - - // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. - PolicyId *string `json:"policy_id,omitempty"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParseDeleteFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a DeleteFleetEnrollmentApiKeysKeyidWithResponse call -func ParseDeleteFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*DeleteFleetEnrollmentApiKeysKeyidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteFleetEnrollmentApiKeysKeyidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Action DeleteFleetEnrollmentApiKeysKeyid200Action `json:"action"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParseGetFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a GetFleetEnrollmentApiKeysKeyidWithResponse call -func ParseGetFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*GetFleetEnrollmentApiKeysKeyidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetFleetEnrollmentApiKeysKeyidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Item struct { - // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - Active bool `json:"active"` - - // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. - ApiKey string `json:"api_key"` - - // ApiKeyId The ID of the API key in the Security API. - ApiKeyId string `json:"api_key_id"` - CreatedAt string `json:"created_at"` - Hidden *bool `json:"hidden,omitempty"` - Id string `json:"id"` - - // Name The name of the enrollment API key. - Name *string `json:"name,omitempty"` - - // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. - PolicyId *string `json:"policy_id,omitempty"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParsePostFleetEpmBulkAssetsResponse parses an HTTP response from a PostFleetEpmBulkAssetsWithResponse call -func ParsePostFleetEpmBulkAssetsResponse(rsp *http.Response) (*PostFleetEpmBulkAssetsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetEpmBulkAssetsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Items []struct { - AppLink *string `json:"appLink,omitempty"` - Attributes struct { - Description *string `json:"description,omitempty"` - Service *string `json:"service,omitempty"` - Title *string `json:"title,omitempty"` - } `json:"attributes"` - Id string `json:"id"` - Type string `json:"type"` - UpdatedAt *string `json:"updatedAt,omitempty"` - } `json:"items"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - -// ParseGetFleetEpmCategoriesResponse parses an HTTP response from a GetFleetEpmCategoriesWithResponse call -func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategoriesResponse, error) { +// ParsePostFleetEnrollmentApiKeysResponse parses an HTTP response from a PostFleetEnrollmentApiKeysWithResponse call +func ParsePostFleetEnrollmentApiKeysResponse(rsp *http.Response) (*PostFleetEnrollmentApiKeysResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmCategoriesResponse{ + response := &PostFleetEnrollmentApiKeysResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -151753,13 +134481,26 @@ func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategor switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []struct { - Count float32 `json:"count"` - Id string `json:"id"` - ParentId *string `json:"parent_id,omitempty"` - ParentTitle *string `json:"parent_title,omitempty"` - Title string `json:"title"` - } `json:"items"` + Action PostFleetEnrollmentApiKeys200Action `json:"action"` + Item struct { + // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + Active bool `json:"active"` + + // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. + ApiKey string `json:"api_key"` + + // ApiKeyId The ID of the API key in the Security API. + ApiKeyId string `json:"api_key_id"` + CreatedAt string `json:"created_at"` + Hidden *bool `json:"hidden,omitempty"` + Id string `json:"id"` + + // Name The name of the enrollment API key. + Name *string `json:"name,omitempty"` + + // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. + PolicyId *string `json:"policy_id,omitempty"` + } `json:"item"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -151784,15 +134525,15 @@ func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategor return response, nil } -// ParsePostFleetEpmCustomIntegrationsResponse parses an HTTP response from a PostFleetEpmCustomIntegrationsWithResponse call -func ParsePostFleetEpmCustomIntegrationsResponse(rsp *http.Response) (*PostFleetEpmCustomIntegrationsResponse, error) { +// ParseDeleteFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a DeleteFleetEnrollmentApiKeysKeyidWithResponse call +func ParseDeleteFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*DeleteFleetEnrollmentApiKeysKeyidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmCustomIntegrationsResponse{ + response := &DeleteFleetEnrollmentApiKeysKeyidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -151800,11 +134541,7 @@ func ParsePostFleetEpmCustomIntegrationsResponse(rsp *http.Response) (*PostFleet switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - UnderscoreMeta struct { - InstallSource string `json:"install_source"` - Name string `json:"name"` - } `json:"_meta"` - Items []PostFleetEpmCustomIntegrations_200_Items_Item `json:"items"` + Action DeleteFleetEnrollmentApiKeysKeyid200Action `json:"action"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -151829,20 +134566,47 @@ func ParsePostFleetEpmCustomIntegrationsResponse(rsp *http.Response) (*PostFleet return response, nil } -// ParsePutFleetEpmCustomIntegrationsPkgnameResponse parses an HTTP response from a PutFleetEpmCustomIntegrationsPkgnameWithResponse call -func ParsePutFleetEpmCustomIntegrationsPkgnameResponse(rsp *http.Response) (*PutFleetEpmCustomIntegrationsPkgnameResponse, error) { +// ParseGetFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a GetFleetEnrollmentApiKeysKeyidWithResponse call +func ParseGetFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*GetFleetEnrollmentApiKeysKeyidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutFleetEpmCustomIntegrationsPkgnameResponse{ + response := &GetFleetEnrollmentApiKeysKeyidResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Item struct { + // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + Active bool `json:"active"` + + // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. + ApiKey string `json:"api_key"` + + // ApiKeyId The ID of the API key in the Security API. + ApiKeyId string `json:"api_key_id"` + CreatedAt string `json:"created_at"` + Hidden *bool `json:"hidden,omitempty"` + Id string `json:"id"` + + // Name The name of the enrollment API key. + Name *string `json:"name,omitempty"` + + // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. + PolicyId *string `json:"policy_id,omitempty"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest struct { Attributes interface{} `json:"attributes"` @@ -151861,15 +134625,15 @@ func ParsePutFleetEpmCustomIntegrationsPkgnameResponse(rsp *http.Response) (*Put return response, nil } -// ParseGetFleetEpmDataStreamsResponse parses an HTTP response from a GetFleetEpmDataStreamsWithResponse call -func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataStreamsResponse, error) { +// ParsePostFleetEpmBulkAssetsResponse parses an HTTP response from a PostFleetEpmBulkAssetsWithResponse call +func ParsePostFleetEpmBulkAssetsResponse(rsp *http.Response) (*PostFleetEpmBulkAssetsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmDataStreamsResponse{ + response := &PostFleetEpmBulkAssetsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -151878,7 +134642,15 @@ func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataSt case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { Items []struct { - Name string `json:"name"` + AppLink *string `json:"appLink,omitempty"` + Attributes struct { + Description *string `json:"description,omitempty"` + Service *string `json:"service,omitempty"` + Title *string `json:"title,omitempty"` + } `json:"attributes"` + Id string `json:"id"` + Type string `json:"type"` + UpdatedAt *string `json:"updatedAt,omitempty"` } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -151904,15 +134676,15 @@ func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataSt return response, nil } -// ParseGetFleetEpmPackagesResponse parses an HTTP response from a GetFleetEpmPackagesWithResponse call -func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesResponse, error) { +// ParseGetFleetEpmCategoriesResponse parses an HTTP response from a GetFleetEpmCategoriesWithResponse call +func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategoriesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesResponse{ + response := &GetFleetEpmCategoriesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -151920,7 +134692,13 @@ func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesR switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []PackageListItem `json:"items"` + Items []struct { + Count float32 `json:"count"` + Id string `json:"id"` + ParentId *string `json:"parent_id,omitempty"` + ParentTitle *string `json:"parent_title,omitempty"` + Title string `json:"title"` + } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -151945,45 +134723,65 @@ func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesR return response, nil } -// ParsePostFleetEpmPackagesResponse parses an HTTP response from a PostFleetEpmPackagesWithResponse call -func ParsePostFleetEpmPackagesResponse(rsp *http.Response) (*PostFleetEpmPackagesResponse, error) { +// ParsePostFleetEpmCustomIntegrationsResponse parses an HTTP response from a PostFleetEpmCustomIntegrationsWithResponse call +func ParsePostFleetEpmCustomIntegrationsResponse(rsp *http.Response) (*PostFleetEpmCustomIntegrationsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesResponse{ + response := &PostFleetEpmCustomIntegrationsResponse{ Body: bodyBytes, HTTPResponse: rsp, } + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + UnderscoreMeta struct { + InstallSource string `json:"install_source"` + Name string `json:"name"` + } `json:"_meta"` + Items []PostFleetEpmCustomIntegrations_200_Items_Item `json:"items"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + return response, nil } -// ParsePostFleetEpmPackagesBulkResponse parses an HTTP response from a PostFleetEpmPackagesBulkWithResponse call -func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkResponse, error) { +// ParsePutFleetEpmCustomIntegrationsPkgnameResponse parses an HTTP response from a PutFleetEpmCustomIntegrationsPkgnameWithResponse call +func ParsePutFleetEpmCustomIntegrationsPkgnameResponse(rsp *http.Response) (*PutFleetEpmCustomIntegrationsPkgnameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkResponse{ + response := &PutFleetEpmCustomIntegrationsPkgnameResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Items []PostFleetEpmPackagesBulk_200_Items_Item `json:"items"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest struct { Attributes interface{} `json:"attributes"` @@ -152002,15 +134800,15 @@ func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPac return response, nil } -// ParsePostFleetEpmPackagesBulkRollbackResponse parses an HTTP response from a PostFleetEpmPackagesBulkRollbackWithResponse call -func ParsePostFleetEpmPackagesBulkRollbackResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkRollbackResponse, error) { +// ParseGetFleetEpmDataStreamsResponse parses an HTTP response from a GetFleetEpmDataStreamsWithResponse call +func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataStreamsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkRollbackResponse{ + response := &GetFleetEpmDataStreamsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152018,7 +134816,9 @@ func ParsePostFleetEpmPackagesBulkRollbackResponse(rsp *http.Response) (*PostFle switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - TaskId string `json:"taskId"` + Items []struct { + Name string `json:"name"` + } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152043,15 +134843,15 @@ func ParsePostFleetEpmPackagesBulkRollbackResponse(rsp *http.Response) (*PostFle return response, nil } -// ParseGetFleetEpmPackagesBulkRollbackTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkRollbackTaskidWithResponse call -func ParseGetFleetEpmPackagesBulkRollbackTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkRollbackTaskidResponse, error) { +// ParseGetFleetEpmPackagesResponse parses an HTTP response from a GetFleetEpmPackagesWithResponse call +func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesBulkRollbackTaskidResponse{ + response := &GetFleetEpmPackagesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152059,17 +134859,7 @@ func ParseGetFleetEpmPackagesBulkRollbackTaskidResponse(rsp *http.Response) (*Ge switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Results *[]struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Name string `json:"name"` - Success bool `json:"success"` - } `json:"results,omitempty"` - Status string `json:"status"` + Items []PackageListItem `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152094,15 +134884,31 @@ func ParseGetFleetEpmPackagesBulkRollbackTaskidResponse(rsp *http.Response) (*Ge return response, nil } -// ParsePostFleetEpmPackagesBulkUninstallResponse parses an HTTP response from a PostFleetEpmPackagesBulkUninstallWithResponse call -func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUninstallResponse, error) { +// ParsePostFleetEpmPackagesResponse parses an HTTP response from a PostFleetEpmPackagesWithResponse call +func ParsePostFleetEpmPackagesResponse(rsp *http.Response) (*PostFleetEpmPackagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkUninstallResponse{ + response := &PostFleetEpmPackagesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostFleetEpmPackagesBulkResponse parses an HTTP response from a PostFleetEpmPackagesBulkWithResponse call +func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetEpmPackagesBulkResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152110,7 +134916,7 @@ func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFl switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - TaskId string `json:"taskId"` + Items []PostFleetEpmPackagesBulk_200_Items_Item `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152135,15 +134941,15 @@ func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFl return response, nil } -// ParseGetFleetEpmPackagesBulkUninstallTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUninstallTaskidWithResponse call -func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUninstallTaskidResponse, error) { +// ParsePostFleetEpmPackagesBulkUninstallResponse parses an HTTP response from a PostFleetEpmPackagesBulkUninstallWithResponse call +func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUninstallResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesBulkUninstallTaskidResponse{ + response := &PostFleetEpmPackagesBulkUninstallResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152151,17 +134957,7 @@ func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*G switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Results *[]struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Name string `json:"name"` - Success bool `json:"success"` - } `json:"results,omitempty"` - Status string `json:"status"` + TaskId string `json:"taskId"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152186,15 +134982,15 @@ func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*G return response, nil } -// ParsePostFleetEpmPackagesBulkUpgradeResponse parses an HTTP response from a PostFleetEpmPackagesBulkUpgradeWithResponse call -func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUpgradeResponse, error) { +// ParseGetFleetEpmPackagesBulkUninstallTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUninstallTaskidWithResponse call +func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUninstallTaskidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkUpgradeResponse{ + response := &GetFleetEpmPackagesBulkUninstallTaskidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152202,7 +134998,17 @@ func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFlee switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - TaskId string `json:"taskId"` + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Results *[]struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Name string `json:"name"` + Success bool `json:"success"` + } `json:"results,omitempty"` + Status string `json:"status"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152227,15 +135033,15 @@ func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFlee return response, nil } -// ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUpgradeTaskidWithResponse call -func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUpgradeTaskidResponse, error) { +// ParsePostFleetEpmPackagesBulkUpgradeResponse parses an HTTP response from a PostFleetEpmPackagesBulkUpgradeWithResponse call +func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUpgradeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesBulkUpgradeTaskidResponse{ + response := &PostFleetEpmPackagesBulkUpgradeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152243,17 +135049,7 @@ func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*Get switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Results *[]struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Name string `json:"name"` - Success bool `json:"success"` - } `json:"results,omitempty"` - Status string `json:"status"` + TaskId string `json:"taskId"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152278,15 +135074,15 @@ func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*Get return response, nil } -// ParseGetFleetEpmPackagesInstalledResponse parses an HTTP response from a GetFleetEpmPackagesInstalledWithResponse call -func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpmPackagesInstalledResponse, error) { +// ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUpgradeTaskidWithResponse call +func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUpgradeTaskidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesInstalledResponse{ + response := &GetFleetEpmPackagesBulkUpgradeTaskidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152294,27 +135090,17 @@ func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpm switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []struct { - DataStreams []struct { - Name string `json:"name"` - Title string `json:"title"` - } `json:"dataStreams"` - Description *string `json:"description,omitempty"` - Icons *[]struct { - DarkMode *bool `json:"dark_mode,omitempty"` - Path *string `json:"path,omitempty"` - Size *string `json:"size,omitempty"` - Src string `json:"src"` - Title *string `json:"title,omitempty"` - Type *string `json:"type,omitempty"` - } `json:"icons,omitempty"` - Name string `json:"name"` - Status string `json:"status"` - Title *string `json:"title,omitempty"` - Version string `json:"version"` - } `json:"items"` - SearchAfter *[]GetFleetEpmPackagesInstalled_200_SearchAfter_Item `json:"searchAfter,omitempty"` - Total float32 `json:"total"` + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Results *[]struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Name string `json:"name"` + Success bool `json:"success"` + } `json:"results,omitempty"` + Status string `json:"status"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152339,15 +135125,15 @@ func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpm return response, nil } -// ParseGetFleetEpmPackagesLimitedResponse parses an HTTP response from a GetFleetEpmPackagesLimitedWithResponse call -func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPackagesLimitedResponse, error) { +// ParseGetFleetEpmPackagesInstalledResponse parses an HTTP response from a GetFleetEpmPackagesInstalledWithResponse call +func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpmPackagesInstalledResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesLimitedResponse{ + response := &GetFleetEpmPackagesInstalledResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152355,7 +135141,27 @@ func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPa switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []string `json:"items"` + Items []struct { + DataStreams []struct { + Name string `json:"name"` + Title string `json:"title"` + } `json:"dataStreams"` + Description *string `json:"description,omitempty"` + Icons *[]struct { + DarkMode *bool `json:"dark_mode,omitempty"` + Path *string `json:"path,omitempty"` + Size *string `json:"size,omitempty"` + Src string `json:"src"` + Title *string `json:"title,omitempty"` + Type *string `json:"type,omitempty"` + } `json:"icons,omitempty"` + Name string `json:"name"` + Status string `json:"status"` + Title *string `json:"title,omitempty"` + Version string `json:"version"` + } `json:"items"` + SearchAfter *[]GetFleetEpmPackagesInstalled_200_SearchAfter_Item `json:"searchAfter,omitempty"` + Total float32 `json:"total"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152380,15 +135186,15 @@ func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPa return response, nil } -// ParsePostFleetEpmPackagesPkgnameRollbackResponse parses an HTTP response from a PostFleetEpmPackagesPkgnameRollbackWithResponse call -func ParsePostFleetEpmPackagesPkgnameRollbackResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnameRollbackResponse, error) { +// ParseGetFleetEpmPackagesLimitedResponse parses an HTTP response from a GetFleetEpmPackagesLimitedWithResponse call +func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPackagesLimitedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesPkgnameRollbackResponse{ + response := &GetFleetEpmPackagesLimitedResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -152396,8 +135202,7 @@ func ParsePostFleetEpmPackagesPkgnameRollbackResponse(rsp *http.Response) (*Post switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Success bool `json:"success"` - Version string `json:"version"` + Items []string `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -152760,47 +135565,6 @@ func ParsePostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse(rsp *http.Re return response, nil } -// ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse parses an HTTP response from a PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithResponse call -func ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Success bool `json:"success"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - - return response, nil -} - // ParsePostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse parses an HTTP response from a PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithResponse call func ParsePostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -153804,25 +136568,18 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesBulkGet_200_Items_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -153843,7 +136600,6 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -153854,31 +136610,22 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -153945,7 +136692,6 @@ func ParsePostFleetPackagePoliciesDeleteResponse(rsp *http.Response) (*PostFleet Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -154494,10 +137240,6 @@ func ParseGetFleetRemoteSyncedIntegrationsStatusResponse(rsp *http.Response) (*G PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` - Warning *struct { - Message *string `json:"message,omitempty"` - Title string `json:"title"` - } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -154568,10 +137310,6 @@ func ParseGetFleetRemoteSyncedIntegrationsOutputidRemoteStatusResponse(rsp *http PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsOutputidRemoteStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` - Warning *struct { - Message *string `json:"message,omitempty"` - Title string `json:"title"` - } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -154677,8 +137415,7 @@ func ParseGetFleetSettingsResponse(rsp *http.Response) (*GetFleetSettingsRespons case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { Item struct { - ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` - DeleteUnenrolledAgents *struct { + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -154742,8 +137479,7 @@ func ParsePutFleetSettingsResponse(rsp *http.Response) (*PutFleetSettingsRespons case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { Item struct { - ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` - DeleteUnenrolledAgents *struct { + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -156229,100 +138965,6 @@ func ParseGetLogstashPipelinesResponse(rsp *http.Response) (*GetLogstashPipeline return response, nil } -// ParseGetMaintenanceWindowFindResponse parses an HTTP response from a GetMaintenanceWindowFindWithResponse call -func ParseGetMaintenanceWindowFindResponse(rsp *http.Response) (*GetMaintenanceWindowFindResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetMaintenanceWindowFindResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - MaintenanceWindows []struct { - // CreatedAt The date and time when the maintenance window was created. - CreatedAt string `json:"created_at"` - - // CreatedBy The identifier for the user that created the maintenance window. - CreatedBy *string `json:"created_by"` - - // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - Enabled bool `json:"enabled"` - - // Id The identifier for the maintenance window. - Id string `json:"id"` - Schedule struct { - Custom struct { - // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. - Duration string `json:"duration"` - Recurring *struct { - // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. - End *string `json:"end,omitempty"` - - // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. - Every *string `json:"every,omitempty"` - - // Occurrences The total number of recurrences of the schedule. - Occurrences *float32 `json:"occurrences,omitempty"` - - // OnMonth The specific months for a recurring schedule. Valid values are 1-12. - OnMonth *[]float32 `json:"onMonth,omitempty"` - - // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. - OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` - - // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - OnWeekDay *[]string `json:"onWeekDay,omitempty"` - } `json:"recurring,omitempty"` - - // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. - Start string `json:"start"` - - // Timezone The timezone of the schedule. The default timezone is UTC. - Timezone *string `json:"timezone,omitempty"` - } `json:"custom"` - } `json:"schedule"` - Scope *struct { - Alerting struct { - Query struct { - // Kql A filter written in Kibana Query Language (KQL). - Kql string `json:"kql"` - } `json:"query"` - } `json:"alerting"` - } `json:"scope,omitempty"` - - // Status The current status of the maintenance window. - Status GetMaintenanceWindowFind200MaintenanceWindowsStatus `json:"status"` - - // Title The name of the maintenance window. - Title string `json:"title"` - - // UpdatedAt The date and time when the maintenance window was last updated. - UpdatedAt string `json:"updated_at"` - - // UpdatedBy The identifier for the user that last updated this maintenance window. - UpdatedBy *string `json:"updated_by"` - } `json:"maintenanceWindows"` - Page float32 `json:"page"` - PerPage float32 `json:"per_page"` - Total float32 `json:"total"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - // ParsePostMaintenanceWindowIdArchiveResponse parses an HTTP response from a PostMaintenanceWindowIdArchiveWithResponse call func ParsePostMaintenanceWindowIdArchiveResponse(rsp *http.Response) (*PostMaintenanceWindowIdArchiveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -158377,9 +141019,6 @@ func ParseReadKnowledgeBaseResponse(rsp *http.Response) (*ReadKnowledgeBaseRespo switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - // DefendInsightsExists Indicates if Defend Insights documentation exists in the KnowledgeBase. - DefendInsightsExists *bool `json:"defend_insights_exists,omitempty"` - // ElserExists Indicates if the ELSER model exists for the KnowledgeBase. ElserExists *bool `json:"elser_exists,omitempty"` @@ -159269,15 +141908,15 @@ func ParseGetStreamsNameSignificantEventsResponse(rsp *http.Response) (*GetStrea return response, nil } -// ParsePostStreamsNameSignificantEventsGenerateResponse parses an HTTP response from a PostStreamsNameSignificantEventsGenerateWithResponse call -func ParsePostStreamsNameSignificantEventsGenerateResponse(rsp *http.Response) (*PostStreamsNameSignificantEventsGenerateResponse, error) { +// ParseGetStreamsNameSignificantEventsGenerateResponse parses an HTTP response from a GetStreamsNameSignificantEventsGenerateWithResponse call +func ParseGetStreamsNameSignificantEventsGenerateResponse(rsp *http.Response) (*GetStreamsNameSignificantEventsGenerateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostStreamsNameSignificantEventsGenerateResponse{ + response := &GetStreamsNameSignificantEventsGenerateResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -159940,26 +142579,6 @@ func ParseGetDraftTimelinesResponse(rsp *http.Response) (*GetDraftTimelinesRespo } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: - var dest struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON409 = &dest - } return response, nil @@ -159986,26 +142605,6 @@ func ParseCleanDraftTimelinesResponse(rsp *http.Response) (*CleanDraftTimelinesR } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: - var dest struct { - Message *string `json:"message,omitempty"` - StatusCode *float32 `json:"status_code,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON409 = &dest - } return response, nil @@ -160048,16 +142647,6 @@ func ParsePersistFavoriteRouteResponse(rsp *http.Response) (*PersistFavoriteRout } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest struct { - Body *string `json:"body,omitempty"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest - } return response, nil @@ -160143,16 +142732,6 @@ func ParseInstallPrepackedTimelinesResponse(rsp *http.Response) (*InstallPrepack } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest struct { - Body *string `json:"body,omitempty"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -160224,17 +142803,6 @@ func ParseGetTimelinesResponse(rsp *http.Response) (*GetTimelinesResponse, error } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Body The error message - Body *string `json:"body,omitempty"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - } return response, nil From d252060475d71d3d790e93191f06dc4bbaa0cdf0 Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 12:22:33 -0700 Subject: [PATCH 2/9] Update client --- generated/kbapi/kibana.gen.go | 21176 +++++++++++++++++++++++++++++--- 1 file changed, 19304 insertions(+), 1872 deletions(-) diff --git a/generated/kbapi/kibana.gen.go b/generated/kbapi/kibana.gen.go index 6614f9b5e..0b007f2ab 100644 --- a/generated/kbapi/kibana.gen.go +++ b/generated/kbapi/kibana.gen.go @@ -516,6 +516,22 @@ const ( SecurityAIAssistantAPIIndexEntryUpdateFieldsTypeIndex SecurityAIAssistantAPIIndexEntryUpdateFieldsType = "index" ) +// Defines values for SecurityAIAssistantAPIInputTextInterruptResumeValueType. +const ( + SecurityAIAssistantAPIInputTextInterruptResumeValueTypeINPUTTEXT SecurityAIAssistantAPIInputTextInterruptResumeValueType = "INPUT_TEXT" +) + +// Defines values for SecurityAIAssistantAPIInputTextInterruptValueType. +const ( + SecurityAIAssistantAPIInputTextInterruptValueTypeINPUTTEXT SecurityAIAssistantAPIInputTextInterruptValueType = "INPUT_TEXT" +) + +// Defines values for SecurityAIAssistantAPIInterruptType. +const ( + SecurityAIAssistantAPIInterruptTypeINPUTTEXT SecurityAIAssistantAPIInterruptType = "INPUT_TEXT" + SecurityAIAssistantAPIInterruptTypeSELECTOPTION SecurityAIAssistantAPIInterruptType = "SELECT_OPTION" +) + // Defines values for SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason. const ( KNOWLEDGEBASEENTRYNOTMODIFIED SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason = "KNOWLEDGE_BASE_ENTRY_NOT_MODIFIED" @@ -573,18 +589,89 @@ const ( SecurityAlertsPage SecurityAIAssistantAPISecurityAlertsPageContentReferenceType = "SecurityAlertsPage" ) +// Defines values for SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor. +const ( + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorAccent SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "accent" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorAccentSecondary SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "accentSecondary" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorDanger SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "danger" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorNeutral SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "neutral" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorPrimary SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "primary" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorRisk SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "risk" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorSuccess SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "success" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorText SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "text" + SecurityAIAssistantAPISelectOptionInterruptOptionButtonColorWarning SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor = "warning" +) + +// Defines values for SecurityAIAssistantAPISelectOptionInterruptResumeValueType. +const ( + SecurityAIAssistantAPISelectOptionInterruptResumeValueTypeSELECTOPTION SecurityAIAssistantAPISelectOptionInterruptResumeValueType = "SELECT_OPTION" +) + +// Defines values for SecurityAIAssistantAPISelectOptionInterruptValueType. +const ( + SELECTOPTION SecurityAIAssistantAPISelectOptionInterruptValueType = "SELECT_OPTION" +) + // Defines values for SecurityAIAssistantAPISortOrder. const ( SecurityAIAssistantAPISortOrderAsc SecurityAIAssistantAPISortOrder = "asc" SecurityAIAssistantAPISortOrderDesc SecurityAIAssistantAPISortOrder = "desc" ) -// Defines values for SecurityDetectionsAPIAlertStatus. +// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen. +const ( + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhenOnActionGroupChange SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen = "onActionGroupChange" + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhenOnActiveAlert SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen = "onActiveAlert" + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhenOnThrottleInterval SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen = "onThrottleInterval" +) + +// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus. +const ( + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusActive SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "active" + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusError SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "error" + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusOk SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "ok" + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusUnknown SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "unknown" + SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatusWarning SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus = "warning" +) + +// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField. const ( - SecurityDetectionsAPIAlertStatusAcknowledged SecurityDetectionsAPIAlertStatus = "acknowledged" - SecurityDetectionsAPIAlertStatusClosed SecurityDetectionsAPIAlertStatus = "closed" - SecurityDetectionsAPIAlertStatusInProgress SecurityDetectionsAPIAlertStatus = "in-progress" - SecurityDetectionsAPIAlertStatusOpen SecurityDetectionsAPIAlertStatus = "open" + SecurityAttackDiscoveryAPIAttackDiscoveryFindSortFieldTimestamp SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField = "@timestamp" +) + +// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus. +const ( + SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusCanceled SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "canceled" + SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusDismissed SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "dismissed" + SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusFailed SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "failed" + SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusStarted SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "started" + SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatusSucceeded SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus = "succeeded" +) + +// Defines values for SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction. +const ( + InvokeAI SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction = "invokeAI" + InvokeStream SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction = "invokeStream" +) + +// Defines values for SecurityAttackDiscoveryAPIProvider. +const ( + SecurityAttackDiscoveryAPIProviderAzureOpenAI SecurityAttackDiscoveryAPIProvider = "Azure OpenAI" + SecurityAttackDiscoveryAPIProviderOpenAI SecurityAttackDiscoveryAPIProvider = "OpenAI" + SecurityAttackDiscoveryAPIProviderOther SecurityAttackDiscoveryAPIProvider = "Other" +) + +// Defines values for SecurityAttackDiscoveryAPISortOrder. +const ( + SecurityAttackDiscoveryAPISortOrderAsc SecurityAttackDiscoveryAPISortOrder = "asc" + SecurityAttackDiscoveryAPISortOrderDesc SecurityAttackDiscoveryAPISortOrder = "desc" +) + +// Defines values for SecurityDetectionsAPIAlertStatusExceptClosed. +const ( + SecurityDetectionsAPIAlertStatusExceptClosedAcknowledged SecurityDetectionsAPIAlertStatusExceptClosed = "acknowledged" + SecurityDetectionsAPIAlertStatusExceptClosedInProgress SecurityDetectionsAPIAlertStatusExceptClosed = "in-progress" + SecurityDetectionsAPIAlertStatusExceptClosedOpen SecurityDetectionsAPIAlertStatusExceptClosed = "open" ) // Defines values for SecurityDetectionsAPIAlertSuppressionDurationUnit. @@ -678,7 +765,7 @@ const ( // Defines values for SecurityDetectionsAPIBulkDuplicateRulesAction. const ( - Duplicate SecurityDetectionsAPIBulkDuplicateRulesAction = "duplicate" + SecurityDetectionsAPIBulkDuplicateRulesActionDuplicate SecurityDetectionsAPIBulkDuplicateRulesAction = "duplicate" ) // Defines values for SecurityDetectionsAPIBulkEditRulesAction. @@ -716,6 +803,22 @@ const ( Run SecurityDetectionsAPIBulkManualRuleRunAction = "run" ) +// Defines values for SecurityDetectionsAPICloseAlertsByIdsStatus. +const ( + SecurityDetectionsAPICloseAlertsByIdsStatusClosed SecurityDetectionsAPICloseAlertsByIdsStatus = "closed" +) + +// Defines values for SecurityDetectionsAPICloseAlertsByQueryConflicts. +const ( + SecurityDetectionsAPICloseAlertsByQueryConflictsAbort SecurityDetectionsAPICloseAlertsByQueryConflicts = "abort" + SecurityDetectionsAPICloseAlertsByQueryConflictsProceed SecurityDetectionsAPICloseAlertsByQueryConflicts = "proceed" +) + +// Defines values for SecurityDetectionsAPICloseAlertsByQueryStatus. +const ( + SecurityDetectionsAPICloseAlertsByQueryStatusClosed SecurityDetectionsAPICloseAlertsByQueryStatus = "closed" +) + // Defines values for SecurityDetectionsAPIDefaultParamsCommand. const ( SecurityDetectionsAPIDefaultParamsCommandIsolate SecurityDetectionsAPIDefaultParamsCommand = "isolate" @@ -1009,6 +1112,16 @@ const ( SecurityDetectionsAPIQueryRuleUpdatePropsTypeQuery SecurityDetectionsAPIQueryRuleUpdatePropsType = "query" ) +// Defines values for SecurityDetectionsAPIReasonEnum. +const ( + SecurityDetectionsAPIReasonEnumAutomatedClosure SecurityDetectionsAPIReasonEnum = "automated_closure" + SecurityDetectionsAPIReasonEnumBenignPositive SecurityDetectionsAPIReasonEnum = "benign_positive" + SecurityDetectionsAPIReasonEnumDuplicate SecurityDetectionsAPIReasonEnum = "duplicate" + SecurityDetectionsAPIReasonEnumFalsePositive SecurityDetectionsAPIReasonEnum = "false_positive" + SecurityDetectionsAPIReasonEnumOther SecurityDetectionsAPIReasonEnum = "other" + SecurityDetectionsAPIReasonEnumTruePositive SecurityDetectionsAPIReasonEnum = "true_positive" +) + // Defines values for SecurityDetectionsAPIRiskScoreMappingOperator. const ( SecurityDetectionsAPIRiskScoreMappingOperatorEquals SecurityDetectionsAPIRiskScoreMappingOperator = "equals" @@ -1095,10 +1208,10 @@ const ( SecurityDetectionsAPISavedQueryRuleUpdatePropsTypeSavedQuery SecurityDetectionsAPISavedQueryRuleUpdatePropsType = "saved_query" ) -// Defines values for SecurityDetectionsAPISetAlertsStatusByQueryConflicts. +// Defines values for SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts. const ( - Abort SecurityDetectionsAPISetAlertsStatusByQueryConflicts = "abort" - Proceed SecurityDetectionsAPISetAlertsStatusByQueryConflicts = "proceed" + SecurityDetectionsAPISetAlertsStatusByQueryBaseConflictsAbort SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts = "abort" + SecurityDetectionsAPISetAlertsStatusByQueryBaseConflictsProceed SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts = "proceed" ) // Defines values for SecurityDetectionsAPISeverity. @@ -1316,21 +1429,23 @@ const ( // Defines values for SecurityEndpointManagementAPICommand. const ( + SecurityEndpointManagementAPICommandCancel SecurityEndpointManagementAPICommand = "cancel" SecurityEndpointManagementAPICommandExecute SecurityEndpointManagementAPICommand = "execute" SecurityEndpointManagementAPICommandGetFile SecurityEndpointManagementAPICommand = "get-file" SecurityEndpointManagementAPICommandIsolate SecurityEndpointManagementAPICommand = "isolate" SecurityEndpointManagementAPICommandKillProcess SecurityEndpointManagementAPICommand = "kill-process" SecurityEndpointManagementAPICommandRunningProcesses SecurityEndpointManagementAPICommand = "running-processes" + SecurityEndpointManagementAPICommandRunscript SecurityEndpointManagementAPICommand = "runscript" SecurityEndpointManagementAPICommandScan SecurityEndpointManagementAPICommand = "scan" SecurityEndpointManagementAPICommandSuspendProcess SecurityEndpointManagementAPICommand = "suspend-process" SecurityEndpointManagementAPICommandUnisolate SecurityEndpointManagementAPICommand = "unisolate" SecurityEndpointManagementAPICommandUpload SecurityEndpointManagementAPICommand = "upload" ) -// Defines values for SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType. +// Defines values for SecurityEndpointManagementAPIResponseActionDetailsOutputsType. const ( - SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsTypeJson SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType = "json" - SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsTypeText SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType = "text" + SecurityEndpointManagementAPIResponseActionDetailsOutputsTypeJson SecurityEndpointManagementAPIResponseActionDetailsOutputsType = "json" + SecurityEndpointManagementAPIResponseActionDetailsOutputsTypeText SecurityEndpointManagementAPIResponseActionDetailsOutputsType = "text" ) // Defines values for SecurityEndpointManagementAPISortDirection. @@ -1378,9 +1493,11 @@ const ( // Defines values for SecurityEntityAnalyticsAPIEngineComponentResource. const ( SecurityEntityAnalyticsAPIEngineComponentResourceComponentTemplate SecurityEntityAnalyticsAPIEngineComponentResource = "component_template" + SecurityEntityAnalyticsAPIEngineComponentResourceDataStream SecurityEntityAnalyticsAPIEngineComponentResource = "data_stream" SecurityEntityAnalyticsAPIEngineComponentResourceEnrichPolicy SecurityEntityAnalyticsAPIEngineComponentResource = "enrich_policy" SecurityEntityAnalyticsAPIEngineComponentResourceEntityDefinition SecurityEntityAnalyticsAPIEngineComponentResource = "entity_definition" SecurityEntityAnalyticsAPIEngineComponentResourceEntityEngine SecurityEntityAnalyticsAPIEngineComponentResource = "entity_engine" + SecurityEntityAnalyticsAPIEngineComponentResourceIlmPolicy SecurityEntityAnalyticsAPIEngineComponentResource = "ilm_policy" SecurityEntityAnalyticsAPIEngineComponentResourceIndex SecurityEntityAnalyticsAPIEngineComponentResource = "index" SecurityEntityAnalyticsAPIEngineComponentResourceIndexTemplate SecurityEntityAnalyticsAPIEngineComponentResource = "index_template" SecurityEntityAnalyticsAPIEngineComponentResourceIngestPipeline SecurityEntityAnalyticsAPIEngineComponentResource = "ingest_pipeline" @@ -1775,7 +1892,7 @@ const ( // Defines values for GenaiOpenaiOtherConfigApiProvider. const ( - Other GenaiOpenaiOtherConfigApiProvider = "Other" + GenaiOpenaiOtherConfigApiProviderOther GenaiOpenaiOtherConfigApiProvider = "Other" ) // Defines values for GenaiOpenaiOtherConfigVerificationMode. @@ -2079,9 +2196,9 @@ const ( // Defines values for PackageListItemInstallationInfoInstallStatus. const ( - PackageListItemInstallationInfoInstallStatusInstallFailed PackageListItemInstallationInfoInstallStatus = "install_failed" - PackageListItemInstallationInfoInstallStatusInstalled PackageListItemInstallationInfoInstallStatus = "installed" - PackageListItemInstallationInfoInstallStatusInstalling PackageListItemInstallationInfoInstallStatus = "installing" + InstallFailed PackageListItemInstallationInfoInstallStatus = "install_failed" + Installed PackageListItemInstallationInfoInstallStatus = "installed" + Installing PackageListItemInstallationInfoInstallStatus = "installing" ) // Defines values for PackageListItemInstallationInfoInstalledEsType. @@ -2819,6 +2936,13 @@ const ( CasesStatusOpen CasesStatus = "open" ) +// Defines values for PostAgentBuilderToolsJSONBodyType. +const ( + PostAgentBuilderToolsJSONBodyTypeEsql PostAgentBuilderToolsJSONBodyType = "esql" + PostAgentBuilderToolsJSONBodyTypeIndexSearch PostAgentBuilderToolsJSONBodyType = "index_search" + PostAgentBuilderToolsJSONBodyTypeWorkflow PostAgentBuilderToolsJSONBodyType = "workflow" +) + // Defines values for PostAlertingRuleIdJSONBodyActionsAlertsFilterQueryFiltersStateStore. const ( PostAlertingRuleIdJSONBodyActionsAlertsFilterQueryFiltersStateStoreAppState PostAlertingRuleIdJSONBodyActionsAlertsFilterQueryFiltersStateStore = "appState" @@ -2876,9 +3000,9 @@ const ( // Defines values for PutAlertingRuleIdJSONBodyNotifyWhen. const ( - OnActionGroupChange PutAlertingRuleIdJSONBodyNotifyWhen = "onActionGroupChange" - OnActiveAlert PutAlertingRuleIdJSONBodyNotifyWhen = "onActiveAlert" - OnThrottleInterval PutAlertingRuleIdJSONBodyNotifyWhen = "onThrottleInterval" + PutAlertingRuleIdJSONBodyNotifyWhenOnActionGroupChange PutAlertingRuleIdJSONBodyNotifyWhen = "onActionGroupChange" + PutAlertingRuleIdJSONBodyNotifyWhenOnActiveAlert PutAlertingRuleIdJSONBodyNotifyWhen = "onActiveAlert" + PutAlertingRuleIdJSONBodyNotifyWhenOnThrottleInterval PutAlertingRuleIdJSONBodyNotifyWhen = "onThrottleInterval" ) // Defines values for GetAlertingRulesFindParamsDefaultSearchOperator. @@ -2975,10 +3099,10 @@ const ( // Defines values for FindAssetCriticalityRecordsParamsSortField. const ( - CriticalityLevel FindAssetCriticalityRecordsParamsSortField = "criticality_level" - IdField FindAssetCriticalityRecordsParamsSortField = "id_field" - IdValue FindAssetCriticalityRecordsParamsSortField = "id_value" - Timestamp FindAssetCriticalityRecordsParamsSortField = "@timestamp" + FindAssetCriticalityRecordsParamsSortFieldCriticalityLevel FindAssetCriticalityRecordsParamsSortField = "criticality_level" + FindAssetCriticalityRecordsParamsSortFieldIdField FindAssetCriticalityRecordsParamsSortField = "id_field" + FindAssetCriticalityRecordsParamsSortFieldIdValue FindAssetCriticalityRecordsParamsSortField = "id_value" + FindAssetCriticalityRecordsParamsSortFieldTimestamp FindAssetCriticalityRecordsParamsSortField = "@timestamp" ) // Defines values for FindAssetCriticalityRecordsParamsSortDirection. @@ -2987,6 +3111,32 @@ const ( FindAssetCriticalityRecordsParamsSortDirectionDesc FindAssetCriticalityRecordsParamsSortDirection = "desc" ) +// Defines values for PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus. +const ( + PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatusAcknowledged PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus = "acknowledged" + PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatusClosed PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus = "closed" + PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatusOpen PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus = "open" +) + +// Defines values for PostAttackDiscoveryBulkJSONBodyUpdateVisibility. +const ( + NotShared PostAttackDiscoveryBulkJSONBodyUpdateVisibility = "not_shared" + Shared PostAttackDiscoveryBulkJSONBodyUpdateVisibility = "shared" +) + +// Defines values for AttackDiscoveryFindParamsStatus. +const ( + AttackDiscoveryFindParamsStatusAcknowledged AttackDiscoveryFindParamsStatus = "acknowledged" + AttackDiscoveryFindParamsStatusClosed AttackDiscoveryFindParamsStatus = "closed" + AttackDiscoveryFindParamsStatusOpen AttackDiscoveryFindParamsStatus = "open" +) + +// Defines values for FindAttackDiscoverySchedulesParamsSortDirection. +const ( + FindAttackDiscoverySchedulesParamsSortDirectionAsc FindAttackDiscoverySchedulesParamsSortDirection = "asc" + FindAttackDiscoverySchedulesParamsSortDirectionDesc FindAttackDiscoverySchedulesParamsSortDirection = "desc" +) + // Defines values for FindCasesDefaultSpaceParamsSeverity. const ( FindCasesDefaultSpaceParamsSeverityCritical FindCasesDefaultSpaceParamsSeverity = "critical" @@ -3087,7 +3237,7 @@ const ( // Defines values for RulePreviewJSONBody7Type. const ( - Esql RulePreviewJSONBody7Type = "esql" + RulePreviewJSONBody7TypeEsql RulePreviewJSONBody7Type = "esql" ) // Defines values for FindEndpointListItemsParamsSortOrder. @@ -3176,6 +3326,12 @@ const ( PostFleetAgentPoliciesAgentpolicyidCopyParamsFormatSimplified PostFleetAgentPoliciesAgentpolicyidCopyParamsFormat = "simplified" ) +// Defines values for PostFleetAgentlessPoliciesParamsFormat. +const ( + PostFleetAgentlessPoliciesParamsFormatLegacy PostFleetAgentlessPoliciesParamsFormat = "legacy" + PostFleetAgentlessPoliciesParamsFormatSimplified PostFleetAgentlessPoliciesParamsFormat = "simplified" +) + // Defines values for GetFleetAgentsParamsSortOrder. const ( GetFleetAgentsParamsSortOrderAsc GetFleetAgentsParamsSortOrder = "asc" @@ -3212,6 +3368,13 @@ const ( PostFleetAgentsAgentidRequestDiagnosticsJSONBodyAdditionalMetricsCPU PostFleetAgentsAgentidRequestDiagnosticsJSONBodyAdditionalMetrics = "CPU" ) +// Defines values for PostFleetCloudConnectorsJSONBodyCloudProvider. +const ( + Aws PostFleetCloudConnectorsJSONBodyCloudProvider = "aws" + Azure PostFleetCloudConnectorsJSONBodyCloudProvider = "azure" + Gcp PostFleetCloudConnectorsJSONBodyCloudProvider = "gcp" +) + // Defines values for PostFleetEpmCustomIntegrationsJSONBodyDatasetsType. const ( PostFleetEpmCustomIntegrationsJSONBodyDatasetsTypeLogs PostFleetEpmCustomIntegrationsJSONBodyDatasetsType = "logs" @@ -3304,8 +3467,8 @@ const ( // Defines values for PutFleetPackagePoliciesPackagepolicyidParamsFormat. const ( - PutFleetPackagePoliciesPackagepolicyidParamsFormatLegacy PutFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy" - PutFleetPackagePoliciesPackagepolicyidParamsFormatSimplified PutFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified" + Legacy PutFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy" + Simplified PutFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified" ) // Defines values for FindListsParamsSortOrder. @@ -3348,6 +3511,21 @@ const ( ImportListItemsParamsRefreshWaitFor ImportListItemsParamsRefresh = "wait_for" ) +// Defines values for GetMaintenanceWindowFindParamsStatus. +const ( + Archived GetMaintenanceWindowFindParamsStatus = "archived" + Finished GetMaintenanceWindowFindParamsStatus = "finished" + Running GetMaintenanceWindowFindParamsStatus = "running" + Upcoming GetMaintenanceWindowFindParamsStatus = "upcoming" +) + +// Defines values for ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes. +const ( + ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypesHost ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes = "host" + ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypesService ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes = "service" + ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypesUser ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes = "user" +) + // Defines values for PostSecurityRoleQueryJSONBodySortDirection. const ( PostSecurityRoleQueryJSONBodySortDirectionAsc PostSecurityRoleQueryJSONBodySortDirection = "asc" @@ -3405,22 +3583,56 @@ const ( // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps03ActionRename PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action = "rename" + PutStreamsNameJSONBody00StreamIngestProcessingSteps03ActionDropDocument PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action = "drop_document" ) // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps04ActionSet PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action = "set" + PutStreamsNameJSONBody00StreamIngestProcessingSteps04ActionRename PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action = "rename" ) // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps05ActionAppend PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action = "append" + PutStreamsNameJSONBody00StreamIngestProcessingSteps05ActionSet PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action = "set" ) // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps06ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action = "manual_ingest_pipeline" + PutStreamsNameJSONBody00StreamIngestProcessingSteps06ActionAppend PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action = "append" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action. +const ( + PutStreamsNameJSONBody00StreamIngestProcessingSteps07ActionRemoveByPrefix PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action = "remove_by_prefix" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action. +const ( + PutStreamsNameJSONBody00StreamIngestProcessingSteps08ActionRemove PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action = "remove" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action. +const ( + PutStreamsNameJSONBody00StreamIngestProcessingSteps09ActionConvert PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action = "convert" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type. +const ( + PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeBoolean PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "boolean" + PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeDouble PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "double" + PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeInteger PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "integer" + PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeLong PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "long" + PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeString PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "string" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action. +const ( + PutStreamsNameJSONBody00StreamIngestProcessingSteps010ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action = "manual_ingest_pipeline" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 = -1 ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action. @@ -3440,22 +3652,56 @@ const ( // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps03ActionRename PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action = "rename" + PutStreamsNameJSONBody01StreamIngestProcessingSteps03ActionDropDocument PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action = "drop_document" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps04ActionSet PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action = "set" + PutStreamsNameJSONBody01StreamIngestProcessingSteps04ActionRename PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action = "rename" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps05ActionAppend PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action = "append" + PutStreamsNameJSONBody01StreamIngestProcessingSteps05ActionSet PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action = "set" ) // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps06ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action = "manual_ingest_pipeline" + PutStreamsNameJSONBody01StreamIngestProcessingSteps06ActionAppend PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action = "append" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action. +const ( + PutStreamsNameJSONBody01StreamIngestProcessingSteps07ActionRemoveByPrefix PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action = "remove_by_prefix" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action. +const ( + PutStreamsNameJSONBody01StreamIngestProcessingSteps08ActionRemove PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action = "remove" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action. +const ( + PutStreamsNameJSONBody01StreamIngestProcessingSteps09ActionConvert PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action = "convert" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type. +const ( + PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeBoolean PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "boolean" + PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeDouble PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "double" + PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeInteger PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "integer" + PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeLong PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "long" + PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeString PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "string" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action. +const ( + PutStreamsNameJSONBody01StreamIngestProcessingSteps010ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action = "manual_ingest_pipeline" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 = -1 ) // Defines values for PostStreamsNameForkJSONBodyStatus. @@ -3481,22 +3727,56 @@ const ( // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03ActionRename PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action = "rename" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03ActionDropDocument PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action = "drop_document" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04ActionSet PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action = "set" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04ActionRename PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action = "rename" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05ActionAppend PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action = "append" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05ActionSet PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action = "set" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action = "manual_ingest_pipeline" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06ActionAppend PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action = "append" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action. +const ( + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07ActionRemoveByPrefix PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action = "remove_by_prefix" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action. +const ( + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08ActionRemove PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action = "remove" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action. +const ( + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09ActionConvert PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action = "convert" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type. +const ( + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeBoolean PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "boolean" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeDouble PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "double" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeInteger PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "integer" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeLong PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "long" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeString PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "string" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action. +const ( + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action = "manual_ingest_pipeline" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 = -1 ) // Defines values for PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus. @@ -3522,22 +3802,56 @@ const ( // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03ActionRename PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action = "rename" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03ActionDropDocument PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action = "drop_document" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04ActionSet PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action = "set" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04ActionRename PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action = "rename" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05ActionAppend PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action = "append" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05ActionSet PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action = "set" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action = "manual_ingest_pipeline" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06ActionAppend PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action = "append" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action. +const ( + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07ActionRemoveByPrefix PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action = "remove_by_prefix" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action. +const ( + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08ActionRemove PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action = "remove" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action. +const ( + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09ActionConvert PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action = "convert" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type. +const ( + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeBoolean PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "boolean" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeDouble PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "double" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeInteger PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "integer" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeLong PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "long" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeString PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "string" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action. +const ( + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action = "manual_ingest_pipeline" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 = -1 ) // Defines values for GetSyntheticMonitorsParamsMonitorTypes0. @@ -3588,10 +3902,10 @@ const ( // Defines values for FindSlosOpParamsSortBy. const ( - ErrorBudgetConsumed FindSlosOpParamsSortBy = "error_budget_consumed" - ErrorBudgetRemaining FindSlosOpParamsSortBy = "error_budget_remaining" - SliValue FindSlosOpParamsSortBy = "sli_value" - Status FindSlosOpParamsSortBy = "status" + FindSlosOpParamsSortByErrorBudgetConsumed FindSlosOpParamsSortBy = "error_budget_consumed" + FindSlosOpParamsSortByErrorBudgetRemaining FindSlosOpParamsSortBy = "error_budget_remaining" + FindSlosOpParamsSortBySliValue FindSlosOpParamsSortBy = "sli_value" + FindSlosOpParamsSortByStatus FindSlosOpParamsSortBy = "status" ) // Defines values for FindSlosOpParamsSortDirection. @@ -5292,7 +5606,7 @@ type DataViews404ResponseError string // DataViews404ResponseStatusCode defines model for DataViews404Response.StatusCode. type DataViews404ResponseStatusCode int -// DataViewsAllownoindex Allows the data view saved object to exist before the data is available. +// DataViewsAllownoindex Allows the data view saved object to exist before the data is available. Defaults to `false`. type DataViewsAllownoindex = bool // DataViewsCreateDataViewRequestObject defines model for Data_views_create_data_view_request_object. @@ -5306,7 +5620,7 @@ type DataViewsCreateDataViewRequestObject struct { // DataViewsCreateDataViewRequestObjectInner The data view object. type DataViewsCreateDataViewRequestObjectInner struct { - // AllowNoIndex Allows the data view saved object to exist before the data is available. + // AllowNoIndex Allows the data view saved object to exist before the data is available. Defaults to `false`. AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"` FieldAttrs *map[string]DataViewsFieldattrs `json:"fieldAttrs,omitempty"` @@ -5346,7 +5660,7 @@ type DataViewsDataViewResponseObject struct { // DataViewsDataViewResponseObjectInner defines model for Data_views_data_view_response_object_inner. type DataViewsDataViewResponseObjectInner struct { - // AllowNoIndex Allows the data view saved object to exist before the data is available. + // AllowNoIndex Allows the data view saved object to exist before the data is available. Defaults to `false`. AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"` FieldAttrs *map[string]DataViewsFieldattrs `json:"fieldAttrs,omitempty"` @@ -5528,7 +5842,7 @@ type DataViewsUpdateDataViewRequestObject struct { // DataViewsUpdateDataViewRequestObjectInner The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted. type DataViewsUpdateDataViewRequestObjectInner struct { - // AllowNoIndex Allows the data view saved object to exist before the data is available. + // AllowNoIndex Allows the data view saved object to exist before the data is available. Defaults to `false`. AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"` // FieldFormats A map of field formats by field name. @@ -5902,6 +6216,15 @@ type SLOs409Response struct { StatusCode float32 `json:"statusCode"` } +// SLOsArtifacts Links to related assets for the SLO +type SLOsArtifacts struct { + // Dashboards Array of dashboard references + Dashboards *[]struct { + // Id Dashboard saved-object id + Id string `json:"id"` + } `json:"dashboards,omitempty"` +} + // SLOsBudgetingMethod The budgeting method to use when computing the rollup data. type SLOsBudgetingMethod string @@ -5984,6 +6307,9 @@ type SLOsBulkPurgeRollupResponse struct { // SLOsCreateSloRequest The create SLO API request body varies depending on the type of indicator, time window and budgeting method. type SLOsCreateSloRequest struct { + // Artifacts Links to related assets for the SLO + Artifacts *SLOsArtifacts `json:"artifacts,omitempty"` + // BudgetingMethod The budgeting method to use when computing the rollup data. BudgetingMethod SLOsBudgetingMethod `json:"budgetingMethod"` @@ -6501,6 +6827,9 @@ type SLOsSettings struct { // SLOsSloDefinitionResponse defines model for SLOs_slo_definition_response. type SLOsSloDefinitionResponse struct { + // Artifacts Links to related assets for the SLO + Artifacts *SLOsArtifacts `json:"artifacts,omitempty"` + // BudgetingMethod The budgeting method to use when computing the rollup data. BudgetingMethod SLOsBudgetingMethod `json:"budgetingMethod"` @@ -6685,6 +7014,9 @@ type SLOsTimesliceMetricPercentileMetricAggregation string // SLOsUpdateSloRequest The update SLO API request body varies depending on the type of indicator, time window and budgeting method. Partial update is handled. type SLOsUpdateSloRequest struct { + // Artifacts Links to related assets for the SLO + Artifacts *SLOsArtifacts `json:"artifacts,omitempty"` + // BudgetingMethod The budgeting method to use when computing the rollup data. BudgetingMethod *SLOsBudgetingMethod `json:"budgetingMethod,omitempty"` @@ -6880,6 +7212,24 @@ type SecurityAIAssistantAPIBaseContentReference struct { Type string `json:"type"` } +// SecurityAIAssistantAPIBaseInterruptResumeValue The basis of an interrupt resume value +type SecurityAIAssistantAPIBaseInterruptResumeValue struct { + // Type The type of interrupt + Type SecurityAIAssistantAPIInterruptType `json:"type"` +} + +// SecurityAIAssistantAPIBaseInterruptValue The basis of an agent interrupt +type SecurityAIAssistantAPIBaseInterruptValue struct { + // Expired Whether the interrupt has expired and can no longer be resumed. + Expired *bool `json:"expired,omitempty"` + + // ThreadId Thread ID of the graph execution that produced this message. + ThreadId string `json:"threadId"` + + // Type The type of interrupt + Type SecurityAIAssistantAPIInterruptType `json:"type"` +} + // SecurityAIAssistantAPIBulkCrudActionSummary defines model for Security_AI_Assistant_API_BulkCrudActionSummary. type SecurityAIAssistantAPIBulkCrudActionSummary struct { // Failed The number of failed actions. @@ -7480,6 +7830,49 @@ type SecurityAIAssistantAPIInputSchema = []struct { FieldType string `json:"fieldType"` } +// SecurityAIAssistantAPIInputTextInterruptResumeValue defines model for Security_AI_Assistant_API_InputTextInterruptResumeValue. +type SecurityAIAssistantAPIInputTextInterruptResumeValue struct { + Type SecurityAIAssistantAPIInputTextInterruptResumeValueType `json:"type"` + + // Value Text value used to resume the graph execution with. + Value string `json:"value"` +} + +// SecurityAIAssistantAPIInputTextInterruptResumeValueType defines model for SecurityAIAssistantAPIInputTextInterruptResumeValue.Type. +type SecurityAIAssistantAPIInputTextInterruptResumeValueType string + +// SecurityAIAssistantAPIInputTextInterruptValue defines model for Security_AI_Assistant_API_InputTextInterruptValue. +type SecurityAIAssistantAPIInputTextInterruptValue struct { + // Description Description of action required + Description *string `json:"description,omitempty"` + + // Expired Whether the interrupt has expired and can no longer be resumed. + Expired *bool `json:"expired,omitempty"` + + // Placeholder Placeholder text for the input field + Placeholder *string `json:"placeholder,omitempty"` + + // ThreadId Thread ID of the graph execution that produced this message. + ThreadId string `json:"threadId"` + Type SecurityAIAssistantAPIInputTextInterruptValueType `json:"type"` +} + +// SecurityAIAssistantAPIInputTextInterruptValueType defines model for SecurityAIAssistantAPIInputTextInterruptValue.Type. +type SecurityAIAssistantAPIInputTextInterruptValueType string + +// SecurityAIAssistantAPIInterruptResumeValue Union of the interrupt resume values +type SecurityAIAssistantAPIInterruptResumeValue struct { + union json.RawMessage +} + +// SecurityAIAssistantAPIInterruptType The type of interrupt +type SecurityAIAssistantAPIInterruptType string + +// SecurityAIAssistantAPIInterruptValue Union of the interrupt values +type SecurityAIAssistantAPIInterruptValue struct { + union json.RawMessage +} + // SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason Reason why a Knowledge Base Entry was skipped during the bulk action. type SecurityAIAssistantAPIKnowledgeBaseEntryBulkActionSkipReason string @@ -7648,6 +8041,12 @@ type SecurityAIAssistantAPIMessageData map[string]interface{} type SecurityAIAssistantAPIMessageMetadata struct { // ContentReferences A union of all content reference types ContentReferences *SecurityAIAssistantAPIContentReferences `json:"contentReferences,omitempty"` + + // InterruptResumeValue Union of the interrupt resume values + InterruptResumeValue *SecurityAIAssistantAPIInterruptResumeValue `json:"interruptResumeValue,omitempty"` + + // InterruptValue Union of the interrupt values + InterruptValue *SecurityAIAssistantAPIInterruptValue `json:"interruptValue,omitempty"` } // SecurityAIAssistantAPIMessageRole Message role. @@ -7935,6 +8334,46 @@ type SecurityAIAssistantAPISecurityAlertsPageContentReference struct { // SecurityAIAssistantAPISecurityAlertsPageContentReferenceType defines model for SecurityAIAssistantAPISecurityAlertsPageContentReference.Type. type SecurityAIAssistantAPISecurityAlertsPageContentReferenceType string +// SecurityAIAssistantAPISelectOptionInterruptOption A request approval option +type SecurityAIAssistantAPISelectOptionInterruptOption struct { + ButtonColor *SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor `json:"buttonColor,omitempty"` + Label string `json:"label"` + Value string `json:"value"` +} + +// SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor defines model for SecurityAIAssistantAPISelectOptionInterruptOption.ButtonColor. +type SecurityAIAssistantAPISelectOptionInterruptOptionButtonColor string + +// SecurityAIAssistantAPISelectOptionInterruptResumeValue defines model for Security_AI_Assistant_API_SelectOptionInterruptResumeValue. +type SecurityAIAssistantAPISelectOptionInterruptResumeValue struct { + Type SecurityAIAssistantAPISelectOptionInterruptResumeValueType `json:"type"` + + // Value The value of the selected option to resume the graph execution with + Value string `json:"value"` +} + +// SecurityAIAssistantAPISelectOptionInterruptResumeValueType defines model for SecurityAIAssistantAPISelectOptionInterruptResumeValue.Type. +type SecurityAIAssistantAPISelectOptionInterruptResumeValueType string + +// SecurityAIAssistantAPISelectOptionInterruptValue defines model for Security_AI_Assistant_API_SelectOptionInterruptValue. +type SecurityAIAssistantAPISelectOptionInterruptValue struct { + // Description Description of action required + Description string `json:"description"` + + // Expired Whether the interrupt has expired and can no longer be resumed. + Expired *bool `json:"expired,omitempty"` + + // Options List of actions to choose from + Options []SecurityAIAssistantAPISelectOptionInterruptOption `json:"options"` + + // ThreadId Thread ID of the graph execution that produced this message. + ThreadId string `json:"threadId"` + Type SecurityAIAssistantAPISelectOptionInterruptValueType `json:"type"` +} + +// SecurityAIAssistantAPISelectOptionInterruptValueType defines model for SecurityAIAssistantAPISelectOptionInterruptValue.Type. +type SecurityAIAssistantAPISelectOptionInterruptValueType string + // SecurityAIAssistantAPISortOrder The order in which results are sorted. type SecurityAIAssistantAPISortOrder string @@ -7965,6 +8404,474 @@ type SecurityAIAssistantAPIVector struct { Tokens map[string]float32 `json:"tokens"` } +// SecurityAttackDiscoveryAPIAnonymizationFieldResponse defines model for Security_Attack_discovery_API_AnonymizationFieldResponse. +type SecurityAttackDiscoveryAPIAnonymizationFieldResponse struct { + // Allowed Whether this field is allowed to be sent to the model. + Allowed *bool `json:"allowed,omitempty"` + + // Anonymized Whether this field should be anonymized. + Anonymized *bool `json:"anonymized,omitempty"` + + // CreatedAt Timestamp of when the anonymization field was created. + CreatedAt *string `json:"createdAt,omitempty"` + + // CreatedBy Username of the person who created the anonymization field. + CreatedBy *string `json:"createdBy,omitempty"` + + // Field Name of the anonymization field. + Field string `json:"field"` + + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + + // Namespace Kibana space in which this anonymization field exists. + Namespace *string `json:"namespace,omitempty"` + + // Timestamp A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters. + Timestamp *SecurityAttackDiscoveryAPINonEmptyTimestamp `json:"timestamp,omitempty"` + + // UpdatedAt Timestamp of the last update. + UpdatedAt *string `json:"updatedAt,omitempty"` + + // UpdatedBy Username of the person who last updated the field. + UpdatedBy *string `json:"updatedBy,omitempty"` +} + +// SecurityAttackDiscoveryAPIApiConfig defines model for Security_Attack_discovery_API_ApiConfig. +type SecurityAttackDiscoveryAPIApiConfig struct { + // ActionTypeId Action type ID + ActionTypeId string `json:"actionTypeId"` + + // ConnectorId Connector ID + ConnectorId string `json:"connectorId"` + + // DefaultSystemPromptId Default system prompt ID + DefaultSystemPromptId *string `json:"defaultSystemPromptId,omitempty"` + + // Model Model + Model *string `json:"model,omitempty"` + + // Provider Provider + Provider *SecurityAttackDiscoveryAPIProvider `json:"provider,omitempty"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert An attack discovery that's also an alert (Public API with snake_case) +type SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert struct { + // AlertIds The alert IDs that the attack discovery is based on + AlertIds []string `json:"alert_ids"` + + // AlertRuleUuid The optional kibana.alert.rule.uuid of the rule that generated this attack discovery (not applicable to ad hock runs) + AlertRuleUuid *string `json:"alert_rule_uuid,omitempty"` + + // AlertStart The optional time the attack discovery alert was created + AlertStart *string `json:"alert_start,omitempty"` + + // AlertUpdatedAt The optional time the attack discovery alert was last updated + AlertUpdatedAt *string `json:"alert_updated_at,omitempty"` + + // AlertUpdatedByUserId The optional id of the user who last updated the attack discovery alert + AlertUpdatedByUserId *string `json:"alert_updated_by_user_id,omitempty"` + + // AlertUpdatedByUserName The optional username of the user who updated the attack discovery alert + AlertUpdatedByUserName *string `json:"alert_updated_by_user_name,omitempty"` + + // AlertWorkflowStatus The optional kibana.alert.workflow_status of this attack discovery + AlertWorkflowStatus *string `json:"alert_workflow_status,omitempty"` + + // AlertWorkflowStatusUpdatedAt The optional time the attack discovery alert workflow status was last updated + AlertWorkflowStatusUpdatedAt *string `json:"alert_workflow_status_updated_at,omitempty"` + + // ConnectorId The ID of the connector that generated the attack discovery + ConnectorId string `json:"connector_id"` + + // ConnectorName The (human readable) name of the connector that generated the attack discovery + ConnectorName string `json:"connector_name"` + + // DetailsMarkdown Details of the attack with bulleted markdown that always uses special syntax for field names and values from the source data. + DetailsMarkdown string `json:"details_markdown"` + + // EntitySummaryMarkdown An optional, short (no more than a sentence) summary of the attack discovery featuring only the host.name and user.name fields (when they are applicable), using the same syntax + EntitySummaryMarkdown *string `json:"entity_summary_markdown,omitempty"` + + // GenerationUuid The generation ID of the run that created the attack discovery + GenerationUuid string `json:"generation_uuid"` + + // Id The unique ID of the attack discovery + Id string `json:"id"` + + // MitreAttackTactics An optional array of MITRE ATT&CK tactic for the attack discovery + MitreAttackTactics *[]string `json:"mitre_attack_tactics,omitempty"` + + // Replacements Replacements object used to anonymize/deanonymize messages + Replacements *SecurityAttackDiscoveryAPIReplacements `json:"replacements,omitempty"` + + // RiskScore The optional, (but typically populated after generation) risk score of the alert + RiskScore *int `json:"risk_score,omitempty"` + + // SummaryMarkdown A markdown summary of attack discovery, using the same syntax + SummaryMarkdown string `json:"summary_markdown"` + + // Timestamp A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters. + Timestamp SecurityAttackDiscoveryAPINonEmptyTimestamp `json:"timestamp"` + + // Title A title for the attack discovery, in plain text + Title string `json:"title"` + + // UserId The optional id of the user who generated the attack discovery + UserId *string `json:"user_id,omitempty"` + + // UserName The optional username of the user who generated the attack discovery, (not applicable to attack discoveries generated by rules) + UserName *string `json:"user_name,omitempty"` + + // Users The optional array of users who may view the attack discovery. When empty, (or not present), all users may view the attack discovery. + Users *[]SecurityAttackDiscoveryAPIUser `json:"users,omitempty"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule An attack discovery schedule +type SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule struct { + // Actions The attack discovery schedule actions + Actions []SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction `json:"actions"` + + // CreatedAt The date the schedule was created + CreatedAt time.Time `json:"created_at"` + + // CreatedBy The name of the user that created the schedule + CreatedBy string `json:"created_by"` + + // Enabled Indicates whether the schedule is enabled + Enabled bool `json:"enabled"` + + // Id UUID of attack discovery schedule + Id string `json:"id"` + + // LastExecution An attack discovery schedule execution information + LastExecution *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecution `json:"last_execution,omitempty"` + + // Name The name of the schedule + Name string `json:"name"` + + // Params An attack discovery schedule params + Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams `json:"params"` + Schedule SecurityAttackDiscoveryAPIIntervalApiSchedule `json:"schedule"` + + // UpdatedAt The date the schedule was updated + UpdatedAt time.Time `json:"updated_at"` + + // UpdatedBy The name of the user that updated the schedule + UpdatedBy string `json:"updated_by"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleAction. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction struct { + union json.RawMessage +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionAlertsFilter defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleActionAlertsFilter. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionAlertsFilter map[string]interface{} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionFrequency The action frequency defines when the action runs (for example, only on schedule execution or at specific time intervals). +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionFrequency struct { + // NotifyWhen The condition for throttling the notification: `onActionGroupChange`, `onActiveAlert`, or `onThrottleInterval` + NotifyWhen SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen `json:"notify_when"` + + // Summary Action summary indicates whether we will send a summary notification about all the generate alerts or notification per individual alert + Summary bool `json:"summary"` + + // Throttle Defines how often schedule actions are taken. Time interval in seconds, minutes, hours, or days. + Throttle SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionThrottle `json:"throttle"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionGroup Groups actions by use cases. Use `default` for alert notifications. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionGroup = string + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId The connector ID. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId = string + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen The condition for throttling the notification: `onActionGroupChange`, `onActiveAlert`, or `onThrottleInterval` +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionNotifyWhen string + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams Object containing the allowed connector fields, which varies according to the connector type. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams map[string]interface{} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionThrottle Defines how often schedule actions are taken. Time interval in seconds, minutes, hours, or days. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionThrottle = string + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps An attack discovery schedule create properties +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps struct { + // Actions The attack discovery schedule actions + Actions *[]SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction `json:"actions,omitempty"` + + // Enabled Indicates whether the schedule is enabled + Enabled *bool `json:"enabled,omitempty"` + + // Name The name of the schedule + Name string `json:"name"` + + // Params An attack discovery schedule params + Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams `json:"params"` + Schedule SecurityAttackDiscoveryAPIIntervalApiSchedule `json:"schedule"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecution An attack discovery schedule execution information +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecution struct { + // Date Date of the execution + Date time.Time `json:"date"` + + // Duration Duration of the execution + Duration *float32 `json:"duration,omitempty"` + Message *string `json:"message,omitempty"` + + // Status An attack discovery schedule execution status + Status SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus `json:"status"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus An attack discovery schedule execution status +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleExecutionStatus string + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleGeneralAction. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction struct { + // ActionTypeId The action type used for sending notifications. + ActionTypeId string `json:"action_type_id"` + AlertsFilter *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionAlertsFilter `json:"alerts_filter,omitempty"` + + // Frequency The action frequency defines when the action runs (for example, only on schedule execution or at specific time intervals). + Frequency *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionFrequency `json:"frequency,omitempty"` + + // Group Groups actions by use cases. Use `default` for alert notifications. + Group SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionGroup `json:"group"` + + // Id The connector ID. + Id SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId `json:"id"` + + // Params Object containing the allowed connector fields, which varies according to the connector type. + Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams `json:"params"` + + // Uuid A string that does not contain only whitespace characters. + Uuid *SecurityAttackDiscoveryAPINonEmptyString `json:"uuid,omitempty"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams An attack discovery schedule params +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams struct { + // AlertsIndexPattern The index pattern to get alerts from + AlertsIndexPattern string `json:"alerts_index_pattern"` + + // ApiConfig LLM API configuration. + ApiConfig struct { + // ActionTypeId Action type ID + ActionTypeId string `json:"actionTypeId"` + + // ConnectorId Connector ID + ConnectorId string `json:"connectorId"` + + // DefaultSystemPromptId Default system prompt ID + DefaultSystemPromptId *string `json:"defaultSystemPromptId,omitempty"` + + // Model Model + Model *string `json:"model,omitempty"` + + // Name The name of the connector + Name string `json:"name"` + + // Provider Provider + Provider *SecurityAttackDiscoveryAPIProvider `json:"provider,omitempty"` + } `json:"api_config"` + CombinedFilter *map[string]interface{} `json:"combined_filter,omitempty"` + End *string `json:"end,omitempty"` + + // Filters The filter array used to define the conditions for when alerts are selected as an attack discovery context. Defaults to an empty array. + Filters *SecurityAttackDiscoveryAPIFilters `json:"filters,omitempty"` + + // Query An query condition to filter alerts + Query *SecurityAttackDiscoveryAPIQuery `json:"query,omitempty"` + Size float32 `json:"size"` + Start *string `json:"start,omitempty"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction defines model for Security_Attack_discovery_API_AttackDiscoveryApiScheduleSystemAction. +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction struct { + // ActionTypeId The action type used for sending notifications. + ActionTypeId string `json:"action_type_id"` + + // Id The connector ID. + Id SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionId `json:"id"` + + // Params Object containing the allowed connector fields, which varies according to the connector type. + Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleActionParams `json:"params"` + + // Uuid A string that does not contain only whitespace characters. + Uuid *SecurityAttackDiscoveryAPINonEmptyString `json:"uuid,omitempty"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps An attack discovery schedule update properties +type SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps struct { + // Actions The attack discovery schedule actions + Actions []SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction `json:"actions"` + + // Name The name of the schedule + Name string `json:"name"` + + // Params An attack discovery schedule params + Params SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleParams `json:"params"` + Schedule SecurityAttackDiscoveryAPIIntervalApiSchedule `json:"schedule"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField Allowed field names to sort Attack discovery results by. Clients should only pass one of the listed values. +type SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField string + +// SecurityAttackDiscoveryAPIAttackDiscoveryGeneration defines model for Security_Attack_discovery_API_AttackDiscoveryGeneration. +type SecurityAttackDiscoveryAPIAttackDiscoveryGeneration struct { + // AlertsContextCount The number of alerts sent as context (max kibana.alert.rule.execution.metrics.alert_counts.active) to the LLM for the generation + AlertsContextCount *float32 `json:"alerts_context_count,omitempty"` + + // ConnectorId The connector id (event.dataset) for this generation + ConnectorId string `json:"connector_id"` + + // ConnectorStats Stats applicable to the connector for this generation + ConnectorStats *struct { + // AverageSuccessfulDurationNanoseconds The average duration (avg event.duration) in nanoseconds of successful generations for the same connector id, for the current user + AverageSuccessfulDurationNanoseconds *float32 `json:"average_successful_duration_nanoseconds,omitempty"` + + // SuccessfulGenerations The number of successful generations for the same connector id, for the current user + SuccessfulGenerations *float32 `json:"successful_generations,omitempty"` + } `json:"connector_stats,omitempty"` + + // Discoveries The number of new Attack discovery alerts (max kibana.alert.rule.execution.metrics.alert_counts.new) for this generation + Discoveries float32 `json:"discoveries"` + + // End When generation ended (max event.end) + End *string `json:"end,omitempty"` + + // ExecutionUuid The unique identifier (kibana.alert.rule.execution.uuid) for the generation + ExecutionUuid string `json:"execution_uuid"` + + // LoadingMessage Generation loading message (kibana.alert.rule.execution.status) + LoadingMessage string `json:"loading_message"` + + // Reason Reason for failed generations (event.reason) + Reason *string `json:"reason,omitempty"` + + // Start When generation started (min event.start) + Start string `json:"start"` + + // Status The status of the attack discovery generation + Status SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus `json:"status"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus The status of the attack discovery generation +type SecurityAttackDiscoveryAPIAttackDiscoveryGenerationStatus string + +// SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig defines model for Security_Attack_discovery_API_AttackDiscoveryGenerationConfig. +type SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig struct { + // AlertsIndexPattern The (space specific) index pattern that contains the alerts to use as + // context for the attack discovery. + // Example: .alerts-security.alerts-default + AlertsIndexPattern string `json:"alertsIndexPattern"` + + // AnonymizationFields The list of fields, and whether or not they are anonymized, allowed to be sent to LLMs. Consider using the output of the `/api/security_ai_assistant/anonymization_fields/_find` API (for a specific Kibana space) to provide this value. + AnonymizationFields []SecurityAttackDiscoveryAPIAnonymizationFieldResponse `json:"anonymizationFields"` + ApiConfig SecurityAttackDiscoveryAPIApiConfig `json:"apiConfig"` + ConnectorName *string `json:"connectorName,omitempty"` + End *string `json:"end,omitempty"` + + // Filter An Elasticsearch-style query DSL object used to filter alerts. For example: + // ```json { + // "filter": { + // "bool": { + // "must": [], + // "filter": [ + // { + // "bool": { + // "should": [ + // { + // "term": { + // "user.name": { "value": "james" } + // } + // } + // ], + // "minimum_should_match": 1 + // } + // } + // ], + // "should": [], + // "must_not": [] + // } + // } + // } ``` + Filter *map[string]interface{} `json:"filter,omitempty"` + Model *string `json:"model,omitempty"` + + // Replacements Replacements object used to anonymize/deanonymize messages + Replacements *SecurityAttackDiscoveryAPIReplacements `json:"replacements,omitempty"` + Size float32 `json:"size"` + Start *string `json:"start,omitempty"` + SubAction SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction `json:"subAction"` +} + +// SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction defines model for SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig.SubAction. +type SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfigSubAction string + +// SecurityAttackDiscoveryAPIAttackDiscoveryGenericError Generic error response for Attack discovery schedule operations +type SecurityAttackDiscoveryAPIAttackDiscoveryGenericError struct { + // Error Error type + Error *string `json:"error,omitempty"` + + // Message Human-readable error message describing what went wrong + Message *string `json:"message,omitempty"` + + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` +} + +// SecurityAttackDiscoveryAPIFilters The filter array used to define the conditions for when alerts are selected as an attack discovery context. Defaults to an empty array. +type SecurityAttackDiscoveryAPIFilters = []interface{} + +// SecurityAttackDiscoveryAPIIntervalApiSchedule defines model for Security_Attack_discovery_API_IntervalApiSchedule. +type SecurityAttackDiscoveryAPIIntervalApiSchedule struct { + // Interval The schedule interval + Interval string `json:"interval"` +} + +// SecurityAttackDiscoveryAPINonEmptyString A string that does not contain only whitespace characters. +type SecurityAttackDiscoveryAPINonEmptyString = string + +// SecurityAttackDiscoveryAPINonEmptyTimestamp A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters. +type SecurityAttackDiscoveryAPINonEmptyTimestamp = string + +// SecurityAttackDiscoveryAPIProvider Provider +type SecurityAttackDiscoveryAPIProvider string + +// SecurityAttackDiscoveryAPIQuery An query condition to filter alerts +type SecurityAttackDiscoveryAPIQuery struct { + Language string `json:"language"` + Query SecurityAttackDiscoveryAPIQuery_Query `json:"query"` +} + +// SecurityAttackDiscoveryAPIQueryQuery0 defines model for . +type SecurityAttackDiscoveryAPIQueryQuery0 = string + +// SecurityAttackDiscoveryAPIQueryQuery1 defines model for . +type SecurityAttackDiscoveryAPIQueryQuery1 map[string]interface{} + +// SecurityAttackDiscoveryAPIQuery_Query defines model for SecurityAttackDiscoveryAPIQuery.Query. +type SecurityAttackDiscoveryAPIQuery_Query struct { + union json.RawMessage +} + +// SecurityAttackDiscoveryAPIReplacements Replacements object used to anonymize/deanonymize messages +type SecurityAttackDiscoveryAPIReplacements map[string]string + +// SecurityAttackDiscoveryAPISortOrder The order in which results are sorted. +type SecurityAttackDiscoveryAPISortOrder string + +// SecurityAttackDiscoveryAPIUser Could be any string, not necessarily a UUID. +type SecurityAttackDiscoveryAPIUser struct { + // Id User id. + Id *string `json:"id,omitempty"` + + // Name User name. + Name *string `json:"name,omitempty"` +} + // SecurityDetectionsAPIAlertAssignees defines model for Security_Detections_API_AlertAssignees. type SecurityDetectionsAPIAlertAssignees struct { Add []string `json:"add"` @@ -7974,8 +8881,8 @@ type SecurityDetectionsAPIAlertAssignees struct { // SecurityDetectionsAPIAlertIds A list of alerts `id`s. type SecurityDetectionsAPIAlertIds = []string -// SecurityDetectionsAPIAlertStatus The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. -type SecurityDetectionsAPIAlertStatus string +// SecurityDetectionsAPIAlertStatusExceptClosed The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. +type SecurityDetectionsAPIAlertStatusExceptClosed string // SecurityDetectionsAPIAlertSuppression Defines alert suppression configuration. type SecurityDetectionsAPIAlertSuppression struct { @@ -8480,6 +9387,35 @@ type SecurityDetectionsAPIBulkManualRuleRun struct { // SecurityDetectionsAPIBulkManualRuleRunAction defines model for SecurityDetectionsAPIBulkManualRuleRun.Action. type SecurityDetectionsAPIBulkManualRuleRunAction string +// SecurityDetectionsAPICloseAlertsByIds defines model for Security_Detections_API_CloseAlertsByIds. +type SecurityDetectionsAPICloseAlertsByIds struct { + // Reason The reason for closing the alerts + Reason *SecurityDetectionsAPIReasonEnum `json:"reason,omitempty"` + + // SignalIds List of alert ids. Use field `_id` on alert document or `kibana.alert.uuid`. Note: signals are a deprecated term for alerts. + SignalIds []string `json:"signal_ids"` + Status SecurityDetectionsAPICloseAlertsByIdsStatus `json:"status"` +} + +// SecurityDetectionsAPICloseAlertsByIdsStatus defines model for SecurityDetectionsAPICloseAlertsByIds.Status. +type SecurityDetectionsAPICloseAlertsByIdsStatus string + +// SecurityDetectionsAPICloseAlertsByQuery defines model for Security_Detections_API_CloseAlertsByQuery. +type SecurityDetectionsAPICloseAlertsByQuery struct { + Conflicts *SecurityDetectionsAPICloseAlertsByQueryConflicts `json:"conflicts,omitempty"` + Query map[string]interface{} `json:"query"` + + // Reason The reason for closing the alerts + Reason *SecurityDetectionsAPIReasonEnum `json:"reason,omitempty"` + Status SecurityDetectionsAPICloseAlertsByQueryStatus `json:"status"` +} + +// SecurityDetectionsAPICloseAlertsByQueryConflicts defines model for SecurityDetectionsAPICloseAlertsByQuery.Conflicts. +type SecurityDetectionsAPICloseAlertsByQueryConflicts string + +// SecurityDetectionsAPICloseAlertsByQueryStatus defines model for SecurityDetectionsAPICloseAlertsByQuery.Status. +type SecurityDetectionsAPICloseAlertsByQueryStatus string + // SecurityDetectionsAPIConcurrentSearches defines model for Security_Detections_API_ConcurrentSearches. type SecurityDetectionsAPIConcurrentSearches = int @@ -10061,8 +10997,23 @@ type SecurityDetectionsAPIEventCategoryOverride = string // SecurityDetectionsAPIExceptionListType The exception type type SecurityDetectionsAPIExceptionListType string +// SecurityDetectionsAPIExternalRuleCustomizedFields An array of customized field names — that is, fields that the user has modified from their base value. Defaults to an empty array. +type SecurityDetectionsAPIExternalRuleCustomizedFields = []struct { + // FieldName Name of a user-modified field in the rule object. + FieldName string `json:"field_name"` +} + +// SecurityDetectionsAPIExternalRuleHasBaseVersion Determines whether an external/prebuilt rule has its original, unmodified version present when the calculation of its customization status is performed (`rule_source.is_customized` and `rule_source.customized_fields`). +type SecurityDetectionsAPIExternalRuleHasBaseVersion = bool + // SecurityDetectionsAPIExternalRuleSource Type of rule source for externally sourced rules, i.e. rules that have an external source, such as the Elastic Prebuilt rules repo. type SecurityDetectionsAPIExternalRuleSource struct { + // CustomizedFields An array of customized field names — that is, fields that the user has modified from their base value. Defaults to an empty array. + CustomizedFields SecurityDetectionsAPIExternalRuleCustomizedFields `json:"customized_fields"` + + // HasBaseVersion Determines whether an external/prebuilt rule has its original, unmodified version present when the calculation of its customization status is performed (`rule_source.is_customized` and `rule_source.customized_fields`). + HasBaseVersion SecurityDetectionsAPIExternalRuleHasBaseVersion `json:"has_base_version"` + // IsCustomized Determines whether an external/prebuilt rule has been customized by the user (i.e. any of its fields have been modified and diverged from the base value). IsCustomized SecurityDetectionsAPIIsExternalRuleCustomized `json:"is_customized"` Type SecurityDetectionsAPIExternalRuleSourceType `json:"type"` @@ -12648,6 +13599,9 @@ type SecurityDetectionsAPIQueryRuleUpdateProps struct { // SecurityDetectionsAPIQueryRuleUpdatePropsType Rule type type SecurityDetectionsAPIQueryRuleUpdatePropsType string +// SecurityDetectionsAPIReasonEnum The reason for closing the alerts +type SecurityDetectionsAPIReasonEnum string + // SecurityDetectionsAPIRelatedIntegration Related integration is a potential dependency of a rule. It's assumed that if the user installs // one of the related integrations of a rule, the rule might start to work properly because it will // have source events (generated by this integration) potentially matching the rule's query. @@ -13981,24 +14935,34 @@ type SecurityDetectionsAPISetAlertTags struct { // SecurityDetectionsAPISetAlertsStatusByIds defines model for Security_Detections_API_SetAlertsStatusByIds. type SecurityDetectionsAPISetAlertsStatusByIds struct { + union json.RawMessage +} + +// SecurityDetectionsAPISetAlertsStatusByIdsBase defines model for Security_Detections_API_SetAlertsStatusByIdsBase. +type SecurityDetectionsAPISetAlertsStatusByIdsBase struct { // SignalIds List of alert ids. Use field `_id` on alert document or `kibana.alert.uuid`. Note: signals are a deprecated term for alerts. SignalIds []string `json:"signal_ids"` // Status The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. - Status SecurityDetectionsAPIAlertStatus `json:"status"` + Status SecurityDetectionsAPIAlertStatusExceptClosed `json:"status"` } // SecurityDetectionsAPISetAlertsStatusByQuery defines model for Security_Detections_API_SetAlertsStatusByQuery. type SecurityDetectionsAPISetAlertsStatusByQuery struct { - Conflicts *SecurityDetectionsAPISetAlertsStatusByQueryConflicts `json:"conflicts,omitempty"` - Query map[string]interface{} `json:"query"` + union json.RawMessage +} + +// SecurityDetectionsAPISetAlertsStatusByQueryBase defines model for Security_Detections_API_SetAlertsStatusByQueryBase. +type SecurityDetectionsAPISetAlertsStatusByQueryBase struct { + Conflicts *SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts `json:"conflicts,omitempty"` + Query map[string]interface{} `json:"query"` // Status The status of an alert, which can be `open`, `acknowledged`, `in-progress`, or `closed`. - Status SecurityDetectionsAPIAlertStatus `json:"status"` + Status SecurityDetectionsAPIAlertStatusExceptClosed `json:"status"` } -// SecurityDetectionsAPISetAlertsStatusByQueryConflicts defines model for SecurityDetectionsAPISetAlertsStatusByQuery.Conflicts. -type SecurityDetectionsAPISetAlertsStatusByQueryConflicts string +// SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts defines model for SecurityDetectionsAPISetAlertsStatusByQueryBase.Conflicts. +type SecurityDetectionsAPISetAlertsStatusByQueryBaseConflicts string // SecurityDetectionsAPISetupGuide Populates the rule’s setup guide with instructions on rule prerequisites such as required integrations, configuration steps, and anything else needed for the rule to work correctly. type SecurityDetectionsAPISetupGuide = string @@ -16350,6 +17314,11 @@ type SecurityEndpointExceptionsAPISiemErrorResponse struct { StatusCode int `json:"status_code"` } +// SecurityEndpointManagementAPIActionDetailsResponse defines model for Security_Endpoint_Management_API_ActionDetailsResponse. +type SecurityEndpointManagementAPIActionDetailsResponse struct { + union json.RawMessage +} + // SecurityEndpointManagementAPIActionStateSuccessResponse defines model for Security_Endpoint_Management_API_ActionStateSuccessResponse. type SecurityEndpointManagementAPIActionStateSuccessResponse struct { Body struct { @@ -16387,6 +17356,90 @@ type SecurityEndpointManagementAPIAgentIds1 = string // SecurityEndpointManagementAPIAgentTypes List of agent types to retrieve. Defaults to `endpoint`. type SecurityEndpointManagementAPIAgentTypes string +// SecurityEndpointManagementAPICancel defines model for Security_Endpoint_Management_API_Cancel. +type SecurityEndpointManagementAPICancel struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *struct { + Code *string `json:"code,omitempty"` + } `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *struct { + Id *openapi_types.UUID `json:"id,omitempty"` + } `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + +// SecurityEndpointManagementAPICancelRouteRequestBody defines model for Security_Endpoint_Management_API_CancelRouteRequestBody. +type SecurityEndpointManagementAPICancelRouteRequestBody struct { + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agent_type,omitempty"` + + // AlertIds If this action is associated with any alerts, they can be specified here. The action will be logged in any cases associated with the specified alerts. + AlertIds *[]string `json:"alert_ids,omitempty"` + + // CaseIds The IDs of cases where the action taken will be logged. + CaseIds *[]string `json:"case_ids,omitempty"` + + // Comment Optional comment + Comment *SecurityEndpointManagementAPIComment `json:"comment,omitempty"` + + // EndpointIds List of endpoint IDs (cannot contain empty strings) + EndpointIds SecurityEndpointManagementAPIEndpointIds `json:"endpoint_ids"` + Parameters struct { + // Id ID of the response action to cancel + Id string `json:"id"` + } `json:"parameters"` +} + // SecurityEndpointManagementAPICloudFileScriptParameters defines model for Security_Endpoint_Management_API_CloudFileScriptParameters. type SecurityEndpointManagementAPICloudFileScriptParameters struct { // CloudFile Script name in cloud storage. @@ -16399,7 +17452,7 @@ type SecurityEndpointManagementAPICloudFileScriptParameters struct { Timeout *int `json:"timeout,omitempty"` } -// SecurityEndpointManagementAPICommand The command to be executed (cannot be an empty string) +// SecurityEndpointManagementAPICommand The command for the response action type SecurityEndpointManagementAPICommand string // SecurityEndpointManagementAPICommands A list of response action command names. @@ -16408,6 +17461,13 @@ type SecurityEndpointManagementAPICommands = []SecurityEndpointManagementAPIComm // SecurityEndpointManagementAPIComment Optional comment type SecurityEndpointManagementAPIComment = string +// SecurityEndpointManagementAPIDownloadUri defines model for Security_Endpoint_Management_API_DownloadUri. +type SecurityEndpointManagementAPIDownloadUri struct { + // DownloadUri The server relative URI to download the file associated with the output of the response action. + // URI does **not** include the space prefix + DownloadUri *string `json:"downloadUri,omitempty"` +} + // SecurityEndpointManagementAPIEndDate An end date in ISO format or Date Math format. type SecurityEndpointManagementAPIEndDate = string @@ -16417,6 +17477,82 @@ type SecurityEndpointManagementAPIEndpointIds = []string // SecurityEndpointManagementAPIEndpointMetadataResponse defines model for Security_Endpoint_Management_API_EndpointMetadataResponse. type SecurityEndpointManagementAPIEndpointMetadataResponse = map[string]interface{} +// SecurityEndpointManagementAPIExecute defines model for Security_Endpoint_Management_API_Execute. +type SecurityEndpointManagementAPIExecute struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *struct { + Code *string `json:"code,omitempty"` + Cwd *string `json:"cwd,omitempty"` + + // DownloadUri The server relative URI to download the file associated with the output of the response action. + // URI does **not** include the space prefix + DownloadUri *string `json:"downloadUri,omitempty"` + OutputFileId *string `json:"output_file_id,omitempty"` + OutputFileStderrTruncated *bool `json:"output_file_stderr_truncated,omitempty"` + OutputFileStdoutTruncated *bool `json:"output_file_stdout_truncated,omitempty"` + ShellCode *float32 `json:"shell_code,omitempty"` + Stderr *string `json:"stderr,omitempty"` + StderrTruncated *bool `json:"stderr_truncated,omitempty"` + Stdout *string `json:"stdout,omitempty"` + StdoutTruncated *bool `json:"stdout_truncated,omitempty"` + } `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *struct { + Command *string `json:"command,omitempty"` + Timeout *float32 `json:"timeout,omitempty"` + } `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + // SecurityEndpointManagementAPIExecuteRouteRequestBody defines model for Security_Endpoint_Management_API_ExecuteRouteRequestBody. type SecurityEndpointManagementAPIExecuteRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -16434,7 +17570,7 @@ type SecurityEndpointManagementAPIExecuteRouteRequestBody struct { // EndpointIds List of endpoint IDs (cannot contain empty strings) EndpointIds SecurityEndpointManagementAPIEndpointIds `json:"endpoint_ids"` Parameters struct { - // Command The command to be executed (cannot be an empty string) + // Command The command for the response action Command SecurityEndpointManagementAPICommand `json:"command"` // Timeout The maximum timeout value in milliseconds (optional) @@ -16448,8 +17584,79 @@ type SecurityEndpointManagementAPIExecuteRouteResponse = map[string]interface{} // SecurityEndpointManagementAPIGetEndpointActionListResponse defines model for Security_Endpoint_Management_API_GetEndpointActionListResponse. type SecurityEndpointManagementAPIGetEndpointActionListResponse = map[string]interface{} -// SecurityEndpointManagementAPIGetEndpointActionResponse defines model for Security_Endpoint_Management_API_GetEndpointActionResponse. -type SecurityEndpointManagementAPIGetEndpointActionResponse = map[string]interface{} +// SecurityEndpointManagementAPIGetFile defines model for Security_Endpoint_Management_API_GetFile. +type SecurityEndpointManagementAPIGetFile struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *struct { + Code *string `json:"code,omitempty"` + Contents *[]struct { + FileName *string `json:"file_name,omitempty"` + Path *string `json:"path,omitempty"` + Sha256 *string `json:"sha256,omitempty"` + Size *float32 `json:"size,omitempty"` + Type *string `json:"type,omitempty"` + } `json:"contents,omitempty"` + + // DownloadUri The server relative URI to download the file associated with the output of the response action. + // URI does **not** include the space prefix + DownloadUri *string `json:"downloadUri,omitempty"` + ZipSize *float32 `json:"zip_size,omitempty"` + } `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *struct { + Path *string `json:"path,omitempty"` + } `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} // SecurityEndpointManagementAPIGetFileRouteRequestBody defines model for Security_Endpoint_Management_API_GetFileRouteRequestBody. type SecurityEndpointManagementAPIGetFileRouteRequestBody struct { @@ -16514,9 +17721,119 @@ type SecurityEndpointManagementAPIHostPathScriptParameters struct { // SecurityEndpointManagementAPIHostStatuses A set of agent health statuses to filter by. type SecurityEndpointManagementAPIHostStatuses = []string +// SecurityEndpointManagementAPIIsolate defines model for Security_Endpoint_Management_API_Isolate. +type SecurityEndpointManagementAPIIsolate = SecurityEndpointManagementAPIResponseActionDetails + // SecurityEndpointManagementAPIIsolateRouteResponse defines model for Security_Endpoint_Management_API_IsolateRouteResponse. type SecurityEndpointManagementAPIIsolateRouteResponse = map[string]interface{} +// SecurityEndpointManagementAPIKillProcess defines model for Security_Endpoint_Management_API_KillProcess. +type SecurityEndpointManagementAPIKillProcess struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *SecurityEndpointManagementAPIKillProcess_Outputs_Content `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *SecurityEndpointManagementAPIKillProcess_Parameters `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcessOutputsContent0 defines model for . +type SecurityEndpointManagementAPIKillProcessOutputsContent0 struct { + Code *string `json:"code,omitempty"` + Command *string `json:"command,omitempty"` + Pid *float32 `json:"pid,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcessOutputsContent1 defines model for . +type SecurityEndpointManagementAPIKillProcessOutputsContent1 struct { + Code *string `json:"code,omitempty"` + Command *string `json:"command,omitempty"` + EntityId *string `json:"entity_id,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcessOutputsContent2 defines model for . +type SecurityEndpointManagementAPIKillProcessOutputsContent2 struct { + Code *string `json:"code,omitempty"` + Command *string `json:"command,omitempty"` + ProcessName *string `json:"process_name,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcess_Outputs_Content defines model for SecurityEndpointManagementAPIKillProcess.Outputs.Content. +type SecurityEndpointManagementAPIKillProcess_Outputs_Content struct { + union json.RawMessage +} + +// SecurityEndpointManagementAPIKillProcessParameters0 defines model for . +type SecurityEndpointManagementAPIKillProcessParameters0 struct { + // Pid The process ID (PID) of the process to terminate. + Pid *float32 `json:"pid,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcessParameters1 defines model for . +type SecurityEndpointManagementAPIKillProcessParameters1 struct { + // EntityId The entity ID of the process to terminate. + EntityId *string `json:"entity_id,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcessParameters2 defines model for . +type SecurityEndpointManagementAPIKillProcessParameters2 struct { + // ProcessName The name of the process to terminate. Valid for SentinelOne agent type only. + ProcessName *string `json:"process_name,omitempty"` +} + +// SecurityEndpointManagementAPIKillProcess_Parameters defines model for SecurityEndpointManagementAPIKillProcess.Parameters. +type SecurityEndpointManagementAPIKillProcess_Parameters struct { + union json.RawMessage +} + // SecurityEndpointManagementAPIKillProcessRouteRequestBody defines model for Security_Endpoint_Management_API_KillProcessRouteRequestBody. type SecurityEndpointManagementAPIKillProcessRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -16565,6 +17882,15 @@ type SecurityEndpointManagementAPIKillProcessRouteResponse = map[string]interfac // SecurityEndpointManagementAPIKuery A KQL string. type SecurityEndpointManagementAPIKuery = string +// SecurityEndpointManagementAPIMDERunScriptParameters Parameters for Run Script response action against Microsoft Defender Endpoint agent type. +type SecurityEndpointManagementAPIMDERunScriptParameters struct { + // Args Optional command line arguments for the script. + Args *string `json:"args,omitempty"` + + // ScriptName The name of the script to execute from the cloud storage. + ScriptName string `json:"scriptName"` +} + // SecurityEndpointManagementAPIMetadataListResponse defines model for Security_Endpoint_Management_API_MetadataListResponse. type SecurityEndpointManagementAPIMetadataListResponse = map[string]interface{} @@ -16620,81 +17946,87 @@ type SecurityEndpointManagementAPIRawScriptParameters struct { // SecurityEndpointManagementAPIResponseActionCreateSuccessResponse defines model for Security_Endpoint_Management_API_ResponseActionCreateSuccessResponse. type SecurityEndpointManagementAPIResponseActionCreateSuccessResponse struct { - // Data The created response action details - Data *struct { - // AgentState The state of the response action for each agent ID that it was sent to - AgentState *map[string]struct { - // CompletedAt The date and time the response action was completed for the agent ID - CompletedAt *string `json:"completedAt,omitempty"` + Data *SecurityEndpointManagementAPIResponseActionDetails `json:"data,omitempty"` +} - // IsCompleted Whether the response action is completed for the agent ID - IsCompleted *bool `json:"isCompleted,omitempty"` +// SecurityEndpointManagementAPIResponseActionDetails defines model for Security_Endpoint_Management_API_ResponseActionDetails. +type SecurityEndpointManagementAPIResponseActionDetails struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` - // WasSuccessful Whether the response action was successful for the agent ID - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"agentState,omitempty"` + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` - // AgentType The response action agent type - AgentType *string `json:"agentType,omitempty"` + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` - // Agents The agent IDs for the hosts that the response action was sent to - Agents *map[string]interface{} `json:"agents,omitempty"` + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` - // Command The response action command - Command *string `json:"command,omitempty"` + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` - // CreatedBy The user who created the response action - CreatedBy *string `json:"createdBy,omitempty"` + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` - // Hosts An object containing the host names associated with the agent IDs the response action was sent to - Hosts *map[string]struct { - // Name The host name - Name *string `json:"name,omitempty"` - } `json:"hosts,omitempty"` + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` - // Id The response action ID - Id *string `json:"id,omitempty"` + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` - // IsComplete Whether the response action is complete - IsComplete *bool `json:"isComplete,omitempty"` + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` - // IsExpired Whether the response action is expired - IsExpired *bool `json:"isExpired,omitempty"` + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` - // Outputs The outputs of the response action for each agent ID that it was sent to - Outputs *map[string]struct { - // Content The response action output content for the agent ID. Exact format depends on the response action command. - Content SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content `json:"content"` - Type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType `json:"type"` - } `json:"outputs,omitempty"` + // Outputs The outputs of the response action for each agent ID that it was sent to. Content different depending on the + // response action command and will only be present for agents that have responded to the response action + Outputs *map[string]struct { + // Content The response action output content for the agent ID. Exact format depends on the response action command. + Content SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content `json:"content"` + Type SecurityEndpointManagementAPIResponseActionDetailsOutputsType `json:"type"` + } `json:"outputs,omitempty"` - // Parameters The parameters of the response action. Content different depending on the response action command - Parameters *map[string]interface{} `json:"parameters,omitempty"` + // Parameters The parameters of the response action. Content different depending on the response action command + Parameters *map[string]interface{} `json:"parameters,omitempty"` - // StartedAt The response action start time - StartedAt *string `json:"startedAt,omitempty"` + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` - // Status The response action status - Status *string `json:"status,omitempty"` + // Status The response action status + Status *string `json:"status,omitempty"` - // WasSuccessful Whether the response action was successful - WasSuccessful *bool `json:"wasSuccessful,omitempty"` - } `json:"data,omitempty"` + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` } -// SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 defines model for . -type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 = map[string]interface{} +// SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 defines model for . +type SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 = map[string]interface{} -// SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 defines model for . -type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 = string +// SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 defines model for . +type SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 = string -// SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content The response action output content for the agent ID. Exact format depends on the response action command. -type SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content struct { +// SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content The response action output content for the agent ID. Exact format depends on the response action command. +type SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content struct { union json.RawMessage } -// SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType defines model for SecurityEndpointManagementAPIResponseActionCreateSuccessResponse.Data.Outputs.Type. -type SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsType string +// SecurityEndpointManagementAPIResponseActionDetailsOutputsType defines model for SecurityEndpointManagementAPIResponseActionDetails.Outputs.Type. +type SecurityEndpointManagementAPIResponseActionDetailsOutputsType string // SecurityEndpointManagementAPIRunScriptRouteRequestBody defines model for Security_Endpoint_Management_API_RunScriptRouteRequestBody. type SecurityEndpointManagementAPIRunScriptRouteRequestBody struct { @@ -16722,6 +18054,245 @@ type SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters struct { union json.RawMessage } +// SecurityEndpointManagementAPIRunningProcesses defines model for Security_Endpoint_Management_API_RunningProcesses. +type SecurityEndpointManagementAPIRunningProcesses struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content `json:"content,omitempty"` + } `json:"outputs,omitempty"` + + // Parameters The parameters of the response action. Content different depending on the response action command + Parameters *map[string]interface{} `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + +// SecurityEndpointManagementAPIRunningProcesses_Outputs_Content defines model for SecurityEndpointManagementAPIRunningProcesses.Outputs.Content. +type SecurityEndpointManagementAPIRunningProcesses_Outputs_Content struct { + union json.RawMessage +} + +// SecurityEndpointManagementAPIRunningProcessesOutputEndpoint Processes output for `agentType` of `endpoint` +type SecurityEndpointManagementAPIRunningProcessesOutputEndpoint struct { + Code *string `json:"code,omitempty"` + Entries *[]struct { + Command *string `json:"command,omitempty"` + EntityId *string `json:"entity_id,omitempty"` + Pid *float32 `json:"pid,omitempty"` + User *string `json:"user,omitempty"` + } `json:"entries,omitempty"` +} + +// SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne defines model for Security_Endpoint_Management_API_RunningProcessesOutputSentinelOne. +type SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne struct { + Code *string `json:"code,omitempty"` + + // DownloadUri The server relative URI to download the file associated with the output of the response action. + // URI does **not** include the space prefix + DownloadUri *string `json:"downloadUri,omitempty"` +} + +// SecurityEndpointManagementAPIRunscript defines model for Security_Endpoint_Management_API_Runscript. +type SecurityEndpointManagementAPIRunscript struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *struct { + Code *string `json:"code,omitempty"` + + // DownloadUri The server relative URI to download the file associated with the output of the response action. + // URI does **not** include the space prefix + DownloadUri *string `json:"downloadUri,omitempty"` + Stderr *string `json:"stderr,omitempty"` + Stdout *string `json:"stdout,omitempty"` + } `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *SecurityEndpointManagementAPIRunscript_Parameters `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + +// SecurityEndpointManagementAPIRunscript_Parameters defines model for SecurityEndpointManagementAPIRunscript.Parameters. +type SecurityEndpointManagementAPIRunscript_Parameters struct { + union json.RawMessage +} + +// SecurityEndpointManagementAPIRunscriptParamsCrowdStrike defines model for Security_Endpoint_Management_API_RunscriptParamsCrowdStrike. +type SecurityEndpointManagementAPIRunscriptParamsCrowdStrike struct { + CloudFile *string `json:"cloudFile,omitempty"` + CommandLine *string `json:"commandLine,omitempty"` + HostPath *string `json:"hostPath,omitempty"` + Raw *string `json:"raw,omitempty"` + Timeout *float32 `json:"timeout,omitempty"` +} + +// SecurityEndpointManagementAPIRunscriptParamsMicrosoft defines model for Security_Endpoint_Management_API_RunscriptParamsMicrosoft. +type SecurityEndpointManagementAPIRunscriptParamsMicrosoft struct { + Args *string `json:"args,omitempty"` + ScriptName *string `json:"scriptName,omitempty"` +} + +// SecurityEndpointManagementAPIRunscriptParamsSentinelOne defines model for Security_Endpoint_Management_API_RunscriptParamsSentinelOne. +type SecurityEndpointManagementAPIRunscriptParamsSentinelOne struct { + ScriptId *string `json:"scriptId,omitempty"` + ScriptInput *string `json:"scriptInput,omitempty"` +} + +// SecurityEndpointManagementAPIScan defines model for Security_Endpoint_Management_API_Scan. +type SecurityEndpointManagementAPIScan struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *struct { + Code *string `json:"code,omitempty"` + } `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *struct { + Path *string `json:"path,omitempty"` + } `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + // SecurityEndpointManagementAPIScanRouteRequestBody defines model for Security_Endpoint_Management_API_ScanRouteRequestBody. type SecurityEndpointManagementAPIScanRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -16768,6 +18339,100 @@ type SecurityEndpointManagementAPIStartDate = string // SecurityEndpointManagementAPISuccessResponse defines model for Security_Endpoint_Management_API_SuccessResponse. type SecurityEndpointManagementAPISuccessResponse = map[string]interface{} +// SecurityEndpointManagementAPISuspendProcess defines model for Security_Endpoint_Management_API_SuspendProcess. +type SecurityEndpointManagementAPISuspendProcess struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *SecurityEndpointManagementAPISuspendProcess_Outputs_Content `json:"content,omitempty"` + } `json:"outputs,omitempty"` + Parameters *SecurityEndpointManagementAPISuspendProcess_Parameters `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + +// SecurityEndpointManagementAPISuspendProcessOutputsContent0 defines model for . +type SecurityEndpointManagementAPISuspendProcessOutputsContent0 struct { + Code *string `json:"code,omitempty"` + Command *string `json:"command,omitempty"` + Pid *float32 `json:"pid,omitempty"` +} + +// SecurityEndpointManagementAPISuspendProcessOutputsContent1 defines model for . +type SecurityEndpointManagementAPISuspendProcessOutputsContent1 struct { + Code *string `json:"code,omitempty"` + Command *string `json:"command,omitempty"` + EntityId *string `json:"entity_id,omitempty"` +} + +// SecurityEndpointManagementAPISuspendProcess_Outputs_Content defines model for SecurityEndpointManagementAPISuspendProcess.Outputs.Content. +type SecurityEndpointManagementAPISuspendProcess_Outputs_Content struct { + union json.RawMessage +} + +// SecurityEndpointManagementAPISuspendProcessParameters0 defines model for . +type SecurityEndpointManagementAPISuspendProcessParameters0 struct { + // Pid The process ID (PID) of the process to terminate. + Pid *float32 `json:"pid,omitempty"` +} + +// SecurityEndpointManagementAPISuspendProcessParameters1 defines model for . +type SecurityEndpointManagementAPISuspendProcessParameters1 struct { + // EntityId The entity ID of the process to terminate. + EntityId *string `json:"entity_id,omitempty"` +} + +// SecurityEndpointManagementAPISuspendProcess_Parameters defines model for SecurityEndpointManagementAPISuspendProcess.Parameters. +type SecurityEndpointManagementAPISuspendProcess_Parameters struct { + union json.RawMessage +} + // SecurityEndpointManagementAPISuspendProcessRouteRequestBody defines model for Security_Endpoint_Management_API_SuspendProcessRouteRequestBody. type SecurityEndpointManagementAPISuspendProcessRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -16816,9 +18481,82 @@ type SecurityEndpointManagementAPIType string // SecurityEndpointManagementAPITypes List of types of response actions type SecurityEndpointManagementAPITypes = []SecurityEndpointManagementAPIType +// SecurityEndpointManagementAPIUnisolate defines model for Security_Endpoint_Management_API_Unisolate. +type SecurityEndpointManagementAPIUnisolate = SecurityEndpointManagementAPIResponseActionDetails + // SecurityEndpointManagementAPIUnisolateRouteResponse defines model for Security_Endpoint_Management_API_UnisolateRouteResponse. type SecurityEndpointManagementAPIUnisolateRouteResponse = map[string]interface{} +// SecurityEndpointManagementAPIUpload defines model for Security_Endpoint_Management_API_Upload. +type SecurityEndpointManagementAPIUpload struct { + // AgentState The state of the response action for each agent ID that it was sent to + AgentState *map[string]struct { + // CompletedAt The date and time the response action was completed for the agent ID + CompletedAt *string `json:"completedAt,omitempty"` + + // IsCompleted Whether the response action is completed for the agent ID + IsCompleted *bool `json:"isCompleted,omitempty"` + + // WasSuccessful Whether the response action was successful for the agent ID + WasSuccessful *bool `json:"wasSuccessful,omitempty"` + } `json:"agentState,omitempty"` + + // AgentType List of agent types to retrieve. Defaults to `endpoint`. + AgentType *SecurityEndpointManagementAPIAgentTypes `json:"agentType,omitempty"` + + // Agents The agent IDs for the hosts that the response action was sent to + Agents *[]openapi_types.UUID `json:"agents,omitempty"` + + // Command The command for the response action + Command SecurityEndpointManagementAPICommand `json:"command"` + + // CompletedAt The response action completion time + CompletedAt *time.Time `json:"completedAt,omitempty"` + + // CreatedBy The user who created the response action + CreatedBy *string `json:"createdBy,omitempty"` + + // Hosts An object containing the host names associated with the agent IDs the response action was sent to + Hosts *map[string]struct { + // Name The host name + Name *string `json:"name,omitempty"` + } `json:"hosts,omitempty"` + + // Id The response action ID + Id *openapi_types.UUID `json:"id,omitempty"` + + // IsComplete Whether the response action is complete + IsComplete *bool `json:"isComplete,omitempty"` + + // IsExpired Whether the response action is expired + IsExpired *bool `json:"isExpired,omitempty"` + Outputs *map[string]struct { + Content *struct { + Code *string `json:"code,omitempty"` + DiskFreeSpace *float32 `json:"disk_free_space,omitempty"` + Path *string `json:"path,omitempty"` + } `json:"content,omitempty"` + } `json:"outputs,omitempty"` + + // Parameters The parameters for upload returned on the details are derived via the API from the file that + // was uploaded at the time that the response action was submitted + Parameters *struct { + FileId *string `json:"file_id,omitempty"` + FileName *string `json:"file_name,omitempty"` + FileSha256 *string `json:"file_sha256,omitempty"` + FileSize *float32 `json:"file_size,omitempty"` + } `json:"parameters,omitempty"` + + // StartedAt The response action start time + StartedAt *time.Time `json:"startedAt,omitempty"` + + // Status The response action status + Status *string `json:"status,omitempty"` + + // WasSuccessful Whether the response action was successful + WasSuccessful *bool `json:"wasSuccessful,omitempty"` +} + // SecurityEndpointManagementAPIUploadRouteRequestBody defines model for Security_Endpoint_Management_API_UploadRouteRequestBody. type SecurityEndpointManagementAPIUploadRouteRequestBody struct { // AgentType List of agent types to retrieve. Defaults to `endpoint`. @@ -16869,6 +18607,21 @@ type SecurityEndpointManagementAPIWithOutputs0 = []string // SecurityEndpointManagementAPIWithOutputs1 defines model for . type SecurityEndpointManagementAPIWithOutputs1 = string +// SecurityEntityAnalyticsAPIAsset defines model for Security_Entity_Analytics_API_Asset. +type SecurityEntityAnalyticsAPIAsset struct { + BusinessUnit *string `json:"business_unit,omitempty"` + + // Criticality The criticality level of the asset. + Criticality *SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality,omitempty"` + Environment *string `json:"environment,omitempty"` + Id *string `json:"id,omitempty"` + Model *string `json:"model,omitempty"` + Name *string `json:"name,omitempty"` + Owner *string `json:"owner,omitempty"` + SerialNumber *string `json:"serial_number,omitempty"` + Vendor *string `json:"vendor,omitempty"` +} + // SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem defines model for Security_Entity_Analytics_API_AssetCriticalityBulkUploadErrorItem. type SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem struct { Index int `json:"index"` @@ -17062,6 +18815,11 @@ type SecurityEntityAnalyticsAPIEngineMetadata struct { // SecurityEntityAnalyticsAPIEngineStatus defines model for Security_Entity_Analytics_API_EngineStatus. type SecurityEntityAnalyticsAPIEngineStatus string +// SecurityEntityAnalyticsAPIEntitiesContainer defines model for Security_Entity_Analytics_API_EntitiesContainer. +type SecurityEntityAnalyticsAPIEntitiesContainer struct { + Entities []SecurityEntityAnalyticsAPIEntityContainer `json:"entities"` +} + // SecurityEntityAnalyticsAPIEntity defines model for Security_Entity_Analytics_API_Entity. type SecurityEntityAnalyticsAPIEntity struct { union json.RawMessage @@ -17081,6 +18839,57 @@ type SecurityEntityAnalyticsAPIEntityAnalyticsPrivileges struct { } `json:"privileges"` } +// SecurityEntityAnalyticsAPIEntityContainer defines model for Security_Entity_Analytics_API_EntityContainer. +type SecurityEntityAnalyticsAPIEntityContainer struct { + Record SecurityEntityAnalyticsAPIEntity `json:"record"` + Type SecurityEntityAnalyticsAPIEntityType `json:"type"` +} + +// SecurityEntityAnalyticsAPIEntityField defines model for Security_Entity_Analytics_API_EntityField. +type SecurityEntityAnalyticsAPIEntityField struct { + EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` + Attributes *struct { + Asset *bool `json:"asset,omitempty"` + Managed *bool `json:"managed,omitempty"` + MfaEnabled *bool `json:"mfa_enabled,omitempty"` + Privileged *bool `json:"privileged,omitempty"` + } `json:"attributes,omitempty"` + Behaviors *struct { + BruteForceVictim *bool `json:"brute_force_victim,omitempty"` + NewCountryLogin *bool `json:"new_country_login,omitempty"` + UsedUsbDevice *bool `json:"used_usb_device,omitempty"` + } `json:"behaviors,omitempty"` + Id string `json:"id"` + Lifecycle *struct { + FirstSeen *time.Time `json:"first_seen,omitempty"` + LastActivity *time.Time `json:"last_activity,omitempty"` + } `json:"lifecycle,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + AccessedFrequentlyBy *[]string `json:"accessed_frequently_by,omitempty"` + AccessesFrequently *[]string `json:"accesses_frequently,omitempty"` + CommunicatesWith *[]string `json:"communicates_with,omitempty"` + DependentOf *[]string `json:"dependent_of,omitempty"` + DependsOn *[]string `json:"depends_on,omitempty"` + OwnedBy *[]string `json:"owned_by,omitempty"` + Owns *[]string `json:"owns,omitempty"` + SupervisedBy *[]string `json:"supervised_by,omitempty"` + Supervises *[]string `json:"supervises,omitempty"` + } `json:"relationships,omitempty"` + Risk *struct { + CalculatedLevel *SecurityEntityAnalyticsAPIEntityRiskLevels `json:"calculated_level,omitempty"` + + // CalculatedScore The raw numeric value of the given entity's risk score. + CalculatedScore *float64 `json:"calculated_score,omitempty"` + + // CalculatedScoreNorm The normalized numeric value of the given entity's risk score. Useful for comparing with other entities. + CalculatedScoreNorm *float64 `json:"calculated_score_norm,omitempty"` + } `json:"risk,omitempty"` + Source *string `json:"source,omitempty"` + SubType *string `json:"sub_type,omitempty"` + Type *string `json:"type,omitempty"` +} + // SecurityEntityAnalyticsAPIEntityRiskLevels defines model for Security_Entity_Analytics_API_EntityRiskLevels. type SecurityEntityAnalyticsAPIEntityRiskLevels string @@ -17124,40 +18933,23 @@ type SecurityEntityAnalyticsAPIEntityType string // SecurityEntityAnalyticsAPIGenericEntity defines model for Security_Entity_Analytics_API_GenericEntity. type SecurityEntityAnalyticsAPIGenericEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *struct { - // Criticality The criticality level of the asset. - Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` - } `json:"asset,omitempty"` - Entity struct { - EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` - Category *string `json:"category,omitempty"` - Id string `json:"id"` - Name string `json:"name"` - Source *string `json:"source,omitempty"` - Type string `json:"type"` - } `json:"entity"` + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` + Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` } // SecurityEntityAnalyticsAPIHostEntity defines model for Security_Entity_Analytics_API_HostEntity. type SecurityEntityAnalyticsAPIHostEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *struct { - // Criticality The criticality level of the asset. - Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` - } `json:"asset,omitempty"` - Entity struct { - EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` - Name string `json:"name"` - Source string `json:"source"` - Type string `json:"type"` - } `json:"entity"` - Event *struct { + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` + Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` + Event *struct { Ingested *time.Time `json:"ingested,omitempty"` } `json:"event,omitempty"` - Host struct { + Host *struct { Architecture *[]string `json:"architecture,omitempty"` Domain *[]string `json:"domain,omitempty"` + Entity *SecurityEntityAnalyticsAPIEntityField `json:"entity,omitempty"` Hostname *[]string `json:"hostname,omitempty"` Id *[]string `json:"id,omitempty"` Ip *[]string `json:"ip,omitempty"` @@ -17165,7 +18957,7 @@ type SecurityEntityAnalyticsAPIHostEntity struct { Name string `json:"name"` Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` Type *[]string `json:"type,omitempty"` - } `json:"host"` + } `json:"host,omitempty"` } // SecurityEntityAnalyticsAPIIdField defines model for Security_Entity_Analytics_API_IdField. @@ -17190,11 +18982,7 @@ type SecurityEntityAnalyticsAPIMetadata = SecurityEntityAnalyticsAPITransformSta type SecurityEntityAnalyticsAPIMonitoredUserDoc struct { Timestamp *time.Time `json:"@timestamp,omitempty"` EntityAnalyticsMonitoring *struct { - Labels *[]struct { - Field *string `json:"field,omitempty"` - Source *string `json:"source,omitempty"` - Value *string `json:"value,omitempty"` - } `json:"labels,omitempty"` + Labels *[]SecurityEntityAnalyticsAPIMonitoringLabel `json:"labels,omitempty"` } `json:"entity_analytics_monitoring,omitempty"` Event *struct { Ingested *time.Time `json:"ingested,omitempty"` @@ -17205,6 +18993,31 @@ type SecurityEntityAnalyticsAPIMonitoredUserDoc struct { SourceIntegrations *[]string `json:"source_integrations,omitempty"` Sources *[]interface{} `json:"sources,omitempty"` } `json:"labels,omitempty"` + User *struct { + Entity *struct { + Attributes *struct { + // Privileged Indicates if the user is privileged. + Privileged *bool `json:"Privileged,omitempty"` + } `json:"attributes,omitempty"` + } `json:"entity,omitempty"` + + // IsPrivileged Indicates if the user is privileged. + IsPrivileged *bool `json:"is_privileged,omitempty"` + Name *string `json:"name,omitempty"` + } `json:"user,omitempty"` +} + +// SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc defines model for Security_Entity_Analytics_API_MonitoredUserUpdateDoc. +type SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc struct { + EntityAnalyticsMonitoring *struct { + Labels *[]SecurityEntityAnalyticsAPIMonitoringLabel `json:"labels,omitempty"` + } `json:"entity_analytics_monitoring,omitempty"` + Id *string `json:"id,omitempty"` + Labels *struct { + SourceIds *[]string `json:"source_ids,omitempty"` + SourceIntegrations *[]string `json:"source_integrations,omitempty"` + Sources *[]interface{} `json:"sources,omitempty"` + } `json:"labels,omitempty"` User *struct { // IsPrivileged Indicates if the user is privileged. IsPrivileged *bool `json:"is_privileged,omitempty"` @@ -17214,10 +19027,23 @@ type SecurityEntityAnalyticsAPIMonitoredUserDoc struct { // SecurityEntityAnalyticsAPIMonitoringEngineDescriptor defines model for Security_Entity_Analytics_API_MonitoringEngineDescriptor. type SecurityEntityAnalyticsAPIMonitoringEngineDescriptor struct { + Error *struct { + // Message Error message typically only present if the engine is in error state + Message *string `json:"message,omitempty"` + } `json:"error,omitempty"` + + // Status The status of the Privilege Monitoring Engine Status SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus `json:"status"` } -// SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus defines model for Security_Entity_Analytics_API_PrivilegeMonitoringEngineStatus. +// SecurityEntityAnalyticsAPIMonitoringLabel defines model for Security_Entity_Analytics_API_MonitoringLabel. +type SecurityEntityAnalyticsAPIMonitoringLabel struct { + Field string `json:"field"` + Source string `json:"source"` + Value string `json:"value"` +} + +// SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus The status of the Privilege Monitoring Engine type SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus string // SecurityEntityAnalyticsAPIPrivmonUserCsvUploadErrorItem defines model for Security_Entity_Analytics_API_PrivmonUserCsvUploadErrorItem. @@ -17269,24 +19095,17 @@ type SecurityEntityAnalyticsAPIRiskScoreInput struct { // SecurityEntityAnalyticsAPIServiceEntity defines model for Security_Entity_Analytics_API_ServiceEntity. type SecurityEntityAnalyticsAPIServiceEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *struct { - // Criticality The criticality level of the asset. - Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` - } `json:"asset,omitempty"` - Entity struct { - EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` - Name string `json:"name"` - Source string `json:"source"` - Type string `json:"type"` - } `json:"entity"` - Event *struct { + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` + Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` + Event *struct { Ingested *time.Time `json:"ingested,omitempty"` } `json:"event,omitempty"` - Service struct { - Name string `json:"name"` - Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` - } `json:"service"` + Service *struct { + Entity *SecurityEntityAnalyticsAPIEntityField `json:"entity,omitempty"` + Name string `json:"name"` + Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` + } `json:"service,omitempty"` } // SecurityEntityAnalyticsAPIStoreStatus defines model for Security_Entity_Analytics_API_StoreStatus. @@ -17321,21 +19140,13 @@ type SecurityEntityAnalyticsAPITransformStatsMetadata struct { // SecurityEntityAnalyticsAPIUserEntity defines model for Security_Entity_Analytics_API_UserEntity. type SecurityEntityAnalyticsAPIUserEntity struct { - Timestamp *time.Time `json:"@timestamp,omitempty"` - Asset *struct { - // Criticality The criticality level of the asset. - Criticality SecurityEntityAnalyticsAPIAssetCriticalityLevel `json:"criticality"` - } `json:"asset,omitempty"` - Entity struct { - EngineMetadata *SecurityEntityAnalyticsAPIEngineMetadata `json:"EngineMetadata,omitempty"` - Name string `json:"name"` - Source string `json:"source"` - Type string `json:"type"` - } `json:"entity"` - Event *struct { + Timestamp *time.Time `json:"@timestamp,omitempty"` + Asset *SecurityEntityAnalyticsAPIAsset `json:"asset,omitempty"` + Entity SecurityEntityAnalyticsAPIEntityField `json:"entity"` + Event *struct { Ingested *time.Time `json:"ingested,omitempty"` } `json:"event,omitempty"` - User struct { + User *struct { Domain *[]string `json:"domain,omitempty"` Email *[]string `json:"email,omitempty"` FullName *[]string `json:"full_name,omitempty"` @@ -17344,7 +19155,7 @@ type SecurityEntityAnalyticsAPIUserEntity struct { Name string `json:"name"` Risk *SecurityEntityAnalyticsAPIEntityRiskScoreRecord `json:"risk,omitempty"` Roles *[]string `json:"roles,omitempty"` - } `json:"user"` + } `json:"user,omitempty"` } // SecurityEntityAnalyticsAPIUserName defines model for Security_Entity_Analytics_API_UserName. @@ -19925,6 +21736,7 @@ type AgentPolicy struct { DataOutputId *string `json:"data_output_id,omitempty"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id,omitempty"` + FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id,omitempty"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -20002,18 +21814,25 @@ type AgentPolicyPackagePolicies1 = []struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id,omitempty"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *AgentPolicy_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` - Id string `json:"id"` - Inputs AgentPolicy_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs AgentPolicy_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -20034,6 +21853,7 @@ type AgentPolicyPackagePolicies1 = []struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -20044,22 +21864,31 @@ type AgentPolicyPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless,omitempty"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *AgentPolicy_PackagePolicies_1_Vars `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless,omitempty"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector,omitempty"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *AgentPolicy_PackagePolicies_1_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` } // AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges defines model for AgentPolicy.PackagePolicies.1.Elasticsearch.Privileges. @@ -20133,21 +21962,21 @@ type AgentPolicyPackagePolicies1Inputs0 = []struct { // AgentPolicyPackagePolicies1Inputs0StreamsRelease defines model for AgentPolicy.PackagePolicies.1.Inputs.0.Streams.Release. type AgentPolicyPackagePolicies1Inputs0StreamsRelease string -// AgentPolicyPackagePolicies1Inputs1 Package policy inputs (see integration documentation to know what inputs are available) +// AgentPolicyPackagePolicies1Inputs1 Package policy inputs. Refer to the integration documentation to know which inputs are available. type AgentPolicyPackagePolicies1Inputs1 map[string]struct { - // Enabled enable or disable that input, (default to true) + // Enabled Enable or disable that input. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams (see integration documentation to know what streams are available) + // Streams Input streams. Refer to the integration documentation to know which streams are available. Streams *map[string]struct { - // Enabled enable or disable that stream, (default to true) + // Enabled Enable or disable that stream. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*AgentPolicy_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*AgentPolicy_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } @@ -20203,7 +22032,7 @@ type AgentPolicy_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties struct { union json.RawMessage } -// AgentPolicy_PackagePolicies_1_Inputs defines model for AgentPolicy.PackagePolicies.1.Inputs. +// AgentPolicy_PackagePolicies_1_Inputs Package policy inputs. type AgentPolicy_PackagePolicies_1_Inputs struct { union json.RawMessage } @@ -20215,7 +22044,7 @@ type AgentPolicyPackagePolicies1Vars0 map[string]struct { Value interface{} `json:"value"` } -// AgentPolicyPackagePolicies1Vars1 Input/stream level variable (see integration documentation for more information) +// AgentPolicyPackagePolicies1Vars1 Input/stream level variable. Refer to the integration documentation for more information. type AgentPolicyPackagePolicies1Vars1 map[string]*AgentPolicy_PackagePolicies_1_Vars_1_AdditionalProperties // AgentPolicyPackagePolicies1Vars10 defines model for . @@ -20244,7 +22073,7 @@ type AgentPolicy_PackagePolicies_1_Vars_1_AdditionalProperties struct { union json.RawMessage } -// AgentPolicy_PackagePolicies_1_Vars defines model for AgentPolicy.PackagePolicies.1.Vars. +// AgentPolicy_PackagePolicies_1_Vars Package level variable. type AgentPolicy_PackagePolicies_1_Vars struct { union json.RawMessage } @@ -20756,7 +22585,8 @@ type NewOutputElasticsearchPreset string // NewOutputElasticsearchSecretsSslKey0 defines model for . type NewOutputElasticsearchSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // NewOutputElasticsearchSecretsSslKey1 defines model for . @@ -20817,14 +22647,13 @@ type NewOutputKafka struct { Key NewOutputKafka_Secrets_Ssl_Key `json:"key"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *NewOutputShipper `json:"shipper,omitempty"` - Ssl *NewOutputSsl `json:"ssl,omitempty"` - Timeout *float32 `json:"timeout,omitempty"` - Topic *string `json:"topic,omitempty"` - Type NewOutputKafkaType `json:"type"` - Username *string `json:"username,omitempty"` - Version *string `json:"version,omitempty"` - WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` + Shipper *NewOutputShipper `json:"shipper,omitempty"` + Ssl *NewOutputSsl `json:"ssl,omitempty"` + Timeout *float32 `json:"timeout,omitempty"` + Topic *string `json:"topic,omitempty"` + Type NewOutputKafkaType `json:"type"` + Username *string `json:"username,omitempty"` + Version *string `json:"version,omitempty"` } // NewOutputKafkaAuthType defines model for NewOutputKafka.AuthType. @@ -20844,7 +22673,8 @@ type NewOutputKafkaSaslMechanism string // NewOutputKafkaSecretsPassword0 defines model for . type NewOutputKafkaSecretsPassword0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // NewOutputKafkaSecretsPassword1 defines model for . @@ -20857,7 +22687,8 @@ type NewOutputKafka_Secrets_Password struct { // NewOutputKafkaSecretsSslKey0 defines model for . type NewOutputKafkaSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // NewOutputKafkaSecretsSslKey1 defines model for . @@ -20890,15 +22721,15 @@ type NewOutputLogstash struct { Key *NewOutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *NewOutputShipper `json:"shipper,omitempty"` - Ssl *NewOutputSsl `json:"ssl,omitempty"` - Type NewOutputLogstashType `json:"type"` - WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` + Shipper *NewOutputShipper `json:"shipper,omitempty"` + Ssl *NewOutputSsl `json:"ssl,omitempty"` + Type NewOutputLogstashType `json:"type"` } // NewOutputLogstashSecretsSslKey0 defines model for . type NewOutputLogstashSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // NewOutputLogstashSecretsSslKey1 defines model for . @@ -20949,7 +22780,8 @@ type NewOutputRemoteElasticsearchPreset string // NewOutputRemoteElasticsearchSecretsServiceToken0 defines model for . type NewOutputRemoteElasticsearchSecretsServiceToken0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // NewOutputRemoteElasticsearchSecretsServiceToken1 defines model for . @@ -20962,7 +22794,8 @@ type NewOutputRemoteElasticsearch_Secrets_ServiceToken struct { // NewOutputRemoteElasticsearchSecretsSslKey0 defines model for . type NewOutputRemoteElasticsearchSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // NewOutputRemoteElasticsearchSecretsSslKey1 defines model for . @@ -21046,6 +22879,7 @@ type OutputElasticsearchPreset string // OutputElasticsearchSecretsSslKey0 defines model for . type OutputElasticsearchSecretsSslKey0 struct { + Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21110,7 +22944,6 @@ type OutputKafka struct { Type OutputKafkaType `json:"type"` Username *string `json:"username,omitempty"` Version *string `json:"version,omitempty"` - WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21163,6 +22996,7 @@ type OutputKafka_Sasl struct { // OutputKafkaSecretsPassword0 defines model for . type OutputKafkaSecretsPassword0 struct { + Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21177,6 +23011,7 @@ type OutputKafka_Secrets_Password struct { // OutputKafkaSecretsSslKey0 defines model for . type OutputKafkaSecretsSslKey0 struct { + Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21223,12 +23058,12 @@ type OutputLogstash struct { Shipper *OutputShipper `json:"shipper,omitempty"` Ssl *OutputSsl `json:"ssl,omitempty"` Type OutputLogstashType `json:"type"` - WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } // OutputLogstashSecretsSslKey0 defines model for . type OutputLogstashSecretsSslKey0 struct { + Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21289,6 +23124,7 @@ type OutputRemoteElasticsearchPreset string // OutputRemoteElasticsearchSecretsServiceToken0 defines model for . type OutputRemoteElasticsearchSecretsServiceToken0 struct { + Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21303,6 +23139,7 @@ type OutputRemoteElasticsearch_Secrets_ServiceToken struct { // OutputRemoteElasticsearchSecretsSslKey0 defines model for . type OutputRemoteElasticsearchSecretsSslKey0 struct { + Hash *string `json:"hash,omitempty"` Id string `json:"id"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -21479,6 +23316,7 @@ type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Type struct { // PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item defines model for PackageInfo.InstallationInfo.AdditionalSpacesInstalledKibana.Item. type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Type `json:"type"` @@ -21532,6 +23370,7 @@ type PackageInfo_InstallationInfo_InstalledKibana_Type struct { // PackageInfo_InstallationInfo_InstalledKibana_Item defines model for PackageInfo.InstallationInfo.InstalledKibana.Item. type PackageInfo_InstallationInfo_InstalledKibana_Item struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageInfo_InstallationInfo_InstalledKibana_Type `json:"type"` @@ -21576,11 +23415,13 @@ type PackageInfo_InstallationInfo struct { InstalledEs []PackageInfo_InstallationInfo_InstalledEs_Item `json:"installed_es"` InstalledKibana []PackageInfo_InstallationInfo_InstalledKibana_Item `json:"installed_kibana"` InstalledKibanaSpaceId *string `json:"installed_kibana_space_id,omitempty"` + IsRollbackTtlExpired *bool `json:"is_rollback_ttl_expired,omitempty"` LatestExecutedState *PackageInfo_InstallationInfo_LatestExecutedState `json:"latest_executed_state,omitempty"` LatestInstallFailedAttempts *[]PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item `json:"latest_install_failed_attempts,omitempty"` Name string `json:"name"` Namespaces *[]string `json:"namespaces,omitempty"` PreviousVersion *string `json:"previous_version,omitempty"` + RolledBack *bool `json:"rolled_back,omitempty"` Type string `json:"type"` UpdatedAt *string `json:"updated_at,omitempty"` VerificationKeyId *string `json:"verification_key_id,omitempty"` @@ -21719,6 +23560,7 @@ type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Type struc // PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item defines model for PackageListItem.InstallationInfo.AdditionalSpacesInstalledKibana.Item. type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Type `json:"type"` @@ -21772,6 +23614,7 @@ type PackageListItem_InstallationInfo_InstalledKibana_Type struct { // PackageListItem_InstallationInfo_InstalledKibana_Item defines model for PackageListItem.InstallationInfo.InstalledKibana.Item. type PackageListItem_InstallationInfo_InstalledKibana_Item struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PackageListItem_InstallationInfo_InstalledKibana_Type `json:"type"` @@ -21816,11 +23659,13 @@ type PackageListItem_InstallationInfo struct { InstalledEs []PackageListItem_InstallationInfo_InstalledEs_Item `json:"installed_es"` InstalledKibana []PackageListItem_InstallationInfo_InstalledKibana_Item `json:"installed_kibana"` InstalledKibanaSpaceId *string `json:"installed_kibana_space_id,omitempty"` + IsRollbackTtlExpired *bool `json:"is_rollback_ttl_expired,omitempty"` LatestExecutedState *PackageListItem_InstallationInfo_LatestExecutedState `json:"latest_executed_state,omitempty"` LatestInstallFailedAttempts *[]PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item `json:"latest_install_failed_attempts,omitempty"` Name string `json:"name"` Namespaces *[]string `json:"namespaces,omitempty"` PreviousVersion *string `json:"previous_version,omitempty"` + RolledBack *bool `json:"rolled_back,omitempty"` Type string `json:"type"` UpdatedAt *string `json:"updated_at,omitempty"` VerificationKeyId *string `json:"verification_key_id,omitempty"` @@ -21870,20 +23715,25 @@ type PackagePolicy struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id,omitempty"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PackagePolicy_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` - Id string `json:"id"` - // Inputs Package policy inputs (see integration documentation to know what inputs are available) + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. Inputs map[string]PackagePolicyInput `json:"inputs"` IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -21904,6 +23754,7 @@ type PackagePolicy struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -21914,20 +23765,27 @@ type PackagePolicy struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. Revision float32 `json:"revision"` SecretReferences *[]PackagePolicySecretRef `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless,omitempty"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *map[string]interface{} `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless,omitempty"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector,omitempty"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *map[string]interface{} `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` } // PackagePolicy_Elasticsearch_Privileges defines model for PackagePolicy.Elasticsearch.Privileges. @@ -21944,17 +23802,17 @@ type PackagePolicy_Elasticsearch struct { // PackagePolicyInput defines model for package_policy_input. type PackagePolicyInput struct { - // Enabled enable or disable that input, (default to true) + // Enabled Enable or disable that input. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams (see integration documentation to know what streams are available) + // Streams Input streams. Refer to the integration documentation to know which streams are available. Streams *map[string]PackagePolicyInputStream `json:"streams,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } // PackagePolicyInputStream defines model for package_policy_input_stream. type PackagePolicyInputStream struct { - // Enabled enable or disable that stream, (default to true) + // Enabled Enable or disable that stream. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } @@ -21963,18 +23821,33 @@ type PackagePolicyInputStream struct { type PackagePolicyRequest struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` - Description *string `json:"description,omitempty"` - Force *bool `json:"force,omitempty"` - Id *string `json:"id,omitempty"` - - // Inputs Package policy inputs (see integration documentation to know what inputs are available) - Inputs *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"` - Name string `json:"name"` - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id,omitempty"` - Package PackagePolicyRequestPackage `json:"package"` - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Description Policy description. + Description *string `json:"description,omitempty"` + + // Force Force package policy creation even if the package is not verified, or if the agent policy is managed. + Force *bool `json:"force,omitempty"` + + // Id Policy unique identifier. + Id *string `json:"id,omitempty"` + + // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. + Inputs *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"` + + // Name Unique name for the policy. + Name string `json:"name"` + + // Namespace Policy namespace. When not specified, it inherits the agent policy namespace. + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id,omitempty"` + Package PackagePolicyRequestPackage `json:"package"` + + // PolicyId Deprecated. Use policy_ids instead. + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + PolicyId *string `json:"policy_id,omitempty"` + + // PolicyIds IDs of the agent policies which that package policy will be added to. + PolicyIds *[]string `json:"policy_ids,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. SupportsAgentless *bool `json:"supports_agentless,omitempty"` @@ -21983,17 +23856,17 @@ type PackagePolicyRequest struct { // PackagePolicyRequestInput defines model for package_policy_request_input. type PackagePolicyRequestInput struct { - // Enabled enable or disable that input, (default to true) + // Enabled Enable or disable that input. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams (see integration documentation to know what streams are available) + // Streams Input streams. Refer to the integration documentation to know which streams are available. Streams *map[string]PackagePolicyRequestInputStream `json:"streams,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } // PackagePolicyRequestInputStream defines model for package_policy_request_input_stream. type PackagePolicyRequestInputStream struct { - // Enabled enable or disable that stream, (default to true) + // Enabled Enable or disable that stream. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } @@ -22009,6 +23882,7 @@ type PackagePolicyRequestPackage struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -23378,21 +25252,38 @@ type ServerHost struct { ProxyId *string `json:"proxy_id,omitempty"` Secrets *struct { Ssl *struct { - EsKey *ServerHost_Secrets_Ssl_EsKey `json:"es_key,omitempty"` - Key *ServerHost_Secrets_Ssl_Key `json:"key,omitempty"` + AgentKey *ServerHost_Secrets_Ssl_AgentKey `json:"agent_key,omitempty"` + EsKey *ServerHost_Secrets_Ssl_EsKey `json:"es_key,omitempty"` + Key *ServerHost_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` Ssl *struct { - Certificate *string `json:"certificate,omitempty"` - CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` - ClientAuth *ServerHostSslClientAuth `json:"client_auth,omitempty"` - EsCertificate *string `json:"es_certificate,omitempty"` - EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` - EsKey *string `json:"es_key,omitempty"` - Key *string `json:"key,omitempty"` + AgentCertificate *string `json:"agent_certificate,omitempty"` + AgentCertificateAuthorities *[]string `json:"agent_certificate_authorities,omitempty"` + AgentKey *string `json:"agent_key,omitempty"` + Certificate *string `json:"certificate,omitempty"` + CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` + ClientAuth *ServerHostSslClientAuth `json:"client_auth,omitempty"` + EsCertificate *string `json:"es_certificate,omitempty"` + EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` + EsKey *string `json:"es_key,omitempty"` + Key *string `json:"key,omitempty"` } `json:"ssl,omitempty"` } +// ServerHostSecretsSslAgentKey0 defines model for . +type ServerHostSecretsSslAgentKey0 struct { + Id string `json:"id"` +} + +// ServerHostSecretsSslAgentKey1 defines model for . +type ServerHostSecretsSslAgentKey1 = string + +// ServerHost_Secrets_Ssl_AgentKey defines model for ServerHost.Secrets.Ssl.AgentKey. +type ServerHost_Secrets_Ssl_AgentKey struct { + union json.RawMessage +} + // ServerHostSecretsSslEsKey0 defines model for . type ServerHostSecretsSslEsKey0 struct { Id string `json:"id"` @@ -23748,7 +25639,8 @@ type UpdateOutputElasticsearchPreset string // UpdateOutputElasticsearchSecretsSslKey0 defines model for . type UpdateOutputElasticsearchSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // UpdateOutputElasticsearchSecretsSslKey1 defines model for . @@ -23808,14 +25700,13 @@ type UpdateOutputKafka struct { Key UpdateOutputKafka_Secrets_Ssl_Key `json:"key"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *UpdateOutputShipper `json:"shipper,omitempty"` - Ssl *UpdateOutputSsl `json:"ssl,omitempty"` - Timeout *float32 `json:"timeout,omitempty"` - Topic *string `json:"topic,omitempty"` - Type *UpdateOutputKafkaType `json:"type,omitempty"` - Username *string `json:"username,omitempty"` - Version *string `json:"version,omitempty"` - WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` + Shipper *UpdateOutputShipper `json:"shipper,omitempty"` + Ssl *UpdateOutputSsl `json:"ssl,omitempty"` + Timeout *float32 `json:"timeout,omitempty"` + Topic *string `json:"topic,omitempty"` + Type *UpdateOutputKafkaType `json:"type,omitempty"` + Username *string `json:"username,omitempty"` + Version *string `json:"version,omitempty"` } // UpdateOutputKafkaAuthType defines model for UpdateOutputKafka.AuthType. @@ -23835,7 +25726,8 @@ type UpdateOutputKafkaSaslMechanism string // UpdateOutputKafkaSecretsPassword0 defines model for . type UpdateOutputKafkaSecretsPassword0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // UpdateOutputKafkaSecretsPassword1 defines model for . @@ -23848,7 +25740,8 @@ type UpdateOutputKafka_Secrets_Password struct { // UpdateOutputKafkaSecretsSslKey0 defines model for . type UpdateOutputKafkaSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // UpdateOutputKafkaSecretsSslKey1 defines model for . @@ -23880,15 +25773,15 @@ type UpdateOutputLogstash struct { Key *UpdateOutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` - Shipper *UpdateOutputShipper `json:"shipper,omitempty"` - Ssl *UpdateOutputSsl `json:"ssl,omitempty"` - Type *UpdateOutputLogstashType `json:"type,omitempty"` - WriteToLogsStreams *bool `json:"write_to_logs_streams,omitempty"` + Shipper *UpdateOutputShipper `json:"shipper,omitempty"` + Ssl *UpdateOutputSsl `json:"ssl,omitempty"` + Type *UpdateOutputLogstashType `json:"type,omitempty"` } // UpdateOutputLogstashSecretsSslKey0 defines model for . type UpdateOutputLogstashSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // UpdateOutputLogstashSecretsSslKey1 defines model for . @@ -23938,7 +25831,8 @@ type UpdateOutputRemoteElasticsearchPreset string // UpdateOutputRemoteElasticsearchSecretsServiceToken0 defines model for . type UpdateOutputRemoteElasticsearchSecretsServiceToken0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // UpdateOutputRemoteElasticsearchSecretsServiceToken1 defines model for . @@ -23951,7 +25845,8 @@ type UpdateOutputRemoteElasticsearch_Secrets_ServiceToken struct { // UpdateOutputRemoteElasticsearchSecretsSslKey0 defines model for . type UpdateOutputRemoteElasticsearchSecretsSslKey0 struct { - Id string `json:"id"` + Hash *string `json:"hash,omitempty"` + Id string `json:"id"` } // UpdateOutputRemoteElasticsearchSecretsSslKey1 defines model for . @@ -24195,6 +26090,214 @@ type GetActionsConnectorTypesParams struct { FeatureId *string `form:"feature_id,omitempty" json:"feature_id,omitempty"` } +// PostAgentBuilderA2aAgentidJSONBody defines parameters for PostAgentBuilderA2aAgentid. +type PostAgentBuilderA2aAgentidJSONBody = interface{} + +// PostAgentBuilderAgentsJSONBody defines parameters for PostAgentBuilderAgents. +type PostAgentBuilderAgentsJSONBody struct { + // AvatarColor Optional hex color code for the agent avatar. + AvatarColor *string `json:"avatar_color,omitempty"` + + // AvatarSymbol Optional symbol/initials for the agent avatar. + AvatarSymbol *string `json:"avatar_symbol,omitempty"` + + // Configuration Configuration settings for the agent. + Configuration struct { + // Instructions Optional system instructions that define the agent behavior. + Instructions *string `json:"instructions,omitempty"` + Tools []struct { + // ToolIds Array of tool IDs that the agent can use. + ToolIds []string `json:"tool_ids"` + } `json:"tools"` + } `json:"configuration"` + + // Description Description of what the agent does. + Description string `json:"description"` + + // Id Unique identifier for the agent. + Id string `json:"id"` + + // Labels Optional labels for categorizing and organizing agents. + Labels *[]string `json:"labels,omitempty"` + + // Name Display name for the agent. + Name string `json:"name"` +} + +// PutAgentBuilderAgentsIdJSONBody defines parameters for PutAgentBuilderAgentsId. +type PutAgentBuilderAgentsIdJSONBody struct { + // AvatarColor Updated hex color code for the agent avatar. + AvatarColor *string `json:"avatar_color,omitempty"` + + // AvatarSymbol Updated symbol/initials for the agent avatar. + AvatarSymbol *string `json:"avatar_symbol,omitempty"` + + // Configuration Updated configuration settings for the agent. + Configuration *struct { + // Instructions Updated system instructions that define the agent behavior. + Instructions *string `json:"instructions,omitempty"` + Tools *[]struct { + // ToolIds Array of tool IDs that the agent can use. + ToolIds []string `json:"tool_ids"` + } `json:"tools,omitempty"` + } `json:"configuration,omitempty"` + + // Description Updated description of what the agent does. + Description *string `json:"description,omitempty"` + + // Labels Updated labels for categorizing and organizing agents. + Labels *[]string `json:"labels,omitempty"` + + // Name Updated display name for the agent. + Name *string `json:"name,omitempty"` +} + +// GetAgentBuilderConversationsParams defines parameters for GetAgentBuilderConversations. +type GetAgentBuilderConversationsParams struct { + // AgentId Optional agent ID to filter conversations by a specific agent. + AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"` +} + +// PostAgentBuilderConverseJSONBody defines parameters for PostAgentBuilderConverse. +type PostAgentBuilderConverseJSONBody struct { + // AgentId The ID of the agent to chat with. Defaults to the default Elastic AI agent. + AgentId *string `json:"agent_id,omitempty"` + + // Attachments Optional attachments to send with the message. + Attachments *[]struct { + // Data Payload of the attachment. + Data map[string]interface{} `json:"data"` + + // Hidden When true, the attachment will not be displayed in the UI. + Hidden *bool `json:"hidden,omitempty"` + + // Id Optional id for the attachment. + Id *string `json:"id,omitempty"` + + // Type Type of the attachment. + Type string `json:"type"` + } `json:"attachments,omitempty"` + + // BrowserApiTools Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. + BrowserApiTools *[]struct { + // Description Description of what the browser API tool does. + Description string `json:"description"` + + // Id Unique identifier for the browser API tool. + Id string `json:"id"` + Schema interface{} `json:"schema"` + } `json:"browser_api_tools,omitempty"` + + // Capabilities Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. + Capabilities *struct { + // Visualizations When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. + Visualizations *bool `json:"visualizations,omitempty"` + } `json:"capabilities,omitempty"` + + // ConnectorId Optional connector ID for the agent to use for external integrations. + ConnectorId *string `json:"connector_id,omitempty"` + + // ConversationId Optional existing conversation ID to continue a previous conversation. + ConversationId *string `json:"conversation_id,omitempty"` + + // Input The user input message to send to the agent. + Input string `json:"input"` +} + +// PostAgentBuilderConverseAsyncJSONBody defines parameters for PostAgentBuilderConverseAsync. +type PostAgentBuilderConverseAsyncJSONBody struct { + // AgentId The ID of the agent to chat with. Defaults to the default Elastic AI agent. + AgentId *string `json:"agent_id,omitempty"` + + // Attachments Optional attachments to send with the message. + Attachments *[]struct { + // Data Payload of the attachment. + Data map[string]interface{} `json:"data"` + + // Hidden When true, the attachment will not be displayed in the UI. + Hidden *bool `json:"hidden,omitempty"` + + // Id Optional id for the attachment. + Id *string `json:"id,omitempty"` + + // Type Type of the attachment. + Type string `json:"type"` + } `json:"attachments,omitempty"` + + // BrowserApiTools Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. + BrowserApiTools *[]struct { + // Description Description of what the browser API tool does. + Description string `json:"description"` + + // Id Unique identifier for the browser API tool. + Id string `json:"id"` + Schema interface{} `json:"schema"` + } `json:"browser_api_tools,omitempty"` + + // Capabilities Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. + Capabilities *struct { + // Visualizations When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. + Visualizations *bool `json:"visualizations,omitempty"` + } `json:"capabilities,omitempty"` + + // ConnectorId Optional connector ID for the agent to use for external integrations. + ConnectorId *string `json:"connector_id,omitempty"` + + // ConversationId Optional existing conversation ID to continue a previous conversation. + ConversationId *string `json:"conversation_id,omitempty"` + + // Input The user input message to send to the agent. + Input string `json:"input"` +} + +// PostAgentBuilderMcpJSONBody defines parameters for PostAgentBuilderMcp. +type PostAgentBuilderMcpJSONBody = interface{} + +// PostAgentBuilderToolsJSONBody defines parameters for PostAgentBuilderTools. +type PostAgentBuilderToolsJSONBody struct { + // Configuration Tool-specific configuration parameters. See examples for details. + Configuration map[string]interface{} `json:"configuration"` + + // Description Description of what the tool does. + Description *string `json:"description,omitempty"` + + // Id Unique identifier for the tool. + Id string `json:"id"` + + // Tags Optional tags for categorizing and organizing tools. + Tags *[]string `json:"tags,omitempty"` + + // Type The type of tool to create (e.g., esql, index_search). + Type PostAgentBuilderToolsJSONBodyType `json:"type"` +} + +// PostAgentBuilderToolsJSONBodyType defines parameters for PostAgentBuilderTools. +type PostAgentBuilderToolsJSONBodyType string + +// PostAgentBuilderToolsExecuteJSONBody defines parameters for PostAgentBuilderToolsExecute. +type PostAgentBuilderToolsExecuteJSONBody struct { + // ConnectorId Optional connector ID for tools that require external integrations. + ConnectorId *string `json:"connector_id,omitempty"` + + // ToolId The ID of the tool to execute. + ToolId string `json:"tool_id"` + + // ToolParams Parameters to pass to the tool execution. See examples for details + ToolParams map[string]interface{} `json:"tool_params"` +} + +// PutAgentBuilderToolsToolidJSONBody defines parameters for PutAgentBuilderToolsToolid. +type PutAgentBuilderToolsToolidJSONBody struct { + // Configuration Updated tool-specific configuration parameters. See examples for details. + Configuration *map[string]interface{} `json:"configuration,omitempty"` + + // Description Updated description of what the tool does. + Description *string `json:"description,omitempty"` + + // Tags Updated tags for categorizing and organizing tools. + Tags *[]string `json:"tags,omitempty"` +} + // PostAlertingRuleIdJSONBody defines parameters for PostAlertingRuleId. type PostAlertingRuleIdJSONBody struct { Actions *[]struct { @@ -24793,6 +26896,123 @@ type FindAssetCriticalityRecordsParamsSortField string // FindAssetCriticalityRecordsParamsSortDirection defines parameters for FindAssetCriticalityRecords. type FindAssetCriticalityRecordsParamsSortDirection string +// PostAttackDiscoveryBulkJSONBody defines parameters for PostAttackDiscoveryBulk. +type PostAttackDiscoveryBulkJSONBody struct { + // Update Configuration object containing all parameters for the bulk update operation + Update struct { + // EnableFieldRendering Enables a markdown syntax used to render pivot fields, for example `{{ user.name james }}`. When disabled, the same example would be rendered as `james`. This is primarily used for Attack discovery views within Kibana. Defaults to `false`. + EnableFieldRendering *bool `json:"enable_field_rendering,omitempty"` + + // Ids Array of Attack discovery IDs to update + Ids []string `json:"ids"` + + // KibanaAlertWorkflowStatus When provided, update the kibana.alert.workflow_status of the attack discovery alerts + KibanaAlertWorkflowStatus *PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus `json:"kibana_alert_workflow_status,omitempty"` + + // Visibility When provided, update the visibility of the alert, as determined by the kibana.alert.attack_discovery.users field + Visibility *PostAttackDiscoveryBulkJSONBodyUpdateVisibility `json:"visibility,omitempty"` + + // WithReplacements When true, returns the updated Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. This substitutes anonymized values with human-readable equivalents. Defaults to `true`. + WithReplacements *bool `json:"with_replacements,omitempty"` + } `json:"update"` +} + +// PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus defines parameters for PostAttackDiscoveryBulk. +type PostAttackDiscoveryBulkJSONBodyUpdateKibanaAlertWorkflowStatus string + +// PostAttackDiscoveryBulkJSONBodyUpdateVisibility defines parameters for PostAttackDiscoveryBulk. +type PostAttackDiscoveryBulkJSONBodyUpdateVisibility string + +// AttackDiscoveryFindParams defines parameters for AttackDiscoveryFind. +type AttackDiscoveryFindParams struct { + // AlertIds Filter results to Attack discoveries that include any of the provided alert IDs + AlertIds *[]string `form:"alert_ids,omitempty" json:"alert_ids,omitempty"` + + // ConnectorNames Filter results to Attack discoveries created by any of the provided human readable connector names. Note that values must match the human readable `connector_name` property of an Attack discovery, e.g. "GPT-5 Chat", which are distinct from `connector_id` values used to generate Attack discoveries. + ConnectorNames *[]string `form:"connector_names,omitempty" json:"connector_names,omitempty"` + + // EnableFieldRendering Enables a markdown syntax used to render pivot fields, for example `{{ user.name james }}`. When disabled, the same example would be rendered as `james`. This is primarily used for Attack discovery views within Kibana. Defaults to `false`. + EnableFieldRendering *bool `form:"enable_field_rendering,omitempty" json:"enable_field_rendering,omitempty"` + + // End End of the time range for the search. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h"). + End *string `form:"end,omitempty" json:"end,omitempty"` + + // Ids Filter results to the Attack discoveries with the specified IDs + Ids *[]string `form:"ids,omitempty" json:"ids,omitempty"` + + // IncludeUniqueAlertIds If `true`, the response will include `unique_alert_ids` and `unique_alert_ids_count` aggregated across the matched Attack discoveries + IncludeUniqueAlertIds *bool `form:"include_unique_alert_ids,omitempty" json:"include_unique_alert_ids,omitempty"` + + // Page Page number to return (used for pagination). Defaults to 1. + Page *int `form:"page,omitempty" json:"page,omitempty"` + + // PerPage Number of Attack discoveries to return per page (used for pagination). Defaults to 10. + PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` + + // Search Free-text search query applied to relevant text fields of Attack discoveries (title, description, tags, etc.) + Search *string `form:"search,omitempty" json:"search,omitempty"` + + // Shared Whether to filter by shared visibility. If omitted, both shared and privately visible Attack discoveries are returned. Use `true` to return only shared discoveries, `false` to return only those visible to the current user. + Shared *bool `form:"shared,omitempty" json:"shared,omitempty"` + + // SortField Field used to sort results. See `AttackDiscoveryFindSortField` for allowed values. + SortField *SecurityAttackDiscoveryAPIAttackDiscoveryFindSortField `form:"sort_field,omitempty" json:"sort_field,omitempty"` + + // SortOrder Sort order direction `asc` for ascending or `desc` for descending. Defaults to `desc`. + SortOrder *SecurityAttackDiscoveryAPISortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"` + + // Start Start of the time range for the search. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d"). + Start *string `form:"start,omitempty" json:"start,omitempty"` + + // Status Filter by alert workflow status. Provide one or more of the allowed workflow states. + Status *[]AttackDiscoveryFindParamsStatus `form:"status,omitempty" json:"status,omitempty"` + + // WithReplacements When true, return the created Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. Defaults to `true`. + WithReplacements *bool `form:"with_replacements,omitempty" json:"with_replacements,omitempty"` +} + +// AttackDiscoveryFindParamsStatus defines parameters for AttackDiscoveryFind. +type AttackDiscoveryFindParamsStatus string + +// GetAttackDiscoveryGenerationsParams defines parameters for GetAttackDiscoveryGenerations. +type GetAttackDiscoveryGenerationsParams struct { + // End End of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h"). + End *string `form:"end,omitempty" json:"end,omitempty"` + + // Size The maximum number of generations to retrieve + Size *float32 `form:"size,omitempty" json:"size,omitempty"` + + // Start Start of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d"). + Start *string `form:"start,omitempty" json:"start,omitempty"` +} + +// GetAttackDiscoveryGenerationParams defines parameters for GetAttackDiscoveryGeneration. +type GetAttackDiscoveryGenerationParams struct { + // EnableFieldRendering Enables a markdown syntax used to render pivot fields, for example `{{ user.name james }}`. When disabled, the same example would be rendered as `james`. This is primarily used for Attack discovery views within Kibana. Defaults to `false`. + EnableFieldRendering *bool `form:"enable_field_rendering,omitempty" json:"enable_field_rendering,omitempty"` + + // WithReplacements When true, return the created Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. Defaults to `true`. + WithReplacements *bool `form:"with_replacements,omitempty" json:"with_replacements,omitempty"` +} + +// FindAttackDiscoverySchedulesParams defines parameters for FindAttackDiscoverySchedules. +type FindAttackDiscoverySchedulesParams struct { + // Page Page number to return (used for pagination). Defaults to 1. + Page *float32 `form:"page,omitempty" json:"page,omitempty"` + + // PerPage Number of Attack discovery schedules to return per page (used for pagination). Defaults to 10. + PerPage *float32 `form:"per_page,omitempty" json:"per_page,omitempty"` + + // SortField Field used to sort results. Common fields include 'name', 'created_at', 'updated_at', and 'enabled'. + SortField *SecurityAttackDiscoveryAPINonEmptyString `form:"sort_field,omitempty" json:"sort_field,omitempty"` + + // SortDirection Sort order direction. Use 'asc' for ascending or 'desc' for descending. Defaults to 'asc'. + SortDirection *FindAttackDiscoverySchedulesParamsSortDirection `form:"sort_direction,omitempty" json:"sort_direction,omitempty"` +} + +// FindAttackDiscoverySchedulesParamsSortDirection defines parameters for FindAttackDiscoverySchedules. +type FindAttackDiscoverySchedulesParamsSortDirection string + // DeleteCaseDefaultSpaceParams defines parameters for DeleteCaseDefaultSpace. type DeleteCaseDefaultSpaceParams struct { // Ids The cases that you want to removed. All non-ASCII characters must be URL encoded. @@ -26749,6 +28969,11 @@ type InitEntityEngineJSONBody struct { TimestampField *string `json:"timestampField,omitempty"` } +// UpsertEntitiesBulkParams defines parameters for UpsertEntitiesBulk. +type UpsertEntitiesBulkParams struct { + Force *bool `form:"force,omitempty" json:"force,omitempty"` +} + // ListEntitiesParams defines parameters for ListEntities. type ListEntitiesParams struct { SortField *string `form:"sort_field,omitempty" json:"sort_field,omitempty"` @@ -26764,6 +28989,17 @@ type ListEntitiesParams struct { // ListEntitiesParamsSortOrder defines parameters for ListEntities. type ListEntitiesParamsSortOrder string +// DeleteSingleEntityJSONBody defines parameters for DeleteSingleEntity. +type DeleteSingleEntityJSONBody struct { + // Id Identifier of the entity to be deleted, commonly entity.id value. + Id string `json:"id"` +} + +// UpsertEntityParams defines parameters for UpsertEntity. +type UpsertEntityParams struct { + Force *bool `form:"force,omitempty" json:"force,omitempty"` +} + // GetEntityStoreStatusParams defines parameters for GetEntityStoreStatus. type GetEntityStoreStatusParams struct { // IncludeComponents If true returns a detailed status of the engine including all it's components @@ -27469,6 +29705,161 @@ type GetFleetAgentStatusDataParamsAgentsIds0 = []string // GetFleetAgentStatusDataParamsAgentsIds1 defines parameters for GetFleetAgentStatusData. type GetFleetAgentStatusDataParamsAgentsIds1 = string +// PostFleetAgentlessPoliciesJSONBody defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBody struct { + // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. + AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` + + // Description Policy description. + Description *string `json:"description,omitempty"` + + // Force Force package policy creation even if the package is not verified, or if the agent policy is managed. + Force *bool `json:"force,omitempty"` + + // Id Policy unique identifier. + Id *string `json:"id,omitempty"` + + // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. + Inputs *map[string]struct { + // Enabled Enable or disable that input. Defaults to `true` (enabled). + Enabled *bool `json:"enabled,omitempty"` + + // Streams Input streams. Refer to the integration documentation to know which streams are available. + Streams *map[string]struct { + // Enabled Enable or disable that stream. Defaults to `true` (enabled). + Enabled *bool `json:"enabled,omitempty"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` + } `json:"streams,omitempty"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties `json:"vars,omitempty"` + } `json:"inputs,omitempty"` + + // Name Unique name for the policy. + Name string `json:"name"` + + // Namespace Policy namespace. When not specified, it inherits the agent policy namespace. + Namespace *string `json:"namespace,omitempty"` + Package struct { + ExperimentalDataStreamFeatures *[]struct { + DataStream string `json:"data_stream"` + Features struct { + DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` + DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` + SyntheticSource *bool `json:"synthetic_source,omitempty"` + Tsdb *bool `json:"tsdb,omitempty"` + } `json:"features"` + } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` + + // Name Package name + Name string `json:"name"` + RequiresRoot *bool `json:"requires_root,omitempty"` + Title *string `json:"title,omitempty"` + + // Version Package version + Version string `json:"version"` + } `json:"package"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties `json:"vars,omitempty"` +} + +// PostFleetAgentlessPoliciesParams defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesParams struct { + // Format The format of the response package policy. + Format *PostFleetAgentlessPoliciesParamsFormat `form:"format,omitempty" json:"format,omitempty"` +} + +// PostFleetAgentlessPoliciesParamsFormat defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesParamsFormat string + +// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars0 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars0 = bool + +// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars1 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars1 = string + +// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars2 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars2 = float32 + +// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars3 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars3 = []string + +// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars4 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars4 = []float32 + +// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars5 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} + +// PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties struct { + union json.RawMessage +} + +// PostFleetAgentlessPoliciesJSONBodyInputsVars0 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsVars0 = bool + +// PostFleetAgentlessPoliciesJSONBodyInputsVars1 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsVars1 = string + +// PostFleetAgentlessPoliciesJSONBodyInputsVars2 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsVars2 = float32 + +// PostFleetAgentlessPoliciesJSONBodyInputsVars3 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsVars3 = []string + +// PostFleetAgentlessPoliciesJSONBodyInputsVars4 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsVars4 = []float32 + +// PostFleetAgentlessPoliciesJSONBodyInputsVars5 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyInputsVars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} + +// PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties struct { + union json.RawMessage +} + +// PostFleetAgentlessPoliciesJSONBodyVars0 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyVars0 = bool + +// PostFleetAgentlessPoliciesJSONBodyVars1 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyVars1 = string + +// PostFleetAgentlessPoliciesJSONBodyVars2 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyVars2 = float32 + +// PostFleetAgentlessPoliciesJSONBodyVars3 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyVars3 = []string + +// PostFleetAgentlessPoliciesJSONBodyVars4 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyVars4 = []float32 + +// PostFleetAgentlessPoliciesJSONBodyVars5 defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBodyVars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} + +// PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. +type PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties struct { + union json.RawMessage +} + +// DeleteFleetAgentlessPoliciesPolicyidParams defines parameters for DeleteFleetAgentlessPoliciesPolicyid. +type DeleteFleetAgentlessPoliciesPolicyidParams struct { + // Force Force delete the policy even if the policy is managed. + Force *bool `form:"force,omitempty" json:"force,omitempty"` +} + // GetFleetAgentsParams defines parameters for GetFleetAgents. type GetFleetAgentsParams struct { Page *float32 `form:"page,omitempty" json:"page,omitempty"` @@ -27504,6 +29895,39 @@ type GetFleetAgentsActionStatusParams struct { ErrorSize *float32 `form:"errorSize,omitempty" json:"errorSize,omitempty"` } +// PostFleetAgentsBulkMigrateJSONBody defines parameters for PostFleetAgentsBulkMigrate. +type PostFleetAgentsBulkMigrateJSONBody struct { + Agents PostFleetAgentsBulkMigrateJSONBody_Agents `json:"agents"` + BatchSize *float32 `json:"batchSize,omitempty"` + EnrollmentToken string `json:"enrollment_token"` + Settings *struct { + CaSha256 *string `json:"ca_sha256,omitempty"` + CertificateAuthorities *string `json:"certificate_authorities,omitempty"` + ElasticAgentCert *string `json:"elastic_agent_cert,omitempty"` + ElasticAgentCertKey *string `json:"elastic_agent_cert_key,omitempty"` + ElasticAgentCertKeyPassphrase *string `json:"elastic_agent_cert_key_passphrase,omitempty"` + Headers *map[string]string `json:"headers,omitempty"` + Insecure *bool `json:"insecure,omitempty"` + ProxyDisabled *bool `json:"proxy_disabled,omitempty"` + ProxyHeaders *map[string]string `json:"proxy_headers,omitempty"` + ProxyUrl *string `json:"proxy_url,omitempty"` + Staging *string `json:"staging,omitempty"` + Tags *[]string `json:"tags,omitempty"` + } `json:"settings,omitempty"` + Uri string `json:"uri"` +} + +// PostFleetAgentsBulkMigrateJSONBodyAgents0 defines parameters for PostFleetAgentsBulkMigrate. +type PostFleetAgentsBulkMigrateJSONBodyAgents0 = []string + +// PostFleetAgentsBulkMigrateJSONBodyAgents1 defines parameters for PostFleetAgentsBulkMigrate. +type PostFleetAgentsBulkMigrateJSONBodyAgents1 = string + +// PostFleetAgentsBulkMigrateJSONBody_Agents defines parameters for PostFleetAgentsBulkMigrate. +type PostFleetAgentsBulkMigrateJSONBody_Agents struct { + union json.RawMessage +} + // PostFleetAgentsBulkReassignJSONBody defines parameters for PostFleetAgentsBulkReassign. type PostFleetAgentsBulkReassignJSONBody struct { Agents PostFleetAgentsBulkReassignJSONBody_Agents `json:"agents"` @@ -27665,6 +30089,27 @@ type PostFleetAgentsAgentidActionsJSONBody_Action struct { union json.RawMessage } +// PostFleetAgentsAgentidMigrateJSONBody defines parameters for PostFleetAgentsAgentidMigrate. +type PostFleetAgentsAgentidMigrateJSONBody struct { + EnrollmentToken string `json:"enrollment_token"` + Settings *struct { + CaSha256 *string `json:"ca_sha256,omitempty"` + CertificateAuthorities *string `json:"certificate_authorities,omitempty"` + ElasticAgentCert *string `json:"elastic_agent_cert,omitempty"` + ElasticAgentCertKey *string `json:"elastic_agent_cert_key,omitempty"` + ElasticAgentCertKeyPassphrase *string `json:"elastic_agent_cert_key_passphrase,omitempty"` + Headers *map[string]string `json:"headers,omitempty"` + Insecure *bool `json:"insecure,omitempty"` + ProxyDisabled *bool `json:"proxy_disabled,omitempty"` + ProxyHeaders *map[string]string `json:"proxy_headers,omitempty"` + ProxyUrl *string `json:"proxy_url,omitempty"` + ReplaceToken *string `json:"replace_token,omitempty"` + Staging *string `json:"staging,omitempty"` + Tags *[]string `json:"tags,omitempty"` + } `json:"settings,omitempty"` + Uri string `json:"uri"` +} + // PostFleetAgentsAgentidReassignJSONBody defines parameters for PostFleetAgentsAgentidReassign. type PostFleetAgentsAgentidReassignJSONBody struct { PolicyId string `json:"policy_id"` @@ -27697,6 +30142,114 @@ type GetFleetCheckPermissionsParams struct { FleetServerSetup *bool `form:"fleetServerSetup,omitempty" json:"fleetServerSetup,omitempty"` } +// GetFleetCloudConnectorsParams defines parameters for GetFleetCloudConnectors. +type GetFleetCloudConnectorsParams struct { + // Page The page number for pagination. + Page *string `form:"page,omitempty" json:"page,omitempty"` + + // PerPage The number of items per page. + PerPage *string `form:"perPage,omitempty" json:"perPage,omitempty"` + + // Kuery KQL query to filter cloud connectors. + Kuery *string `form:"kuery,omitempty" json:"kuery,omitempty"` +} + +// PostFleetCloudConnectorsJSONBody defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBody struct { + // CloudProvider The cloud provider type: aws, azure, or gcp. + CloudProvider PostFleetCloudConnectorsJSONBodyCloudProvider `json:"cloudProvider"` + + // Name The name of the cloud connector. + Name string `json:"name"` + Vars map[string]PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties `json:"vars"` +} + +// PostFleetCloudConnectorsJSONBodyCloudProvider defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyCloudProvider string + +// PostFleetCloudConnectorsJSONBodyVars0 defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyVars0 = string + +// PostFleetCloudConnectorsJSONBodyVars1 defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyVars1 = float32 + +// PostFleetCloudConnectorsJSONBodyVars2 defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyVars2 = bool + +// PostFleetCloudConnectorsJSONBodyVars3 defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyVars3 struct { + Frozen *bool `json:"frozen,omitempty"` + Type string `json:"type"` + Value PostFleetCloudConnectorsJSONBody_Vars_3_Value `json:"value"` +} + +// PostFleetCloudConnectorsJSONBodyVars3Value0 defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyVars3Value0 = string + +// PostFleetCloudConnectorsJSONBodyVars3Value1 defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBodyVars3Value1 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} + +// PostFleetCloudConnectorsJSONBody_Vars_3_Value defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBody_Vars_3_Value struct { + union json.RawMessage +} + +// PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties defines parameters for PostFleetCloudConnectors. +type PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties struct { + union json.RawMessage +} + +// DeleteFleetCloudConnectorsCloudconnectoridParams defines parameters for DeleteFleetCloudConnectorsCloudconnectorid. +type DeleteFleetCloudConnectorsCloudconnectoridParams struct { + // Force If true, forces deletion even if the cloud connector is in use. + Force *bool `form:"force,omitempty" json:"force,omitempty"` +} + +// PutFleetCloudConnectorsCloudconnectoridJSONBody defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBody struct { + // Name The name of the cloud connector. + Name *string `json:"name,omitempty"` + Vars *map[string]PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties `json:"vars,omitempty"` +} + +// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars0 defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars0 = string + +// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars1 defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars1 = float32 + +// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars2 defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars2 = bool + +// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3 defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3 struct { + Frozen *bool `json:"frozen,omitempty"` + Type string `json:"type"` + Value PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_3_Value `json:"value"` +} + +// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value0 defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value0 = string + +// PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value1 defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBodyVars3Value1 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} + +// PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_3_Value defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_3_Value struct { + union json.RawMessage +} + +// PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties defines parameters for PutFleetCloudConnectorsCloudconnectorid. +type PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties struct { + union json.RawMessage +} + // GetFleetEnrollmentApiKeysParams defines parameters for GetFleetEnrollmentApiKeys. type GetFleetEnrollmentApiKeysParams struct { Page *float32 `form:"page,omitempty" json:"page,omitempty"` @@ -27798,6 +30351,14 @@ type PostFleetEpmPackagesBulkJSONBody_Packages_Item struct { union json.RawMessage } +// PostFleetEpmPackagesBulkRollbackJSONBody defines parameters for PostFleetEpmPackagesBulkRollback. +type PostFleetEpmPackagesBulkRollbackJSONBody struct { + Packages []struct { + // Name Package name to rollback + Name string `json:"name"` + } `json:"packages"` +} + // PostFleetEpmPackagesBulkUninstallJSONBody defines parameters for PostFleetEpmPackagesBulkUninstall. type PostFleetEpmPackagesBulkUninstallJSONBody struct { Force *bool `json:"force,omitempty"` @@ -27889,6 +30450,11 @@ type PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONBody struct { SpaceIds *[]string `json:"space_ids,omitempty"` } +// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody defines parameters for PostFleetEpmPackagesPkgnamePkgversionRuleAssets. +type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody struct { + Force *bool `json:"force,omitempty"` +} + // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody defines parameters for PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorize. type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody struct { Transforms []struct { @@ -27922,21 +30488,38 @@ type PostFleetFleetServerHostsJSONBody struct { ProxyId *string `json:"proxy_id,omitempty"` Secrets *struct { Ssl *struct { - EsKey *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` - Key *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` + AgentKey *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_AgentKey `json:"agent_key,omitempty"` + EsKey *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` + Key *PostFleetFleetServerHostsJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` Ssl *struct { - Certificate *string `json:"certificate,omitempty"` - CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` - ClientAuth *PostFleetFleetServerHostsJSONBodySslClientAuth `json:"client_auth,omitempty"` - EsCertificate *string `json:"es_certificate,omitempty"` - EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` - EsKey *string `json:"es_key,omitempty"` - Key *string `json:"key,omitempty"` + AgentCertificate *string `json:"agent_certificate,omitempty"` + AgentCertificateAuthorities *[]string `json:"agent_certificate_authorities,omitempty"` + AgentKey *string `json:"agent_key,omitempty"` + Certificate *string `json:"certificate,omitempty"` + CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` + ClientAuth *PostFleetFleetServerHostsJSONBodySslClientAuth `json:"client_auth,omitempty"` + EsCertificate *string `json:"es_certificate,omitempty"` + EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` + EsKey *string `json:"es_key,omitempty"` + Key *string `json:"key,omitempty"` } `json:"ssl,omitempty"` } +// PostFleetFleetServerHostsJSONBodySecretsSslAgentKey0 defines parameters for PostFleetFleetServerHosts. +type PostFleetFleetServerHostsJSONBodySecretsSslAgentKey0 struct { + Id string `json:"id"` +} + +// PostFleetFleetServerHostsJSONBodySecretsSslAgentKey1 defines parameters for PostFleetFleetServerHosts. +type PostFleetFleetServerHostsJSONBodySecretsSslAgentKey1 = string + +// PostFleetFleetServerHostsJSONBody_Secrets_Ssl_AgentKey defines parameters for PostFleetFleetServerHosts. +type PostFleetFleetServerHostsJSONBody_Secrets_Ssl_AgentKey struct { + union json.RawMessage +} + // PostFleetFleetServerHostsJSONBodySecretsSslEsKey0 defines parameters for PostFleetFleetServerHosts. type PostFleetFleetServerHostsJSONBodySecretsSslEsKey0 struct { Id string `json:"id"` @@ -27975,21 +30558,38 @@ type PutFleetFleetServerHostsItemidJSONBody struct { ProxyId *string `json:"proxy_id,omitempty"` Secrets *struct { Ssl *struct { - EsKey *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` - Key *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` + AgentKey *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_AgentKey `json:"agent_key,omitempty"` + EsKey *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_EsKey `json:"es_key,omitempty"` + Key *PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_Key `json:"key,omitempty"` } `json:"ssl,omitempty"` } `json:"secrets,omitempty"` Ssl *struct { - Certificate *string `json:"certificate,omitempty"` - CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` - ClientAuth *PutFleetFleetServerHostsItemidJSONBodySslClientAuth `json:"client_auth,omitempty"` - EsCertificate *string `json:"es_certificate,omitempty"` - EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` - EsKey *string `json:"es_key,omitempty"` - Key *string `json:"key,omitempty"` + AgentCertificate *string `json:"agent_certificate,omitempty"` + AgentCertificateAuthorities *[]string `json:"agent_certificate_authorities,omitempty"` + AgentKey *string `json:"agent_key,omitempty"` + Certificate *string `json:"certificate,omitempty"` + CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` + ClientAuth *PutFleetFleetServerHostsItemidJSONBodySslClientAuth `json:"client_auth,omitempty"` + EsCertificate *string `json:"es_certificate,omitempty"` + EsCertificateAuthorities *[]string `json:"es_certificate_authorities,omitempty"` + EsKey *string `json:"es_key,omitempty"` + Key *string `json:"key,omitempty"` } `json:"ssl,omitempty"` } +// PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey0 defines parameters for PutFleetFleetServerHostsItemid. +type PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey0 struct { + Id string `json:"id"` +} + +// PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey1 defines parameters for PutFleetFleetServerHostsItemid. +type PutFleetFleetServerHostsItemidJSONBodySecretsSslAgentKey1 = string + +// PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_AgentKey defines parameters for PutFleetFleetServerHostsItemid. +type PutFleetFleetServerHostsItemidJSONBody_Secrets_Ssl_AgentKey struct { + union json.RawMessage +} + // PutFleetFleetServerHostsItemidJSONBodySecretsSslEsKey0 defines parameters for PutFleetFleetServerHostsItemid. type PutFleetFleetServerHostsItemidJSONBodySecretsSslEsKey0 struct { Id string `json:"id"` @@ -28179,13 +30779,17 @@ type PostFleetServiceTokensJSONBody struct { // PutFleetSettingsJSONBody defines parameters for PutFleetSettings. type PutFleetSettingsJSONBody struct { + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set AdditionalYamlConfig *string `json:"additional_yaml_config,omitempty"` DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` - HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` - KibanaCaSha256 *string `json:"kibana_ca_sha256,omitempty"` + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + KibanaCaSha256 *string `json:"kibana_ca_sha256,omitempty"` + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set KibanaUrls *[]string `json:"kibana_urls,omitempty"` PrereleaseIntegrationsEnabled *bool `json:"prerelease_integrations_enabled,omitempty"` } @@ -28502,6 +31106,27 @@ type PutLogstashPipelineJSONBody struct { Settings *map[string]interface{} `json:"settings,omitempty"` } +// GetMaintenanceWindowFindParams defines parameters for GetMaintenanceWindowFind. +type GetMaintenanceWindowFindParams struct { + // Title The title of the maintenance window. + Title *string `form:"title,omitempty" json:"title,omitempty"` + + // CreatedBy The user who created the maintenance window. + CreatedBy *string `form:"created_by,omitempty" json:"created_by,omitempty"` + + // Status The status of the maintenance window. One of "running", "upcoming", "finished" or "archived". + Status *[]GetMaintenanceWindowFindParamsStatus `form:"status,omitempty" json:"status,omitempty"` + + // Page The page number to return. + Page *float32 `form:"page,omitempty" json:"page,omitempty"` + + // PerPage The number of maintenance windows to return per page. + PerPage *float32 `form:"per_page,omitempty" json:"per_page,omitempty"` +} + +// GetMaintenanceWindowFindParamsStatus defines parameters for GetMaintenanceWindowFind. +type GetMaintenanceWindowFindParamsStatus string + // MlSyncParams defines parameters for MlSync. type MlSyncParams struct { // Simulate When true, simulates the synchronization by returning only the list of actions that would be performed. @@ -28622,14 +31247,24 @@ type PersistPinnedEventRouteJSONBody struct { // ConfigureRiskEngineSavedObjectJSONBody defines parameters for ConfigureRiskEngineSavedObject. type ConfigureRiskEngineSavedObjectJSONBody struct { + EnableResetToZero *bool `json:"enable_reset_to_zero,omitempty"` ExcludeAlertStatuses *[]string `json:"exclude_alert_statuses,omitempty"` ExcludeAlertTags *[]string `json:"exclude_alert_tags,omitempty"` - Range *struct { + Filters *[]struct { + EntityTypes []ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes `json:"entity_types"` + + // Filter KQL filter string + Filter string `json:"filter"` + } `json:"filters,omitempty"` + Range *struct { End *string `json:"end,omitempty"` Start *string `json:"start,omitempty"` } `json:"range,omitempty"` } +// ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes defines parameters for ConfigureRiskEngineSavedObject. +type ConfigureRiskEngineSavedObjectJSONBodyFiltersEntityTypes string + // ScheduleRiskEngineNowJSONBody defines parameters for ScheduleRiskEngineNow. type ScheduleRiskEngineNowJSONBody interface{} @@ -28669,7 +31304,7 @@ type PostSavedObjectsExportJSONBody struct { // IncludeReferencesDeep Includes all of the referenced objects in the exported objects. IncludeReferencesDeep *bool `json:"includeReferencesDeep,omitempty"` - // Objects A list of objects to export. NOTE: this optiona cannot be combined with `types` option + // Objects A list of objects to export. NOTE: this optional parameter cannot be combined with the `types` option Objects *[]struct { Id string `json:"id"` Type string `json:"type"` @@ -28678,7 +31313,7 @@ type PostSavedObjectsExportJSONBody struct { // Search Search for documents to export using the Elasticsearch Simple Query String syntax. Search *string `json:"search,omitempty"` - // Type The saved object types to include in the export. Use `*` to export all the types. + // Type The saved object types to include in the export. Use `*` to export all the types. Valid options depend on enabled plugins, but may include `visualization`, `dashboard`, `search`, `index-pattern`, `tag`, `config`, `config-global`, `lens`, `map`, `event-annotation-group`, `query`, `url`, `action`, `alert`, `alerting_rule_template`, `apm-indices`, `cases-user-actions`, `cases`, `cases-comments`, `infrastructure-monitoring-log-view`, `ml-trained-model`, `osquery-saved-query`, `osquery-pack`, `osquery-pack-asset`. Type *PostSavedObjectsExportJSONBody_Type `json:"type,omitempty"` } @@ -29492,6 +32127,10 @@ type PutStreamsNameJSONBody0 struct { type PutStreamsNameJSONBody00 struct { Dashboards []string `json:"dashboards"` Queries []struct { + Feature *struct { + Filter PutStreamsNameJSONBody_0_0_Queries_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -29505,11 +32144,265 @@ type PutStreamsNameJSONBody00 struct { Processing struct { Steps []PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item `json:"steps"` } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` } `json:"ingest"` Name interface{} `json:"name,omitempty"` } `json:"stream"` } +// PutStreamsNameJSONBody00QueriesFeatureFilter0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00 struct { + Contains *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith0 = string + +// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith1 = float32 + +// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody00QueriesFeatureFilter5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00QueriesFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter struct { + union json.RawMessage +} + // PutStreamsNameJSONBody00StreamIngestLifecycle0 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestLifecycle0 struct { Dsl struct { @@ -29541,14 +32434,15 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps0 struct { // PutStreamsNameJSONBody00StreamIngestProcessingSteps00 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps00 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action defines parameters for PutStreamsName. @@ -30064,7 +32958,9 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` + Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -30320,11 +33216,7 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps03 struct { Action PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -30577,13 +33469,13 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where struct // PutStreamsNameJSONBody00StreamIngestProcessingSteps04 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps04 struct { Action PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` - Value *string `json:"value,omitempty"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -30836,12 +33728,13 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where struct // PutStreamsNameJSONBody00StreamIngestProcessingSteps05 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps05 struct { Action PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Override *bool `json:"override,omitempty"` To string `json:"to"` - Value []interface{} `json:"value"` + Value interface{} `json:"value,omitempty"` Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -31093,60 +33986,14 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where struct // PutStreamsNameJSONBody00StreamIngestProcessingSteps06 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps06 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action `json:"action"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + To string `json:"to"` + Value []interface{} `json:"value"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action defines parameters for PutStreamsName. @@ -31395,9 +34242,845 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_6_Where struct union json.RawMessage } +// PutStreamsNameJSONBody00StreamIngestProcessingSteps07 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps07 struct { + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08 struct { + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00 struct { + Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09 struct { + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + To *string `json:"to,omitempty"` + Type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type `json:"type"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00 struct { + Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010 struct { + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00 struct { + Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where struct { + union json.RawMessage +} + // PutStreamsNameJSONBody00StreamIngestProcessingSteps1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps1 struct { - Where struct { + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -31407,10 +35090,25 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item struct { union json.RawMessage } +// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + // PutStreamsNameJSONBody01 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01 struct { Dashboards []string `json:"dashboards"` Queries []struct { + Feature *struct { + Filter PutStreamsNameJSONBody_0_1_Queries_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -31424,11 +35122,265 @@ type PutStreamsNameJSONBody01 struct { Processing struct { Steps []PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item `json:"steps"` } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` } `json:"ingest"` Name interface{} `json:"name,omitempty"` } `json:"stream"` } +// PutStreamsNameJSONBody01QueriesFeatureFilter0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00 struct { + Contains *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith0 = string + +// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith1 = float32 + +// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody01QueriesFeatureFilter5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01QueriesFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter struct { + union json.RawMessage +} + // PutStreamsNameJSONBody01StreamIngestLifecycle0 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestLifecycle0 struct { Dsl struct { @@ -31460,14 +35412,15 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps0 struct { // PutStreamsNameJSONBody01StreamIngestProcessingSteps00 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps00 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action defines parameters for PutStreamsName. @@ -31983,7 +35936,9 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` + Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -32239,11 +36194,7 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps03 struct { Action PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -32496,13 +36447,13 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where struct // PutStreamsNameJSONBody01StreamIngestProcessingSteps04 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps04 struct { Action PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` - Value *string `json:"value,omitempty"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -32755,12 +36706,13 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where struct // PutStreamsNameJSONBody01StreamIngestProcessingSteps05 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps05 struct { Action PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Override *bool `json:"override,omitempty"` To string `json:"to"` - Value []interface{} `json:"value"` + Value interface{} `json:"value,omitempty"` Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -33012,60 +36964,14 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where struct // PutStreamsNameJSONBody01StreamIngestProcessingSteps06 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps06 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action `json:"action"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + To string `json:"to"` + Value []interface{} `json:"value"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action defines parameters for PutStreamsName. @@ -33314,9 +37220,845 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_6_Where struct union json.RawMessage } +// PutStreamsNameJSONBody01StreamIngestProcessingSteps07 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps07 struct { + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08 struct { + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00 struct { + Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09 struct { + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + To *string `json:"to,omitempty"` + Type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type `json:"type"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00 struct { + Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010 struct { + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00 struct { + Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where struct { + union json.RawMessage +} + // PutStreamsNameJSONBody01StreamIngestProcessingSteps1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps1 struct { - Where struct { + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -33326,10 +38068,25 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item struct { union json.RawMessage } +// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + // PutStreamsNameJSONBody1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody1 struct { Dashboards []string `json:"dashboards"` Queries []struct { + Feature *struct { + Filter PutStreamsNameJSONBody_1_Queries_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -33347,6 +38104,249 @@ type PutStreamsNameJSONBody1 struct { } `json:"stream"` } +// PutStreamsNameJSONBody1QueriesFeatureFilter0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00 struct { + Contains *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith0 = string + +// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith1 = float32 + +// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith2 = bool + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody1QueriesFeatureFilter5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1QueriesFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_1_Queries_Feature_Filter defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_1_Queries_Feature_Filter struct { + union json.RawMessage +} + // PostStreamsNameForkJSONBody defines parameters for PostStreamsNameFork. type PostStreamsNameForkJSONBody struct { Status *PostStreamsNameForkJSONBodyStatus `json:"status,omitempty"` @@ -33650,6 +38650,17 @@ type PutStreamsNameIngestJSONBodyIngest0 struct { Processing struct { Steps []PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item `json:"steps"` } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` Wired struct { Fields map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties `json:"fields"` Routing []struct { @@ -33691,14 +38702,15 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps0 struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action defines parameters for PutStreamsNameIngest. @@ -34214,7 +39226,9 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` + Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -34470,11 +39484,7 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03 struct { Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -34727,13 +39737,13 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04 struct { Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` - Value *string `json:"value,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -34986,12 +39996,13 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05 struct { Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Override *bool `json:"override,omitempty"` To string `json:"to"` - Value []interface{} `json:"value"` + Value interface{} `json:"value,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -35243,60 +40254,14 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where struct { // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action `json:"action"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + To string `json:"to"` + Value []interface{} `json:"value"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action defines parameters for PutStreamsNameIngest. @@ -35545,9 +40510,845 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_6_Where struct { union json.RawMessage } +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07 struct { + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08 struct { + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 struct { + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + To *string `json:"to,omitempty"` + Type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type `json:"type"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010 struct { + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where struct { + union json.RawMessage +} + // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 struct { - Where struct { + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -35557,6 +41358,17 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item struct { union json.RawMessage } +// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + // PutStreamsNameIngestJSONBodyIngest0WiredFields0 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0WiredFields0 struct { union json.RawMessage @@ -35601,7 +41413,10 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item struct { } // PutStreamsNameIngestJSONBodyIngest0WiredFields2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = interface{} +type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = []interface{} + +// PutStreamsNameIngestJSONBodyIngest0WiredFields3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields3 = interface{} // PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties struct { @@ -35863,6 +41678,17 @@ type PutStreamsNameIngestJSONBodyIngest1 struct { Processing struct { Steps []PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item `json:"steps"` } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` } // PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 defines parameters for PutStreamsNameIngest. @@ -35909,7 +41735,10 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item struct } // PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = interface{} +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = []interface{} + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 = interface{} // PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties struct { @@ -35947,14 +41776,15 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps0 struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` + Patterns []string `json:"patterns"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action defines parameters for PutStreamsNameIngest. @@ -36470,7 +42300,9 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02 struct { Formats []string `json:"formats"` From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Locale *string `json:"locale,omitempty"` OutputFormat *string `json:"output_format,omitempty"` + Timezone *string `json:"timezone,omitempty"` To *string `json:"to,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where `json:"where,omitempty"` } @@ -36726,11 +42558,7 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03 struct { Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action `json:"action"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` - From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where `json:"where,omitempty"` } @@ -36983,13 +42811,13 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04 struct { Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` + From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` Override *bool `json:"override,omitempty"` To string `json:"to"` - Value *string `json:"value,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where `json:"where,omitempty"` } @@ -37242,12 +43070,13 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05 struct { Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CopyFrom *string `json:"copy_from,omitempty"` CustomIdentifier *string `json:"customIdentifier,omitempty"` Description *string `json:"description,omitempty"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` + Override *bool `json:"override,omitempty"` To string `json:"to"` - Value []interface{} `json:"value"` + Value interface{} `json:"value,omitempty"` Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where `json:"where,omitempty"` } @@ -37499,60 +43328,14 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where struct { // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_6_Where `json:"where,omitempty"` + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action `json:"action"` + AllowDuplicates *bool `json:"allow_duplicates,omitempty"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + To string `json:"to"` + Value []interface{} `json:"value"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_6_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action defines parameters for PutStreamsNameIngest. @@ -37801,9 +43584,845 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_6_Where struct { union json.RawMessage } +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07 struct { + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08 struct { + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 struct { + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + From string `json:"from"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + IgnoreMissing *bool `json:"ignore_missing,omitempty"` + To *string `json:"to,omitempty"` + Type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type `json:"type"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010 struct { + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action `json:"action"` + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Description *string `json:"description,omitempty"` + IgnoreFailure *bool `json:"ignore_failure,omitempty"` + OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` + Processors []struct { + Append interface{} `json:"append"` + Attachment interface{} `json:"attachment"` + Bytes interface{} `json:"bytes"` + Circle interface{} `json:"circle"` + CommunityId interface{} `json:"community_id"` + Convert interface{} `json:"convert"` + Csv interface{} `json:"csv"` + Date interface{} `json:"date"` + DateIndexName interface{} `json:"date_index_name"` + Dissect interface{} `json:"dissect"` + DotExpander interface{} `json:"dot_expander"` + Drop interface{} `json:"drop"` + Enrich interface{} `json:"enrich"` + Fail interface{} `json:"fail"` + Fingerprint interface{} `json:"fingerprint"` + Foreach interface{} `json:"foreach"` + GeoGrid interface{} `json:"geo_grid"` + Geoip interface{} `json:"geoip"` + Grok interface{} `json:"grok"` + Gsub interface{} `json:"gsub"` + HtmlStrip interface{} `json:"html_strip"` + Inference interface{} `json:"inference"` + IpLocation interface{} `json:"ip_location"` + Join interface{} `json:"join"` + Json interface{} `json:"json"` + Kv interface{} `json:"kv"` + Lowercase interface{} `json:"lowercase"` + NetworkDirection interface{} `json:"network_direction"` + Pipeline interface{} `json:"pipeline"` + Redact interface{} `json:"redact"` + RegisteredDomain interface{} `json:"registered_domain"` + Remove interface{} `json:"remove"` + Rename interface{} `json:"rename"` + Reroute interface{} `json:"reroute"` + Script interface{} `json:"script"` + Set interface{} `json:"set"` + SetSecurityUser interface{} `json:"set_security_user"` + Sort interface{} `json:"sort"` + Split interface{} `json:"split"` + Terminate interface{} `json:"terminate"` + Trim interface{} `json:"trim"` + Uppercase interface{} `json:"uppercase"` + UriParts interface{} `json:"uri_parts"` + Urldecode interface{} `json:"urldecode"` + UserAgent interface{} `json:"user_agent"` + } `json:"processors"` + Tag *string `json:"tag,omitempty"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where struct { + union json.RawMessage +} + // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 struct { - Where struct { + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Where struct { Steps []interface{} `json:"steps"` } `json:"where"` } @@ -37813,6 +44432,17 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item struct { union json.RawMessage } +// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + // PutStreamsNameIngestJSONBody_Ingest defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBody_Ingest struct { union json.RawMessage @@ -37836,7 +44466,8 @@ type PostStreamsNameContentExportJSONBodyInclude0 struct { // PostStreamsNameContentExportJSONBodyInclude1 defines parameters for PostStreamsNameContentExport. type PostStreamsNameContentExportJSONBodyInclude1 struct { Objects struct { - Queries []struct { + Mappings bool `json:"mappings"` + Queries []struct { Id string `json:"id"` } `json:"queries"` Routing []struct { @@ -37944,6 +44575,10 @@ type PostStreamsNameQueriesBulkJSONBody struct { // PostStreamsNameQueriesBulkJSONBodyOperations0 defines parameters for PostStreamsNameQueriesBulk. type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { Index struct { + Feature *struct { + Filter PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { Query string `json:"query"` @@ -37952,6 +44587,249 @@ type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { } `json:"index"` } +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter0 struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00 struct { + Contains *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith0 = string + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith1 = float32 + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith2 = bool + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter01 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter2 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter3 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter4 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter5 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter struct { + union json.RawMessage +} + // PostStreamsNameQueriesBulkJSONBodyOperations1 defines parameters for PostStreamsNameQueriesBulk. type PostStreamsNameQueriesBulkJSONBodyOperations1 struct { Delete struct { @@ -37980,12 +44858,259 @@ type DeleteStreamsNameQueriesQueryidJSONBody2 = interface{} // PutStreamsNameQueriesQueryidJSONBody defines parameters for PutStreamsNameQueriesQueryid. type PutStreamsNameQueriesQueryidJSONBody struct { + Feature *struct { + Filter PutStreamsNameQueriesQueryidJSONBody_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` Kql struct { Query string `json:"query"` } `json:"kql"` Title string `json:"title"` } +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter0 struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00 struct { + Contains *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith0 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith0 = string + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith1 = float32 + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith2 = bool + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter01 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter1 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter2 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter3 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter4 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter5 defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter struct { + union json.RawMessage +} + // GetStreamsNameRulesJSONBody defines parameters for GetStreamsNameRules. type GetStreamsNameRulesJSONBody struct { union json.RawMessage @@ -38049,31 +45174,273 @@ type GetStreamsNameSignificantEventsJSONBody1 = interface{} // GetStreamsNameSignificantEventsJSONBody2 defines parameters for GetStreamsNameSignificantEvents. type GetStreamsNameSignificantEventsJSONBody2 = interface{} -// GetStreamsNameSignificantEventsGenerateJSONBody defines parameters for GetStreamsNameSignificantEventsGenerate. -type GetStreamsNameSignificantEventsGenerateJSONBody struct { +// PostStreamsNameSignificantEventsGenerateJSONBody defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody struct { + Feature *struct { + Description string `json:"description"` + Filter PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` +} + +// PostStreamsNameSignificantEventsGenerateParams defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateParams struct { + ConnectorId string `form:"connectorId" json:"connectorId"` + CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter0 struct { union json.RawMessage } -// GetStreamsNameSignificantEventsGenerateParams defines parameters for GetStreamsNameSignificantEventsGenerate. -type GetStreamsNameSignificantEventsGenerateParams struct { - ConnectorId string `form:"connectorId" json:"connectorId"` - CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` - ShortLookback *string `form:"shortLookback,omitempty" json:"shortLookback,omitempty"` - LongLookback *string `form:"longLookback,omitempty" json:"longLookback,omitempty"` +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00 struct { + Contains *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains struct { + union json.RawMessage } -// GetStreamsNameSignificantEventsGenerateJSONBody0 defines parameters for GetStreamsNameSignificantEventsGenerate. -type GetStreamsNameSignificantEventsGenerateJSONBody0 = map[string]interface{} +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith0 = string -// GetStreamsNameSignificantEventsGenerateJSONBody1 defines parameters for GetStreamsNameSignificantEventsGenerate. -type GetStreamsNameSignificantEventsGenerateJSONBody1 = interface{} +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith1 = float32 -// GetStreamsNameSignificantEventsGenerateJSONBody2 defines parameters for GetStreamsNameSignificantEventsGenerate. -type GetStreamsNameSignificantEventsGenerateJSONBody2 = interface{} +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith0 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith0 = string + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith1 = float32 + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith2 = bool + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter01 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter1 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter2 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter3 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter4 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter5 defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter struct { + union json.RawMessage +} // PostStreamsNameSignificantEventsPreviewJSONBody defines parameters for PostStreamsNameSignificantEventsPreview. type PostStreamsNameSignificantEventsPreviewJSONBody struct { Query struct { + Feature *struct { + Filter PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` Kql struct { Query string `json:"query"` } `json:"kql"` @@ -38087,6 +45454,249 @@ type PostStreamsNameSignificantEventsPreviewParams struct { BucketSize string `form:"bucketSize" json:"bucketSize"` } +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter0 struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00 struct { + Contains *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains `json:"contains,omitempty"` + EndsWith *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt `json:"gt,omitempty"` + Gte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte `json:"gte,omitempty"` + Lt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt `json:"lt,omitempty"` + Lte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte `json:"lte,omitempty"` + Neq *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith0 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith0 = string + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith1 = float32 + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith2 = bool + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith struct { + union json.RawMessage +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter01 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter1 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter1 struct { + And []interface{} `json:"and"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter2 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter2 struct { + Or []interface{} `json:"or"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter3 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter3 struct { + Not interface{} `json:"not"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter4 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter4 struct { + Never map[string]interface{} `json:"never"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter5 defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter5 struct { + Always map[string]interface{} `json:"always"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter struct { + union json.RawMessage +} + // GetSyntheticMonitorsParams defines parameters for GetSyntheticMonitors. type GetSyntheticMonitorsParams struct { // Filter Additional filtering criteria. @@ -38211,7 +45821,10 @@ type PostParametersJSONBody struct { type PostParametersJSONBody0 = []SyntheticsParameterRequest // DeleteParametersJSONBody defines parameters for DeleteParameters. -type DeleteParametersJSONBody = map[string]interface{} +type DeleteParametersJSONBody struct { + // Ids An array of parameter IDs to delete. + Ids *[]string `json:"ids,omitempty"` +} // PutParameterJSONBody defines parameters for PutParameter. type PutParameterJSONBody struct { @@ -38584,6 +46197,9 @@ type GetDefinitionsOpParams struct { // IncludeOutdatedOnly Indicates if the API returns only outdated SLO or all SLO definitions IncludeOutdatedOnly *bool `form:"includeOutdatedOnly,omitempty" json:"includeOutdatedOnly,omitempty"` + // IncludeHealth Indicates if the API returns SLO health data with definitions + IncludeHealth *bool `form:"includeHealth,omitempty" json:"includeHealth,omitempty"` + // Tags Filters the SLOs by tag Tags *string `form:"tags,omitempty" json:"tags,omitempty"` @@ -38600,6 +46216,33 @@ type GetDefinitionsOpParams struct { // PostActionsConnectorIdExecuteJSONRequestBody defines body for PostActionsConnectorIdExecute for application/json ContentType. type PostActionsConnectorIdExecuteJSONRequestBody PostActionsConnectorIdExecuteJSONBody +// PostAgentBuilderA2aAgentidJSONRequestBody defines body for PostAgentBuilderA2aAgentid for application/json ContentType. +type PostAgentBuilderA2aAgentidJSONRequestBody = PostAgentBuilderA2aAgentidJSONBody + +// PostAgentBuilderAgentsJSONRequestBody defines body for PostAgentBuilderAgents for application/json ContentType. +type PostAgentBuilderAgentsJSONRequestBody PostAgentBuilderAgentsJSONBody + +// PutAgentBuilderAgentsIdJSONRequestBody defines body for PutAgentBuilderAgentsId for application/json ContentType. +type PutAgentBuilderAgentsIdJSONRequestBody PutAgentBuilderAgentsIdJSONBody + +// PostAgentBuilderConverseJSONRequestBody defines body for PostAgentBuilderConverse for application/json ContentType. +type PostAgentBuilderConverseJSONRequestBody PostAgentBuilderConverseJSONBody + +// PostAgentBuilderConverseAsyncJSONRequestBody defines body for PostAgentBuilderConverseAsync for application/json ContentType. +type PostAgentBuilderConverseAsyncJSONRequestBody PostAgentBuilderConverseAsyncJSONBody + +// PostAgentBuilderMcpJSONRequestBody defines body for PostAgentBuilderMcp for application/json ContentType. +type PostAgentBuilderMcpJSONRequestBody = PostAgentBuilderMcpJSONBody + +// PostAgentBuilderToolsJSONRequestBody defines body for PostAgentBuilderTools for application/json ContentType. +type PostAgentBuilderToolsJSONRequestBody PostAgentBuilderToolsJSONBody + +// PostAgentBuilderToolsExecuteJSONRequestBody defines body for PostAgentBuilderToolsExecute for application/json ContentType. +type PostAgentBuilderToolsExecuteJSONRequestBody PostAgentBuilderToolsExecuteJSONBody + +// PutAgentBuilderToolsToolidJSONRequestBody defines body for PutAgentBuilderToolsToolid for application/json ContentType. +type PutAgentBuilderToolsToolidJSONRequestBody PutAgentBuilderToolsToolidJSONBody + // PostAlertingRuleIdJSONRequestBody defines body for PostAlertingRuleId for application/json ContentType. type PostAlertingRuleIdJSONRequestBody PostAlertingRuleIdJSONBody @@ -38639,6 +46282,18 @@ type CreateAssetCriticalityRecordJSONRequestBody CreateAssetCriticalityRecordJSO // BulkUpsertAssetCriticalityRecordsJSONRequestBody defines body for BulkUpsertAssetCriticalityRecords for application/json ContentType. type BulkUpsertAssetCriticalityRecordsJSONRequestBody BulkUpsertAssetCriticalityRecordsJSONBody +// PostAttackDiscoveryBulkJSONRequestBody defines body for PostAttackDiscoveryBulk for application/json ContentType. +type PostAttackDiscoveryBulkJSONRequestBody PostAttackDiscoveryBulkJSONBody + +// PostAttackDiscoveryGenerateJSONRequestBody defines body for PostAttackDiscoveryGenerate for application/json ContentType. +type PostAttackDiscoveryGenerateJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig + +// CreateAttackDiscoverySchedulesJSONRequestBody defines body for CreateAttackDiscoverySchedules for application/json ContentType. +type CreateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps + +// UpdateAttackDiscoverySchedulesJSONRequestBody defines body for UpdateAttackDiscoverySchedules for application/json ContentType. +type UpdateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps + // UpdateCaseDefaultSpaceJSONRequestBody defines body for UpdateCaseDefaultSpace for application/json ContentType. type UpdateCaseDefaultSpaceJSONRequestBody = CasesUpdateCaseRequest @@ -38729,6 +46384,9 @@ type SetAlertsStatusJSONRequestBody SetAlertsStatusJSONBody // SetAlertTagsJSONRequestBody defines body for SetAlertTags for application/json ContentType. type SetAlertTagsJSONRequestBody SetAlertTagsJSONBody +// CancelActionJSONRequestBody defines body for CancelAction for application/json ContentType. +type CancelActionJSONRequestBody = SecurityEndpointManagementAPICancelRouteRequestBody + // EndpointExecuteActionJSONRequestBody defines body for EndpointExecuteAction for application/json ContentType. type EndpointExecuteActionJSONRequestBody = SecurityEndpointManagementAPIExecuteRouteRequestBody @@ -38775,7 +46433,7 @@ type CreatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIUserName type PrivmonBulkUploadUsersCSVMultipartRequestBody PrivmonBulkUploadUsersCSVMultipartBody // UpdatePrivMonUserJSONRequestBody defines body for UpdatePrivMonUser for application/json ContentType. -type UpdatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIMonitoredUserDoc +type UpdatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc // InitEntityStoreJSONRequestBody defines body for InitEntityStore for application/json ContentType. type InitEntityStoreJSONRequestBody InitEntityStoreJSONBody @@ -38783,6 +46441,15 @@ type InitEntityStoreJSONRequestBody InitEntityStoreJSONBody // InitEntityEngineJSONRequestBody defines body for InitEntityEngine for application/json ContentType. type InitEntityEngineJSONRequestBody InitEntityEngineJSONBody +// UpsertEntitiesBulkJSONRequestBody defines body for UpsertEntitiesBulk for application/json ContentType. +type UpsertEntitiesBulkJSONRequestBody = SecurityEntityAnalyticsAPIEntitiesContainer + +// DeleteSingleEntityJSONRequestBody defines body for DeleteSingleEntity for application/json ContentType. +type DeleteSingleEntityJSONRequestBody DeleteSingleEntityJSONBody + +// UpsertEntityJSONRequestBody defines body for UpsertEntity for application/json ContentType. +type UpsertEntityJSONRequestBody = SecurityEntityAnalyticsAPIEntity + // CreateExceptionListJSONRequestBody defines body for CreateExceptionList for application/json ContentType. type CreateExceptionListJSONRequestBody CreateExceptionListJSONBody @@ -38825,9 +46492,15 @@ type PutFleetAgentPoliciesAgentpolicyidJSONRequestBody PutFleetAgentPoliciesAgen // PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody defines body for PostFleetAgentPoliciesAgentpolicyidCopy for application/json ContentType. type PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody PostFleetAgentPoliciesAgentpolicyidCopyJSONBody +// PostFleetAgentlessPoliciesJSONRequestBody defines body for PostFleetAgentlessPolicies for application/json ContentType. +type PostFleetAgentlessPoliciesJSONRequestBody PostFleetAgentlessPoliciesJSONBody + // PostFleetAgentsJSONRequestBody defines body for PostFleetAgents for application/json ContentType. type PostFleetAgentsJSONRequestBody PostFleetAgentsJSONBody +// PostFleetAgentsBulkMigrateJSONRequestBody defines body for PostFleetAgentsBulkMigrate for application/json ContentType. +type PostFleetAgentsBulkMigrateJSONRequestBody PostFleetAgentsBulkMigrateJSONBody + // PostFleetAgentsBulkReassignJSONRequestBody defines body for PostFleetAgentsBulkReassign for application/json ContentType. type PostFleetAgentsBulkReassignJSONRequestBody PostFleetAgentsBulkReassignJSONBody @@ -38849,6 +46522,9 @@ type PutFleetAgentsAgentidJSONRequestBody PutFleetAgentsAgentidJSONBody // PostFleetAgentsAgentidActionsJSONRequestBody defines body for PostFleetAgentsAgentidActions for application/json ContentType. type PostFleetAgentsAgentidActionsJSONRequestBody PostFleetAgentsAgentidActionsJSONBody +// PostFleetAgentsAgentidMigrateJSONRequestBody defines body for PostFleetAgentsAgentidMigrate for application/json ContentType. +type PostFleetAgentsAgentidMigrateJSONRequestBody PostFleetAgentsAgentidMigrateJSONBody + // PostFleetAgentsAgentidReassignJSONRequestBody defines body for PostFleetAgentsAgentidReassign for application/json ContentType. type PostFleetAgentsAgentidReassignJSONRequestBody PostFleetAgentsAgentidReassignJSONBody @@ -38861,6 +46537,12 @@ type PostFleetAgentsAgentidUnenrollJSONRequestBody PostFleetAgentsAgentidUnenrol // PostFleetAgentsAgentidUpgradeJSONRequestBody defines body for PostFleetAgentsAgentidUpgrade for application/json ContentType. type PostFleetAgentsAgentidUpgradeJSONRequestBody PostFleetAgentsAgentidUpgradeJSONBody +// PostFleetCloudConnectorsJSONRequestBody defines body for PostFleetCloudConnectors for application/json ContentType. +type PostFleetCloudConnectorsJSONRequestBody PostFleetCloudConnectorsJSONBody + +// PutFleetCloudConnectorsCloudconnectoridJSONRequestBody defines body for PutFleetCloudConnectorsCloudconnectorid for application/json ContentType. +type PutFleetCloudConnectorsCloudconnectoridJSONRequestBody PutFleetCloudConnectorsCloudconnectoridJSONBody + // PostFleetEnrollmentApiKeysJSONRequestBody defines body for PostFleetEnrollmentApiKeys for application/json ContentType. type PostFleetEnrollmentApiKeysJSONRequestBody PostFleetEnrollmentApiKeysJSONBody @@ -38876,6 +46558,9 @@ type PutFleetEpmCustomIntegrationsPkgnameJSONRequestBody PutFleetEpmCustomIntegr // PostFleetEpmPackagesBulkJSONRequestBody defines body for PostFleetEpmPackagesBulk for application/json ContentType. type PostFleetEpmPackagesBulkJSONRequestBody PostFleetEpmPackagesBulkJSONBody +// PostFleetEpmPackagesBulkRollbackJSONRequestBody defines body for PostFleetEpmPackagesBulkRollback for application/json ContentType. +type PostFleetEpmPackagesBulkRollbackJSONRequestBody PostFleetEpmPackagesBulkRollbackJSONBody + // PostFleetEpmPackagesBulkUninstallJSONRequestBody defines body for PostFleetEpmPackagesBulkUninstall for application/json ContentType. type PostFleetEpmPackagesBulkUninstallJSONRequestBody PostFleetEpmPackagesBulkUninstallJSONBody @@ -38891,6 +46576,9 @@ type PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody PutFleetEpmPackagesPkgn // PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets for application/json ContentType. type PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONBody +// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionRuleAssets for application/json ContentType. +type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody + // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorize for application/json ContentType. type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody @@ -39173,8 +46861,8 @@ type PutStreamsNameRulesRuleidJSONRequestBody PutStreamsNameRulesRuleidJSONBody // GetStreamsNameSignificantEventsJSONRequestBody defines body for GetStreamsNameSignificantEvents for application/json ContentType. type GetStreamsNameSignificantEventsJSONRequestBody GetStreamsNameSignificantEventsJSONBody -// GetStreamsNameSignificantEventsGenerateJSONRequestBody defines body for GetStreamsNameSignificantEventsGenerate for application/json ContentType. -type GetStreamsNameSignificantEventsGenerateJSONRequestBody GetStreamsNameSignificantEventsGenerateJSONBody +// PostStreamsNameSignificantEventsGenerateJSONRequestBody defines body for PostStreamsNameSignificantEventsGenerate for application/json ContentType. +type PostStreamsNameSignificantEventsGenerateJSONRequestBody PostStreamsNameSignificantEventsGenerateJSONBody // PostStreamsNameSignificantEventsPreviewJSONRequestBody defines body for PostStreamsNameSignificantEventsPreview for application/json ContentType. type PostStreamsNameSignificantEventsPreviewJSONRequestBody PostStreamsNameSignificantEventsPreviewJSONBody @@ -39192,7 +46880,7 @@ type PutSyntheticMonitorJSONRequestBody PutSyntheticMonitorJSONBody type PostParametersJSONRequestBody PostParametersJSONBody // DeleteParametersJSONRequestBody defines body for DeleteParameters for application/json ContentType. -type DeleteParametersJSONRequestBody = DeleteParametersJSONBody +type DeleteParametersJSONRequestBody DeleteParametersJSONBody // PutParameterJSONRequestBody defines body for PutParameter for application/json ContentType. type PutParameterJSONRequestBody PutParameterJSONBody @@ -41411,6 +49099,14 @@ func (a *OutputElasticsearchSecretsSslKey0) UnmarshalJSON(b []byte) error { return err } + if raw, found := object["hash"]; found { + err = json.Unmarshal(raw, &a.Hash) + if err != nil { + return fmt.Errorf("error reading 'hash': %w", err) + } + delete(object, "hash") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -41438,6 +49134,13 @@ func (a OutputElasticsearchSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Hash != nil { + object["hash"], err = json.Marshal(a.Hash) + if err != nil { + return nil, fmt.Errorf("error marshaling 'hash': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -41893,14 +49596,6 @@ func (a *OutputKafka) UnmarshalJSON(b []byte) error { delete(object, "version") } - if raw, found := object["write_to_logs_streams"]; found { - err = json.Unmarshal(raw, &a.WriteToLogsStreams) - if err != nil { - return fmt.Errorf("error reading 'write_to_logs_streams': %w", err) - } - delete(object, "write_to_logs_streams") - } - if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { @@ -42157,13 +49852,6 @@ func (a OutputKafka) MarshalJSON() ([]byte, error) { } } - if a.WriteToLogsStreams != nil { - object["write_to_logs_streams"], err = json.Marshal(a.WriteToLogsStreams) - if err != nil { - return nil, fmt.Errorf("error marshaling 'write_to_logs_streams': %w", err) - } - } - for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42564,6 +50252,14 @@ func (a *OutputKafkaSecretsPassword0) UnmarshalJSON(b []byte) error { return err } + if raw, found := object["hash"]; found { + err = json.Unmarshal(raw, &a.Hash) + if err != nil { + return fmt.Errorf("error reading 'hash': %w", err) + } + delete(object, "hash") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -42591,6 +50287,13 @@ func (a OutputKafkaSecretsPassword0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Hash != nil { + object["hash"], err = json.Marshal(a.Hash) + if err != nil { + return nil, fmt.Errorf("error marshaling 'hash': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -42630,6 +50333,14 @@ func (a *OutputKafkaSecretsSslKey0) UnmarshalJSON(b []byte) error { return err } + if raw, found := object["hash"]; found { + err = json.Unmarshal(raw, &a.Hash) + if err != nil { + return fmt.Errorf("error reading 'hash': %w", err) + } + delete(object, "hash") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -42657,6 +50368,13 @@ func (a OutputKafkaSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Hash != nil { + object["hash"], err = json.Marshal(a.Hash) + if err != nil { + return nil, fmt.Errorf("error marshaling 'hash': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -42973,14 +50691,6 @@ func (a *OutputLogstash) UnmarshalJSON(b []byte) error { delete(object, "type") } - if raw, found := object["write_to_logs_streams"]; found { - err = json.Unmarshal(raw, &a.WriteToLogsStreams) - if err != nil { - return fmt.Errorf("error reading 'write_to_logs_streams': %w", err) - } - delete(object, "write_to_logs_streams") - } - if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { @@ -43106,13 +50816,6 @@ func (a OutputLogstash) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("error marshaling 'type': %w", err) } - if a.WriteToLogsStreams != nil { - object["write_to_logs_streams"], err = json.Marshal(a.WriteToLogsStreams) - if err != nil { - return nil, fmt.Errorf("error marshaling 'write_to_logs_streams': %w", err) - } - } - for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43147,6 +50850,14 @@ func (a *OutputLogstashSecretsSslKey0) UnmarshalJSON(b []byte) error { return err } + if raw, found := object["hash"]; found { + err = json.Unmarshal(raw, &a.Hash) + if err != nil { + return fmt.Errorf("error reading 'hash': %w", err) + } + delete(object, "hash") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -43174,6 +50885,13 @@ func (a OutputLogstashSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Hash != nil { + object["hash"], err = json.Marshal(a.Hash) + if err != nil { + return nil, fmt.Errorf("error marshaling 'hash': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -43741,6 +51459,14 @@ func (a *OutputRemoteElasticsearchSecretsServiceToken0) UnmarshalJSON(b []byte) return err } + if raw, found := object["hash"]; found { + err = json.Unmarshal(raw, &a.Hash) + if err != nil { + return fmt.Errorf("error reading 'hash': %w", err) + } + delete(object, "hash") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -43768,6 +51494,13 @@ func (a OutputRemoteElasticsearchSecretsServiceToken0) MarshalJSON() ([]byte, er var err error object := make(map[string]json.RawMessage) + if a.Hash != nil { + object["hash"], err = json.Marshal(a.Hash) + if err != nil { + return nil, fmt.Errorf("error marshaling 'hash': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -43807,6 +51540,14 @@ func (a *OutputRemoteElasticsearchSecretsSslKey0) UnmarshalJSON(b []byte) error return err } + if raw, found := object["hash"]; found { + err = json.Unmarshal(raw, &a.Hash) + if err != nil { + return fmt.Errorf("error reading 'hash': %w", err) + } + delete(object, "hash") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -43834,6 +51575,13 @@ func (a OutputRemoteElasticsearchSecretsSslKey0) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Hash != nil { + object["hash"], err = json.Marshal(a.Hash) + if err != nil { + return nil, fmt.Errorf("error marshaling 'hash': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -45452,6 +53200,14 @@ func (a *PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Unma return err } + if raw, found := object["deferred"]; found { + err = json.Unmarshal(raw, &a.Deferred) + if err != nil { + return fmt.Errorf("error reading 'deferred': %w", err) + } + delete(object, "deferred") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -45495,6 +53251,13 @@ func (a PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Marsh var err error object := make(map[string]json.RawMessage) + if a.Deferred != nil { + object["deferred"], err = json.Marshal(a.Deferred) + if err != nil { + return nil, fmt.Errorf("error marshaling 'deferred': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -45847,6 +53610,14 @@ func (a *PackageInfo_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b []by return err } + if raw, found := object["deferred"]; found { + err = json.Unmarshal(raw, &a.Deferred) + if err != nil { + return fmt.Errorf("error reading 'deferred': %w", err) + } + delete(object, "deferred") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -45890,6 +53661,13 @@ func (a PackageInfo_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([]byte var err error object := make(map[string]json.RawMessage) + if a.Deferred != nil { + object["deferred"], err = json.Marshal(a.Deferred) + if err != nil { + return nil, fmt.Errorf("error marshaling 'deferred': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -46297,6 +54075,14 @@ func (a *PackageInfo_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "installed_kibana_space_id") } + if raw, found := object["is_rollback_ttl_expired"]; found { + err = json.Unmarshal(raw, &a.IsRollbackTtlExpired) + if err != nil { + return fmt.Errorf("error reading 'is_rollback_ttl_expired': %w", err) + } + delete(object, "is_rollback_ttl_expired") + } + if raw, found := object["latest_executed_state"]; found { err = json.Unmarshal(raw, &a.LatestExecutedState) if err != nil { @@ -46337,6 +54123,14 @@ func (a *PackageInfo_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "previous_version") } + if raw, found := object["rolled_back"]; found { + err = json.Unmarshal(raw, &a.RolledBack) + if err != nil { + return fmt.Errorf("error reading 'rolled_back': %w", err) + } + delete(object, "rolled_back") + } + if raw, found := object["type"]; found { err = json.Unmarshal(raw, &a.Type) if err != nil { @@ -46451,6 +54245,13 @@ func (a PackageInfo_InstallationInfo) MarshalJSON() ([]byte, error) { } } + if a.IsRollbackTtlExpired != nil { + object["is_rollback_ttl_expired"], err = json.Marshal(a.IsRollbackTtlExpired) + if err != nil { + return nil, fmt.Errorf("error marshaling 'is_rollback_ttl_expired': %w", err) + } + } + if a.LatestExecutedState != nil { object["latest_executed_state"], err = json.Marshal(a.LatestExecutedState) if err != nil { @@ -46484,6 +54285,13 @@ func (a PackageInfo_InstallationInfo) MarshalJSON() ([]byte, error) { } } + if a.RolledBack != nil { + object["rolled_back"], err = json.Marshal(a.RolledBack) + if err != nil { + return nil, fmt.Errorf("error marshaling 'rolled_back': %w", err) + } + } + object["type"], err = json.Marshal(a.Type) if err != nil { return nil, fmt.Errorf("error marshaling 'type': %w", err) @@ -47721,6 +55529,14 @@ func (a *PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) return err } + if raw, found := object["deferred"]; found { + err = json.Unmarshal(raw, &a.Deferred) + if err != nil { + return fmt.Errorf("error reading 'deferred': %w", err) + } + delete(object, "deferred") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -47764,6 +55580,13 @@ func (a PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) M var err error object := make(map[string]json.RawMessage) + if a.Deferred != nil { + object["deferred"], err = json.Marshal(a.Deferred) + if err != nil { + return nil, fmt.Errorf("error marshaling 'deferred': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -48116,6 +55939,14 @@ func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b return err } + if raw, found := object["deferred"]; found { + err = json.Unmarshal(raw, &a.Deferred) + if err != nil { + return fmt.Errorf("error reading 'deferred': %w", err) + } + delete(object, "deferred") + } + if raw, found := object["id"]; found { err = json.Unmarshal(raw, &a.Id) if err != nil { @@ -48159,6 +55990,13 @@ func (a PackageListItem_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([] var err error object := make(map[string]json.RawMessage) + if a.Deferred != nil { + object["deferred"], err = json.Marshal(a.Deferred) + if err != nil { + return nil, fmt.Errorf("error marshaling 'deferred': %w", err) + } + } + object["id"], err = json.Marshal(a.Id) if err != nil { return nil, fmt.Errorf("error marshaling 'id': %w", err) @@ -48566,6 +56404,14 @@ func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "installed_kibana_space_id") } + if raw, found := object["is_rollback_ttl_expired"]; found { + err = json.Unmarshal(raw, &a.IsRollbackTtlExpired) + if err != nil { + return fmt.Errorf("error reading 'is_rollback_ttl_expired': %w", err) + } + delete(object, "is_rollback_ttl_expired") + } + if raw, found := object["latest_executed_state"]; found { err = json.Unmarshal(raw, &a.LatestExecutedState) if err != nil { @@ -48606,6 +56452,14 @@ func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error { delete(object, "previous_version") } + if raw, found := object["rolled_back"]; found { + err = json.Unmarshal(raw, &a.RolledBack) + if err != nil { + return fmt.Errorf("error reading 'rolled_back': %w", err) + } + delete(object, "rolled_back") + } + if raw, found := object["type"]; found { err = json.Unmarshal(raw, &a.Type) if err != nil { @@ -48720,6 +56574,13 @@ func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error) { } } + if a.IsRollbackTtlExpired != nil { + object["is_rollback_ttl_expired"], err = json.Marshal(a.IsRollbackTtlExpired) + if err != nil { + return nil, fmt.Errorf("error marshaling 'is_rollback_ttl_expired': %w", err) + } + } + if a.LatestExecutedState != nil { object["latest_executed_state"], err = json.Marshal(a.LatestExecutedState) if err != nil { @@ -48753,6 +56614,13 @@ func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error) { } } + if a.RolledBack != nil { + object["rolled_back"], err = json.Marshal(a.RolledBack) + if err != nil { + return nil, fmt.Errorf("error marshaling 'rolled_back': %w", err) + } + } + object["type"], err = json.Marshal(a.Type) if err != nil { return nil, fmt.Errorf("error marshaling 'type': %w", err) @@ -52623,6 +60491,130 @@ func (t *SecurityAIAssistantAPIContentReferences_AdditionalProperties) Unmarshal return err } +// AsSecurityAIAssistantAPISelectOptionInterruptResumeValue returns the union data inside the SecurityAIAssistantAPIInterruptResumeValue as a SecurityAIAssistantAPISelectOptionInterruptResumeValue +func (t SecurityAIAssistantAPIInterruptResumeValue) AsSecurityAIAssistantAPISelectOptionInterruptResumeValue() (SecurityAIAssistantAPISelectOptionInterruptResumeValue, error) { + var body SecurityAIAssistantAPISelectOptionInterruptResumeValue + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAIAssistantAPISelectOptionInterruptResumeValue overwrites any union data inside the SecurityAIAssistantAPIInterruptResumeValue as the provided SecurityAIAssistantAPISelectOptionInterruptResumeValue +func (t *SecurityAIAssistantAPIInterruptResumeValue) FromSecurityAIAssistantAPISelectOptionInterruptResumeValue(v SecurityAIAssistantAPISelectOptionInterruptResumeValue) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAIAssistantAPISelectOptionInterruptResumeValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptResumeValue, using the provided SecurityAIAssistantAPISelectOptionInterruptResumeValue +func (t *SecurityAIAssistantAPIInterruptResumeValue) MergeSecurityAIAssistantAPISelectOptionInterruptResumeValue(v SecurityAIAssistantAPISelectOptionInterruptResumeValue) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityAIAssistantAPIInputTextInterruptResumeValue returns the union data inside the SecurityAIAssistantAPIInterruptResumeValue as a SecurityAIAssistantAPIInputTextInterruptResumeValue +func (t SecurityAIAssistantAPIInterruptResumeValue) AsSecurityAIAssistantAPIInputTextInterruptResumeValue() (SecurityAIAssistantAPIInputTextInterruptResumeValue, error) { + var body SecurityAIAssistantAPIInputTextInterruptResumeValue + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAIAssistantAPIInputTextInterruptResumeValue overwrites any union data inside the SecurityAIAssistantAPIInterruptResumeValue as the provided SecurityAIAssistantAPIInputTextInterruptResumeValue +func (t *SecurityAIAssistantAPIInterruptResumeValue) FromSecurityAIAssistantAPIInputTextInterruptResumeValue(v SecurityAIAssistantAPIInputTextInterruptResumeValue) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAIAssistantAPIInputTextInterruptResumeValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptResumeValue, using the provided SecurityAIAssistantAPIInputTextInterruptResumeValue +func (t *SecurityAIAssistantAPIInterruptResumeValue) MergeSecurityAIAssistantAPIInputTextInterruptResumeValue(v SecurityAIAssistantAPIInputTextInterruptResumeValue) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityAIAssistantAPIInterruptResumeValue) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityAIAssistantAPIInterruptResumeValue) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityAIAssistantAPISelectOptionInterruptValue returns the union data inside the SecurityAIAssistantAPIInterruptValue as a SecurityAIAssistantAPISelectOptionInterruptValue +func (t SecurityAIAssistantAPIInterruptValue) AsSecurityAIAssistantAPISelectOptionInterruptValue() (SecurityAIAssistantAPISelectOptionInterruptValue, error) { + var body SecurityAIAssistantAPISelectOptionInterruptValue + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAIAssistantAPISelectOptionInterruptValue overwrites any union data inside the SecurityAIAssistantAPIInterruptValue as the provided SecurityAIAssistantAPISelectOptionInterruptValue +func (t *SecurityAIAssistantAPIInterruptValue) FromSecurityAIAssistantAPISelectOptionInterruptValue(v SecurityAIAssistantAPISelectOptionInterruptValue) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAIAssistantAPISelectOptionInterruptValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptValue, using the provided SecurityAIAssistantAPISelectOptionInterruptValue +func (t *SecurityAIAssistantAPIInterruptValue) MergeSecurityAIAssistantAPISelectOptionInterruptValue(v SecurityAIAssistantAPISelectOptionInterruptValue) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityAIAssistantAPIInputTextInterruptValue returns the union data inside the SecurityAIAssistantAPIInterruptValue as a SecurityAIAssistantAPIInputTextInterruptValue +func (t SecurityAIAssistantAPIInterruptValue) AsSecurityAIAssistantAPIInputTextInterruptValue() (SecurityAIAssistantAPIInputTextInterruptValue, error) { + var body SecurityAIAssistantAPIInputTextInterruptValue + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAIAssistantAPIInputTextInterruptValue overwrites any union data inside the SecurityAIAssistantAPIInterruptValue as the provided SecurityAIAssistantAPIInputTextInterruptValue +func (t *SecurityAIAssistantAPIInterruptValue) FromSecurityAIAssistantAPIInputTextInterruptValue(v SecurityAIAssistantAPIInputTextInterruptValue) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAIAssistantAPIInputTextInterruptValue performs a merge with any union data inside the SecurityAIAssistantAPIInterruptValue, using the provided SecurityAIAssistantAPIInputTextInterruptValue +func (t *SecurityAIAssistantAPIInterruptValue) MergeSecurityAIAssistantAPIInputTextInterruptValue(v SecurityAIAssistantAPIInputTextInterruptValue) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityAIAssistantAPIInterruptValue) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityAIAssistantAPIInterruptValue) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + // AsSecurityAIAssistantAPIDocumentEntryCreateFields returns the union data inside the SecurityAIAssistantAPIKnowledgeBaseEntryCreateProps as a SecurityAIAssistantAPIDocumentEntryCreateFields func (t SecurityAIAssistantAPIKnowledgeBaseEntryCreateProps) AsSecurityAIAssistantAPIDocumentEntryCreateFields() (SecurityAIAssistantAPIDocumentEntryCreateFields, error) { var body SecurityAIAssistantAPIDocumentEntryCreateFields @@ -52871,6 +60863,130 @@ func (t *SecurityAIAssistantAPIKnowledgeBaseEntryUpdateRouteProps) UnmarshalJSON return err } +// AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction returns the union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as a SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction +func (t SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction() (SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction, error) { + var body SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction overwrites any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction +func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction performs a merge with any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction, using the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction +func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleGeneralAction) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction returns the union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as a SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction +func (t SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) AsSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction() (SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction, error) { + var body SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction overwrites any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction as the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction +func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) FromSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction performs a merge with any union data inside the SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction, using the provided SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction +func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) MergeSecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction(v SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleSystemAction) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleAction) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityAttackDiscoveryAPIQueryQuery0 returns the union data inside the SecurityAttackDiscoveryAPIQuery_Query as a SecurityAttackDiscoveryAPIQueryQuery0 +func (t SecurityAttackDiscoveryAPIQuery_Query) AsSecurityAttackDiscoveryAPIQueryQuery0() (SecurityAttackDiscoveryAPIQueryQuery0, error) { + var body SecurityAttackDiscoveryAPIQueryQuery0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAttackDiscoveryAPIQueryQuery0 overwrites any union data inside the SecurityAttackDiscoveryAPIQuery_Query as the provided SecurityAttackDiscoveryAPIQueryQuery0 +func (t *SecurityAttackDiscoveryAPIQuery_Query) FromSecurityAttackDiscoveryAPIQueryQuery0(v SecurityAttackDiscoveryAPIQueryQuery0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAttackDiscoveryAPIQueryQuery0 performs a merge with any union data inside the SecurityAttackDiscoveryAPIQuery_Query, using the provided SecurityAttackDiscoveryAPIQueryQuery0 +func (t *SecurityAttackDiscoveryAPIQuery_Query) MergeSecurityAttackDiscoveryAPIQueryQuery0(v SecurityAttackDiscoveryAPIQueryQuery0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityAttackDiscoveryAPIQueryQuery1 returns the union data inside the SecurityAttackDiscoveryAPIQuery_Query as a SecurityAttackDiscoveryAPIQueryQuery1 +func (t SecurityAttackDiscoveryAPIQuery_Query) AsSecurityAttackDiscoveryAPIQueryQuery1() (SecurityAttackDiscoveryAPIQueryQuery1, error) { + var body SecurityAttackDiscoveryAPIQueryQuery1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityAttackDiscoveryAPIQueryQuery1 overwrites any union data inside the SecurityAttackDiscoveryAPIQuery_Query as the provided SecurityAttackDiscoveryAPIQueryQuery1 +func (t *SecurityAttackDiscoveryAPIQuery_Query) FromSecurityAttackDiscoveryAPIQueryQuery1(v SecurityAttackDiscoveryAPIQueryQuery1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityAttackDiscoveryAPIQueryQuery1 performs a merge with any union data inside the SecurityAttackDiscoveryAPIQuery_Query, using the provided SecurityAttackDiscoveryAPIQueryQuery1 +func (t *SecurityAttackDiscoveryAPIQuery_Query) MergeSecurityAttackDiscoveryAPIQueryQuery1(v SecurityAttackDiscoveryAPIQueryQuery1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityAttackDiscoveryAPIQuery_Query) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityAttackDiscoveryAPIQuery_Query) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + // AsSecurityDetectionsAPIAlertsSortCombinations returns the union data inside the SecurityDetectionsAPIAlertsSort as a SecurityDetectionsAPIAlertsSortCombinations func (t SecurityDetectionsAPIAlertsSort) AsSecurityDetectionsAPIAlertsSortCombinations() (SecurityDetectionsAPIAlertsSortCombinations, error) { var body SecurityDetectionsAPIAlertsSortCombinations @@ -54761,6 +62877,184 @@ func (t *SecurityDetectionsAPIRuleUpdateProps) UnmarshalJSON(b []byte) error { return err } +// AsSecurityDetectionsAPICloseAlertsByIds returns the union data inside the SecurityDetectionsAPISetAlertsStatusByIds as a SecurityDetectionsAPICloseAlertsByIds +func (t SecurityDetectionsAPISetAlertsStatusByIds) AsSecurityDetectionsAPICloseAlertsByIds() (SecurityDetectionsAPICloseAlertsByIds, error) { + var body SecurityDetectionsAPICloseAlertsByIds + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityDetectionsAPICloseAlertsByIds overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByIds as the provided SecurityDetectionsAPICloseAlertsByIds +func (t *SecurityDetectionsAPISetAlertsStatusByIds) FromSecurityDetectionsAPICloseAlertsByIds(v SecurityDetectionsAPICloseAlertsByIds) error { + v.Status = "closed" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityDetectionsAPICloseAlertsByIds performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByIds, using the provided SecurityDetectionsAPICloseAlertsByIds +func (t *SecurityDetectionsAPISetAlertsStatusByIds) MergeSecurityDetectionsAPICloseAlertsByIds(v SecurityDetectionsAPICloseAlertsByIds) error { + v.Status = "closed" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityDetectionsAPISetAlertsStatusByIdsBase returns the union data inside the SecurityDetectionsAPISetAlertsStatusByIds as a SecurityDetectionsAPISetAlertsStatusByIdsBase +func (t SecurityDetectionsAPISetAlertsStatusByIds) AsSecurityDetectionsAPISetAlertsStatusByIdsBase() (SecurityDetectionsAPISetAlertsStatusByIdsBase, error) { + var body SecurityDetectionsAPISetAlertsStatusByIdsBase + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityDetectionsAPISetAlertsStatusByIdsBase overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByIds as the provided SecurityDetectionsAPISetAlertsStatusByIdsBase +func (t *SecurityDetectionsAPISetAlertsStatusByIds) FromSecurityDetectionsAPISetAlertsStatusByIdsBase(v SecurityDetectionsAPISetAlertsStatusByIdsBase) error { + v.Status = "Security_Detections_API_SetAlertsStatusByIdsBase" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityDetectionsAPISetAlertsStatusByIdsBase performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByIds, using the provided SecurityDetectionsAPISetAlertsStatusByIdsBase +func (t *SecurityDetectionsAPISetAlertsStatusByIds) MergeSecurityDetectionsAPISetAlertsStatusByIdsBase(v SecurityDetectionsAPISetAlertsStatusByIdsBase) error { + v.Status = "Security_Detections_API_SetAlertsStatusByIdsBase" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityDetectionsAPISetAlertsStatusByIds) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"status"` + } + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err +} + +func (t SecurityDetectionsAPISetAlertsStatusByIds) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case "Security_Detections_API_SetAlertsStatusByIdsBase": + return t.AsSecurityDetectionsAPISetAlertsStatusByIdsBase() + case "closed": + return t.AsSecurityDetectionsAPICloseAlertsByIds() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) + } +} + +func (t SecurityDetectionsAPISetAlertsStatusByIds) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityDetectionsAPISetAlertsStatusByIds) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityDetectionsAPICloseAlertsByQuery returns the union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as a SecurityDetectionsAPICloseAlertsByQuery +func (t SecurityDetectionsAPISetAlertsStatusByQuery) AsSecurityDetectionsAPICloseAlertsByQuery() (SecurityDetectionsAPICloseAlertsByQuery, error) { + var body SecurityDetectionsAPICloseAlertsByQuery + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityDetectionsAPICloseAlertsByQuery overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as the provided SecurityDetectionsAPICloseAlertsByQuery +func (t *SecurityDetectionsAPISetAlertsStatusByQuery) FromSecurityDetectionsAPICloseAlertsByQuery(v SecurityDetectionsAPICloseAlertsByQuery) error { + v.Status = "closed" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityDetectionsAPICloseAlertsByQuery performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery, using the provided SecurityDetectionsAPICloseAlertsByQuery +func (t *SecurityDetectionsAPISetAlertsStatusByQuery) MergeSecurityDetectionsAPICloseAlertsByQuery(v SecurityDetectionsAPICloseAlertsByQuery) error { + v.Status = "closed" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityDetectionsAPISetAlertsStatusByQueryBase returns the union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as a SecurityDetectionsAPISetAlertsStatusByQueryBase +func (t SecurityDetectionsAPISetAlertsStatusByQuery) AsSecurityDetectionsAPISetAlertsStatusByQueryBase() (SecurityDetectionsAPISetAlertsStatusByQueryBase, error) { + var body SecurityDetectionsAPISetAlertsStatusByQueryBase + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityDetectionsAPISetAlertsStatusByQueryBase overwrites any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery as the provided SecurityDetectionsAPISetAlertsStatusByQueryBase +func (t *SecurityDetectionsAPISetAlertsStatusByQuery) FromSecurityDetectionsAPISetAlertsStatusByQueryBase(v SecurityDetectionsAPISetAlertsStatusByQueryBase) error { + v.Status = "Security_Detections_API_SetAlertsStatusByQueryBase" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityDetectionsAPISetAlertsStatusByQueryBase performs a merge with any union data inside the SecurityDetectionsAPISetAlertsStatusByQuery, using the provided SecurityDetectionsAPISetAlertsStatusByQueryBase +func (t *SecurityDetectionsAPISetAlertsStatusByQuery) MergeSecurityDetectionsAPISetAlertsStatusByQueryBase(v SecurityDetectionsAPISetAlertsStatusByQueryBase) error { + v.Status = "Security_Detections_API_SetAlertsStatusByQueryBase" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityDetectionsAPISetAlertsStatusByQuery) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"status"` + } + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err +} + +func (t SecurityDetectionsAPISetAlertsStatusByQuery) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case "Security_Detections_API_SetAlertsStatusByQueryBase": + return t.AsSecurityDetectionsAPISetAlertsStatusByQueryBase() + case "closed": + return t.AsSecurityDetectionsAPICloseAlertsByQuery() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) + } +} + +func (t SecurityDetectionsAPISetAlertsStatusByQuery) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityDetectionsAPISetAlertsStatusByQuery) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + // AsSecurityDetectionsAPIThresholdField0 returns the union data inside the SecurityDetectionsAPIThresholdField as a SecurityDetectionsAPIThresholdField0 func (t SecurityDetectionsAPIThresholdField) AsSecurityDetectionsAPIThresholdField0() (SecurityDetectionsAPIThresholdField0, error) { var body SecurityDetectionsAPIThresholdField0 @@ -55139,22 +63433,24 @@ func (t *SecurityEndpointExceptionsAPIExceptionListItemEntryNestedEntryItem) Unm return err } -// AsSecurityEndpointManagementAPIAgentIds0 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds0 -func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds0() (SecurityEndpointManagementAPIAgentIds0, error) { - var body SecurityEndpointManagementAPIAgentIds0 +// AsSecurityEndpointManagementAPIKillProcess returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIKillProcess +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIKillProcess() (SecurityEndpointManagementAPIKillProcess, error) { + var body SecurityEndpointManagementAPIKillProcess err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIAgentIds0 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds0 -func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { +// FromSecurityEndpointManagementAPIKillProcess overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIKillProcess +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIKillProcess(v SecurityEndpointManagementAPIKillProcess) error { + v.Command = "kill-process" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIAgentIds0 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds0 -func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { +// MergeSecurityEndpointManagementAPIKillProcess performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIKillProcess +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIKillProcess(v SecurityEndpointManagementAPIKillProcess) error { + v.Command = "kill-process" b, err := json.Marshal(v) if err != nil { return err @@ -55165,22 +63461,24 @@ func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementA return err } -// AsSecurityEndpointManagementAPIAgentIds1 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds1 -func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds1() (SecurityEndpointManagementAPIAgentIds1, error) { - var body SecurityEndpointManagementAPIAgentIds1 +// AsSecurityEndpointManagementAPIGetFile returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIGetFile +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIGetFile() (SecurityEndpointManagementAPIGetFile, error) { + var body SecurityEndpointManagementAPIGetFile err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIAgentIds1 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds1 -func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { +// FromSecurityEndpointManagementAPIGetFile overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIGetFile +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIGetFile(v SecurityEndpointManagementAPIGetFile) error { + v.Command = "get-file" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIAgentIds1 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds1 -func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { +// MergeSecurityEndpointManagementAPIGetFile performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIGetFile +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIGetFile(v SecurityEndpointManagementAPIGetFile) error { + v.Command = "get-file" b, err := json.Marshal(v) if err != nil { return err @@ -55191,32 +63489,24 @@ func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementA return err } -func (t SecurityEndpointManagementAPIAgentIds) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIAgentIds) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0, error) { - var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +// AsSecurityEndpointManagementAPIExecute returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIExecute +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIExecute() (SecurityEndpointManagementAPIExecute, error) { + var body SecurityEndpointManagementAPIExecute err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { +// FromSecurityEndpointManagementAPIExecute overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIExecute +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIExecute(v SecurityEndpointManagementAPIExecute) error { + v.Command = "execute" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { +// MergeSecurityEndpointManagementAPIExecute performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIExecute +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIExecute(v SecurityEndpointManagementAPIExecute) error { + v.Command = "execute" b, err := json.Marshal(v) if err != nil { return err @@ -55227,22 +63517,24 @@ func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) Me return err } -// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1, error) { - var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +// AsSecurityEndpointManagementAPIRunscript returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIRunscript +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIRunscript() (SecurityEndpointManagementAPIRunscript, error) { + var body SecurityEndpointManagementAPIRunscript err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { +// FromSecurityEndpointManagementAPIRunscript overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIRunscript +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIRunscript(v SecurityEndpointManagementAPIRunscript) error { + v.Command = "runscript" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { +// MergeSecurityEndpointManagementAPIRunscript performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIRunscript +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIRunscript(v SecurityEndpointManagementAPIRunscript) error { + v.Command = "runscript" b, err := json.Marshal(v) if err != nil { return err @@ -55253,22 +63545,24 @@ func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) Me return err } -// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2, error) { - var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +// AsSecurityEndpointManagementAPIUpload returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIUpload +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIUpload() (SecurityEndpointManagementAPIUpload, error) { + var body SecurityEndpointManagementAPIUpload err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { +// FromSecurityEndpointManagementAPIUpload overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIUpload +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIUpload(v SecurityEndpointManagementAPIUpload) error { + v.Command = "upload" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { +// MergeSecurityEndpointManagementAPIUpload performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIUpload +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIUpload(v SecurityEndpointManagementAPIUpload) error { + v.Command = "upload" b, err := json.Marshal(v) if err != nil { return err @@ -55279,32 +63573,24 @@ func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) Me return err } -func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIPendingActionsSchema0 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema0 -func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema0() (SecurityEndpointManagementAPIPendingActionsSchema0, error) { - var body SecurityEndpointManagementAPIPendingActionsSchema0 +// AsSecurityEndpointManagementAPIScan returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIScan +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIScan() (SecurityEndpointManagementAPIScan, error) { + var body SecurityEndpointManagementAPIScan err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIPendingActionsSchema0 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema0 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { +// FromSecurityEndpointManagementAPIScan overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIScan +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIScan(v SecurityEndpointManagementAPIScan) error { + v.Command = "scan" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIPendingActionsSchema0 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema0 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { +// MergeSecurityEndpointManagementAPIScan performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIScan +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIScan(v SecurityEndpointManagementAPIScan) error { + v.Command = "scan" b, err := json.Marshal(v) if err != nil { return err @@ -55315,22 +63601,24 @@ func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpoin return err } -// AsSecurityEndpointManagementAPIPendingActionsSchema1 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema1 -func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema1() (SecurityEndpointManagementAPIPendingActionsSchema1, error) { - var body SecurityEndpointManagementAPIPendingActionsSchema1 +// AsSecurityEndpointManagementAPICancel returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPICancel +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPICancel() (SecurityEndpointManagementAPICancel, error) { + var body SecurityEndpointManagementAPICancel err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIPendingActionsSchema1 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema1 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { +// FromSecurityEndpointManagementAPICancel overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPICancel +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPICancel(v SecurityEndpointManagementAPICancel) error { + v.Command = "cancel" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIPendingActionsSchema1 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema1 -func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { +// MergeSecurityEndpointManagementAPICancel performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPICancel +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPICancel(v SecurityEndpointManagementAPICancel) error { + v.Command = "cancel" b, err := json.Marshal(v) if err != nil { return err @@ -55341,32 +63629,24 @@ func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpoin return err } -func (t SecurityEndpointManagementAPIPendingActionsSchema) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *SecurityEndpointManagementAPIPendingActionsSchema) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 returns the union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as a SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 -func (t SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0() (SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0, error) { - var body SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 +// AsSecurityEndpointManagementAPIIsolate returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIIsolate +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIIsolate() (SecurityEndpointManagementAPIIsolate, error) { + var body SecurityEndpointManagementAPIIsolate err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 -func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0) error { +// FromSecurityEndpointManagementAPIIsolate overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIIsolate +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIIsolate(v SecurityEndpointManagementAPIIsolate) error { + v.Command = "Security_Endpoint_Management_API_Isolate" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0 -func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent0) error { +// MergeSecurityEndpointManagementAPIIsolate performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIIsolate +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIIsolate(v SecurityEndpointManagementAPIIsolate) error { + v.Command = "Security_Endpoint_Management_API_Isolate" b, err := json.Marshal(v) if err != nil { return err @@ -55377,22 +63657,24 @@ func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_O return err } -// AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 returns the union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as a SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 -func (t SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1() (SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1, error) { - var body SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 +// AsSecurityEndpointManagementAPIUnisolate returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIUnisolate +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIUnisolate() (SecurityEndpointManagementAPIUnisolate, error) { + var body SecurityEndpointManagementAPIUnisolate err := json.Unmarshal(t.union, &body) return body, err } -// FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 -func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1) error { +// FromSecurityEndpointManagementAPIUnisolate overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIUnisolate +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIUnisolate(v SecurityEndpointManagementAPIUnisolate) error { + v.Command = "Security_Endpoint_Management_API_Unisolate" b, err := json.Marshal(v) t.union = b return err } -// MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1 -func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1(v SecurityEndpointManagementAPIResponseActionCreateSuccessResponseDataOutputsContent1) error { +// MergeSecurityEndpointManagementAPIUnisolate performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIUnisolate +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIUnisolate(v SecurityEndpointManagementAPIUnisolate) error { + v.Command = "Security_Endpoint_Management_API_Unisolate" b, err := json.Marshal(v) if err != nil { return err @@ -55403,12 +63685,559 @@ func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_O return err } -func (t SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) MarshalJSON() ([]byte, error) { +// AsSecurityEndpointManagementAPISuspendProcess returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPISuspendProcess +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPISuspendProcess() (SecurityEndpointManagementAPISuspendProcess, error) { + var body SecurityEndpointManagementAPISuspendProcess + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPISuspendProcess overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPISuspendProcess +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPISuspendProcess(v SecurityEndpointManagementAPISuspendProcess) error { + v.Command = "suspend-process" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPISuspendProcess performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPISuspendProcess +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPISuspendProcess(v SecurityEndpointManagementAPISuspendProcess) error { + v.Command = "suspend-process" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIRunningProcesses returns the union data inside the SecurityEndpointManagementAPIActionDetailsResponse as a SecurityEndpointManagementAPIRunningProcesses +func (t SecurityEndpointManagementAPIActionDetailsResponse) AsSecurityEndpointManagementAPIRunningProcesses() (SecurityEndpointManagementAPIRunningProcesses, error) { + var body SecurityEndpointManagementAPIRunningProcesses + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIRunningProcesses overwrites any union data inside the SecurityEndpointManagementAPIActionDetailsResponse as the provided SecurityEndpointManagementAPIRunningProcesses +func (t *SecurityEndpointManagementAPIActionDetailsResponse) FromSecurityEndpointManagementAPIRunningProcesses(v SecurityEndpointManagementAPIRunningProcesses) error { + v.Command = "running-processes" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIRunningProcesses performs a merge with any union data inside the SecurityEndpointManagementAPIActionDetailsResponse, using the provided SecurityEndpointManagementAPIRunningProcesses +func (t *SecurityEndpointManagementAPIActionDetailsResponse) MergeSecurityEndpointManagementAPIRunningProcesses(v SecurityEndpointManagementAPIRunningProcesses) error { + v.Command = "running-processes" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIActionDetailsResponse) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"command"` + } + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err +} + +func (t SecurityEndpointManagementAPIActionDetailsResponse) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case "Security_Endpoint_Management_API_Isolate": + return t.AsSecurityEndpointManagementAPIIsolate() + case "Security_Endpoint_Management_API_Unisolate": + return t.AsSecurityEndpointManagementAPIUnisolate() + case "cancel": + return t.AsSecurityEndpointManagementAPICancel() + case "execute": + return t.AsSecurityEndpointManagementAPIExecute() + case "get-file": + return t.AsSecurityEndpointManagementAPIGetFile() + case "kill-process": + return t.AsSecurityEndpointManagementAPIKillProcess() + case "running-processes": + return t.AsSecurityEndpointManagementAPIRunningProcesses() + case "runscript": + return t.AsSecurityEndpointManagementAPIRunscript() + case "scan": + return t.AsSecurityEndpointManagementAPIScan() + case "suspend-process": + return t.AsSecurityEndpointManagementAPISuspendProcess() + case "upload": + return t.AsSecurityEndpointManagementAPIUpload() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) + } +} + +func (t SecurityEndpointManagementAPIActionDetailsResponse) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIActionDetailsResponse) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIAgentIds0 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds0 +func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds0() (SecurityEndpointManagementAPIAgentIds0, error) { + var body SecurityEndpointManagementAPIAgentIds0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIAgentIds0 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds0 +func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIAgentIds0 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds0 +func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds0(v SecurityEndpointManagementAPIAgentIds0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIAgentIds1 returns the union data inside the SecurityEndpointManagementAPIAgentIds as a SecurityEndpointManagementAPIAgentIds1 +func (t SecurityEndpointManagementAPIAgentIds) AsSecurityEndpointManagementAPIAgentIds1() (SecurityEndpointManagementAPIAgentIds1, error) { + var body SecurityEndpointManagementAPIAgentIds1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIAgentIds1 overwrites any union data inside the SecurityEndpointManagementAPIAgentIds as the provided SecurityEndpointManagementAPIAgentIds1 +func (t *SecurityEndpointManagementAPIAgentIds) FromSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIAgentIds1 performs a merge with any union data inside the SecurityEndpointManagementAPIAgentIds, using the provided SecurityEndpointManagementAPIAgentIds1 +func (t *SecurityEndpointManagementAPIAgentIds) MergeSecurityEndpointManagementAPIAgentIds1(v SecurityEndpointManagementAPIAgentIds1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIAgentIds) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIAgentIds) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIKillProcessOutputsContent0 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as a SecurityEndpointManagementAPIKillProcessOutputsContent0 +func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) AsSecurityEndpointManagementAPIKillProcessOutputsContent0() (SecurityEndpointManagementAPIKillProcessOutputsContent0, error) { + var body SecurityEndpointManagementAPIKillProcessOutputsContent0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as the provided SecurityEndpointManagementAPIKillProcessOutputsContent0 +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) FromSecurityEndpointManagementAPIKillProcessOutputsContent0(v SecurityEndpointManagementAPIKillProcessOutputsContent0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content, using the provided SecurityEndpointManagementAPIKillProcessOutputsContent0 +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) MergeSecurityEndpointManagementAPIKillProcessOutputsContent0(v SecurityEndpointManagementAPIKillProcessOutputsContent0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIKillProcessOutputsContent1 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as a SecurityEndpointManagementAPIKillProcessOutputsContent1 +func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) AsSecurityEndpointManagementAPIKillProcessOutputsContent1() (SecurityEndpointManagementAPIKillProcessOutputsContent1, error) { + var body SecurityEndpointManagementAPIKillProcessOutputsContent1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as the provided SecurityEndpointManagementAPIKillProcessOutputsContent1 +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) FromSecurityEndpointManagementAPIKillProcessOutputsContent1(v SecurityEndpointManagementAPIKillProcessOutputsContent1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content, using the provided SecurityEndpointManagementAPIKillProcessOutputsContent1 +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) MergeSecurityEndpointManagementAPIKillProcessOutputsContent1(v SecurityEndpointManagementAPIKillProcessOutputsContent1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIKillProcessOutputsContent2 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as a SecurityEndpointManagementAPIKillProcessOutputsContent2 +func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) AsSecurityEndpointManagementAPIKillProcessOutputsContent2() (SecurityEndpointManagementAPIKillProcessOutputsContent2, error) { + var body SecurityEndpointManagementAPIKillProcessOutputsContent2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessOutputsContent2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content as the provided SecurityEndpointManagementAPIKillProcessOutputsContent2 +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) FromSecurityEndpointManagementAPIKillProcessOutputsContent2(v SecurityEndpointManagementAPIKillProcessOutputsContent2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessOutputsContent2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Outputs_Content, using the provided SecurityEndpointManagementAPIKillProcessOutputsContent2 +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) MergeSecurityEndpointManagementAPIKillProcessOutputsContent2(v SecurityEndpointManagementAPIKillProcessOutputsContent2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIKillProcess_Outputs_Content) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIKillProcess_Outputs_Content) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIKillProcessParameters0 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as a SecurityEndpointManagementAPIKillProcessParameters0 +func (t SecurityEndpointManagementAPIKillProcess_Parameters) AsSecurityEndpointManagementAPIKillProcessParameters0() (SecurityEndpointManagementAPIKillProcessParameters0, error) { + var body SecurityEndpointManagementAPIKillProcessParameters0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessParameters0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as the provided SecurityEndpointManagementAPIKillProcessParameters0 +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) FromSecurityEndpointManagementAPIKillProcessParameters0(v SecurityEndpointManagementAPIKillProcessParameters0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters, using the provided SecurityEndpointManagementAPIKillProcessParameters0 +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) MergeSecurityEndpointManagementAPIKillProcessParameters0(v SecurityEndpointManagementAPIKillProcessParameters0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIKillProcessParameters1 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as a SecurityEndpointManagementAPIKillProcessParameters1 +func (t SecurityEndpointManagementAPIKillProcess_Parameters) AsSecurityEndpointManagementAPIKillProcessParameters1() (SecurityEndpointManagementAPIKillProcessParameters1, error) { + var body SecurityEndpointManagementAPIKillProcessParameters1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessParameters1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as the provided SecurityEndpointManagementAPIKillProcessParameters1 +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) FromSecurityEndpointManagementAPIKillProcessParameters1(v SecurityEndpointManagementAPIKillProcessParameters1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters, using the provided SecurityEndpointManagementAPIKillProcessParameters1 +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) MergeSecurityEndpointManagementAPIKillProcessParameters1(v SecurityEndpointManagementAPIKillProcessParameters1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIKillProcessParameters2 returns the union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as a SecurityEndpointManagementAPIKillProcessParameters2 +func (t SecurityEndpointManagementAPIKillProcess_Parameters) AsSecurityEndpointManagementAPIKillProcessParameters2() (SecurityEndpointManagementAPIKillProcessParameters2, error) { + var body SecurityEndpointManagementAPIKillProcessParameters2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessParameters2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters as the provided SecurityEndpointManagementAPIKillProcessParameters2 +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) FromSecurityEndpointManagementAPIKillProcessParameters2(v SecurityEndpointManagementAPIKillProcessParameters2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessParameters2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcess_Parameters, using the provided SecurityEndpointManagementAPIKillProcessParameters2 +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) MergeSecurityEndpointManagementAPIKillProcessParameters2(v SecurityEndpointManagementAPIKillProcessParameters2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIKillProcess_Parameters) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIKillProcess_Parameters) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0, error) { + var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1, error) { + var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 returns the union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2() (SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2, error) { + var body SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 overwrites any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 performs a merge with any union data inside the SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2 +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2(v SecurityEndpointManagementAPIKillProcessRouteRequestBodyParameters2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIKillProcessRouteRequestBody_Parameters) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIPendingActionsSchema0 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema0 +func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema0() (SecurityEndpointManagementAPIPendingActionsSchema0, error) { + var body SecurityEndpointManagementAPIPendingActionsSchema0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIPendingActionsSchema0 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema0 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIPendingActionsSchema0 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema0 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema0(v SecurityEndpointManagementAPIPendingActionsSchema0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIPendingActionsSchema1 returns the union data inside the SecurityEndpointManagementAPIPendingActionsSchema as a SecurityEndpointManagementAPIPendingActionsSchema1 +func (t SecurityEndpointManagementAPIPendingActionsSchema) AsSecurityEndpointManagementAPIPendingActionsSchema1() (SecurityEndpointManagementAPIPendingActionsSchema1, error) { + var body SecurityEndpointManagementAPIPendingActionsSchema1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIPendingActionsSchema1 overwrites any union data inside the SecurityEndpointManagementAPIPendingActionsSchema as the provided SecurityEndpointManagementAPIPendingActionsSchema1 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) FromSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIPendingActionsSchema1 performs a merge with any union data inside the SecurityEndpointManagementAPIPendingActionsSchema, using the provided SecurityEndpointManagementAPIPendingActionsSchema1 +func (t *SecurityEndpointManagementAPIPendingActionsSchema) MergeSecurityEndpointManagementAPIPendingActionsSchema1(v SecurityEndpointManagementAPIPendingActionsSchema1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIPendingActionsSchema) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIPendingActionsSchema) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 returns the union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as a SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 +func (t SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0() (SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0, error) { + var body SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 +func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0 +func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent0(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 returns the union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as a SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 +func (t SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) AsSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1() (SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1, error) { + var body SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content as the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 +func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) FromSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content, using the provided SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1 +func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) MergeSecurityEndpointManagementAPIResponseActionDetailsOutputsContent1(v SecurityEndpointManagementAPIResponseActionDetailsOutputsContent1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse_Data_Outputs_Content) UnmarshalJSON(b []byte) error { +func (t *SecurityEndpointManagementAPIResponseActionDetails_Outputs_Content) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } @@ -55517,6 +64346,32 @@ func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) Merg return err } +// AsSecurityEndpointManagementAPIMDERunScriptParameters returns the union data inside the SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters as a SecurityEndpointManagementAPIMDERunScriptParameters +func (t SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) AsSecurityEndpointManagementAPIMDERunScriptParameters() (SecurityEndpointManagementAPIMDERunScriptParameters, error) { + var body SecurityEndpointManagementAPIMDERunScriptParameters + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIMDERunScriptParameters overwrites any union data inside the SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters as the provided SecurityEndpointManagementAPIMDERunScriptParameters +func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) FromSecurityEndpointManagementAPIMDERunScriptParameters(v SecurityEndpointManagementAPIMDERunScriptParameters) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIMDERunScriptParameters performs a merge with any union data inside the SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters, using the provided SecurityEndpointManagementAPIMDERunScriptParameters +func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) MergeSecurityEndpointManagementAPIMDERunScriptParameters(v SecurityEndpointManagementAPIMDERunScriptParameters) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + func (t SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err @@ -55527,6 +64382,280 @@ func (t *SecurityEndpointManagementAPIRunScriptRouteRequestBody_Parameters) Unma return err } +// AsSecurityEndpointManagementAPIRunningProcessesOutputEndpoint returns the union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as a SecurityEndpointManagementAPIRunningProcessesOutputEndpoint +func (t SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) AsSecurityEndpointManagementAPIRunningProcessesOutputEndpoint() (SecurityEndpointManagementAPIRunningProcessesOutputEndpoint, error) { + var body SecurityEndpointManagementAPIRunningProcessesOutputEndpoint + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIRunningProcessesOutputEndpoint overwrites any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as the provided SecurityEndpointManagementAPIRunningProcessesOutputEndpoint +func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) FromSecurityEndpointManagementAPIRunningProcessesOutputEndpoint(v SecurityEndpointManagementAPIRunningProcessesOutputEndpoint) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIRunningProcessesOutputEndpoint performs a merge with any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content, using the provided SecurityEndpointManagementAPIRunningProcessesOutputEndpoint +func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) MergeSecurityEndpointManagementAPIRunningProcessesOutputEndpoint(v SecurityEndpointManagementAPIRunningProcessesOutputEndpoint) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne returns the union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as a SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne +func (t SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) AsSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne() (SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne, error) { + var body SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne overwrites any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content as the provided SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne +func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) FromSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne(v SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne performs a merge with any union data inside the SecurityEndpointManagementAPIRunningProcesses_Outputs_Content, using the provided SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne +func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) MergeSecurityEndpointManagementAPIRunningProcessesOutputSentinelOne(v SecurityEndpointManagementAPIRunningProcessesOutputSentinelOne) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIRunningProcesses_Outputs_Content) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPIRunscriptParamsCrowdStrike returns the union data inside the SecurityEndpointManagementAPIRunscript_Parameters as a SecurityEndpointManagementAPIRunscriptParamsCrowdStrike +func (t SecurityEndpointManagementAPIRunscript_Parameters) AsSecurityEndpointManagementAPIRunscriptParamsCrowdStrike() (SecurityEndpointManagementAPIRunscriptParamsCrowdStrike, error) { + var body SecurityEndpointManagementAPIRunscriptParamsCrowdStrike + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIRunscriptParamsCrowdStrike overwrites any union data inside the SecurityEndpointManagementAPIRunscript_Parameters as the provided SecurityEndpointManagementAPIRunscriptParamsCrowdStrike +func (t *SecurityEndpointManagementAPIRunscript_Parameters) FromSecurityEndpointManagementAPIRunscriptParamsCrowdStrike(v SecurityEndpointManagementAPIRunscriptParamsCrowdStrike) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIRunscriptParamsCrowdStrike performs a merge with any union data inside the SecurityEndpointManagementAPIRunscript_Parameters, using the provided SecurityEndpointManagementAPIRunscriptParamsCrowdStrike +func (t *SecurityEndpointManagementAPIRunscript_Parameters) MergeSecurityEndpointManagementAPIRunscriptParamsCrowdStrike(v SecurityEndpointManagementAPIRunscriptParamsCrowdStrike) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIRunscriptParamsMicrosoft returns the union data inside the SecurityEndpointManagementAPIRunscript_Parameters as a SecurityEndpointManagementAPIRunscriptParamsMicrosoft +func (t SecurityEndpointManagementAPIRunscript_Parameters) AsSecurityEndpointManagementAPIRunscriptParamsMicrosoft() (SecurityEndpointManagementAPIRunscriptParamsMicrosoft, error) { + var body SecurityEndpointManagementAPIRunscriptParamsMicrosoft + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIRunscriptParamsMicrosoft overwrites any union data inside the SecurityEndpointManagementAPIRunscript_Parameters as the provided SecurityEndpointManagementAPIRunscriptParamsMicrosoft +func (t *SecurityEndpointManagementAPIRunscript_Parameters) FromSecurityEndpointManagementAPIRunscriptParamsMicrosoft(v SecurityEndpointManagementAPIRunscriptParamsMicrosoft) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIRunscriptParamsMicrosoft performs a merge with any union data inside the SecurityEndpointManagementAPIRunscript_Parameters, using the provided SecurityEndpointManagementAPIRunscriptParamsMicrosoft +func (t *SecurityEndpointManagementAPIRunscript_Parameters) MergeSecurityEndpointManagementAPIRunscriptParamsMicrosoft(v SecurityEndpointManagementAPIRunscriptParamsMicrosoft) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPIRunscriptParamsSentinelOne returns the union data inside the SecurityEndpointManagementAPIRunscript_Parameters as a SecurityEndpointManagementAPIRunscriptParamsSentinelOne +func (t SecurityEndpointManagementAPIRunscript_Parameters) AsSecurityEndpointManagementAPIRunscriptParamsSentinelOne() (SecurityEndpointManagementAPIRunscriptParamsSentinelOne, error) { + var body SecurityEndpointManagementAPIRunscriptParamsSentinelOne + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPIRunscriptParamsSentinelOne overwrites any union data inside the SecurityEndpointManagementAPIRunscript_Parameters as the provided SecurityEndpointManagementAPIRunscriptParamsSentinelOne +func (t *SecurityEndpointManagementAPIRunscript_Parameters) FromSecurityEndpointManagementAPIRunscriptParamsSentinelOne(v SecurityEndpointManagementAPIRunscriptParamsSentinelOne) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPIRunscriptParamsSentinelOne performs a merge with any union data inside the SecurityEndpointManagementAPIRunscript_Parameters, using the provided SecurityEndpointManagementAPIRunscriptParamsSentinelOne +func (t *SecurityEndpointManagementAPIRunscript_Parameters) MergeSecurityEndpointManagementAPIRunscriptParamsSentinelOne(v SecurityEndpointManagementAPIRunscriptParamsSentinelOne) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPIRunscript_Parameters) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPIRunscript_Parameters) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPISuspendProcessOutputsContent0 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as a SecurityEndpointManagementAPISuspendProcessOutputsContent0 +func (t SecurityEndpointManagementAPISuspendProcess_Outputs_Content) AsSecurityEndpointManagementAPISuspendProcessOutputsContent0() (SecurityEndpointManagementAPISuspendProcessOutputsContent0, error) { + var body SecurityEndpointManagementAPISuspendProcessOutputsContent0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPISuspendProcessOutputsContent0 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as the provided SecurityEndpointManagementAPISuspendProcessOutputsContent0 +func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) FromSecurityEndpointManagementAPISuspendProcessOutputsContent0(v SecurityEndpointManagementAPISuspendProcessOutputsContent0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPISuspendProcessOutputsContent0 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content, using the provided SecurityEndpointManagementAPISuspendProcessOutputsContent0 +func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) MergeSecurityEndpointManagementAPISuspendProcessOutputsContent0(v SecurityEndpointManagementAPISuspendProcessOutputsContent0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPISuspendProcessOutputsContent1 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as a SecurityEndpointManagementAPISuspendProcessOutputsContent1 +func (t SecurityEndpointManagementAPISuspendProcess_Outputs_Content) AsSecurityEndpointManagementAPISuspendProcessOutputsContent1() (SecurityEndpointManagementAPISuspendProcessOutputsContent1, error) { + var body SecurityEndpointManagementAPISuspendProcessOutputsContent1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPISuspendProcessOutputsContent1 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content as the provided SecurityEndpointManagementAPISuspendProcessOutputsContent1 +func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) FromSecurityEndpointManagementAPISuspendProcessOutputsContent1(v SecurityEndpointManagementAPISuspendProcessOutputsContent1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPISuspendProcessOutputsContent1 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Outputs_Content, using the provided SecurityEndpointManagementAPISuspendProcessOutputsContent1 +func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) MergeSecurityEndpointManagementAPISuspendProcessOutputsContent1(v SecurityEndpointManagementAPISuspendProcessOutputsContent1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPISuspendProcess_Outputs_Content) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPISuspendProcess_Outputs_Content) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSecurityEndpointManagementAPISuspendProcessParameters0 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as a SecurityEndpointManagementAPISuspendProcessParameters0 +func (t SecurityEndpointManagementAPISuspendProcess_Parameters) AsSecurityEndpointManagementAPISuspendProcessParameters0() (SecurityEndpointManagementAPISuspendProcessParameters0, error) { + var body SecurityEndpointManagementAPISuspendProcessParameters0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPISuspendProcessParameters0 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as the provided SecurityEndpointManagementAPISuspendProcessParameters0 +func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) FromSecurityEndpointManagementAPISuspendProcessParameters0(v SecurityEndpointManagementAPISuspendProcessParameters0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPISuspendProcessParameters0 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters, using the provided SecurityEndpointManagementAPISuspendProcessParameters0 +func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) MergeSecurityEndpointManagementAPISuspendProcessParameters0(v SecurityEndpointManagementAPISuspendProcessParameters0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsSecurityEndpointManagementAPISuspendProcessParameters1 returns the union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as a SecurityEndpointManagementAPISuspendProcessParameters1 +func (t SecurityEndpointManagementAPISuspendProcess_Parameters) AsSecurityEndpointManagementAPISuspendProcessParameters1() (SecurityEndpointManagementAPISuspendProcessParameters1, error) { + var body SecurityEndpointManagementAPISuspendProcessParameters1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSecurityEndpointManagementAPISuspendProcessParameters1 overwrites any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters as the provided SecurityEndpointManagementAPISuspendProcessParameters1 +func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) FromSecurityEndpointManagementAPISuspendProcessParameters1(v SecurityEndpointManagementAPISuspendProcessParameters1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSecurityEndpointManagementAPISuspendProcessParameters1 performs a merge with any union data inside the SecurityEndpointManagementAPISuspendProcess_Parameters, using the provided SecurityEndpointManagementAPISuspendProcessParameters1 +func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) MergeSecurityEndpointManagementAPISuspendProcessParameters1(v SecurityEndpointManagementAPISuspendProcessParameters1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t SecurityEndpointManagementAPISuspendProcess_Parameters) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *SecurityEndpointManagementAPISuspendProcess_Parameters) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + // AsSecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0 returns the union data inside the SecurityEndpointManagementAPISuspendProcessRouteRequestBody_Parameters as a SecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0 func (t SecurityEndpointManagementAPISuspendProcessRouteRequestBody_Parameters) AsSecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0() (SecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0, error) { var body SecurityEndpointManagementAPISuspendProcessRouteRequestBodyParameters0 @@ -61750,6 +70879,68 @@ func (t *RunPushtoservice_SubActionParams_Incident_SourceIp) UnmarshalJSON(b []b return err } +// AsServerHostSecretsSslAgentKey0 returns the union data inside the ServerHost_Secrets_Ssl_AgentKey as a ServerHostSecretsSslAgentKey0 +func (t ServerHost_Secrets_Ssl_AgentKey) AsServerHostSecretsSslAgentKey0() (ServerHostSecretsSslAgentKey0, error) { + var body ServerHostSecretsSslAgentKey0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromServerHostSecretsSslAgentKey0 overwrites any union data inside the ServerHost_Secrets_Ssl_AgentKey as the provided ServerHostSecretsSslAgentKey0 +func (t *ServerHost_Secrets_Ssl_AgentKey) FromServerHostSecretsSslAgentKey0(v ServerHostSecretsSslAgentKey0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeServerHostSecretsSslAgentKey0 performs a merge with any union data inside the ServerHost_Secrets_Ssl_AgentKey, using the provided ServerHostSecretsSslAgentKey0 +func (t *ServerHost_Secrets_Ssl_AgentKey) MergeServerHostSecretsSslAgentKey0(v ServerHostSecretsSslAgentKey0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsServerHostSecretsSslAgentKey1 returns the union data inside the ServerHost_Secrets_Ssl_AgentKey as a ServerHostSecretsSslAgentKey1 +func (t ServerHost_Secrets_Ssl_AgentKey) AsServerHostSecretsSslAgentKey1() (ServerHostSecretsSslAgentKey1, error) { + var body ServerHostSecretsSslAgentKey1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromServerHostSecretsSslAgentKey1 overwrites any union data inside the ServerHost_Secrets_Ssl_AgentKey as the provided ServerHostSecretsSslAgentKey1 +func (t *ServerHost_Secrets_Ssl_AgentKey) FromServerHostSecretsSslAgentKey1(v ServerHostSecretsSslAgentKey1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeServerHostSecretsSslAgentKey1 performs a merge with any union data inside the ServerHost_Secrets_Ssl_AgentKey, using the provided ServerHostSecretsSslAgentKey1 +func (t *ServerHost_Secrets_Ssl_AgentKey) MergeServerHostSecretsSslAgentKey1(v ServerHostSecretsSslAgentKey1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t ServerHost_Secrets_Ssl_AgentKey) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *ServerHost_Secrets_Ssl_AgentKey) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + // AsServerHostSecretsSslEsKey0 returns the union data inside the ServerHost_Secrets_Ssl_EsKey as a ServerHostSecretsSslEsKey0 func (t ServerHost_Secrets_Ssl_EsKey) AsServerHostSecretsSslEsKey0() (ServerHostSecretsSslEsKey0, error) { var body ServerHostSecretsSslEsKey0 @@ -64245,6 +73436,81 @@ type ClientInterface interface { // GetActionsConnectorTypes request GetActionsConnectorTypes(ctx context.Context, params *GetActionsConnectorTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostAgentBuilderA2aAgentidWithBody request with any body + PostAgentBuilderA2aAgentidWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderA2aAgentid(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderA2aAgentidJson request + GetAgentBuilderA2aAgentidJson(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderAgents request + GetAgentBuilderAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAgentBuilderAgentsWithBody request with any body + PostAgentBuilderAgentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderAgents(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteAgentBuilderAgentsId request + DeleteAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderAgentsId request + GetAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutAgentBuilderAgentsIdWithBody request with any body + PutAgentBuilderAgentsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutAgentBuilderAgentsId(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderConversations request + GetAgentBuilderConversations(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteAgentBuilderConversationsConversationId request + DeleteAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderConversationsConversationId request + GetAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAgentBuilderConverseWithBody request with any body + PostAgentBuilderConverseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderConverse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAgentBuilderConverseAsyncWithBody request with any body + PostAgentBuilderConverseAsyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderConverseAsync(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAgentBuilderMcpWithBody request with any body + PostAgentBuilderMcpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderMcp(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderTools request + GetAgentBuilderTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAgentBuilderToolsWithBody request with any body + PostAgentBuilderToolsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderTools(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAgentBuilderToolsExecuteWithBody request with any body + PostAgentBuilderToolsExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAgentBuilderToolsExecute(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteAgentBuilderToolsId request + DeleteAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAgentBuilderToolsId request + GetAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutAgentBuilderToolsToolidWithBody request with any body + PutAgentBuilderToolsToolidWithBody(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutAgentBuilderToolsToolid(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetAlertingHealth request GetAlertingHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -64374,6 +73640,53 @@ type ClientInterface interface { // FindAssetCriticalityRecords request FindAssetCriticalityRecords(ctx context.Context, params *FindAssetCriticalityRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostAttackDiscoveryBulkWithBody request with any body + PostAttackDiscoveryBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAttackDiscoveryBulk(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // AttackDiscoveryFind request + AttackDiscoveryFind(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAttackDiscoveryGenerateWithBody request with any body + PostAttackDiscoveryGenerateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostAttackDiscoveryGenerate(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAttackDiscoveryGenerations request + GetAttackDiscoveryGenerations(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAttackDiscoveryGeneration request + GetAttackDiscoveryGeneration(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostAttackDiscoveryGenerationsDismiss request + PostAttackDiscoveryGenerationsDismiss(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CreateAttackDiscoverySchedulesWithBody request with any body + CreateAttackDiscoverySchedulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CreateAttackDiscoverySchedules(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // FindAttackDiscoverySchedules request + FindAttackDiscoverySchedules(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteAttackDiscoverySchedules request + DeleteAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetAttackDiscoverySchedules request + GetAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UpdateAttackDiscoverySchedulesWithBody request with any body + UpdateAttackDiscoverySchedulesWithBody(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UpdateAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DisableAttackDiscoverySchedules request + DisableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) + + // EnableAttackDiscoverySchedules request + EnableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteCaseDefaultSpace request DeleteCaseDefaultSpace(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -64610,6 +73923,11 @@ type ClientInterface interface { // EndpointGetActionsList request EndpointGetActionsList(ctx context.Context, params *EndpointGetActionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // CancelActionWithBody request with any body + CancelActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CancelAction(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // EndpointExecuteActionWithBody request with any body EndpointExecuteActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -64783,9 +74101,24 @@ type ClientInterface interface { // StopEntityEngine request StopEntityEngine(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpsertEntitiesBulkWithBody request with any body + UpsertEntitiesBulkWithBody(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UpsertEntitiesBulk(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListEntities request ListEntities(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteSingleEntityWithBody request with any body + DeleteSingleEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DeleteSingleEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UpsertEntityWithBody request with any body + UpsertEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UpsertEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetEntityStoreStatus request GetEntityStoreStatus(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -64920,6 +74253,14 @@ type ClientInterface interface { // GetFleetAgentStatusData request GetFleetAgentStatusData(ctx context.Context, params *GetFleetAgentStatusDataParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetAgentlessPoliciesWithBody request with any body + PostFleetAgentlessPoliciesWithBody(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostFleetAgentlessPolicies(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteFleetAgentlessPoliciesPolicyid request + DeleteFleetAgentlessPoliciesPolicyid(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetFleetAgents request GetFleetAgents(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -64937,6 +74278,11 @@ type ClientInterface interface { // GetFleetAgentsAvailableVersions request GetFleetAgentsAvailableVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetAgentsBulkMigrateWithBody request with any body + PostFleetAgentsBulkMigrateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostFleetAgentsBulkMigrate(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetAgentsBulkReassignWithBody request with any body PostFleetAgentsBulkReassignWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -64993,6 +74339,11 @@ type ClientInterface interface { PostFleetAgentsAgentidActions(ctx context.Context, agentId string, body PostFleetAgentsAgentidActionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetAgentsAgentidMigrateWithBody request with any body + PostFleetAgentsAgentidMigrateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostFleetAgentsAgentidMigrate(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetAgentsAgentidReassignWithBody request with any body PostFleetAgentsAgentidReassignWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -65019,6 +74370,25 @@ type ClientInterface interface { // GetFleetCheckPermissions request GetFleetCheckPermissions(ctx context.Context, params *GetFleetCheckPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetFleetCloudConnectors request + GetFleetCloudConnectors(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostFleetCloudConnectorsWithBody request with any body + PostFleetCloudConnectorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostFleetCloudConnectors(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteFleetCloudConnectorsCloudconnectorid request + DeleteFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetFleetCloudConnectorsCloudconnectorid request + GetFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutFleetCloudConnectorsCloudconnectoridWithBody request with any body + PutFleetCloudConnectorsCloudconnectoridWithBody(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetFleetDataStreams request GetFleetDataStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -65068,6 +74438,14 @@ type ClientInterface interface { PostFleetEpmPackagesBulk(ctx context.Context, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetEpmPackagesBulkRollbackWithBody request with any body + PostFleetEpmPackagesBulkRollbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostFleetEpmPackagesBulkRollback(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetFleetEpmPackagesBulkRollbackTaskid request + GetFleetEpmPackagesBulkRollbackTaskid(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetEpmPackagesBulkUninstallWithBody request with any body PostFleetEpmPackagesBulkUninstallWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -65090,6 +74468,9 @@ type ClientInterface interface { // GetFleetEpmPackagesLimited request GetFleetEpmPackagesLimited(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetEpmPackagesPkgnameRollback request + PostFleetEpmPackagesPkgnameRollback(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetFleetEpmPackagesPkgnameStats request GetFleetEpmPackagesPkgnameStats(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -65120,6 +74501,11 @@ type ClientInterface interface { PostFleetEpmPackagesPkgnamePkgversionKibanaAssets(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody request with any body + PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostFleetEpmPackagesPkgnamePkgversionRuleAssets(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody request with any body PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -65366,6 +74752,9 @@ type ClientInterface interface { // GetLogstashPipelines request GetLogstashPipelines(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetMaintenanceWindowFind request + GetMaintenanceWindowFind(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostMaintenanceWindowIdArchive request PostMaintenanceWindowIdArchive(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -65816,10 +75205,10 @@ type ClientInterface interface { GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsNameSignificantEventsGenerateWithBody request with any body - GetStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostStreamsNameSignificantEventsGenerateWithBody request with any body + PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - GetStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStreamsNameSignificantEventsPreviewWithBody request with any body PostStreamsNameSignificantEventsPreviewWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -66107,6 +75496,342 @@ func (c *Client) GetActionsConnectorTypes(ctx context.Context, params *GetAction return c.Client.Do(req) } +func (c *Client) PostAgentBuilderA2aAgentidWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderA2aAgentidRequestWithBody(c.Server, agentId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderA2aAgentid(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderA2aAgentidRequest(c.Server, agentId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderA2aAgentidJson(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderA2aAgentidJsonRequest(c.Server, agentId) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderAgentsRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderAgentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderAgentsRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderAgents(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderAgentsRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteAgentBuilderAgentsIdRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderAgentsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderAgentsIdRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutAgentBuilderAgentsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutAgentBuilderAgentsIdRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutAgentBuilderAgentsId(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutAgentBuilderAgentsIdRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderConversations(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderConversationsRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteAgentBuilderConversationsConversationIdRequest(c.Server, conversationId) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderConversationsConversationId(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderConversationsConversationIdRequest(c.Server, conversationId) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderConverseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderConverseRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderConverse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderConverseRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderConverseAsyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderConverseAsyncRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderConverseAsync(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderConverseAsyncRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderMcpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderMcpRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderMcp(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderMcpRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderToolsRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderToolsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderToolsRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderTools(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderToolsRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderToolsExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderToolsExecuteRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAgentBuilderToolsExecute(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAgentBuilderToolsExecuteRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteAgentBuilderToolsIdRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderToolsIdRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutAgentBuilderToolsToolidWithBody(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutAgentBuilderToolsToolidRequestWithBody(c.Server, toolId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutAgentBuilderToolsToolid(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutAgentBuilderToolsToolidRequest(c.Server, toolId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GetAlertingHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAlertingHealthRequest(c.Server) if err != nil { @@ -66671,6 +76396,210 @@ func (c *Client) FindAssetCriticalityRecords(ctx context.Context, params *FindAs return c.Client.Do(req) } +func (c *Client) PostAttackDiscoveryBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAttackDiscoveryBulkRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAttackDiscoveryBulk(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAttackDiscoveryBulkRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) AttackDiscoveryFind(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewAttackDiscoveryFindRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAttackDiscoveryGenerateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAttackDiscoveryGenerateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAttackDiscoveryGenerate(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAttackDiscoveryGenerateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAttackDiscoveryGenerations(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAttackDiscoveryGenerationsRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAttackDiscoveryGeneration(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAttackDiscoveryGenerationRequest(c.Server, executionUuid, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostAttackDiscoveryGenerationsDismiss(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostAttackDiscoveryGenerationsDismissRequest(c.Server, executionUuid) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CreateAttackDiscoverySchedulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateAttackDiscoverySchedulesRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CreateAttackDiscoverySchedules(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateAttackDiscoverySchedulesRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) FindAttackDiscoverySchedules(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewFindAttackDiscoverySchedulesRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteAttackDiscoverySchedulesRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAttackDiscoverySchedulesRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpdateAttackDiscoverySchedulesWithBody(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateAttackDiscoverySchedulesRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpdateAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateAttackDiscoverySchedulesRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DisableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDisableAttackDiscoverySchedulesRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) EnableAttackDiscoverySchedules(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewEnableAttackDiscoverySchedulesRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DeleteCaseDefaultSpace(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteCaseDefaultSpaceRequest(c.Server, params) if err != nil { @@ -67727,6 +77656,30 @@ func (c *Client) EndpointGetActionsList(ctx context.Context, params *EndpointGet return c.Client.Do(req) } +func (c *Client) CancelActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCancelActionRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CancelAction(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCancelActionRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) EndpointExecuteActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewEndpointExecuteActionRequestWithBody(c.Server, contentType, body) if err != nil { @@ -68483,6 +78436,30 @@ func (c *Client) StopEntityEngine(ctx context.Context, entityType SecurityEntity return c.Client.Do(req) } +func (c *Client) UpsertEntitiesBulkWithBody(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpsertEntitiesBulkRequestWithBody(c.Server, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpsertEntitiesBulk(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpsertEntitiesBulkRequest(c.Server, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ListEntities(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewListEntitiesRequest(c.Server, params) if err != nil { @@ -68495,6 +78472,54 @@ func (c *Client) ListEntities(ctx context.Context, params *ListEntitiesParams, r return c.Client.Do(req) } +func (c *Client) DeleteSingleEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteSingleEntityRequestWithBody(c.Server, entityType, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteSingleEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteSingleEntityRequest(c.Server, entityType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpsertEntityWithBody(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpsertEntityRequestWithBody(c.Server, entityType, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpsertEntity(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpsertEntityRequest(c.Server, entityType, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GetEntityStoreStatus(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetEntityStoreStatusRequest(c.Server, params) if err != nil { @@ -69083,6 +79108,42 @@ func (c *Client) GetFleetAgentStatusData(ctx context.Context, params *GetFleetAg return c.Client.Do(req) } +func (c *Client) PostFleetAgentlessPoliciesWithBody(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetAgentlessPoliciesRequestWithBody(c.Server, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetAgentlessPolicies(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetAgentlessPoliciesRequest(c.Server, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteFleetAgentlessPoliciesPolicyid(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteFleetAgentlessPoliciesPolicyidRequest(c.Server, policyId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GetFleetAgents(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetAgentsRequest(c.Server, params) if err != nil { @@ -69155,6 +79216,30 @@ func (c *Client) GetFleetAgentsAvailableVersions(ctx context.Context, reqEditors return c.Client.Do(req) } +func (c *Client) PostFleetAgentsBulkMigrateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetAgentsBulkMigrateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetAgentsBulkMigrate(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetAgentsBulkMigrateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) PostFleetAgentsBulkReassignWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetAgentsBulkReassignRequestWithBody(c.Server, contentType, body) if err != nil { @@ -69407,6 +79492,30 @@ func (c *Client) PostFleetAgentsAgentidActions(ctx context.Context, agentId stri return c.Client.Do(req) } +func (c *Client) PostFleetAgentsAgentidMigrateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetAgentsAgentidMigrateRequestWithBody(c.Server, agentId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetAgentsAgentidMigrate(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetAgentsAgentidMigrateRequest(c.Server, agentId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) PostFleetAgentsAgentidReassignWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetAgentsAgentidReassignRequestWithBody(c.Server, agentId, contentType, body) if err != nil { @@ -69527,6 +79636,90 @@ func (c *Client) GetFleetCheckPermissions(ctx context.Context, params *GetFleetC return c.Client.Do(req) } +func (c *Client) GetFleetCloudConnectors(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetFleetCloudConnectorsRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetCloudConnectorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetCloudConnectorsRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetCloudConnectors(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetCloudConnectorsRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteFleetCloudConnectorsCloudconnectoridRequest(c.Server, cloudConnectorId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetFleetCloudConnectorsCloudconnectoridRequest(c.Server, cloudConnectorId) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutFleetCloudConnectorsCloudconnectoridWithBody(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody(c.Server, cloudConnectorId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutFleetCloudConnectorsCloudconnectorid(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutFleetCloudConnectorsCloudconnectoridRequest(c.Server, cloudConnectorId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GetFleetDataStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetDataStreamsRequest(c.Server) if err != nil { @@ -69743,6 +79936,42 @@ func (c *Client) PostFleetEpmPackagesBulk(ctx context.Context, params *PostFleet return c.Client.Do(req) } +func (c *Client) PostFleetEpmPackagesBulkRollbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetEpmPackagesBulkRollbackRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetEpmPackagesBulkRollback(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetEpmPackagesBulkRollbackRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetFleetEpmPackagesBulkRollbackTaskid(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetFleetEpmPackagesBulkRollbackTaskidRequest(c.Server, taskId) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) PostFleetEpmPackagesBulkUninstallWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetEpmPackagesBulkUninstallRequestWithBody(c.Server, contentType, body) if err != nil { @@ -69839,6 +80068,18 @@ func (c *Client) GetFleetEpmPackagesLimited(ctx context.Context, reqEditors ...R return c.Client.Do(req) } +func (c *Client) PostFleetEpmPackagesPkgnameRollback(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetEpmPackagesPkgnameRollbackRequest(c.Server, pkgName) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GetFleetEpmPackagesPkgnameStats(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetEpmPackagesPkgnameStatsRequest(c.Server, pkgName) if err != nil { @@ -69971,6 +80212,30 @@ func (c *Client) PostFleetEpmPackagesPkgnamePkgversionKibanaAssets(ctx context.C return c.Client.Do(req) } +func (c *Client) PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(c.Server, pkgName, pkgVersion, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostFleetEpmPackagesPkgnamePkgversionRuleAssets(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequest(c.Server, pkgName, pkgVersion, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeRequestWithBody(c.Server, pkgName, pkgVersion, params, contentType, body) if err != nil { @@ -71051,6 +81316,18 @@ func (c *Client) GetLogstashPipelines(ctx context.Context, reqEditors ...Request return c.Client.Do(req) } +func (c *Client) GetMaintenanceWindowFind(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetMaintenanceWindowFindRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) PostMaintenanceWindowIdArchive(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostMaintenanceWindowIdArchiveRequest(c.Server, id) if err != nil { @@ -73115,8 +83392,8 @@ func (c *Client) GetStreamsNameSignificantEvents(ctx context.Context, name strin return c.Client.Do(req) } -func (c *Client) GetStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameSignificantEventsGenerateRequestWithBody(c.Server, name, params, contentType, body) +func (c *Client) PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameSignificantEventsGenerateRequestWithBody(c.Server, name, params, contentType, body) if err != nil { return nil, err } @@ -73127,8 +83404,8 @@ func (c *Client) GetStreamsNameSignificantEventsGenerateWithBody(ctx context.Con return c.Client.Do(req) } -func (c *Client) GetStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameSignificantEventsGenerateRequest(c.Server, name, params, body) +func (c *Client) PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameSignificantEventsGenerateRequest(c.Server, name, params, body) if err != nil { return nil, err } @@ -74351,6 +84628,728 @@ func NewGetActionsConnectorTypesRequest(server string, params *GetActionsConnect return req, nil } +// NewPostAgentBuilderA2aAgentidRequest calls the generic PostAgentBuilderA2aAgentid builder with application/json body +func NewPostAgentBuilderA2aAgentidRequest(server string, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderA2aAgentidRequestWithBody(server, agentId, "application/json", bodyReader) +} + +// NewPostAgentBuilderA2aAgentidRequestWithBody generates requests for PostAgentBuilderA2aAgentid with any type of body +func NewPostAgentBuilderA2aAgentidRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentId", runtime.ParamLocationPath, agentId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/a2a/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewGetAgentBuilderA2aAgentidJsonRequest generates requests for GetAgentBuilderA2aAgentidJson +func NewGetAgentBuilderA2aAgentidJsonRequest(server string, agentId string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentId", runtime.ParamLocationPath, agentId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/a2a/%s.json", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetAgentBuilderAgentsRequest generates requests for GetAgentBuilderAgents +func NewGetAgentBuilderAgentsRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/agents") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostAgentBuilderAgentsRequest calls the generic PostAgentBuilderAgents builder with application/json body +func NewPostAgentBuilderAgentsRequest(server string, body PostAgentBuilderAgentsJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderAgentsRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAgentBuilderAgentsRequestWithBody generates requests for PostAgentBuilderAgents with any type of body +func NewPostAgentBuilderAgentsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/agents") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDeleteAgentBuilderAgentsIdRequest generates requests for DeleteAgentBuilderAgentsId +func NewDeleteAgentBuilderAgentsIdRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/agents/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetAgentBuilderAgentsIdRequest generates requests for GetAgentBuilderAgentsId +func NewGetAgentBuilderAgentsIdRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/agents/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutAgentBuilderAgentsIdRequest calls the generic PutAgentBuilderAgentsId builder with application/json body +func NewPutAgentBuilderAgentsIdRequest(server string, id string, body PutAgentBuilderAgentsIdJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutAgentBuilderAgentsIdRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPutAgentBuilderAgentsIdRequestWithBody generates requests for PutAgentBuilderAgentsId with any type of body +func NewPutAgentBuilderAgentsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/agents/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewGetAgentBuilderConversationsRequest generates requests for GetAgentBuilderConversations +func NewGetAgentBuilderConversationsRequest(server string, params *GetAgentBuilderConversationsParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/conversations") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AgentId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agent_id", runtime.ParamLocationQuery, *params.AgentId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDeleteAgentBuilderConversationsConversationIdRequest generates requests for DeleteAgentBuilderConversationsConversationId +func NewDeleteAgentBuilderConversationsConversationIdRequest(server string, conversationId string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "conversation_id", runtime.ParamLocationPath, conversationId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/conversations/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetAgentBuilderConversationsConversationIdRequest generates requests for GetAgentBuilderConversationsConversationId +func NewGetAgentBuilderConversationsConversationIdRequest(server string, conversationId string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "conversation_id", runtime.ParamLocationPath, conversationId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/conversations/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostAgentBuilderConverseRequest calls the generic PostAgentBuilderConverse builder with application/json body +func NewPostAgentBuilderConverseRequest(server string, body PostAgentBuilderConverseJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderConverseRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAgentBuilderConverseRequestWithBody generates requests for PostAgentBuilderConverse with any type of body +func NewPostAgentBuilderConverseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/converse") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPostAgentBuilderConverseAsyncRequest calls the generic PostAgentBuilderConverseAsync builder with application/json body +func NewPostAgentBuilderConverseAsyncRequest(server string, body PostAgentBuilderConverseAsyncJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderConverseAsyncRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAgentBuilderConverseAsyncRequestWithBody generates requests for PostAgentBuilderConverseAsync with any type of body +func NewPostAgentBuilderConverseAsyncRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/converse/async") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPostAgentBuilderMcpRequest calls the generic PostAgentBuilderMcp builder with application/json body +func NewPostAgentBuilderMcpRequest(server string, body PostAgentBuilderMcpJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderMcpRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAgentBuilderMcpRequestWithBody generates requests for PostAgentBuilderMcp with any type of body +func NewPostAgentBuilderMcpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/mcp") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewGetAgentBuilderToolsRequest generates requests for GetAgentBuilderTools +func NewGetAgentBuilderToolsRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/tools") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostAgentBuilderToolsRequest calls the generic PostAgentBuilderTools builder with application/json body +func NewPostAgentBuilderToolsRequest(server string, body PostAgentBuilderToolsJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderToolsRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAgentBuilderToolsRequestWithBody generates requests for PostAgentBuilderTools with any type of body +func NewPostAgentBuilderToolsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/tools") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPostAgentBuilderToolsExecuteRequest calls the generic PostAgentBuilderToolsExecute builder with application/json body +func NewPostAgentBuilderToolsExecuteRequest(server string, body PostAgentBuilderToolsExecuteJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAgentBuilderToolsExecuteRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAgentBuilderToolsExecuteRequestWithBody generates requests for PostAgentBuilderToolsExecute with any type of body +func NewPostAgentBuilderToolsExecuteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/tools/_execute") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDeleteAgentBuilderToolsIdRequest generates requests for DeleteAgentBuilderToolsId +func NewDeleteAgentBuilderToolsIdRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/tools/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetAgentBuilderToolsIdRequest generates requests for GetAgentBuilderToolsId +func NewGetAgentBuilderToolsIdRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/tools/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutAgentBuilderToolsToolidRequest calls the generic PutAgentBuilderToolsToolid builder with application/json body +func NewPutAgentBuilderToolsToolidRequest(server string, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutAgentBuilderToolsToolidRequestWithBody(server, toolId, "application/json", bodyReader) +} + +// NewPutAgentBuilderToolsToolidRequestWithBody generates requests for PutAgentBuilderToolsToolid with any type of body +func NewPutAgentBuilderToolsToolidRequestWithBody(server string, toolId string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "toolId", runtime.ParamLocationPath, toolId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/agent_builder/tools/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewGetAlertingHealthRequest generates requests for GetAlertingHealth func NewGetAlertingHealthRequest(server string) (*http.Request, error) { var err error @@ -76305,6 +87304,866 @@ func NewFindAssetCriticalityRecordsRequest(server string, params *FindAssetCriti return req, nil } +// NewPostAttackDiscoveryBulkRequest calls the generic PostAttackDiscoveryBulk builder with application/json body +func NewPostAttackDiscoveryBulkRequest(server string, body PostAttackDiscoveryBulkJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAttackDiscoveryBulkRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAttackDiscoveryBulkRequestWithBody generates requests for PostAttackDiscoveryBulk with any type of body +func NewPostAttackDiscoveryBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/_bulk") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewAttackDiscoveryFindRequest generates requests for AttackDiscoveryFind +func NewAttackDiscoveryFindRequest(server string, params *AttackDiscoveryFindParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/_find") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AlertIds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alert_ids", runtime.ParamLocationQuery, *params.AlertIds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConnectorNames != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "connector_names", runtime.ParamLocationQuery, *params.ConnectorNames); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EnableFieldRendering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enable_field_rendering", runtime.ParamLocationQuery, *params.EnableFieldRendering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.End != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end", runtime.ParamLocationQuery, *params.End); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Ids != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ids", runtime.ParamLocationQuery, *params.Ids); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IncludeUniqueAlertIds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_unique_alert_ids", runtime.ParamLocationQuery, *params.IncludeUniqueAlertIds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Page != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PerPage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "per_page", runtime.ParamLocationQuery, *params.PerPage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Search != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search", runtime.ParamLocationQuery, *params.Search); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Shared != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shared", runtime.ParamLocationQuery, *params.Shared); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SortField != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_field", runtime.ParamLocationQuery, *params.SortField); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SortOrder != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_order", runtime.ParamLocationQuery, *params.SortOrder); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Start != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start", runtime.ParamLocationQuery, *params.Start); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WithReplacements != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_replacements", runtime.ParamLocationQuery, *params.WithReplacements); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostAttackDiscoveryGenerateRequest calls the generic PostAttackDiscoveryGenerate builder with application/json body +func NewPostAttackDiscoveryGenerateRequest(server string, body PostAttackDiscoveryGenerateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostAttackDiscoveryGenerateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostAttackDiscoveryGenerateRequestWithBody generates requests for PostAttackDiscoveryGenerate with any type of body +func NewPostAttackDiscoveryGenerateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/_generate") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewGetAttackDiscoveryGenerationsRequest generates requests for GetAttackDiscoveryGenerations +func NewGetAttackDiscoveryGenerationsRequest(server string, params *GetAttackDiscoveryGenerationsParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/generations") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.End != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end", runtime.ParamLocationQuery, *params.End); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Size != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size", runtime.ParamLocationQuery, *params.Size); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Start != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start", runtime.ParamLocationQuery, *params.Start); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetAttackDiscoveryGenerationRequest generates requests for GetAttackDiscoveryGeneration +func NewGetAttackDiscoveryGenerationRequest(server string, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "execution_uuid", runtime.ParamLocationPath, executionUuid) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/generations/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.EnableFieldRendering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enable_field_rendering", runtime.ParamLocationQuery, *params.EnableFieldRendering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WithReplacements != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_replacements", runtime.ParamLocationQuery, *params.WithReplacements); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostAttackDiscoveryGenerationsDismissRequest generates requests for PostAttackDiscoveryGenerationsDismiss +func NewPostAttackDiscoveryGenerationsDismissRequest(server string, executionUuid SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "execution_uuid", runtime.ParamLocationPath, executionUuid) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/generations/%s/_dismiss", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewCreateAttackDiscoverySchedulesRequest calls the generic CreateAttackDiscoverySchedules builder with application/json body +func NewCreateAttackDiscoverySchedulesRequest(server string, body CreateAttackDiscoverySchedulesJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCreateAttackDiscoverySchedulesRequestWithBody(server, "application/json", bodyReader) +} + +// NewCreateAttackDiscoverySchedulesRequestWithBody generates requests for CreateAttackDiscoverySchedules with any type of body +func NewCreateAttackDiscoverySchedulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewFindAttackDiscoverySchedulesRequest generates requests for FindAttackDiscoverySchedules +func NewFindAttackDiscoverySchedulesRequest(server string, params *FindAttackDiscoverySchedulesParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules/_find") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Page != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PerPage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "per_page", runtime.ParamLocationQuery, *params.PerPage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SortField != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_field", runtime.ParamLocationQuery, *params.SortField); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SortDirection != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sort_direction", runtime.ParamLocationQuery, *params.SortDirection); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDeleteAttackDiscoverySchedulesRequest generates requests for DeleteAttackDiscoverySchedules +func NewDeleteAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetAttackDiscoverySchedulesRequest generates requests for GetAttackDiscoverySchedules +func NewGetAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewUpdateAttackDiscoverySchedulesRequest calls the generic UpdateAttackDiscoverySchedules builder with application/json body +func NewUpdateAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpdateAttackDiscoverySchedulesRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUpdateAttackDiscoverySchedulesRequestWithBody generates requests for UpdateAttackDiscoverySchedules with any type of body +func NewUpdateAttackDiscoverySchedulesRequestWithBody(server string, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDisableAttackDiscoverySchedulesRequest generates requests for DisableAttackDiscoverySchedules +func NewDisableAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s/_disable", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewEnableAttackDiscoverySchedulesRequest generates requests for EnableAttackDiscoverySchedules +func NewEnableAttackDiscoverySchedulesRequest(server string, id SecurityAttackDiscoveryAPINonEmptyString) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/attack_discovery/schedules/%s/_enable", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + // NewDeleteCaseDefaultSpaceRequest generates requests for DeleteCaseDefaultSpace func NewDeleteCaseDefaultSpaceRequest(server string, params *DeleteCaseDefaultSpaceParams) (*http.Request, error) { var err error @@ -79551,6 +91410,46 @@ func NewEndpointGetActionsListRequest(server string, params *EndpointGetActionsL return req, nil } +// NewCancelActionRequest calls the generic CancelAction builder with application/json body +func NewCancelActionRequest(server string, body CancelActionJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCancelActionRequestWithBody(server, "application/json", bodyReader) +} + +// NewCancelActionRequestWithBody generates requests for CancelAction with any type of body +func NewCancelActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/endpoint/action/cancel") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewEndpointExecuteActionRequest calls the generic EndpointExecuteAction builder with application/json body func NewEndpointExecuteActionRequest(server string, body EndpointExecuteActionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -81499,6 +93398,68 @@ func NewStopEntityEngineRequest(server string, entityType SecurityEntityAnalytic return req, nil } +// NewUpsertEntitiesBulkRequest calls the generic UpsertEntitiesBulk builder with application/json body +func NewUpsertEntitiesBulkRequest(server string, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpsertEntitiesBulkRequestWithBody(server, params, "application/json", bodyReader) +} + +// NewUpsertEntitiesBulkRequestWithBody generates requests for UpsertEntitiesBulk with any type of body +func NewUpsertEntitiesBulkRequestWithBody(server string, params *UpsertEntitiesBulkParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/entity_store/entities/bulk") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Force != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewListEntitiesRequest generates requests for ListEntities func NewListEntitiesRequest(server string, params *ListEntitiesParams) (*http.Request, error) { var err error @@ -81624,6 +93585,122 @@ func NewListEntitiesRequest(server string, params *ListEntitiesParams) (*http.Re return req, nil } +// NewDeleteSingleEntityRequest calls the generic DeleteSingleEntity builder with application/json body +func NewDeleteSingleEntityRequest(server string, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDeleteSingleEntityRequestWithBody(server, entityType, "application/json", bodyReader) +} + +// NewDeleteSingleEntityRequestWithBody generates requests for DeleteSingleEntity with any type of body +func NewDeleteSingleEntityRequestWithBody(server string, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "entityType", runtime.ParamLocationPath, entityType) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/entity_store/entities/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewUpsertEntityRequest calls the generic UpsertEntity builder with application/json body +func NewUpsertEntityRequest(server string, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpsertEntityRequestWithBody(server, entityType, params, "application/json", bodyReader) +} + +// NewUpsertEntityRequestWithBody generates requests for UpsertEntity with any type of body +func NewUpsertEntityRequestWithBody(server string, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "entityType", runtime.ParamLocationPath, entityType) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/entity_store/entities/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Force != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewGetEntityStoreStatusRequest generates requests for GetEntityStoreStatus func NewGetEntityStoreStatusRequest(server string, params *GetEntityStoreStatusParams) (*http.Request, error) { var err error @@ -83719,8 +95796,96 @@ func NewGetFleetAgentPoliciesAgentpolicyidDownloadRequest(server string, agentPo return req, nil } -// NewGetFleetAgentPoliciesAgentpolicyidFullRequest generates requests for GetFleetAgentPoliciesAgentpolicyidFull -func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidFullParams) (*http.Request, error) { +// NewGetFleetAgentPoliciesAgentpolicyidFullRequest generates requests for GetFleetAgentPoliciesAgentpolicyidFull +func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidFullParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentPolicyId", runtime.ParamLocationPath, agentPolicyId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/full", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Download != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download", runtime.ParamLocationQuery, *params.Download); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Standalone != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "standalone", runtime.ParamLocationQuery, *params.Standalone); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Kubernetes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kubernetes", runtime.ParamLocationQuery, *params.Kubernetes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest generates requests for GetFleetAgentPoliciesAgentpolicyidOutputs +func NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest(server string, agentPolicyId string) (*http.Request, error) { var err error var pathParam0 string @@ -83735,7 +95900,34 @@ func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicy return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/full", pathParam0) + operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/outputs", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetFleetAgentStatusRequest generates requests for GetFleetAgentStatus +func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/agent_status") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -83748,9 +95940,9 @@ func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicy if params != nil { queryValues := queryURL.Query() - if params.Download != nil { + if params.PolicyId != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download", runtime.ParamLocationQuery, *params.Download); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyId", runtime.ParamLocationQuery, *params.PolicyId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83764,9 +95956,9 @@ func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicy } - if params.Standalone != nil { + if params.PolicyIds != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "standalone", runtime.ParamLocationQuery, *params.Standalone); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyIds", runtime.ParamLocationQuery, *params.PolicyIds); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83780,9 +95972,9 @@ func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicy } - if params.Kubernetes != nil { + if params.Kuery != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kubernetes", runtime.ParamLocationQuery, *params.Kubernetes); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83807,42 +95999,8 @@ func NewGetFleetAgentPoliciesAgentpolicyidFullRequest(server string, agentPolicy return req, nil } -// NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest generates requests for GetFleetAgentPoliciesAgentpolicyidOutputs -func NewGetFleetAgentPoliciesAgentpolicyidOutputsRequest(server string, agentPolicyId string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentPolicyId", runtime.ParamLocationPath, agentPolicyId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agent_policies/%s/outputs", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetFleetAgentStatusRequest generates requests for GetFleetAgentStatus -func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusParams) (*http.Request, error) { +// NewGetFleetAgentStatusDataRequest generates requests for GetFleetAgentStatusData +func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatusDataParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -83850,7 +96008,7 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agent_status") + operationPath := fmt.Sprintf("/api/fleet/agent_status/data") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -83863,9 +96021,21 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar if params != nil { queryValues := queryURL.Query() - if params.PolicyId != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agentsIds", runtime.ParamLocationQuery, params.AgentsIds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyId", runtime.ParamLocationQuery, *params.PolicyId); err != nil { + if params.PkgName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgName", runtime.ParamLocationQuery, *params.PkgName); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83879,9 +96049,9 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar } - if params.PolicyIds != nil { + if params.PkgVersion != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policyIds", runtime.ParamLocationQuery, *params.PolicyIds); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgVersion", runtime.ParamLocationQuery, *params.PkgVersion); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83895,9 +96065,9 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar } - if params.Kuery != nil { + if params.PreviewData != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "previewData", runtime.ParamLocationQuery, *params.PreviewData); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83922,8 +96092,19 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar return req, nil } -// NewGetFleetAgentStatusDataRequest generates requests for GetFleetAgentStatusData -func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatusDataParams) (*http.Request, error) { +// NewPostFleetAgentlessPoliciesRequest calls the generic PostFleetAgentlessPolicies builder with application/json body +func NewPostFleetAgentlessPoliciesRequest(server string, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostFleetAgentlessPoliciesRequestWithBody(server, params, "application/json", bodyReader) +} + +// NewPostFleetAgentlessPoliciesRequestWithBody generates requests for PostFleetAgentlessPolicies with any type of body +func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -83931,7 +96112,7 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agent_status/data") + operationPath := fmt.Sprintf("/api/fleet/agentless_policies") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -83944,21 +96125,9 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu if params != nil { queryValues := queryURL.Query() - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agentsIds", runtime.ParamLocationQuery, params.AgentsIds); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if params.PkgName != nil { + if params.Format != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgName", runtime.ParamLocationQuery, *params.PkgName); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "format", runtime.ParamLocationQuery, *params.Format); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -83972,25 +96141,51 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu } - if params.PkgVersion != nil { + queryURL.RawQuery = queryValues.Encode() + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgVersion", runtime.ParamLocationQuery, *params.PkgVersion); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } - } + req.Header.Add("Content-Type", contentType) - if params.PreviewData != nil { + return req, nil +} - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "previewData", runtime.ParamLocationQuery, *params.PreviewData); err != nil { +// NewDeleteFleetAgentlessPoliciesPolicyidRequest generates requests for DeleteFleetAgentlessPoliciesPolicyid +func NewDeleteFleetAgentlessPoliciesPolicyidRequest(server string, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "policyId", runtime.ParamLocationPath, policyId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/agentless_policies/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Force != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -84007,7 +96202,7 @@ func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatu queryURL.RawQuery = queryValues.Encode() } - req, err := http.NewRequest("GET", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } @@ -84486,6 +96681,46 @@ func NewGetFleetAgentsAvailableVersionsRequest(server string) (*http.Request, er return req, nil } +// NewPostFleetAgentsBulkMigrateRequest calls the generic PostFleetAgentsBulkMigrate builder with application/json body +func NewPostFleetAgentsBulkMigrateRequest(server string, body PostFleetAgentsBulkMigrateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostFleetAgentsBulkMigrateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostFleetAgentsBulkMigrateRequestWithBody generates requests for PostFleetAgentsBulkMigrate with any type of body +func NewPostFleetAgentsBulkMigrateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/agents/bulk_migrate") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewPostFleetAgentsBulkReassignRequest calls the generic PostFleetAgentsBulkReassign builder with application/json body func NewPostFleetAgentsBulkReassignRequest(server string, body PostFleetAgentsBulkReassignJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -85064,6 +97299,53 @@ func NewPostFleetAgentsAgentidActionsRequestWithBody(server string, agentId stri return req, nil } +// NewPostFleetAgentsAgentidMigrateRequest calls the generic PostFleetAgentsAgentidMigrate builder with application/json body +func NewPostFleetAgentsAgentidMigrateRequest(server string, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostFleetAgentsAgentidMigrateRequestWithBody(server, agentId, "application/json", bodyReader) +} + +// NewPostFleetAgentsAgentidMigrateRequestWithBody generates requests for PostFleetAgentsAgentidMigrate with any type of body +func NewPostFleetAgentsAgentidMigrateRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "agentId", runtime.ParamLocationPath, agentId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/agents/%s/migrate", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewPostFleetAgentsAgentidReassignRequest calls the generic PostFleetAgentsAgentidReassign builder with application/json body func NewPostFleetAgentsAgentidReassignRequest(server string, agentId string, body PostFleetAgentsAgentidReassignJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -85335,6 +97617,264 @@ func NewGetFleetCheckPermissionsRequest(server string, params *GetFleetCheckPerm return req, nil } +// NewGetFleetCloudConnectorsRequest generates requests for GetFleetCloudConnectors +func NewGetFleetCloudConnectorsRequest(server string, params *GetFleetCloudConnectorsParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/cloud_connectors") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Page != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PerPage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "perPage", runtime.ParamLocationQuery, *params.PerPage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Kuery != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostFleetCloudConnectorsRequest calls the generic PostFleetCloudConnectors builder with application/json body +func NewPostFleetCloudConnectorsRequest(server string, body PostFleetCloudConnectorsJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostFleetCloudConnectorsRequestWithBody(server, "application/json", bodyReader) +} + +// NewPostFleetCloudConnectorsRequestWithBody generates requests for PostFleetCloudConnectors with any type of body +func NewPostFleetCloudConnectorsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/cloud_connectors") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDeleteFleetCloudConnectorsCloudconnectoridRequest generates requests for DeleteFleetCloudConnectorsCloudconnectorid +func NewDeleteFleetCloudConnectorsCloudconnectoridRequest(server string, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "cloudConnectorId", runtime.ParamLocationPath, cloudConnectorId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/cloud_connectors/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Force != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetFleetCloudConnectorsCloudconnectoridRequest generates requests for GetFleetCloudConnectorsCloudconnectorid +func NewGetFleetCloudConnectorsCloudconnectoridRequest(server string, cloudConnectorId string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "cloudConnectorId", runtime.ParamLocationPath, cloudConnectorId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/cloud_connectors/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutFleetCloudConnectorsCloudconnectoridRequest calls the generic PutFleetCloudConnectorsCloudconnectorid builder with application/json body +func NewPutFleetCloudConnectorsCloudconnectoridRequest(server string, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody(server, cloudConnectorId, "application/json", bodyReader) +} + +// NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody generates requests for PutFleetCloudConnectorsCloudconnectorid with any type of body +func NewPutFleetCloudConnectorsCloudconnectoridRequestWithBody(server string, cloudConnectorId string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "cloudConnectorId", runtime.ParamLocationPath, cloudConnectorId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/cloud_connectors/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewGetFleetDataStreamsRequest generates requests for GetFleetDataStreams func NewGetFleetDataStreamsRequest(server string) (*http.Request, error) { var err error @@ -86004,19 +98544,81 @@ func NewPostFleetEpmPackagesRequestWithBody(server string, params *PostFleetEpmP return req, nil } -// NewPostFleetEpmPackagesBulkRequest calls the generic PostFleetEpmPackagesBulk builder with application/json body -func NewPostFleetEpmPackagesBulkRequest(server string, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody) (*http.Request, error) { +// NewPostFleetEpmPackagesBulkRequest calls the generic PostFleetEpmPackagesBulk builder with application/json body +func NewPostFleetEpmPackagesBulkRequest(server string, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostFleetEpmPackagesBulkRequestWithBody(server, params, "application/json", bodyReader) +} + +// NewPostFleetEpmPackagesBulkRequestWithBody generates requests for PostFleetEpmPackagesBulk with any type of body +func NewPostFleetEpmPackagesBulkRequestWithBody(server string, params *PostFleetEpmPackagesBulkParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Prerelease != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPostFleetEpmPackagesBulkRollbackRequest calls the generic PostFleetEpmPackagesBulkRollback builder with application/json body +func NewPostFleetEpmPackagesBulkRollbackRequest(server string, body PostFleetEpmPackagesBulkRollbackJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostFleetEpmPackagesBulkRequestWithBody(server, params, "application/json", bodyReader) + return NewPostFleetEpmPackagesBulkRollbackRequestWithBody(server, "application/json", bodyReader) } -// NewPostFleetEpmPackagesBulkRequestWithBody generates requests for PostFleetEpmPackagesBulk with any type of body -func NewPostFleetEpmPackagesBulkRequestWithBody(server string, params *PostFleetEpmPackagesBulkParams, contentType string, body io.Reader) (*http.Request, error) { +// NewPostFleetEpmPackagesBulkRollbackRequestWithBody generates requests for PostFleetEpmPackagesBulkRollback with any type of body +func NewPostFleetEpmPackagesBulkRollbackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -86024,7 +98626,7 @@ func NewPostFleetEpmPackagesBulkRequestWithBody(server string, params *PostFleet return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk") + operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk_rollback") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -86034,34 +98636,46 @@ func NewPostFleetEpmPackagesBulkRequestWithBody(server string, params *PostFleet return nil, err } - if params != nil { - queryValues := queryURL.Query() + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } - if params.Prerelease != nil { + req.Header.Add("Content-Type", contentType) - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } + return req, nil +} - } +// NewGetFleetEpmPackagesBulkRollbackTaskidRequest generates requests for GetFleetEpmPackagesBulkRollbackTaskid +func NewGetFleetEpmPackagesBulkRollbackTaskidRequest(server string, taskId string) (*http.Request, error) { + var err error - queryURL.RawQuery = queryValues.Encode() + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "taskId", runtime.ParamLocationPath, taskId) + if err != nil { + return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) + serverURL, err := url.Parse(server) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/_bulk_rollback/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } return req, nil } @@ -86370,6 +98984,40 @@ func NewGetFleetEpmPackagesLimitedRequest(server string) (*http.Request, error) return req, nil } +// NewPostFleetEpmPackagesPkgnameRollbackRequest generates requests for PostFleetEpmPackagesPkgnameRollback +func NewPostFleetEpmPackagesPkgnameRollbackRequest(server string, pkgName string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/rollback", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + // NewGetFleetEpmPackagesPkgnameStatsRequest generates requests for GetFleetEpmPackagesPkgnameStats func NewGetFleetEpmPackagesPkgnameStatsRequest(server string, pkgName string) (*http.Request, error) { var err error @@ -86612,7 +99260,217 @@ func NewPostFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgN return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Prerelease != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IgnoreMappingUpdateErrors != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignoreMappingUpdateErrors", runtime.ParamLocationQuery, *params.IgnoreMappingUpdateErrors); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SkipDataStreamRollover != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "skipDataStreamRollover", runtime.ParamLocationQuery, *params.SkipDataStreamRollover); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPutFleetEpmPackagesPkgnamePkgversionRequest calls the generic PutFleetEpmPackagesPkgnamePkgversion builder with application/json body +func NewPutFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, body PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) +} + +// NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody generates requests for PutFleetEpmPackagesPkgnamePkgversion with any type of body +func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssets +func NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest(server string, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/datastream_assets", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "packagePolicyId", runtime.ParamLocationQuery, params.PackagePolicyId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionKibanaAssets +func NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -86622,83 +99480,27 @@ func NewPostFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgN return nil, err } - if params != nil { - queryValues := queryURL.Query() - - if params.Prerelease != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prerelease", runtime.ParamLocationQuery, *params.Prerelease); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.IgnoreMappingUpdateErrors != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignoreMappingUpdateErrors", runtime.ParamLocationQuery, *params.IgnoreMappingUpdateErrors); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.SkipDataStreamRollover != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "skipDataStreamRollover", runtime.ParamLocationQuery, *params.SkipDataStreamRollover); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPutFleetEpmPackagesPkgnamePkgversionRequest calls the generic PutFleetEpmPackagesPkgnamePkgversion builder with application/json body -func NewPutFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, body PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody) (*http.Request, error) { +// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest calls the generic PostFleetEpmPackagesPkgnamePkgversionKibanaAssets builder with application/json body +func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) + return NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) } -// NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody generates requests for PutFleetEpmPackagesPkgnamePkgversion with any type of body -func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets with any type of body +func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -86720,7 +99522,7 @@ func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgNa return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -86730,7 +99532,7 @@ func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgNa return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } @@ -86740,119 +99542,19 @@ func NewPutFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgNa return req, nil } -// NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssets -func NewDeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsRequest(server string, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionDatastreamAssetsParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/datastream_assets", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "packagePolicyId", runtime.ParamLocationQuery, params.PackagePolicyId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversionKibanaAssets -func NewDeleteFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "pkgName", runtime.ParamLocationPath, pkgName) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "pkgVersion", runtime.ParamLocationPath, pkgVersion) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest calls the generic PostFleetEpmPackagesPkgnamePkgversionKibanaAssets builder with application/json body -func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequest(server string, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody) (*http.Request, error) { +// NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequest calls the generic PostFleetEpmPackagesPkgnamePkgversionRuleAssets builder with application/json body +func NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequest(server string, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) + return NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(server, pkgName, pkgVersion, "application/json", bodyReader) } -// NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets with any type of body -func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversionRuleAssets with any type of body +func NewPostFleetEpmPackagesPkgnamePkgversionRuleAssetsRequestWithBody(server string, pkgName string, pkgVersion string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -86874,7 +99576,7 @@ func NewPostFleetEpmPackagesPkgnamePkgversionKibanaAssetsRequestWithBody(server return nil, err } - operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/kibana_assets", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/api/fleet/epm/packages/%s/%s/rule_assets", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -90081,31 +102783,105 @@ func NewDeleteLogstashPipelineRequest(server string, id string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetLogstashPipelineRequest generates requests for GetLogstashPipeline +func NewGetLogstashPipelineRequest(server string, id string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutLogstashPipelineRequest calls the generic PutLogstashPipeline builder with application/json body +func NewPutLogstashPipelineRequest(server string, id string, body PutLogstashPipelineJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutLogstashPipelineRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPutLogstashPipelineRequestWithBody generates requests for PutLogstashPipeline with any type of body +func NewPutLogstashPipelineRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } -// NewGetLogstashPipelineRequest generates requests for GetLogstashPipeline -func NewGetLogstashPipelineRequest(server string, id string) (*http.Request, error) { +// NewGetLogstashPipelinesRequest generates requests for GetLogstashPipelines +func NewGetLogstashPipelinesRequest(server string) (*http.Request, error) { var err error - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) + operationPath := fmt.Sprintf("/api/logstash/pipelines") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -90123,34 +102899,16 @@ func NewGetLogstashPipelineRequest(server string, id string) (*http.Request, err return req, nil } -// NewPutLogstashPipelineRequest calls the generic PutLogstashPipeline builder with application/json body -func NewPutLogstashPipelineRequest(server string, id string, body PutLogstashPipelineJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutLogstashPipelineRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewPutLogstashPipelineRequestWithBody generates requests for PutLogstashPipeline with any type of body -func NewPutLogstashPipelineRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetMaintenanceWindowFindRequest generates requests for GetMaintenanceWindowFind +func NewGetMaintenanceWindowFindRequest(server string, params *GetMaintenanceWindowFindParams) (*http.Request, error) { var err error - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/logstash/pipeline/%s", pathParam0) + operationPath := fmt.Sprintf("/api/maintenance_window/_find") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -90160,33 +102918,90 @@ func NewPutLogstashPipelineRequestWithBody(server string, id string, contentType return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } + if params != nil { + queryValues := queryURL.Query() - req.Header.Add("Content-Type", contentType) + if params.Title != nil { - return req, nil -} + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title", runtime.ParamLocationQuery, *params.Title); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } -// NewGetLogstashPipelinesRequest generates requests for GetLogstashPipelines -func NewGetLogstashPipelinesRequest(server string) (*http.Request, error) { - var err error + } - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } + if params.CreatedBy != nil { - operationPath := fmt.Sprintf("/api/logstash/pipelines") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by", runtime.ParamLocationQuery, *params.CreatedBy); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Page != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PerPage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "per_page", runtime.ParamLocationQuery, *params.PerPage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -95964,19 +108779,19 @@ func NewGetStreamsNameSignificantEventsRequestWithBody(server string, name strin return req, nil } -// NewGetStreamsNameSignificantEventsGenerateRequest calls the generic GetStreamsNameSignificantEventsGenerate builder with application/json body -func NewGetStreamsNameSignificantEventsGenerateRequest(server string, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody) (*http.Request, error) { +// NewPostStreamsNameSignificantEventsGenerateRequest calls the generic PostStreamsNameSignificantEventsGenerate builder with application/json body +func NewPostStreamsNameSignificantEventsGenerateRequest(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameSignificantEventsGenerateRequestWithBody(server, name, params, "application/json", bodyReader) + return NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server, name, params, "application/json", bodyReader) } -// NewGetStreamsNameSignificantEventsGenerateRequestWithBody generates requests for GetStreamsNameSignificantEventsGenerate with any type of body -func NewGetStreamsNameSignificantEventsGenerateRequestWithBody(server string, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader) (*http.Request, error) { +// NewPostStreamsNameSignificantEventsGenerateRequestWithBody generates requests for PostStreamsNameSignificantEventsGenerate with any type of body +func NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -96032,42 +108847,34 @@ func NewGetStreamsNameSignificantEventsGenerateRequestWithBody(server string, na } - if params.ShortLookback != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shortLookback", runtime.ParamLocationQuery, *params.ShortLookback); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) } } - } - if params.LongLookback != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longLookback", runtime.ParamLocationQuery, *params.LongLookback); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) } } - } queryURL.RawQuery = queryValues.Encode() } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } @@ -99222,6 +112029,22 @@ func NewGetDefinitionsOpRequest(server string, spaceId SLOsSpaceId, params *GetD } + if params.IncludeHealth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "includeHealth", runtime.ParamLocationQuery, *params.IncludeHealth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Tags != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tags", runtime.ParamLocationQuery, *params.Tags); err != nil { @@ -99348,6 +112171,81 @@ type ClientWithResponsesInterface interface { // GetActionsConnectorTypesWithResponse request GetActionsConnectorTypesWithResponse(ctx context.Context, params *GetActionsConnectorTypesParams, reqEditors ...RequestEditorFn) (*GetActionsConnectorTypesResponse, error) + // PostAgentBuilderA2aAgentidWithBodyWithResponse request with any body + PostAgentBuilderA2aAgentidWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) + + PostAgentBuilderA2aAgentidWithResponse(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) + + // GetAgentBuilderA2aAgentidJsonWithResponse request + GetAgentBuilderA2aAgentidJsonWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderA2aAgentidJsonResponse, error) + + // GetAgentBuilderAgentsWithResponse request + GetAgentBuilderAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsResponse, error) + + // PostAgentBuilderAgentsWithBodyWithResponse request with any body + PostAgentBuilderAgentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) + + PostAgentBuilderAgentsWithResponse(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) + + // DeleteAgentBuilderAgentsIdWithResponse request + DeleteAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderAgentsIdResponse, error) + + // GetAgentBuilderAgentsIdWithResponse request + GetAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsIdResponse, error) + + // PutAgentBuilderAgentsIdWithBodyWithResponse request with any body + PutAgentBuilderAgentsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) + + PutAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) + + // GetAgentBuilderConversationsWithResponse request + GetAgentBuilderConversationsWithResponse(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsResponse, error) + + // DeleteAgentBuilderConversationsConversationIdWithResponse request + DeleteAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderConversationsConversationIdResponse, error) + + // GetAgentBuilderConversationsConversationIdWithResponse request + GetAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsConversationIdResponse, error) + + // PostAgentBuilderConverseWithBodyWithResponse request with any body + PostAgentBuilderConverseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) + + PostAgentBuilderConverseWithResponse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) + + // PostAgentBuilderConverseAsyncWithBodyWithResponse request with any body + PostAgentBuilderConverseAsyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) + + PostAgentBuilderConverseAsyncWithResponse(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) + + // PostAgentBuilderMcpWithBodyWithResponse request with any body + PostAgentBuilderMcpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) + + PostAgentBuilderMcpWithResponse(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) + + // GetAgentBuilderToolsWithResponse request + GetAgentBuilderToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsResponse, error) + + // PostAgentBuilderToolsWithBodyWithResponse request with any body + PostAgentBuilderToolsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) + + PostAgentBuilderToolsWithResponse(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) + + // PostAgentBuilderToolsExecuteWithBodyWithResponse request with any body + PostAgentBuilderToolsExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) + + PostAgentBuilderToolsExecuteWithResponse(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) + + // DeleteAgentBuilderToolsIdWithResponse request + DeleteAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsIdResponse, error) + + // GetAgentBuilderToolsIdWithResponse request + GetAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsIdResponse, error) + + // PutAgentBuilderToolsToolidWithBodyWithResponse request with any body + PutAgentBuilderToolsToolidWithBodyWithResponse(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) + + PutAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) + // GetAlertingHealthWithResponse request GetAlertingHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingHealthResponse, error) @@ -99477,6 +112375,53 @@ type ClientWithResponsesInterface interface { // FindAssetCriticalityRecordsWithResponse request FindAssetCriticalityRecordsWithResponse(ctx context.Context, params *FindAssetCriticalityRecordsParams, reqEditors ...RequestEditorFn) (*FindAssetCriticalityRecordsResponse, error) + // PostAttackDiscoveryBulkWithBodyWithResponse request with any body + PostAttackDiscoveryBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) + + PostAttackDiscoveryBulkWithResponse(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) + + // AttackDiscoveryFindWithResponse request + AttackDiscoveryFindWithResponse(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*AttackDiscoveryFindResponse, error) + + // PostAttackDiscoveryGenerateWithBodyWithResponse request with any body + PostAttackDiscoveryGenerateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) + + PostAttackDiscoveryGenerateWithResponse(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) + + // GetAttackDiscoveryGenerationsWithResponse request + GetAttackDiscoveryGenerationsWithResponse(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationsResponse, error) + + // GetAttackDiscoveryGenerationWithResponse request + GetAttackDiscoveryGenerationWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationResponse, error) + + // PostAttackDiscoveryGenerationsDismissWithResponse request + PostAttackDiscoveryGenerationsDismissWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerationsDismissResponse, error) + + // CreateAttackDiscoverySchedulesWithBodyWithResponse request with any body + CreateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) + + CreateAttackDiscoverySchedulesWithResponse(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) + + // FindAttackDiscoverySchedulesWithResponse request + FindAttackDiscoverySchedulesWithResponse(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*FindAttackDiscoverySchedulesResponse, error) + + // DeleteAttackDiscoverySchedulesWithResponse request + DeleteAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DeleteAttackDiscoverySchedulesResponse, error) + + // GetAttackDiscoverySchedulesWithResponse request + GetAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*GetAttackDiscoverySchedulesResponse, error) + + // UpdateAttackDiscoverySchedulesWithBodyWithResponse request with any body + UpdateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) + + UpdateAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) + + // DisableAttackDiscoverySchedulesWithResponse request + DisableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DisableAttackDiscoverySchedulesResponse, error) + + // EnableAttackDiscoverySchedulesWithResponse request + EnableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*EnableAttackDiscoverySchedulesResponse, error) + // DeleteCaseDefaultSpaceWithResponse request DeleteCaseDefaultSpaceWithResponse(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*DeleteCaseDefaultSpaceResponse, error) @@ -99713,6 +112658,11 @@ type ClientWithResponsesInterface interface { // EndpointGetActionsListWithResponse request EndpointGetActionsListWithResponse(ctx context.Context, params *EndpointGetActionsListParams, reqEditors ...RequestEditorFn) (*EndpointGetActionsListResponse, error) + // CancelActionWithBodyWithResponse request with any body + CancelActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) + + CancelActionWithResponse(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) + // EndpointExecuteActionWithBodyWithResponse request with any body EndpointExecuteActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EndpointExecuteActionResponse, error) @@ -99886,9 +112836,24 @@ type ClientWithResponsesInterface interface { // StopEntityEngineWithResponse request StopEntityEngineWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, reqEditors ...RequestEditorFn) (*StopEntityEngineResponse, error) + // UpsertEntitiesBulkWithBodyWithResponse request with any body + UpsertEntitiesBulkWithBodyWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) + + UpsertEntitiesBulkWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) + // ListEntitiesWithResponse request ListEntitiesWithResponse(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*ListEntitiesResponse, error) + // DeleteSingleEntityWithBodyWithResponse request with any body + DeleteSingleEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) + + DeleteSingleEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) + + // UpsertEntityWithBodyWithResponse request with any body + UpsertEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) + + UpsertEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) + // GetEntityStoreStatusWithResponse request GetEntityStoreStatusWithResponse(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*GetEntityStoreStatusResponse, error) @@ -100023,6 +112988,14 @@ type ClientWithResponsesInterface interface { // GetFleetAgentStatusDataWithResponse request GetFleetAgentStatusDataWithResponse(ctx context.Context, params *GetFleetAgentStatusDataParams, reqEditors ...RequestEditorFn) (*GetFleetAgentStatusDataResponse, error) + // PostFleetAgentlessPoliciesWithBodyWithResponse request with any body + PostFleetAgentlessPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) + + PostFleetAgentlessPoliciesWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) + + // DeleteFleetAgentlessPoliciesPolicyidWithResponse request + DeleteFleetAgentlessPoliciesPolicyidWithResponse(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) + // GetFleetAgentsWithResponse request GetFleetAgentsWithResponse(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*GetFleetAgentsResponse, error) @@ -100040,6 +113013,11 @@ type ClientWithResponsesInterface interface { // GetFleetAgentsAvailableVersionsWithResponse request GetFleetAgentsAvailableVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetAgentsAvailableVersionsResponse, error) + // PostFleetAgentsBulkMigrateWithBodyWithResponse request with any body + PostFleetAgentsBulkMigrateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) + + PostFleetAgentsBulkMigrateWithResponse(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) + // PostFleetAgentsBulkReassignWithBodyWithResponse request with any body PostFleetAgentsBulkReassignWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkReassignResponse, error) @@ -100096,6 +113074,11 @@ type ClientWithResponsesInterface interface { PostFleetAgentsAgentidActionsWithResponse(ctx context.Context, agentId string, body PostFleetAgentsAgentidActionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidActionsResponse, error) + // PostFleetAgentsAgentidMigrateWithBodyWithResponse request with any body + PostFleetAgentsAgentidMigrateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) + + PostFleetAgentsAgentidMigrateWithResponse(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) + // PostFleetAgentsAgentidReassignWithBodyWithResponse request with any body PostFleetAgentsAgentidReassignWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidReassignResponse, error) @@ -100122,6 +113105,25 @@ type ClientWithResponsesInterface interface { // GetFleetCheckPermissionsWithResponse request GetFleetCheckPermissionsWithResponse(ctx context.Context, params *GetFleetCheckPermissionsParams, reqEditors ...RequestEditorFn) (*GetFleetCheckPermissionsResponse, error) + // GetFleetCloudConnectorsWithResponse request + GetFleetCloudConnectorsWithResponse(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsResponse, error) + + // PostFleetCloudConnectorsWithBodyWithResponse request with any body + PostFleetCloudConnectorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) + + PostFleetCloudConnectorsWithResponse(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) + + // DeleteFleetCloudConnectorsCloudconnectoridWithResponse request + DeleteFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*DeleteFleetCloudConnectorsCloudconnectoridResponse, error) + + // GetFleetCloudConnectorsCloudconnectoridWithResponse request + GetFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsCloudconnectoridResponse, error) + + // PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse request with any body + PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) + + PutFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) + // GetFleetDataStreamsWithResponse request GetFleetDataStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetDataStreamsResponse, error) @@ -100171,6 +113173,14 @@ type ClientWithResponsesInterface interface { PostFleetEpmPackagesBulkWithResponse(ctx context.Context, params *PostFleetEpmPackagesBulkParams, body PostFleetEpmPackagesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkResponse, error) + // PostFleetEpmPackagesBulkRollbackWithBodyWithResponse request with any body + PostFleetEpmPackagesBulkRollbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) + + PostFleetEpmPackagesBulkRollbackWithResponse(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) + + // GetFleetEpmPackagesBulkRollbackTaskidWithResponse request + GetFleetEpmPackagesBulkRollbackTaskidWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesBulkRollbackTaskidResponse, error) + // PostFleetEpmPackagesBulkUninstallWithBodyWithResponse request with any body PostFleetEpmPackagesBulkUninstallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkUninstallResponse, error) @@ -100193,6 +113203,9 @@ type ClientWithResponsesInterface interface { // GetFleetEpmPackagesLimitedWithResponse request GetFleetEpmPackagesLimitedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesLimitedResponse, error) + // PostFleetEpmPackagesPkgnameRollbackWithResponse request + PostFleetEpmPackagesPkgnameRollbackWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnameRollbackResponse, error) + // GetFleetEpmPackagesPkgnameStatsWithResponse request GetFleetEpmPackagesPkgnameStatsWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesPkgnameStatsResponse, error) @@ -100223,6 +113236,11 @@ type ClientWithResponsesInterface interface { PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsWithResponse(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse, error) + // PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse request with any body + PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) + + PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithResponse(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) + // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse request with any body PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse, error) @@ -100469,6 +113487,9 @@ type ClientWithResponsesInterface interface { // GetLogstashPipelinesWithResponse request GetLogstashPipelinesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLogstashPipelinesResponse, error) + // GetMaintenanceWindowFindWithResponse request + GetMaintenanceWindowFindWithResponse(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowFindResponse, error) + // PostMaintenanceWindowIdArchiveWithResponse request PostMaintenanceWindowIdArchiveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostMaintenanceWindowIdArchiveResponse, error) @@ -100919,10 +113940,10 @@ type ClientWithResponsesInterface interface { GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) - // GetStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body - GetStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) + // PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body + PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) - GetStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) + PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) // PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with any body PostStreamsNameSignificantEventsPreviewWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) @@ -101240,6 +114261,405 @@ func (r GetActionsConnectorTypesResponse) StatusCode() int { return 0 } +type PostAgentBuilderA2aAgentidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderA2aAgentidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderA2aAgentidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderA2aAgentidJsonResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderA2aAgentidJsonResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderA2aAgentidJsonResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderAgentsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderAgentsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderAgentsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAgentBuilderAgentsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderAgentsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderAgentsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteAgentBuilderAgentsIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteAgentBuilderAgentsIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteAgentBuilderAgentsIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderAgentsIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderAgentsIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderAgentsIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutAgentBuilderAgentsIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutAgentBuilderAgentsIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutAgentBuilderAgentsIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderConversationsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderConversationsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderConversationsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteAgentBuilderConversationsConversationIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteAgentBuilderConversationsConversationIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteAgentBuilderConversationsConversationIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderConversationsConversationIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderConversationsConversationIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderConversationsConversationIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAgentBuilderConverseResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderConverseResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderConverseResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAgentBuilderConverseAsyncResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderConverseAsyncResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderConverseAsyncResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAgentBuilderMcpResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderMcpResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderMcpResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderToolsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderToolsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderToolsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAgentBuilderToolsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderToolsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderToolsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAgentBuilderToolsExecuteResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostAgentBuilderToolsExecuteResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAgentBuilderToolsExecuteResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteAgentBuilderToolsIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteAgentBuilderToolsIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteAgentBuilderToolsIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAgentBuilderToolsIdResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetAgentBuilderToolsIdResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAgentBuilderToolsIdResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutAgentBuilderToolsToolidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutAgentBuilderToolsToolidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutAgentBuilderToolsToolidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type GetAlertingHealthResponse struct { Body []byte HTTPResponse *http.Response @@ -103586,6 +117006,460 @@ func (r FindAssetCriticalityRecordsResponse) StatusCode() int { return 0 } +type PostAttackDiscoveryBulkResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Data Array of updated Attack discovery alert objects. Each item includes the applied modifications from the bulk update request. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` + } + JSON400 *struct { + // Error Error type + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong with the bulk update request + Message string `json:"message"` + + // StatusCode HTTP status code + StatusCode float32 `json:"status_code"` + } +} + +// Status returns HTTPResponse.Status +func (r PostAttackDiscoveryBulkResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAttackDiscoveryBulkResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type AttackDiscoveryFindResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // ConnectorNames List of human readable connector names that are present in the matched Attack discoveries. Useful for building client filters or summaries. + ConnectorNames []string `json:"connector_names"` + + // Data Array of matched Attack discovery objects. Each item follows the `AttackDiscoveryApiAlert` schema. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` + + // Page Current page number of the paginated result set. + Page int `json:"page"` + + // PerPage Number of items requested per page. + PerPage int `json:"per_page"` + + // Total Total number of Attack discoveries matching the query (across all pages). + Total int `json:"total"` + + // UniqueAlertIds List of unique alert IDs aggregated from the matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. + UniqueAlertIds *[]string `json:"unique_alert_ids,omitempty"` + + // UniqueAlertIdsCount Number of unique alert IDs across all matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. + UniqueAlertIdsCount int `json:"unique_alert_ids_count"` + } + JSON400 *struct { + // Error Error type + Error *string `json:"error,omitempty"` + + // Message Human-readable error message + Message *string `json:"message,omitempty"` + + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r AttackDiscoveryFindResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r AttackDiscoveryFindResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAttackDiscoveryGenerateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // ExecutionUuid A string that does not contain only whitespace characters. + ExecutionUuid SecurityAttackDiscoveryAPINonEmptyString `json:"execution_uuid"` + } + JSON400 *struct { + // Error Error type + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong + Message string `json:"message"` + + // StatusCode HTTP status code + StatusCode float32 `json:"status_code"` + } +} + +// Status returns HTTPResponse.Status +func (r PostAttackDiscoveryGenerateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAttackDiscoveryGenerateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAttackDiscoveryGenerationsResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Generations List of attack discovery generations + Generations []SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generations"` + } + JSON400 *struct { + // Error Error type + Error *string `json:"error,omitempty"` + + // Message Human-readable error message + Message *string `json:"message,omitempty"` + + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r GetAttackDiscoveryGenerationsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAttackDiscoveryGenerationsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAttackDiscoveryGenerationResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Data Array of Attack discoveries generated during this execution. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` + Generation *SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generation,omitempty"` + } + JSON400 *struct { + // Error Error type + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong with the request + Message string `json:"message"` + + // StatusCode HTTP status code + StatusCode float32 `json:"status_code"` + } +} + +// Status returns HTTPResponse.Status +func (r GetAttackDiscoveryGenerationResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAttackDiscoveryGenerationResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostAttackDiscoveryGenerationsDismissResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // AlertsContextCount The number of alerts that were sent as context to the LLM for this generation. + AlertsContextCount *float32 `json:"alerts_context_count,omitempty"` + + // ConnectorId The unique identifier of the connector used to generate the attack discoveries. + ConnectorId string `json:"connector_id"` + + // ConnectorStats Statistical information about the connector's performance for this user, providing insights into usage patterns and success rates. + ConnectorStats *struct { + // AverageSuccessfulDurationNanoseconds The average duration in nanoseconds for successful generations using this connector by the current user. + AverageSuccessfulDurationNanoseconds *float32 `json:"average_successful_duration_nanoseconds,omitempty"` + + // SuccessfulGenerations The total number of Attack discoveries successfully created for this generation + SuccessfulGenerations *float32 `json:"successful_generations,omitempty"` + } `json:"connector_stats,omitempty"` + + // Discoveries The number of attack discoveries that were generated during this execution. + Discoveries float32 `json:"discoveries"` + + // End The timestamp when the generation process completed, in ISO 8601 format. This field may be absent for generations that haven't finished. + End *string `json:"end,omitempty"` + + // ExecutionUuid The unique identifier for this attack discovery generation execution. This UUID can be used to reference this specific generation in other API calls. + ExecutionUuid string `json:"execution_uuid"` + + // LoadingMessage A human-readable message describing the current state or progress of the generation process. Provides context about what the AI is analyzing. + LoadingMessage string `json:"loading_message"` + + // Reason Additional context or reasoning provided when a generation fails or encounters issues. This field helps diagnose problems with the generation process. + Reason *string `json:"reason,omitempty"` + + // Start The timestamp when the generation process began, in ISO 8601 format. This marks the beginning of the AI analysis. + Start string `json:"start"` + + // Status The current status of the attack discovery generation. After dismissing, this will be set to "dismissed". + Status PostAttackDiscoveryGenerationsDismiss200Status `json:"status"` + } + JSON400 *struct { + // Error Error type or category + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong with the request. + Message string `json:"message"` + + // StatusCode HTTP status code indicating the type of client error + StatusCode float32 `json:"status_code"` + } +} +type PostAttackDiscoveryGenerationsDismiss200Status string + +// Status returns HTTPResponse.Status +func (r PostAttackDiscoveryGenerationsDismissResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostAttackDiscoveryGenerationsDismissResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CreateAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule + JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError +} + +// Status returns HTTPResponse.Status +func (r CreateAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CreateAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type FindAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Data Array of matched Attack discovery schedule objects. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule `json:"data"` + + // Page Current page number of the paginated result set. + Page float32 `json:"page"` + + // PerPage Number of items requested per page. + PerPage float32 `json:"per_page"` + + // Total Total number of Attack discovery schedules matching the query (across all pages). + Total float32 `json:"total"` + } + JSON400 *struct { + // Error Error type + Error *string `json:"error,omitempty"` + + // Message Human-readable error message + Message *string `json:"message,omitempty"` + + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r FindAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r FindAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + } + JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError +} + +// Status returns HTTPResponse.Status +func (r DeleteAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule + JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError +} + +// Status returns HTTPResponse.Status +func (r GetAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UpdateAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule + JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError +} + +// Status returns HTTPResponse.Status +func (r UpdateAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UpdateAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DisableAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + } + JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError +} + +// Status returns HTTPResponse.Status +func (r DisableAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DisableAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type EnableAttackDiscoverySchedulesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` + } + JSON400 *SecurityAttackDiscoveryAPIAttackDiscoveryGenericError +} + +// Status returns HTTPResponse.Status +func (r EnableAttackDiscoverySchedulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r EnableAttackDiscoverySchedulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DeleteCaseDefaultSpaceResponse struct { Body []byte HTTPResponse *http.Response @@ -105347,6 +119221,28 @@ func (r EndpointGetActionsListResponse) StatusCode() int { return 0 } +type CancelActionResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityEndpointManagementAPIResponseActionCreateSuccessResponse +} + +// Status returns HTTPResponse.Status +func (r CancelActionResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CancelActionResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type EndpointExecuteActionResponse struct { Body []byte HTTPResponse *http.Response @@ -105592,7 +119488,7 @@ func (r EndpointUploadActionResponse) StatusCode() int { type EndpointGetActionsDetailsResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *SecurityEndpointManagementAPIGetEndpointActionResponse + JSON200 *SecurityEndpointManagementAPIActionDetailsResponse } // Status returns HTTPResponse.Status @@ -105614,8 +119510,21 @@ func (r EndpointGetActionsDetailsResponse) StatusCode() int { type EndpointFileInfoResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *SecurityEndpointManagementAPISuccessResponse + JSON200 *struct { + Data *struct { + ActionId *string `json:"actionId,omitempty"` + AgentId *string `json:"agentId,omitempty"` + AgentType *string `json:"agentType,omitempty"` + Created *time.Time `json:"created,omitempty"` + Id *string `json:"id,omitempty"` + MimeType *string `json:"mimeType,omitempty"` + Name *string `json:"name,omitempty"` + Size *float32 `json:"size,omitempty"` + Status *EndpointFileInfo200DataStatus `json:"status,omitempty"` + } `json:"data,omitempty"` + } } +type EndpointFileInfo200DataStatus string // Status returns HTTPResponse.Status func (r EndpointFileInfoResponse) Status() string { @@ -105636,7 +119545,6 @@ func (r EndpointFileInfoResponse) StatusCode() int { type EndpointFileDownloadResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *SecurityEndpointManagementAPISuccessResponse } // Status returns HTTPResponse.Status @@ -106016,6 +119924,7 @@ type InitMonitoringEngineResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityEntityAnalyticsAPIMonitoringEngineDescriptor + JSON500 *SecurityEntityAnalyticsAPIMonitoringEngineDescriptor } // Status returns HTTPResponse.Status @@ -106070,7 +119979,18 @@ type PrivMonHealthResponse struct { Error *struct { Message *string `json:"message,omitempty"` } `json:"error,omitempty"` + + // Status The status of the Privilege Monitoring Engine Status SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus `json:"status"` + + // Users User statistics for privilege monitoring + Users *struct { + // CurrentCount Current number of privileged users being monitored + CurrentCount int `json:"current_count"` + + // MaxAllowed Maximum number of privileged users allowed to be monitored + MaxAllowed int `json:"max_allowed"` + } `json:"users,omitempty"` } } @@ -106488,6 +120408,27 @@ func (r StopEntityEngineResponse) StatusCode() int { return 0 } +type UpsertEntitiesBulkResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UpsertEntitiesBulkResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UpsertEntitiesBulkResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ListEntitiesResponse struct { Body []byte HTTPResponse *http.Response @@ -106516,6 +120457,52 @@ func (r ListEntitiesResponse) StatusCode() int { return 0 } +type DeleteSingleEntityResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Deleted *bool `json:"deleted,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r DeleteSingleEntityResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteSingleEntityResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UpsertEntityResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityEntityAnalyticsAPIEntity +} + +// Status returns HTTPResponse.Status +func (r UpsertEntityResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UpsertEntityResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type GetEntityStoreStatusResponse struct { Body []byte HTTPResponse *http.Response @@ -107398,6 +121385,7 @@ type PostFleetAgentPoliciesBulkGetResponse struct { DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` + FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -107486,18 +121474,25 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` - Id string `json:"id"` - Inputs PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -107518,6 +121513,7 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -107528,22 +121524,31 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Vars `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` } type PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -107609,19 +121614,19 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs0 = []struct { } type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs0StreamsRelease string type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs1 map[string]struct { - // Enabled enable or disable that input, (default to true) + // Enabled Enable or disable that input. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams (see integration documentation to know what streams are available) + // Streams Input streams. Refer to the integration documentation to know which streams are available. Streams *map[string]struct { - // Enabled enable or disable that stream, (default to true) + // Enabled Enable or disable that stream. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs1StreamsVars0 = bool @@ -107843,9 +121848,10 @@ type GetFleetAgentPoliciesAgentpolicyidAutoUpgradeAgentsStatusResponse struct { HTTPResponse *http.Response JSON200 *struct { CurrentVersions []struct { - Agents float32 `json:"agents"` - FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` - Version string `json:"version"` + Agents float32 `json:"agents"` + FailedUpgradeActionIds *[]string `json:"failedUpgradeActionIds,omitempty"` + FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` + Version string `json:"version"` } `json:"currentVersions"` TotalAgents float32 `json:"totalAgents"` } @@ -107911,6 +121917,7 @@ type PostFleetAgentPoliciesAgentpolicyidCopyResponse struct { DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` + FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -107999,18 +122006,25 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` - Id string `json:"id"` - Inputs PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -108031,6 +122045,7 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -108041,22 +122056,31 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Vars `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` } type PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -108122,19 +122146,19 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs0 = []s } type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs0StreamsRelease string type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs1 map[string]struct { - // Enabled enable or disable that input, (default to true) + // Enabled Enable or disable that input. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams (see integration documentation to know what streams are available) + // Streams Input streams. Refer to the integration documentation to know which streams are available. Streams *map[string]struct { - // Enabled enable or disable that stream, (default to true) + // Enabled Enable or disable that stream. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs1StreamsVars0 = bool @@ -108260,9 +122284,11 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item0 = string type GetFleetAgentPoliciesAgentpolicyidFull200Item1 struct { Agent *struct { Download struct { - Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets `json:"secrets,omitempty"` - SourceURI string `json:"sourceURI"` - Ssl *struct { + ProxyHeaders *map[string]GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_ProxyHeaders_AdditionalProperties `json:"proxy_headers"` + ProxyUrl *string `json:"proxy_url,omitempty"` + Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets `json:"secrets,omitempty"` + SourceURI string `json:"sourceURI"` + Ssl *struct { Certificate *string `json:"certificate,omitempty"` CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` Key *string `json:"key,omitempty"` @@ -108334,6 +122360,12 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item1 struct { Signature string `json:"signature"` } `json:"signed,omitempty"` } +type GetFleetAgentPoliciesAgentpolicyidFull200Item1AgentDownloadProxyHeaders0 = string +type GetFleetAgentPoliciesAgentpolicyidFull200Item1AgentDownloadProxyHeaders1 = bool +type GetFleetAgentPoliciesAgentpolicyidFull200Item1AgentDownloadProxyHeaders2 = float32 +type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_ProxyHeaders_AdditionalProperties struct { + union json.RawMessage +} type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets_Ssl_Key struct { Id *string `json:"id,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` @@ -108347,10 +122379,10 @@ type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Agent_Download_Secrets st AdditionalProperties map[string]interface{} `json:"-"` } type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0 struct { - Hosts []string `json:"hosts"` - ProxyHeaders interface{} `json:"proxy_headers"` - ProxyUrl *string `json:"proxy_url,omitempty"` - Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_Secrets `json:"secrets,omitempty"` + Hosts []string `json:"hosts"` + ProxyHeaders *map[string]GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_ProxyHeaders_AdditionalProperties `json:"proxy_headers"` + ProxyUrl *string `json:"proxy_url,omitempty"` + Secrets *GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_Secrets `json:"secrets,omitempty"` Ssl *struct { Certificate *string `json:"certificate,omitempty"` CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"` @@ -108359,6 +122391,12 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0 struct { VerificationMode *string `json:"verification_mode,omitempty"` } `json:"ssl,omitempty"` } +type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0ProxyHeaders0 = string +type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0ProxyHeaders1 = bool +type GetFleetAgentPoliciesAgentpolicyidFull200Item1Fleet0ProxyHeaders2 = float32 +type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_ProxyHeaders_AdditionalProperties struct { + union json.RawMessage +} type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Fleet_0_Secrets_Ssl_Key struct { Id *string `json:"id,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` @@ -108431,13 +122469,19 @@ type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Inputs_Item struct { UseOutput string `json:"use_output"` AdditionalProperties map[string]interface{} `json:"-"` } +type GetFleetAgentPoliciesAgentpolicyidFull200Item1OutputsProxyHeaders0 = string +type GetFleetAgentPoliciesAgentpolicyidFull200Item1OutputsProxyHeaders1 = bool +type GetFleetAgentPoliciesAgentpolicyidFull200Item1OutputsProxyHeaders2 = float32 +type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Outputs_ProxyHeaders_AdditionalProperties struct { + union json.RawMessage +} type GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Outputs_AdditionalProperties struct { - CaSha256 *string `json:"ca_sha256"` - Hosts *[]string `json:"hosts,omitempty"` - ProxyHeaders interface{} `json:"proxy_headers"` - ProxyUrl *string `json:"proxy_url,omitempty"` - Type string `json:"type"` - AdditionalProperties map[string]interface{} `json:"-"` + CaSha256 *string `json:"ca_sha256"` + Hosts *[]string `json:"hosts,omitempty"` + ProxyHeaders *map[string]GetFleetAgentPoliciesAgentpolicyidFull_200_Item_1_Outputs_ProxyHeaders_AdditionalProperties `json:"proxy_headers"` + ProxyUrl *string `json:"proxy_url,omitempty"` + Type string `json:"type"` + AdditionalProperties map[string]interface{} `json:"-"` } type GetFleetAgentPoliciesAgentpolicyidFull_200_Item struct { union json.RawMessage @@ -108588,6 +122632,290 @@ func (r GetFleetAgentStatusDataResponse) StatusCode() int { return 0 } +type PostFleetAgentlessPoliciesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Item The created agentless package policy. + Item struct { + // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. + AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` + Agents *float32 `json:"agents,omitempty"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` + + // Description Package policy description + Description *string `json:"description,omitempty"` + Elasticsearch *PostFleetAgentlessPolicies_200_Item_Elasticsearch `json:"elasticsearch,omitempty"` + Enabled bool `json:"enabled"` + + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs PostFleetAgentlessPolicies_200_Item_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. + Name string `json:"name"` + + // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id"` + + // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + Overrides *struct { + Inputs *map[string]interface{} `json:"inputs,omitempty"` + } `json:"overrides"` + Package *struct { + ExperimentalDataStreamFeatures *[]struct { + DataStream string `json:"data_stream"` + Features struct { + DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` + DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` + SyntheticSource *bool `json:"synthetic_source,omitempty"` + Tsdb *bool `json:"tsdb,omitempty"` + } `json:"features"` + } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` + + // Name Package name + Name string `json:"name"` + RequiresRoot *bool `json:"requires_root,omitempty"` + Title *string `json:"title,omitempty"` + + // Version Package version + Version string `json:"version"` + } `json:"package,omitempty"` + + // PolicyId ID of the agent policy which the package policy will be added to. + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` + SecretReferences *[]struct { + Id string `json:"id"` + } `json:"secret_references,omitempty"` + SpaceIds *[]string `json:"spaceIds,omitempty"` + + // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetAgentlessPolicies_200_Item_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` + } `json:"item"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + JSON409 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} +type PostFleetAgentlessPolicies_200_Item_Elasticsearch_Privileges struct { + Cluster *[]string `json:"cluster,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} +type PostFleetAgentlessPolicies_200_Item_Elasticsearch struct { + Privileges *PostFleetAgentlessPolicies_200_Item_Elasticsearch_Privileges `json:"privileges,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} +type PostFleetAgentlessPolicies200ItemInputs0 = []struct { + CompiledInput interface{} `json:"compiled_input"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + PolicyTemplate *string `json:"policy_template,omitempty"` + Streams []struct { + CompiledStream interface{} `json:"compiled_stream"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + DataStream struct { + Dataset string `json:"dataset"` + Elasticsearch *struct { + DynamicDataset *bool `json:"dynamic_dataset,omitempty"` + DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` + Privileges *struct { + Indices *[]string `json:"indices,omitempty"` + } `json:"privileges,omitempty"` + } `json:"elasticsearch,omitempty"` + Type string `json:"type"` + } `json:"data_stream"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + Release *PostFleetAgentlessPolicies200ItemInputs0StreamsRelease `json:"release,omitempty"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"streams"` + Type string `json:"type"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` +} +type PostFleetAgentlessPolicies200ItemInputs0StreamsRelease string +type PostFleetAgentlessPolicies200ItemInputs1 map[string]struct { + // Enabled Enable or disable that input. Defaults to `true` (enabled). + Enabled *bool `json:"enabled,omitempty"` + + // Streams Input streams. Refer to the integration documentation to know which streams are available. + Streams *map[string]struct { + // Enabled Enable or disable that stream. Defaults to `true` (enabled). + Enabled *bool `json:"enabled,omitempty"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetAgentlessPolicies_200_Item_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` + } `json:"streams,omitempty"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetAgentlessPolicies_200_Item_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` +} +type PostFleetAgentlessPolicies200ItemInputs1StreamsVars0 = bool +type PostFleetAgentlessPolicies200ItemInputs1StreamsVars1 = string +type PostFleetAgentlessPolicies200ItemInputs1StreamsVars2 = float32 +type PostFleetAgentlessPolicies200ItemInputs1StreamsVars3 = []string +type PostFleetAgentlessPolicies200ItemInputs1StreamsVars4 = []float32 +type PostFleetAgentlessPolicies200ItemInputs1StreamsVars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetAgentlessPolicies_200_Item_Inputs_1_Streams_Vars_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetAgentlessPolicies200ItemInputs1Vars0 = bool +type PostFleetAgentlessPolicies200ItemInputs1Vars1 = string +type PostFleetAgentlessPolicies200ItemInputs1Vars2 = float32 +type PostFleetAgentlessPolicies200ItemInputs1Vars3 = []string +type PostFleetAgentlessPolicies200ItemInputs1Vars4 = []float32 +type PostFleetAgentlessPolicies200ItemInputs1Vars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetAgentlessPolicies_200_Item_Inputs_1_Vars_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetAgentlessPolicies_200_Item_Inputs struct { + union json.RawMessage +} +type PostFleetAgentlessPolicies200ItemVars0 map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` +} +type PostFleetAgentlessPolicies200ItemVars1 map[string]*PostFleetAgentlessPolicies_200_Item_Vars_1_AdditionalProperties +type PostFleetAgentlessPolicies200ItemVars10 = bool +type PostFleetAgentlessPolicies200ItemVars11 = string +type PostFleetAgentlessPolicies200ItemVars12 = float32 +type PostFleetAgentlessPolicies200ItemVars13 = []string +type PostFleetAgentlessPolicies200ItemVars14 = []float32 +type PostFleetAgentlessPolicies200ItemVars15 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetAgentlessPolicies_200_Item_Vars_1_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetAgentlessPolicies_200_Item_Vars struct { + union json.RawMessage +} + +// Status returns HTTPResponse.Status +func (r PostFleetAgentlessPoliciesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetAgentlessPoliciesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteFleetAgentlessPoliciesPolicyidResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + // Id The ID of the deleted agentless package policy. + Id string `json:"id"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + JSON409 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r DeleteFleetAgentlessPoliciesPolicyidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteFleetAgentlessPoliciesPolicyidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type GetFleetAgentsResponse struct { Body []byte HTTPResponse *http.Response @@ -108899,6 +123227,37 @@ func (r GetFleetAgentsAvailableVersionsResponse) StatusCode() int { return 0 } +type PostFleetAgentsBulkMigrateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + ActionId string `json:"actionId"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PostFleetAgentsBulkMigrateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetAgentsBulkMigrateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PostFleetAgentsBulkReassignResponse struct { Body []byte HTTPResponse *http.Response @@ -109119,12 +123478,13 @@ type GetFleetAgentsSetupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { - IsReady bool `json:"isReady"` - IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` - IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` - MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` - MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` - PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` + IsReady bool `json:"isReady"` + IsActionSecretsStorageEnabled *bool `json:"is_action_secrets_storage_enabled,omitempty"` + IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` + IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` + MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` + MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` + PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` } JSON400 *struct { Attributes interface{} `json:"attributes"` @@ -109535,6 +123895,37 @@ func (r PostFleetAgentsAgentidActionsResponse) StatusCode() int { return 0 } +type PostFleetAgentsAgentidMigrateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + ActionId string `json:"actionId"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PostFleetAgentsAgentidMigrateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetAgentsAgentidMigrateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PostFleetAgentsAgentidReassignResponse struct { Body []byte HTTPResponse *http.Response @@ -109718,6 +124109,197 @@ func (r GetFleetCheckPermissionsResponse) StatusCode() int { return 0 } +type GetFleetCloudConnectorsResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Items []struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"items"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r GetFleetCloudConnectorsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetFleetCloudConnectorsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostFleetCloudConnectorsResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Item struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"item"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PostFleetCloudConnectorsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetCloudConnectorsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteFleetCloudConnectorsCloudconnectoridResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Id string `json:"id"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r DeleteFleetCloudConnectorsCloudconnectoridResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteFleetCloudConnectorsCloudconnectoridResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetFleetCloudConnectorsCloudconnectoridResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Item struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"item"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r GetFleetCloudConnectorsCloudconnectoridResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetFleetCloudConnectorsCloudconnectoridResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutFleetCloudConnectorsCloudconnectoridResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Item struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"item"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PutFleetCloudConnectorsCloudconnectoridResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutFleetCloudConnectorsCloudconnectoridResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type GetFleetDataStreamsResponse struct { Body []byte HTTPResponse *http.Response @@ -110055,6 +124637,7 @@ type PostFleetEpmCustomIntegrationsResponse struct { } } type PostFleetEpmCustomIntegrations200Items0 struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PostFleetEpmCustomIntegrations_200_Items_0_Type `json:"type"` @@ -110230,6 +124813,7 @@ type PostFleetEpmPackagesBulk200Items0 struct { Version string `json:"version"` } type PostFleetEpmPackagesBulk200Items0ResultAssets0 struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PostFleetEpmPackagesBulk_200_Items_0_Result_Assets_0_Type `json:"type"` @@ -110280,6 +124864,78 @@ func (r PostFleetEpmPackagesBulkResponse) StatusCode() int { return 0 } +type PostFleetEpmPackagesBulkRollbackResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + TaskId string `json:"taskId"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PostFleetEpmPackagesBulkRollbackResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetEpmPackagesBulkRollbackResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetFleetEpmPackagesBulkRollbackTaskidResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Results *[]struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Name string `json:"name"` + Success bool `json:"success"` + } `json:"results,omitempty"` + Status string `json:"status"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r GetFleetEpmPackagesBulkRollbackTaskidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetFleetEpmPackagesBulkRollbackTaskidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PostFleetEpmPackagesBulkUninstallResponse struct { Body []byte HTTPResponse *http.Response @@ -110514,6 +125170,38 @@ func (r GetFleetEpmPackagesLimitedResponse) StatusCode() int { return 0 } +type PostFleetEpmPackagesPkgnameRollbackResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Success bool `json:"success"` + Version string `json:"version"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PostFleetEpmPackagesPkgnameRollbackResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetEpmPackagesPkgnameRollbackResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type GetFleetEpmPackagesPkgnameStatsResponse struct { Body []byte HTTPResponse *http.Response @@ -110563,6 +125251,7 @@ type DeleteFleetEpmPackagesPkgnamePkgversionResponse struct { } } type DeleteFleetEpmPackagesPkgnamePkgversion200Items0 struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type DeleteFleetEpmPackagesPkgnamePkgversion_200_Items_0_Type `json:"type"` @@ -110652,6 +125341,7 @@ type PostFleetEpmPackagesPkgnamePkgversionResponse struct { } } type PostFleetEpmPackagesPkgnamePkgversion200Items0 struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PostFleetEpmPackagesPkgnamePkgversion_200_Items_0_Type `json:"type"` @@ -110744,6 +125434,7 @@ type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_AdditionalSp union json.RawMessage } type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_AdditionalSpacesInstalledKibana_Type `json:"type"` @@ -110777,6 +125468,7 @@ type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKib union json.RawMessage } type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKibana_Item struct { + Deferred *bool `json:"deferred,omitempty"` Id string `json:"id"` OriginId *string `json:"originId,omitempty"` Type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKibana_Type `json:"type"` @@ -110811,11 +125503,13 @@ type PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo struct { InstalledEs []PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledEs_Item `json:"installed_es"` InstalledKibana []PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_InstalledKibana_Item `json:"installed_kibana"` InstalledKibanaSpaceId *string `json:"installed_kibana_space_id,omitempty"` + IsRollbackTtlExpired *bool `json:"is_rollback_ttl_expired,omitempty"` LatestExecutedState *PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_LatestExecutedState `json:"latest_executed_state,omitempty"` LatestInstallFailedAttempts *[]PutFleetEpmPackagesPkgnamePkgversion_200_Item_InstallationInfo_LatestInstallFailedAttempts_Item `json:"latest_install_failed_attempts,omitempty"` Name string `json:"name"` Namespaces *[]string `json:"namespaces,omitempty"` PreviousVersion *string `json:"previous_version"` + RolledBack *bool `json:"rolled_back,omitempty"` Type string `json:"type"` UpdatedAt *string `json:"updated_at,omitempty"` VerificationKeyId *string `json:"verification_key_id"` @@ -111002,6 +125696,37 @@ func (r PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse) StatusCode() return 0 } +type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Success bool `json:"success"` + } + JSON400 *struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse struct { Body []byte HTTPResponse *http.Response @@ -111761,18 +126486,25 @@ type PostFleetPackagePoliciesBulkGetResponse struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesBulkGet_200_Items_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` - Id string `json:"id"` - Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -111793,6 +126525,7 @@ type PostFleetPackagePoliciesBulkGetResponse struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -111803,22 +126536,31 @@ type PostFleetPackagePoliciesBulkGetResponse struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` } `json:"items"` } JSON400 *struct { @@ -111896,19 +126638,19 @@ type PostFleetPackagePoliciesBulkGet200ItemsInputs0 = []struct { } type PostFleetPackagePoliciesBulkGet200ItemsInputs0StreamsRelease string type PostFleetPackagePoliciesBulkGet200ItemsInputs1 map[string]struct { - // Enabled enable or disable that input, (default to true) + // Enabled Enable or disable that input. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams (see integration documentation to know what streams are available) + // Streams Input streams. Refer to the integration documentation to know which streams are available. Streams *map[string]struct { - // Enabled enable or disable that stream, (default to true) + // Enabled Enable or disable that stream. Defaults to `true` (enabled). Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*PostFleetPackagePoliciesBulkGet_200_Items_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable (see integration documentation for more information) + // Vars Input/stream level variable. Refer to the integration documentation for more information. Vars *map[string]*PostFleetPackagePoliciesBulkGet_200_Items_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetPackagePoliciesBulkGet200ItemsInputs1StreamsVars0 = bool @@ -111996,6 +126738,7 @@ type PostFleetPackagePoliciesDeleteResponse struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -112150,18 +126893,284 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` Id *string `json:"id,omitempty"` - Inputs PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Inputs Package policy inputs. + Inputs PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. + Name string `json:"name"` + + // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id"` + + // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + Overrides *struct { + Inputs *map[string]interface{} `json:"inputs,omitempty"` + } `json:"overrides"` + Package *struct { + ExperimentalDataStreamFeatures *[]struct { + DataStream string `json:"data_stream"` + Features struct { + DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` + DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` + SyntheticSource *bool `json:"synthetic_source,omitempty"` + Tsdb *bool `json:"tsdb,omitempty"` + } `json:"features"` + } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` + + // Name Package name + Name string `json:"name"` + RequiresRoot *bool `json:"requires_root,omitempty"` + Title *string `json:"title,omitempty"` + + // Version Package version + Version string `json:"version"` + } `json:"package,omitempty"` + + // PolicyId ID of the agent policy which the package policy will be added to. + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` + SecretReferences *[]struct { + Id string `json:"id"` + } `json:"secret_references,omitempty"` + SpaceIds *[]string `json:"spaceIds,omitempty"` + + // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges struct { + Cluster *[]string `json:"cluster,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch struct { + Privileges *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges `json:"privileges,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0 = []struct { + CompiledInput interface{} `json:"compiled_input"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + PolicyTemplate *string `json:"policy_template,omitempty"` + Streams []struct { + CompiledStream interface{} `json:"compiled_stream"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + DataStream struct { + Dataset string `json:"dataset"` + Elasticsearch *struct { + DynamicDataset *bool `json:"dynamic_dataset,omitempty"` + DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` + Privileges *struct { + Indices *[]string `json:"indices,omitempty"` + } `json:"privileges,omitempty"` + } `json:"elasticsearch,omitempty"` + Type string `json:"type"` + } `json:"data_stream"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + Release *PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease `json:"release,omitempty"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"streams"` + Type string `json:"type"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1 map[string]struct { + // Enabled Enable or disable that input. Defaults to `true` (enabled). + Enabled *bool `json:"enabled,omitempty"` + + // Streams Input streams. Refer to the integration documentation to know which streams are available. + Streams *map[string]struct { + // Enabled Enable or disable that stream. Defaults to `true` (enabled). + Enabled *bool `json:"enabled,omitempty"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` + } `json:"streams,omitempty"` + + // Vars Input/stream level variable. Refer to the integration documentation for more information. + Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars0 = bool +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars1 = string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars2 = float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars3 = []string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars4 = []float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars0 = bool +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars1 = string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars2 = float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars3 = []string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars4 = []float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars5 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars0 map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars1 map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars10 = bool +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars11 = string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars12 = float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars13 = []string +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars14 = []float32 +type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars15 struct { + Id string `json:"id"` + IsSecretRef bool `json:"isSecretRef"` +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars struct { + union json.RawMessage +} +type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { + // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. + AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt *string `json:"created_at,omitempty"` + CreatedBy *string `json:"created_by,omitempty"` + + // Description Package policy description + Description *string `json:"description,omitempty"` + Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_1_Elasticsearch `json:"elasticsearch,omitempty"` + Enabled bool `json:"enabled"` + Errors *[]struct { + Key *string `json:"key,omitempty"` + Message string `json:"message"` + } `json:"errors,omitempty"` + Force *bool `json:"force,omitempty"` + Id *string `json:"id,omitempty"` + Inputs []struct { + CompiledInput interface{} `json:"compiled_input"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + PolicyTemplate *string `json:"policy_template,omitempty"` + Streams []struct { + CompiledStream interface{} `json:"compiled_stream"` + + // Config Package variable (see integration documentation for more information) + Config *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"config,omitempty"` + DataStream struct { + Dataset string `json:"dataset"` + Elasticsearch *struct { + DynamicDataset *bool `json:"dynamic_dataset,omitempty"` + DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` + Privileges *struct { + Indices *[]string `json:"indices,omitempty"` + } `json:"privileges,omitempty"` + } `json:"elasticsearch,omitempty"` + Type string `json:"type"` + } `json:"data_stream"` + Enabled bool `json:"enabled"` + Id *string `json:"id,omitempty"` + KeepEnabled *bool `json:"keep_enabled,omitempty"` + Release *PostFleetPackagePoliciesUpgradeDryrun200Diff1InputsStreamsRelease `json:"release,omitempty"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"streams"` + Type string `json:"type"` + + // Vars Package variable (see integration documentation for more information) + Vars *map[string]struct { + Frozen *bool `json:"frozen,omitempty"` + Type *string `json:"type,omitempty"` + Value interface{} `json:"value"` + } `json:"vars,omitempty"` + } `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + MissingVars *[]string `json:"missingVars,omitempty"` + + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -112182,6 +127191,7 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -112192,77 +127202,22 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set PolicyId *string `json:"policy_id"` PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision float32 `json:"revision"` + Revision *float32 `json:"revision,omitempty"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` - SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges struct { - Cluster *[]string `json:"cluster,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch struct { - Privileges *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges `json:"privileges,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0 = []struct { - CompiledInput interface{} `json:"compiled_input"` + SupportsAgentless *bool `json:"supports_agentless"` - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - PolicyTemplate *string `json:"policy_template,omitempty"` - Streams []struct { - CompiledStream interface{} `json:"compiled_stream"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - DataStream struct { - Dataset string `json:"dataset"` - Elasticsearch *struct { - DynamicDataset *bool `json:"dynamic_dataset,omitempty"` - DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` - Privileges *struct { - Indices *[]string `json:"indices,omitempty"` - } `json:"privileges,omitempty"` - } `json:"elasticsearch,omitempty"` - Type string `json:"type"` - } `json:"data_stream"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - Release *PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease `json:"release,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"streams"` - Type string `json:"type"` + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt *string `json:"updated_at,omitempty"` + UpdatedBy *string `json:"updated_by,omitempty"` // Vars Package variable (see integration documentation for more information) Vars *map[string]struct { @@ -112270,196 +127225,8 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0 = []struct { Type *string `json:"type,omitempty"` Value interface{} `json:"value"` } `json:"vars,omitempty"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1 map[string]struct { - // Enabled enable or disable that input, (default to true) - Enabled *bool `json:"enabled,omitempty"` - - // Streams Input streams (see integration documentation to know what streams are available) - Streams *map[string]struct { - // Enabled enable or disable that stream, (default to true) - Enabled *bool `json:"enabled,omitempty"` - - // Vars Input/stream level variable (see integration documentation for more information) - Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"streams,omitempty"` - - // Vars Input/stream level variable (see integration documentation for more information) - Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars0 = bool -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars1 = string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars2 = float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars3 = []string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars4 = []float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars0 = bool -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars1 = string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars2 = float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars3 = []string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars4 = []float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1Vars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars0 map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars1 map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars10 = bool -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars11 = string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars12 = float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars13 = []string -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars14 = []float32 -type PostFleetPackagePoliciesUpgradeDryrun200Diff0Vars15 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars_1_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars struct { - union json.RawMessage -} -type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` - CreatedAt *string `json:"created_at,omitempty"` - CreatedBy *string `json:"created_by,omitempty"` - - // Description Package policy description - Description *string `json:"description,omitempty"` - Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_1_Elasticsearch `json:"elasticsearch,omitempty"` - Enabled bool `json:"enabled"` - Errors *[]struct { - Key *string `json:"key,omitempty"` - Message string `json:"message"` - } `json:"errors,omitempty"` - Force *bool `json:"force,omitempty"` - Id *string `json:"id,omitempty"` - Inputs []struct { - CompiledInput interface{} `json:"compiled_input"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - PolicyTemplate *string `json:"policy_template,omitempty"` - Streams []struct { - CompiledStream interface{} `json:"compiled_stream"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - DataStream struct { - Dataset string `json:"dataset"` - Elasticsearch *struct { - DynamicDataset *bool `json:"dynamic_dataset,omitempty"` - DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` - Privileges *struct { - Indices *[]string `json:"indices,omitempty"` - } `json:"privileges,omitempty"` - } `json:"elasticsearch,omitempty"` - Type string `json:"type"` - } `json:"data_stream"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - Release *PostFleetPackagePoliciesUpgradeDryrun200Diff1InputsStreamsRelease `json:"release,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"streams"` - Type string `json:"type"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - MissingVars *[]string `json:"missingVars,omitempty"` - - // Name Package policy name (should be unique) - Name string `json:"name"` - - // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id"` - - // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - Overrides *struct { - Inputs *map[string]interface{} `json:"inputs,omitempty"` - } `json:"overrides"` - Package *struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision *float32 `json:"revision,omitempty"` - SecretReferences *[]struct { - Id string `json:"id"` - } `json:"secret_references,omitempty"` - - // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - UpdatedAt *string `json:"updated_at,omitempty"` - UpdatedBy *string `json:"updated_by,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` + // Version Package policy ES version. Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -112825,6 +127592,10 @@ type GetFleetRemoteSyncedIntegrationsStatusResponse struct { PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` + Warning *struct { + Message *string `json:"message,omitempty"` + Title string `json:"title"` + } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -112887,6 +127658,10 @@ type GetFleetRemoteSyncedIntegrationsOutputidRemoteStatusResponse struct { PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsOutputidRemoteStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` + Warning *struct { + Message *string `json:"message,omitempty"` + Title string `json:"title"` + } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -112974,7 +127749,8 @@ type GetFleetSettingsResponse struct { HTTPResponse *http.Response JSON200 *struct { Item struct { - DeleteUnenrolledAgents *struct { + ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -113024,7 +127800,8 @@ type PutFleetSettingsResponse struct { HTTPResponse *http.Response JSON200 *struct { Item struct { - DeleteUnenrolledAgents *struct { + ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -113874,6 +128651,97 @@ func (r GetLogstashPipelinesResponse) StatusCode() int { return 0 } +type GetMaintenanceWindowFindResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + MaintenanceWindows []struct { + // CreatedAt The date and time when the maintenance window was created. + CreatedAt string `json:"created_at"` + + // CreatedBy The identifier for the user that created the maintenance window. + CreatedBy *string `json:"created_by"` + + // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + Enabled bool `json:"enabled"` + + // Id The identifier for the maintenance window. + Id string `json:"id"` + Schedule struct { + Custom struct { + // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. + Duration string `json:"duration"` + Recurring *struct { + // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. + End *string `json:"end,omitempty"` + + // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. + Every *string `json:"every,omitempty"` + + // Occurrences The total number of recurrences of the schedule. + Occurrences *float32 `json:"occurrences,omitempty"` + + // OnMonth The specific months for a recurring schedule. Valid values are 1-12. + OnMonth *[]float32 `json:"onMonth,omitempty"` + + // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. + OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` + + // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + OnWeekDay *[]string `json:"onWeekDay,omitempty"` + } `json:"recurring,omitempty"` + + // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. + Start string `json:"start"` + + // Timezone The timezone of the schedule. The default timezone is UTC. + Timezone *string `json:"timezone,omitempty"` + } `json:"custom"` + } `json:"schedule"` + Scope *struct { + Alerting struct { + Query struct { + // Kql A filter written in Kibana Query Language (KQL). + Kql string `json:"kql"` + } `json:"query"` + } `json:"alerting"` + } `json:"scope,omitempty"` + + // Status The current status of the maintenance window. + Status GetMaintenanceWindowFind200MaintenanceWindowsStatus `json:"status"` + + // Title The name of the maintenance window. + Title string `json:"title"` + + // UpdatedAt The date and time when the maintenance window was last updated. + UpdatedAt string `json:"updated_at"` + + // UpdatedBy The identifier for the user that last updated this maintenance window. + UpdatedBy *string `json:"updated_by"` + } `json:"maintenanceWindows"` + Page float32 `json:"page"` + PerPage float32 `json:"per_page"` + Total float32 `json:"total"` + } +} +type GetMaintenanceWindowFind200MaintenanceWindowsStatus string + +// Status returns HTTPResponse.Status +func (r GetMaintenanceWindowFindResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetMaintenanceWindowFindResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PostMaintenanceWindowIdArchiveResponse struct { Body []byte HTTPResponse *http.Response @@ -115529,6 +130397,9 @@ type ReadKnowledgeBaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { + // DefendInsightsExists Indicates if Defend Insights documentation exists in the KnowledgeBase. + DefendInsightsExists *bool `json:"defend_insights_exists,omitempty"` + // ElserExists Indicates if the ELSER model exists for the KnowledgeBase. ElserExists *bool `json:"elser_exists,omitempty"` @@ -116553,13 +131424,13 @@ func (r GetStreamsNameSignificantEventsResponse) StatusCode() int { return 0 } -type GetStreamsNameSignificantEventsGenerateResponse struct { +type PostStreamsNameSignificantEventsGenerateResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r GetStreamsNameSignificantEventsGenerateResponse) Status() string { +func (r PostStreamsNameSignificantEventsGenerateResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -116567,7 +131438,7 @@ func (r GetStreamsNameSignificantEventsGenerateResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameSignificantEventsGenerateResponse) StatusCode() int { +func (r PostStreamsNameSignificantEventsGenerateResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -117163,6 +132034,14 @@ type GetDraftTimelinesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIPersistTimelineResponse + JSON403 *struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } + JSON409 *struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } } // Status returns HTTPResponse.Status @@ -117185,6 +132064,14 @@ type CleanDraftTimelinesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIPersistTimelineResponse + JSON403 *struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } + JSON409 *struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } } // Status returns HTTPResponse.Status @@ -117228,6 +132115,10 @@ type PersistFavoriteRouteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIFavoriteTimelineResponse + JSON403 *struct { + Body *string `json:"body,omitempty"` + StatusCode *float32 `json:"statusCode,omitempty"` + } } // Status returns HTTPResponse.Status @@ -117287,6 +132178,10 @@ type InstallPrepackedTimelinesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityTimelineAPIImportTimelineResult + JSON500 *struct { + Body *string `json:"body,omitempty"` + StatusCode *float32 `json:"statusCode,omitempty"` + } } // Status returns HTTPResponse.Status @@ -117350,6 +132245,11 @@ type GetTimelinesResponse struct { // TotalCount The total amount of results TotalCount float32 `json:"totalCount"` } + JSON400 *struct { + // Body The error message + Body *string `json:"body,omitempty"` + StatusCode *float32 `json:"statusCode,omitempty"` + } } // Status returns HTTPResponse.Status @@ -118338,6 +133238,249 @@ func (c *ClientWithResponses) GetActionsConnectorTypesWithResponse(ctx context.C return ParseGetActionsConnectorTypesResponse(rsp) } +// PostAgentBuilderA2aAgentidWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderA2aAgentidResponse +func (c *ClientWithResponses) PostAgentBuilderA2aAgentidWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) { + rsp, err := c.PostAgentBuilderA2aAgentidWithBody(ctx, agentId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderA2aAgentidResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderA2aAgentidWithResponse(ctx context.Context, agentId string, body PostAgentBuilderA2aAgentidJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderA2aAgentidResponse, error) { + rsp, err := c.PostAgentBuilderA2aAgentid(ctx, agentId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderA2aAgentidResponse(rsp) +} + +// GetAgentBuilderA2aAgentidJsonWithResponse request returning *GetAgentBuilderA2aAgentidJsonResponse +func (c *ClientWithResponses) GetAgentBuilderA2aAgentidJsonWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderA2aAgentidJsonResponse, error) { + rsp, err := c.GetAgentBuilderA2aAgentidJson(ctx, agentId, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderA2aAgentidJsonResponse(rsp) +} + +// GetAgentBuilderAgentsWithResponse request returning *GetAgentBuilderAgentsResponse +func (c *ClientWithResponses) GetAgentBuilderAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsResponse, error) { + rsp, err := c.GetAgentBuilderAgents(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderAgentsResponse(rsp) +} + +// PostAgentBuilderAgentsWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderAgentsResponse +func (c *ClientWithResponses) PostAgentBuilderAgentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) { + rsp, err := c.PostAgentBuilderAgentsWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderAgentsResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderAgentsWithResponse(ctx context.Context, body PostAgentBuilderAgentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderAgentsResponse, error) { + rsp, err := c.PostAgentBuilderAgents(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderAgentsResponse(rsp) +} + +// DeleteAgentBuilderAgentsIdWithResponse request returning *DeleteAgentBuilderAgentsIdResponse +func (c *ClientWithResponses) DeleteAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderAgentsIdResponse, error) { + rsp, err := c.DeleteAgentBuilderAgentsId(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteAgentBuilderAgentsIdResponse(rsp) +} + +// GetAgentBuilderAgentsIdWithResponse request returning *GetAgentBuilderAgentsIdResponse +func (c *ClientWithResponses) GetAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderAgentsIdResponse, error) { + rsp, err := c.GetAgentBuilderAgentsId(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderAgentsIdResponse(rsp) +} + +// PutAgentBuilderAgentsIdWithBodyWithResponse request with arbitrary body returning *PutAgentBuilderAgentsIdResponse +func (c *ClientWithResponses) PutAgentBuilderAgentsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) { + rsp, err := c.PutAgentBuilderAgentsIdWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutAgentBuilderAgentsIdResponse(rsp) +} + +func (c *ClientWithResponses) PutAgentBuilderAgentsIdWithResponse(ctx context.Context, id string, body PutAgentBuilderAgentsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderAgentsIdResponse, error) { + rsp, err := c.PutAgentBuilderAgentsId(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutAgentBuilderAgentsIdResponse(rsp) +} + +// GetAgentBuilderConversationsWithResponse request returning *GetAgentBuilderConversationsResponse +func (c *ClientWithResponses) GetAgentBuilderConversationsWithResponse(ctx context.Context, params *GetAgentBuilderConversationsParams, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsResponse, error) { + rsp, err := c.GetAgentBuilderConversations(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderConversationsResponse(rsp) +} + +// DeleteAgentBuilderConversationsConversationIdWithResponse request returning *DeleteAgentBuilderConversationsConversationIdResponse +func (c *ClientWithResponses) DeleteAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderConversationsConversationIdResponse, error) { + rsp, err := c.DeleteAgentBuilderConversationsConversationId(ctx, conversationId, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteAgentBuilderConversationsConversationIdResponse(rsp) +} + +// GetAgentBuilderConversationsConversationIdWithResponse request returning *GetAgentBuilderConversationsConversationIdResponse +func (c *ClientWithResponses) GetAgentBuilderConversationsConversationIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderConversationsConversationIdResponse, error) { + rsp, err := c.GetAgentBuilderConversationsConversationId(ctx, conversationId, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderConversationsConversationIdResponse(rsp) +} + +// PostAgentBuilderConverseWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderConverseResponse +func (c *ClientWithResponses) PostAgentBuilderConverseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) { + rsp, err := c.PostAgentBuilderConverseWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderConverseResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderConverseWithResponse(ctx context.Context, body PostAgentBuilderConverseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseResponse, error) { + rsp, err := c.PostAgentBuilderConverse(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderConverseResponse(rsp) +} + +// PostAgentBuilderConverseAsyncWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderConverseAsyncResponse +func (c *ClientWithResponses) PostAgentBuilderConverseAsyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) { + rsp, err := c.PostAgentBuilderConverseAsyncWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderConverseAsyncResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderConverseAsyncWithResponse(ctx context.Context, body PostAgentBuilderConverseAsyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderConverseAsyncResponse, error) { + rsp, err := c.PostAgentBuilderConverseAsync(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderConverseAsyncResponse(rsp) +} + +// PostAgentBuilderMcpWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderMcpResponse +func (c *ClientWithResponses) PostAgentBuilderMcpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) { + rsp, err := c.PostAgentBuilderMcpWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderMcpResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderMcpWithResponse(ctx context.Context, body PostAgentBuilderMcpJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderMcpResponse, error) { + rsp, err := c.PostAgentBuilderMcp(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderMcpResponse(rsp) +} + +// GetAgentBuilderToolsWithResponse request returning *GetAgentBuilderToolsResponse +func (c *ClientWithResponses) GetAgentBuilderToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsResponse, error) { + rsp, err := c.GetAgentBuilderTools(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderToolsResponse(rsp) +} + +// PostAgentBuilderToolsWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderToolsResponse +func (c *ClientWithResponses) PostAgentBuilderToolsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) { + rsp, err := c.PostAgentBuilderToolsWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderToolsResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderToolsWithResponse(ctx context.Context, body PostAgentBuilderToolsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsResponse, error) { + rsp, err := c.PostAgentBuilderTools(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderToolsResponse(rsp) +} + +// PostAgentBuilderToolsExecuteWithBodyWithResponse request with arbitrary body returning *PostAgentBuilderToolsExecuteResponse +func (c *ClientWithResponses) PostAgentBuilderToolsExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) { + rsp, err := c.PostAgentBuilderToolsExecuteWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderToolsExecuteResponse(rsp) +} + +func (c *ClientWithResponses) PostAgentBuilderToolsExecuteWithResponse(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) { + rsp, err := c.PostAgentBuilderToolsExecute(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAgentBuilderToolsExecuteResponse(rsp) +} + +// DeleteAgentBuilderToolsIdWithResponse request returning *DeleteAgentBuilderToolsIdResponse +func (c *ClientWithResponses) DeleteAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsIdResponse, error) { + rsp, err := c.DeleteAgentBuilderToolsId(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteAgentBuilderToolsIdResponse(rsp) +} + +// GetAgentBuilderToolsIdWithResponse request returning *GetAgentBuilderToolsIdResponse +func (c *ClientWithResponses) GetAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsIdResponse, error) { + rsp, err := c.GetAgentBuilderToolsId(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAgentBuilderToolsIdResponse(rsp) +} + +// PutAgentBuilderToolsToolidWithBodyWithResponse request with arbitrary body returning *PutAgentBuilderToolsToolidResponse +func (c *ClientWithResponses) PutAgentBuilderToolsToolidWithBodyWithResponse(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) { + rsp, err := c.PutAgentBuilderToolsToolidWithBody(ctx, toolId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutAgentBuilderToolsToolidResponse(rsp) +} + +func (c *ClientWithResponses) PutAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, body PutAgentBuilderToolsToolidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) { + rsp, err := c.PutAgentBuilderToolsToolid(ctx, toolId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutAgentBuilderToolsToolidResponse(rsp) +} + // GetAlertingHealthWithResponse request returning *GetAlertingHealthResponse func (c *ClientWithResponses) GetAlertingHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingHealthResponse, error) { rsp, err := c.GetAlertingHealth(ctx, reqEditors...) @@ -118749,6 +133892,155 @@ func (c *ClientWithResponses) FindAssetCriticalityRecordsWithResponse(ctx contex return ParseFindAssetCriticalityRecordsResponse(rsp) } +// PostAttackDiscoveryBulkWithBodyWithResponse request with arbitrary body returning *PostAttackDiscoveryBulkResponse +func (c *ClientWithResponses) PostAttackDiscoveryBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) { + rsp, err := c.PostAttackDiscoveryBulkWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAttackDiscoveryBulkResponse(rsp) +} + +func (c *ClientWithResponses) PostAttackDiscoveryBulkWithResponse(ctx context.Context, body PostAttackDiscoveryBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryBulkResponse, error) { + rsp, err := c.PostAttackDiscoveryBulk(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAttackDiscoveryBulkResponse(rsp) +} + +// AttackDiscoveryFindWithResponse request returning *AttackDiscoveryFindResponse +func (c *ClientWithResponses) AttackDiscoveryFindWithResponse(ctx context.Context, params *AttackDiscoveryFindParams, reqEditors ...RequestEditorFn) (*AttackDiscoveryFindResponse, error) { + rsp, err := c.AttackDiscoveryFind(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseAttackDiscoveryFindResponse(rsp) +} + +// PostAttackDiscoveryGenerateWithBodyWithResponse request with arbitrary body returning *PostAttackDiscoveryGenerateResponse +func (c *ClientWithResponses) PostAttackDiscoveryGenerateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) { + rsp, err := c.PostAttackDiscoveryGenerateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAttackDiscoveryGenerateResponse(rsp) +} + +func (c *ClientWithResponses) PostAttackDiscoveryGenerateWithResponse(ctx context.Context, body PostAttackDiscoveryGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerateResponse, error) { + rsp, err := c.PostAttackDiscoveryGenerate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAttackDiscoveryGenerateResponse(rsp) +} + +// GetAttackDiscoveryGenerationsWithResponse request returning *GetAttackDiscoveryGenerationsResponse +func (c *ClientWithResponses) GetAttackDiscoveryGenerationsWithResponse(ctx context.Context, params *GetAttackDiscoveryGenerationsParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationsResponse, error) { + rsp, err := c.GetAttackDiscoveryGenerations(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAttackDiscoveryGenerationsResponse(rsp) +} + +// GetAttackDiscoveryGenerationWithResponse request returning *GetAttackDiscoveryGenerationResponse +func (c *ClientWithResponses) GetAttackDiscoveryGenerationWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, params *GetAttackDiscoveryGenerationParams, reqEditors ...RequestEditorFn) (*GetAttackDiscoveryGenerationResponse, error) { + rsp, err := c.GetAttackDiscoveryGeneration(ctx, executionUuid, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAttackDiscoveryGenerationResponse(rsp) +} + +// PostAttackDiscoveryGenerationsDismissWithResponse request returning *PostAttackDiscoveryGenerationsDismissResponse +func (c *ClientWithResponses) PostAttackDiscoveryGenerationsDismissWithResponse(ctx context.Context, executionUuid SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*PostAttackDiscoveryGenerationsDismissResponse, error) { + rsp, err := c.PostAttackDiscoveryGenerationsDismiss(ctx, executionUuid, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostAttackDiscoveryGenerationsDismissResponse(rsp) +} + +// CreateAttackDiscoverySchedulesWithBodyWithResponse request with arbitrary body returning *CreateAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) CreateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) { + rsp, err := c.CreateAttackDiscoverySchedulesWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCreateAttackDiscoverySchedulesResponse(rsp) +} + +func (c *ClientWithResponses) CreateAttackDiscoverySchedulesWithResponse(ctx context.Context, body CreateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAttackDiscoverySchedulesResponse, error) { + rsp, err := c.CreateAttackDiscoverySchedules(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCreateAttackDiscoverySchedulesResponse(rsp) +} + +// FindAttackDiscoverySchedulesWithResponse request returning *FindAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) FindAttackDiscoverySchedulesWithResponse(ctx context.Context, params *FindAttackDiscoverySchedulesParams, reqEditors ...RequestEditorFn) (*FindAttackDiscoverySchedulesResponse, error) { + rsp, err := c.FindAttackDiscoverySchedules(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseFindAttackDiscoverySchedulesResponse(rsp) +} + +// DeleteAttackDiscoverySchedulesWithResponse request returning *DeleteAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) DeleteAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DeleteAttackDiscoverySchedulesResponse, error) { + rsp, err := c.DeleteAttackDiscoverySchedules(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteAttackDiscoverySchedulesResponse(rsp) +} + +// GetAttackDiscoverySchedulesWithResponse request returning *GetAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) GetAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*GetAttackDiscoverySchedulesResponse, error) { + rsp, err := c.GetAttackDiscoverySchedules(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetAttackDiscoverySchedulesResponse(rsp) +} + +// UpdateAttackDiscoverySchedulesWithBodyWithResponse request with arbitrary body returning *UpdateAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) UpdateAttackDiscoverySchedulesWithBodyWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) { + rsp, err := c.UpdateAttackDiscoverySchedulesWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpdateAttackDiscoverySchedulesResponse(rsp) +} + +func (c *ClientWithResponses) UpdateAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, body UpdateAttackDiscoverySchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAttackDiscoverySchedulesResponse, error) { + rsp, err := c.UpdateAttackDiscoverySchedules(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpdateAttackDiscoverySchedulesResponse(rsp) +} + +// DisableAttackDiscoverySchedulesWithResponse request returning *DisableAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) DisableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*DisableAttackDiscoverySchedulesResponse, error) { + rsp, err := c.DisableAttackDiscoverySchedules(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDisableAttackDiscoverySchedulesResponse(rsp) +} + +// EnableAttackDiscoverySchedulesWithResponse request returning *EnableAttackDiscoverySchedulesResponse +func (c *ClientWithResponses) EnableAttackDiscoverySchedulesWithResponse(ctx context.Context, id SecurityAttackDiscoveryAPINonEmptyString, reqEditors ...RequestEditorFn) (*EnableAttackDiscoverySchedulesResponse, error) { + rsp, err := c.EnableAttackDiscoverySchedules(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseEnableAttackDiscoverySchedulesResponse(rsp) +} + // DeleteCaseDefaultSpaceWithResponse request returning *DeleteCaseDefaultSpaceResponse func (c *ClientWithResponses) DeleteCaseDefaultSpaceWithResponse(ctx context.Context, params *DeleteCaseDefaultSpaceParams, reqEditors ...RequestEditorFn) (*DeleteCaseDefaultSpaceResponse, error) { rsp, err := c.DeleteCaseDefaultSpace(ctx, params, reqEditors...) @@ -119513,6 +134805,23 @@ func (c *ClientWithResponses) EndpointGetActionsListWithResponse(ctx context.Con return ParseEndpointGetActionsListResponse(rsp) } +// CancelActionWithBodyWithResponse request with arbitrary body returning *CancelActionResponse +func (c *ClientWithResponses) CancelActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) { + rsp, err := c.CancelActionWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCancelActionResponse(rsp) +} + +func (c *ClientWithResponses) CancelActionWithResponse(ctx context.Context, body CancelActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelActionResponse, error) { + rsp, err := c.CancelAction(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCancelActionResponse(rsp) +} + // EndpointExecuteActionWithBodyWithResponse request with arbitrary body returning *EndpointExecuteActionResponse func (c *ClientWithResponses) EndpointExecuteActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EndpointExecuteActionResponse, error) { rsp, err := c.EndpointExecuteActionWithBody(ctx, contentType, body, reqEditors...) @@ -120064,6 +135373,23 @@ func (c *ClientWithResponses) StopEntityEngineWithResponse(ctx context.Context, return ParseStopEntityEngineResponse(rsp) } +// UpsertEntitiesBulkWithBodyWithResponse request with arbitrary body returning *UpsertEntitiesBulkResponse +func (c *ClientWithResponses) UpsertEntitiesBulkWithBodyWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) { + rsp, err := c.UpsertEntitiesBulkWithBody(ctx, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpsertEntitiesBulkResponse(rsp) +} + +func (c *ClientWithResponses) UpsertEntitiesBulkWithResponse(ctx context.Context, params *UpsertEntitiesBulkParams, body UpsertEntitiesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntitiesBulkResponse, error) { + rsp, err := c.UpsertEntitiesBulk(ctx, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpsertEntitiesBulkResponse(rsp) +} + // ListEntitiesWithResponse request returning *ListEntitiesResponse func (c *ClientWithResponses) ListEntitiesWithResponse(ctx context.Context, params *ListEntitiesParams, reqEditors ...RequestEditorFn) (*ListEntitiesResponse, error) { rsp, err := c.ListEntities(ctx, params, reqEditors...) @@ -120073,6 +135399,40 @@ func (c *ClientWithResponses) ListEntitiesWithResponse(ctx context.Context, para return ParseListEntitiesResponse(rsp) } +// DeleteSingleEntityWithBodyWithResponse request with arbitrary body returning *DeleteSingleEntityResponse +func (c *ClientWithResponses) DeleteSingleEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) { + rsp, err := c.DeleteSingleEntityWithBody(ctx, entityType, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteSingleEntityResponse(rsp) +} + +func (c *ClientWithResponses) DeleteSingleEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, body DeleteSingleEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSingleEntityResponse, error) { + rsp, err := c.DeleteSingleEntity(ctx, entityType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteSingleEntityResponse(rsp) +} + +// UpsertEntityWithBodyWithResponse request with arbitrary body returning *UpsertEntityResponse +func (c *ClientWithResponses) UpsertEntityWithBodyWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) { + rsp, err := c.UpsertEntityWithBody(ctx, entityType, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpsertEntityResponse(rsp) +} + +func (c *ClientWithResponses) UpsertEntityWithResponse(ctx context.Context, entityType SecurityEntityAnalyticsAPIEntityType, params *UpsertEntityParams, body UpsertEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEntityResponse, error) { + rsp, err := c.UpsertEntity(ctx, entityType, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpsertEntityResponse(rsp) +} + // GetEntityStoreStatusWithResponse request returning *GetEntityStoreStatusResponse func (c *ClientWithResponses) GetEntityStoreStatusWithResponse(ctx context.Context, params *GetEntityStoreStatusParams, reqEditors ...RequestEditorFn) (*GetEntityStoreStatusResponse, error) { rsp, err := c.GetEntityStoreStatus(ctx, params, reqEditors...) @@ -120501,6 +135861,32 @@ func (c *ClientWithResponses) GetFleetAgentStatusDataWithResponse(ctx context.Co return ParseGetFleetAgentStatusDataResponse(rsp) } +// PostFleetAgentlessPoliciesWithBodyWithResponse request with arbitrary body returning *PostFleetAgentlessPoliciesResponse +func (c *ClientWithResponses) PostFleetAgentlessPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) { + rsp, err := c.PostFleetAgentlessPoliciesWithBody(ctx, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetAgentlessPoliciesResponse(rsp) +} + +func (c *ClientWithResponses) PostFleetAgentlessPoliciesWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) { + rsp, err := c.PostFleetAgentlessPolicies(ctx, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetAgentlessPoliciesResponse(rsp) +} + +// DeleteFleetAgentlessPoliciesPolicyidWithResponse request returning *DeleteFleetAgentlessPoliciesPolicyidResponse +func (c *ClientWithResponses) DeleteFleetAgentlessPoliciesPolicyidWithResponse(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) { + rsp, err := c.DeleteFleetAgentlessPoliciesPolicyid(ctx, policyId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteFleetAgentlessPoliciesPolicyidResponse(rsp) +} + // GetFleetAgentsWithResponse request returning *GetFleetAgentsResponse func (c *ClientWithResponses) GetFleetAgentsWithResponse(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*GetFleetAgentsResponse, error) { rsp, err := c.GetFleetAgents(ctx, params, reqEditors...) @@ -120554,6 +135940,23 @@ func (c *ClientWithResponses) GetFleetAgentsAvailableVersionsWithResponse(ctx co return ParseGetFleetAgentsAvailableVersionsResponse(rsp) } +// PostFleetAgentsBulkMigrateWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsBulkMigrateResponse +func (c *ClientWithResponses) PostFleetAgentsBulkMigrateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) { + rsp, err := c.PostFleetAgentsBulkMigrateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetAgentsBulkMigrateResponse(rsp) +} + +func (c *ClientWithResponses) PostFleetAgentsBulkMigrateWithResponse(ctx context.Context, body PostFleetAgentsBulkMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkMigrateResponse, error) { + rsp, err := c.PostFleetAgentsBulkMigrate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetAgentsBulkMigrateResponse(rsp) +} + // PostFleetAgentsBulkReassignWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsBulkReassignResponse func (c *ClientWithResponses) PostFleetAgentsBulkReassignWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsBulkReassignResponse, error) { rsp, err := c.PostFleetAgentsBulkReassignWithBody(ctx, contentType, body, reqEditors...) @@ -120736,6 +136139,23 @@ func (c *ClientWithResponses) PostFleetAgentsAgentidActionsWithResponse(ctx cont return ParsePostFleetAgentsAgentidActionsResponse(rsp) } +// PostFleetAgentsAgentidMigrateWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsAgentidMigrateResponse +func (c *ClientWithResponses) PostFleetAgentsAgentidMigrateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) { + rsp, err := c.PostFleetAgentsAgentidMigrateWithBody(ctx, agentId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetAgentsAgentidMigrateResponse(rsp) +} + +func (c *ClientWithResponses) PostFleetAgentsAgentidMigrateWithResponse(ctx context.Context, agentId string, body PostFleetAgentsAgentidMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidMigrateResponse, error) { + rsp, err := c.PostFleetAgentsAgentidMigrate(ctx, agentId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetAgentsAgentidMigrateResponse(rsp) +} + // PostFleetAgentsAgentidReassignWithBodyWithResponse request with arbitrary body returning *PostFleetAgentsAgentidReassignResponse func (c *ClientWithResponses) PostFleetAgentsAgentidReassignWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentsAgentidReassignResponse, error) { rsp, err := c.PostFleetAgentsAgentidReassignWithBody(ctx, agentId, contentType, body, reqEditors...) @@ -120822,6 +136242,67 @@ func (c *ClientWithResponses) GetFleetCheckPermissionsWithResponse(ctx context.C return ParseGetFleetCheckPermissionsResponse(rsp) } +// GetFleetCloudConnectorsWithResponse request returning *GetFleetCloudConnectorsResponse +func (c *ClientWithResponses) GetFleetCloudConnectorsWithResponse(ctx context.Context, params *GetFleetCloudConnectorsParams, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsResponse, error) { + rsp, err := c.GetFleetCloudConnectors(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetFleetCloudConnectorsResponse(rsp) +} + +// PostFleetCloudConnectorsWithBodyWithResponse request with arbitrary body returning *PostFleetCloudConnectorsResponse +func (c *ClientWithResponses) PostFleetCloudConnectorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) { + rsp, err := c.PostFleetCloudConnectorsWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetCloudConnectorsResponse(rsp) +} + +func (c *ClientWithResponses) PostFleetCloudConnectorsWithResponse(ctx context.Context, body PostFleetCloudConnectorsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetCloudConnectorsResponse, error) { + rsp, err := c.PostFleetCloudConnectors(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetCloudConnectorsResponse(rsp) +} + +// DeleteFleetCloudConnectorsCloudconnectoridWithResponse request returning *DeleteFleetCloudConnectorsCloudconnectoridResponse +func (c *ClientWithResponses) DeleteFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, params *DeleteFleetCloudConnectorsCloudconnectoridParams, reqEditors ...RequestEditorFn) (*DeleteFleetCloudConnectorsCloudconnectoridResponse, error) { + rsp, err := c.DeleteFleetCloudConnectorsCloudconnectorid(ctx, cloudConnectorId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteFleetCloudConnectorsCloudconnectoridResponse(rsp) +} + +// GetFleetCloudConnectorsCloudconnectoridWithResponse request returning *GetFleetCloudConnectorsCloudconnectoridResponse +func (c *ClientWithResponses) GetFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, reqEditors ...RequestEditorFn) (*GetFleetCloudConnectorsCloudconnectoridResponse, error) { + rsp, err := c.GetFleetCloudConnectorsCloudconnectorid(ctx, cloudConnectorId, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetFleetCloudConnectorsCloudconnectoridResponse(rsp) +} + +// PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse request with arbitrary body returning *PutFleetCloudConnectorsCloudconnectoridResponse +func (c *ClientWithResponses) PutFleetCloudConnectorsCloudconnectoridWithBodyWithResponse(ctx context.Context, cloudConnectorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) { + rsp, err := c.PutFleetCloudConnectorsCloudconnectoridWithBody(ctx, cloudConnectorId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutFleetCloudConnectorsCloudconnectoridResponse(rsp) +} + +func (c *ClientWithResponses) PutFleetCloudConnectorsCloudconnectoridWithResponse(ctx context.Context, cloudConnectorId string, body PutFleetCloudConnectorsCloudconnectoridJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) { + rsp, err := c.PutFleetCloudConnectorsCloudconnectorid(ctx, cloudConnectorId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutFleetCloudConnectorsCloudconnectoridResponse(rsp) +} + // GetFleetDataStreamsWithResponse request returning *GetFleetDataStreamsResponse func (c *ClientWithResponses) GetFleetDataStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetDataStreamsResponse, error) { rsp, err := c.GetFleetDataStreams(ctx, reqEditors...) @@ -120979,6 +136460,32 @@ func (c *ClientWithResponses) PostFleetEpmPackagesBulkWithResponse(ctx context.C return ParsePostFleetEpmPackagesBulkResponse(rsp) } +// PostFleetEpmPackagesBulkRollbackWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesBulkRollbackResponse +func (c *ClientWithResponses) PostFleetEpmPackagesBulkRollbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) { + rsp, err := c.PostFleetEpmPackagesBulkRollbackWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetEpmPackagesBulkRollbackResponse(rsp) +} + +func (c *ClientWithResponses) PostFleetEpmPackagesBulkRollbackWithResponse(ctx context.Context, body PostFleetEpmPackagesBulkRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkRollbackResponse, error) { + rsp, err := c.PostFleetEpmPackagesBulkRollback(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetEpmPackagesBulkRollbackResponse(rsp) +} + +// GetFleetEpmPackagesBulkRollbackTaskidWithResponse request returning *GetFleetEpmPackagesBulkRollbackTaskidResponse +func (c *ClientWithResponses) GetFleetEpmPackagesBulkRollbackTaskidWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesBulkRollbackTaskidResponse, error) { + rsp, err := c.GetFleetEpmPackagesBulkRollbackTaskid(ctx, taskId, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetFleetEpmPackagesBulkRollbackTaskidResponse(rsp) +} + // PostFleetEpmPackagesBulkUninstallWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesBulkUninstallResponse func (c *ClientWithResponses) PostFleetEpmPackagesBulkUninstallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesBulkUninstallResponse, error) { rsp, err := c.PostFleetEpmPackagesBulkUninstallWithBody(ctx, contentType, body, reqEditors...) @@ -121049,6 +136556,15 @@ func (c *ClientWithResponses) GetFleetEpmPackagesLimitedWithResponse(ctx context return ParseGetFleetEpmPackagesLimitedResponse(rsp) } +// PostFleetEpmPackagesPkgnameRollbackWithResponse request returning *PostFleetEpmPackagesPkgnameRollbackResponse +func (c *ClientWithResponses) PostFleetEpmPackagesPkgnameRollbackWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnameRollbackResponse, error) { + rsp, err := c.PostFleetEpmPackagesPkgnameRollback(ctx, pkgName, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetEpmPackagesPkgnameRollbackResponse(rsp) +} + // GetFleetEpmPackagesPkgnameStatsWithResponse request returning *GetFleetEpmPackagesPkgnameStatsResponse func (c *ClientWithResponses) GetFleetEpmPackagesPkgnameStatsWithResponse(ctx context.Context, pkgName string, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesPkgnameStatsResponse, error) { rsp, err := c.GetFleetEpmPackagesPkgnameStats(ctx, pkgName, reqEditors...) @@ -121145,6 +136661,23 @@ func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsW return ParsePostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse(rsp) } +// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse +func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) { + rsp, err := c.PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithBody(ctx, pkgName, pkgVersion, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse(rsp) +} + +func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithResponse(ctx context.Context, pkgName string, pkgVersion string, body PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) { + rsp, err := c.PostFleetEpmPackagesPkgnamePkgversionRuleAssets(ctx, pkgName, pkgVersion, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse(rsp) +} + // PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse, error) { rsp, err := c.PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithBody(ctx, pkgName, pkgVersion, params, contentType, body, reqEditors...) @@ -121931,6 +137464,15 @@ func (c *ClientWithResponses) GetLogstashPipelinesWithResponse(ctx context.Conte return ParseGetLogstashPipelinesResponse(rsp) } +// GetMaintenanceWindowFindWithResponse request returning *GetMaintenanceWindowFindResponse +func (c *ClientWithResponses) GetMaintenanceWindowFindWithResponse(ctx context.Context, params *GetMaintenanceWindowFindParams, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowFindResponse, error) { + rsp, err := c.GetMaintenanceWindowFind(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetMaintenanceWindowFindResponse(rsp) +} + // PostMaintenanceWindowIdArchiveWithResponse request returning *PostMaintenanceWindowIdArchiveResponse func (c *ClientWithResponses) PostMaintenanceWindowIdArchiveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostMaintenanceWindowIdArchiveResponse, error) { rsp, err := c.PostMaintenanceWindowIdArchive(ctx, id, reqEditors...) @@ -123413,21 +138955,21 @@ func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithResponse(ctx co return ParseGetStreamsNameSignificantEventsResponse(rsp) } -// GetStreamsNameSignificantEventsGenerateWithBodyWithResponse request with arbitrary body returning *GetStreamsNameSignificantEventsGenerateResponse -func (c *ClientWithResponses) GetStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) { - rsp, err := c.GetStreamsNameSignificantEventsGenerateWithBody(ctx, name, params, contentType, body, reqEditors...) +// PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsGenerateResponse +func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { + rsp, err := c.PostStreamsNameSignificantEventsGenerateWithBody(ctx, name, params, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseGetStreamsNameSignificantEventsGenerateResponse(rsp) + return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) } -func (c *ClientWithResponses) GetStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsGenerateParams, body GetStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsGenerateResponse, error) { - rsp, err := c.GetStreamsNameSignificantEventsGenerate(ctx, name, params, body, reqEditors...) +func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { + rsp, err := c.PostStreamsNameSignificantEventsGenerate(ctx, name, params, body, reqEditors...) if err != nil { return nil, err } - return ParseGetStreamsNameSignificantEventsGenerateResponse(rsp) + return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) } // PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsPreviewResponse @@ -124302,6 +139844,310 @@ func ParseGetActionsConnectorTypesResponse(rsp *http.Response) (*GetActionsConne return response, nil } +// ParsePostAgentBuilderA2aAgentidResponse parses an HTTP response from a PostAgentBuilderA2aAgentidWithResponse call +func ParsePostAgentBuilderA2aAgentidResponse(rsp *http.Response) (*PostAgentBuilderA2aAgentidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderA2aAgentidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderA2aAgentidJsonResponse parses an HTTP response from a GetAgentBuilderA2aAgentidJsonWithResponse call +func ParseGetAgentBuilderA2aAgentidJsonResponse(rsp *http.Response) (*GetAgentBuilderA2aAgentidJsonResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderA2aAgentidJsonResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderAgentsResponse parses an HTTP response from a GetAgentBuilderAgentsWithResponse call +func ParseGetAgentBuilderAgentsResponse(rsp *http.Response) (*GetAgentBuilderAgentsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderAgentsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostAgentBuilderAgentsResponse parses an HTTP response from a PostAgentBuilderAgentsWithResponse call +func ParsePostAgentBuilderAgentsResponse(rsp *http.Response) (*PostAgentBuilderAgentsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderAgentsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteAgentBuilderAgentsIdResponse parses an HTTP response from a DeleteAgentBuilderAgentsIdWithResponse call +func ParseDeleteAgentBuilderAgentsIdResponse(rsp *http.Response) (*DeleteAgentBuilderAgentsIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteAgentBuilderAgentsIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderAgentsIdResponse parses an HTTP response from a GetAgentBuilderAgentsIdWithResponse call +func ParseGetAgentBuilderAgentsIdResponse(rsp *http.Response) (*GetAgentBuilderAgentsIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderAgentsIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutAgentBuilderAgentsIdResponse parses an HTTP response from a PutAgentBuilderAgentsIdWithResponse call +func ParsePutAgentBuilderAgentsIdResponse(rsp *http.Response) (*PutAgentBuilderAgentsIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutAgentBuilderAgentsIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderConversationsResponse parses an HTTP response from a GetAgentBuilderConversationsWithResponse call +func ParseGetAgentBuilderConversationsResponse(rsp *http.Response) (*GetAgentBuilderConversationsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderConversationsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteAgentBuilderConversationsConversationIdResponse parses an HTTP response from a DeleteAgentBuilderConversationsConversationIdWithResponse call +func ParseDeleteAgentBuilderConversationsConversationIdResponse(rsp *http.Response) (*DeleteAgentBuilderConversationsConversationIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteAgentBuilderConversationsConversationIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderConversationsConversationIdResponse parses an HTTP response from a GetAgentBuilderConversationsConversationIdWithResponse call +func ParseGetAgentBuilderConversationsConversationIdResponse(rsp *http.Response) (*GetAgentBuilderConversationsConversationIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderConversationsConversationIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostAgentBuilderConverseResponse parses an HTTP response from a PostAgentBuilderConverseWithResponse call +func ParsePostAgentBuilderConverseResponse(rsp *http.Response) (*PostAgentBuilderConverseResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderConverseResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostAgentBuilderConverseAsyncResponse parses an HTTP response from a PostAgentBuilderConverseAsyncWithResponse call +func ParsePostAgentBuilderConverseAsyncResponse(rsp *http.Response) (*PostAgentBuilderConverseAsyncResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderConverseAsyncResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostAgentBuilderMcpResponse parses an HTTP response from a PostAgentBuilderMcpWithResponse call +func ParsePostAgentBuilderMcpResponse(rsp *http.Response) (*PostAgentBuilderMcpResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderMcpResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderToolsResponse parses an HTTP response from a GetAgentBuilderToolsWithResponse call +func ParseGetAgentBuilderToolsResponse(rsp *http.Response) (*GetAgentBuilderToolsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderToolsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostAgentBuilderToolsResponse parses an HTTP response from a PostAgentBuilderToolsWithResponse call +func ParsePostAgentBuilderToolsResponse(rsp *http.Response) (*PostAgentBuilderToolsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderToolsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostAgentBuilderToolsExecuteResponse parses an HTTP response from a PostAgentBuilderToolsExecuteWithResponse call +func ParsePostAgentBuilderToolsExecuteResponse(rsp *http.Response) (*PostAgentBuilderToolsExecuteResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAgentBuilderToolsExecuteResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteAgentBuilderToolsIdResponse parses an HTTP response from a DeleteAgentBuilderToolsIdWithResponse call +func ParseDeleteAgentBuilderToolsIdResponse(rsp *http.Response) (*DeleteAgentBuilderToolsIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteAgentBuilderToolsIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetAgentBuilderToolsIdResponse parses an HTTP response from a GetAgentBuilderToolsIdWithResponse call +func ParseGetAgentBuilderToolsIdResponse(rsp *http.Response) (*GetAgentBuilderToolsIdResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentBuilderToolsIdResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutAgentBuilderToolsToolidResponse parses an HTTP response from a PutAgentBuilderToolsToolidWithResponse call +func ParsePutAgentBuilderToolsToolidResponse(rsp *http.Response) (*PutAgentBuilderToolsToolidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutAgentBuilderToolsToolidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseGetAlertingHealthResponse parses an HTTP response from a GetAlertingHealthWithResponse call func ParseGetAlertingHealthResponse(rsp *http.Response) (*GetAlertingHealthResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -126439,391 +142285,942 @@ func ParseCreateUpdateAgentConfigurationResponse(rsp *http.Response) (*CreateUpd } response.JSON403 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + } + + return response, nil +} + +// ParseGetAgentNameForServiceResponse parses an HTTP response from a GetAgentNameForServiceWithResponse call +func ParseGetAgentNameForServiceResponse(rsp *http.Response) (*GetAgentNameForServiceResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAgentNameForServiceResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest APMUIServiceAgentNameResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + } + + return response, nil +} + +// ParseGetEnvironmentsForServiceResponse parses an HTTP response from a GetEnvironmentsForServiceWithResponse call +func ParseGetEnvironmentsForServiceResponse(rsp *http.Response) (*GetEnvironmentsForServiceResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetEnvironmentsForServiceResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest APMUIServiceEnvironmentsResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + } + + return response, nil +} + +// ParseSearchSingleConfigurationResponse parses an HTTP response from a SearchSingleConfigurationWithResponse call +func ParseSearchSingleConfigurationResponse(rsp *http.Response) (*SearchSingleConfigurationResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &SearchSingleConfigurationResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest APMUISearchAgentConfigurationResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + } + + return response, nil +} + +// ParseGetSingleAgentConfigurationResponse parses an HTTP response from a GetSingleAgentConfigurationWithResponse call +func ParseGetSingleAgentConfigurationResponse(rsp *http.Response) (*GetSingleAgentConfigurationResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetSingleAgentConfigurationResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest APMUISingleAgentConfigurationResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest APMUI404Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + } + + return response, nil +} + +// ParseGetSourceMapsResponse parses an HTTP response from a GetSourceMapsWithResponse call +func ParseGetSourceMapsResponse(rsp *http.Response) (*GetSourceMapsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetSourceMapsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest APMUISourceMapsResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest APMUI500Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: + var dest APMUI501Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON501 = &dest + + } + + return response, nil +} + +// ParseUploadSourceMapResponse parses an HTTP response from a UploadSourceMapWithResponse call +func ParseUploadSourceMapResponse(rsp *http.Response) (*UploadSourceMapResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UploadSourceMapResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest APMUIUploadSourceMapsResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest APMUI403Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest APMUI500Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: + var dest APMUI501Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON501 = &dest + + } + + return response, nil +} + +// ParseDeleteSourceMapResponse parses an HTTP response from a DeleteSourceMapWithResponse call +func ParseDeleteSourceMapResponse(rsp *http.Response) (*DeleteSourceMapResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteSourceMapResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest map[string]interface{} + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest APMUI400Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest APMUI401Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest APMUI403Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest APMUI500Response if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON404 = &dest + response.JSON500 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: + var dest APMUI501Response + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON501 = &dest } return response, nil } -// ParseGetAgentNameForServiceResponse parses an HTTP response from a GetAgentNameForServiceWithResponse call -func ParseGetAgentNameForServiceResponse(rsp *http.Response) (*GetAgentNameForServiceResponse, error) { +// ParseDeleteAssetCriticalityRecordResponse parses an HTTP response from a DeleteAssetCriticalityRecordWithResponse call +func ParseDeleteAssetCriticalityRecordResponse(rsp *http.Response) (*DeleteAssetCriticalityRecordResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetAgentNameForServiceResponse{ + response := &DeleteAssetCriticalityRecordResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUIServiceAgentNameResponse + var dest struct { + // Deleted True if the record was deleted or false if the record did not exist. + Deleted bool `json:"deleted"` + Record *SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"record,omitempty"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest + } - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest + return response, nil +} - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response +// ParseGetAssetCriticalityRecordResponse parses an HTTP response from a GetAssetCriticalityRecordWithResponse call +func ParseGetAssetCriticalityRecordResponse(rsp *http.Response) (*GetAssetCriticalityRecordResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAssetCriticalityRecordResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON404 = &dest + response.JSON200 = &dest } return response, nil } -// ParseGetEnvironmentsForServiceResponse parses an HTTP response from a GetEnvironmentsForServiceWithResponse call -func ParseGetEnvironmentsForServiceResponse(rsp *http.Response) (*GetEnvironmentsForServiceResponse, error) { +// ParseCreateAssetCriticalityRecordResponse parses an HTTP response from a CreateAssetCriticalityRecordWithResponse call +func ParseCreateAssetCriticalityRecordResponse(rsp *http.Response) (*CreateAssetCriticalityRecordResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetEnvironmentsForServiceResponse{ + response := &CreateAssetCriticalityRecordResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUIServiceEnvironmentsResponse + var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest + } - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response + return response, nil +} + +// ParseBulkUpsertAssetCriticalityRecordsResponse parses an HTTP response from a BulkUpsertAssetCriticalityRecordsWithResponse call +func ParseBulkUpsertAssetCriticalityRecordsResponse(rsp *http.Response) (*BulkUpsertAssetCriticalityRecordsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &BulkUpsertAssetCriticalityRecordsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Errors []SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem `json:"errors"` + Stats SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadStats `json:"stats"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON401 = &dest + response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response + } + + return response, nil +} + +// ParseFindAssetCriticalityRecordsResponse parses an HTTP response from a FindAssetCriticalityRecordsWithResponse call +func ParseFindAssetCriticalityRecordsResponse(rsp *http.Response) (*FindAssetCriticalityRecordsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &FindAssetCriticalityRecordsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Page int `json:"page"` + PerPage int `json:"per_page"` + Records []SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"records"` + Total int `json:"total"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON404 = &dest + response.JSON200 = &dest } return response, nil } -// ParseSearchSingleConfigurationResponse parses an HTTP response from a SearchSingleConfigurationWithResponse call -func ParseSearchSingleConfigurationResponse(rsp *http.Response) (*SearchSingleConfigurationResponse, error) { +// ParsePostAttackDiscoveryBulkResponse parses an HTTP response from a PostAttackDiscoveryBulkWithResponse call +func ParsePostAttackDiscoveryBulkResponse(rsp *http.Response) (*PostAttackDiscoveryBulkResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &SearchSingleConfigurationResponse{ + response := &PostAttackDiscoveryBulkResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUISearchAgentConfigurationResponse + var dest struct { + // Data Array of updated Attack discovery alert objects. Each item includes the applied modifications from the bulk update request. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest + var dest struct { + // Error Error type + Error string `json:"error"` - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest + // Message Human-readable error message describing what went wrong with the bulk update request + Message string `json:"message"` - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response + // StatusCode HTTP status code + StatusCode float32 `json:"status_code"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON404 = &dest + response.JSON400 = &dest } return response, nil } -// ParseGetSingleAgentConfigurationResponse parses an HTTP response from a GetSingleAgentConfigurationWithResponse call -func ParseGetSingleAgentConfigurationResponse(rsp *http.Response) (*GetSingleAgentConfigurationResponse, error) { +// ParseAttackDiscoveryFindResponse parses an HTTP response from a AttackDiscoveryFindWithResponse call +func ParseAttackDiscoveryFindResponse(rsp *http.Response) (*AttackDiscoveryFindResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetSingleAgentConfigurationResponse{ + response := &AttackDiscoveryFindResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUISingleAgentConfigurationResponse + var dest struct { + // ConnectorNames List of human readable connector names that are present in the matched Attack discoveries. Useful for building client filters or summaries. + ConnectorNames []string `json:"connector_names"` + + // Data Array of matched Attack discovery objects. Each item follows the `AttackDiscoveryApiAlert` schema. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` + + // Page Current page number of the paginated result set. + Page int `json:"page"` + + // PerPage Number of items requested per page. + PerPage int `json:"per_page"` + + // Total Total number of Attack discoveries matching the query (across all pages). + Total int `json:"total"` + + // UniqueAlertIds List of unique alert IDs aggregated from the matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. + UniqueAlertIds *[]string `json:"unique_alert_ids,omitempty"` + + // UniqueAlertIdsCount Number of unique alert IDs across all matched Attack discoveries. Only present if `include_unique_alert_ids=true` in the request. + UniqueAlertIdsCount int `json:"unique_alert_ids_count"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest + var dest struct { + // Error Error type + Error *string `json:"error,omitempty"` - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest + // Message Human-readable error message + Message *string `json:"message,omitempty"` - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest APMUI404Response + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON404 = &dest + response.JSON400 = &dest } return response, nil } -// ParseGetSourceMapsResponse parses an HTTP response from a GetSourceMapsWithResponse call -func ParseGetSourceMapsResponse(rsp *http.Response) (*GetSourceMapsResponse, error) { +// ParsePostAttackDiscoveryGenerateResponse parses an HTTP response from a PostAttackDiscoveryGenerateWithResponse call +func ParsePostAttackDiscoveryGenerateResponse(rsp *http.Response) (*PostAttackDiscoveryGenerateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetSourceMapsResponse{ + response := &PostAttackDiscoveryGenerateResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUISourceMapsResponse + var dest struct { + // ExecutionUuid A string that does not contain only whitespace characters. + ExecutionUuid SecurityAttackDiscoveryAPINonEmptyString `json:"execution_uuid"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response + var dest struct { + // Error Error type + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong + Message string `json:"message"` + + // StatusCode HTTP status code + StatusCode float32 `json:"status_code"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest + } - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest APMUI500Response + return response, nil +} + +// ParseGetAttackDiscoveryGenerationsResponse parses an HTTP response from a GetAttackDiscoveryGenerationsWithResponse call +func ParseGetAttackDiscoveryGenerationsResponse(rsp *http.Response) (*GetAttackDiscoveryGenerationsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetAttackDiscoveryGenerationsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + // Generations List of attack discovery generations + Generations []SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generations"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON500 = &dest + response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest APMUI501Response + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + // Error Error type + Error *string `json:"error,omitempty"` + + // Message Human-readable error message + Message *string `json:"message,omitempty"` + + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON501 = &dest + response.JSON400 = &dest } return response, nil } -// ParseUploadSourceMapResponse parses an HTTP response from a UploadSourceMapWithResponse call -func ParseUploadSourceMapResponse(rsp *http.Response) (*UploadSourceMapResponse, error) { +// ParseGetAttackDiscoveryGenerationResponse parses an HTTP response from a GetAttackDiscoveryGenerationWithResponse call +func ParseGetAttackDiscoveryGenerationResponse(rsp *http.Response) (*GetAttackDiscoveryGenerationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &UploadSourceMapResponse{ + response := &GetAttackDiscoveryGenerationResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest APMUIUploadSourceMapsResponse + var dest struct { + // Data Array of Attack discoveries generated during this execution. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiAlert `json:"data"` + Generation *SecurityAttackDiscoveryAPIAttackDiscoveryGeneration `json:"generation,omitempty"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response + var dest struct { + // Error Error type + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong with the request + Message string `json:"message"` + + // StatusCode HTTP status code + StatusCode float32 `json:"status_code"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest + } - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest APMUI403Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest + return response, nil +} - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest APMUI500Response +// ParsePostAttackDiscoveryGenerationsDismissResponse parses an HTTP response from a PostAttackDiscoveryGenerationsDismissWithResponse call +func ParsePostAttackDiscoveryGenerationsDismissResponse(rsp *http.Response) (*PostAttackDiscoveryGenerationsDismissResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostAttackDiscoveryGenerationsDismissResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + // AlertsContextCount The number of alerts that were sent as context to the LLM for this generation. + AlertsContextCount *float32 `json:"alerts_context_count,omitempty"` + + // ConnectorId The unique identifier of the connector used to generate the attack discoveries. + ConnectorId string `json:"connector_id"` + + // ConnectorStats Statistical information about the connector's performance for this user, providing insights into usage patterns and success rates. + ConnectorStats *struct { + // AverageSuccessfulDurationNanoseconds The average duration in nanoseconds for successful generations using this connector by the current user. + AverageSuccessfulDurationNanoseconds *float32 `json:"average_successful_duration_nanoseconds,omitempty"` + + // SuccessfulGenerations The total number of Attack discoveries successfully created for this generation + SuccessfulGenerations *float32 `json:"successful_generations,omitempty"` + } `json:"connector_stats,omitempty"` + + // Discoveries The number of attack discoveries that were generated during this execution. + Discoveries float32 `json:"discoveries"` + + // End The timestamp when the generation process completed, in ISO 8601 format. This field may be absent for generations that haven't finished. + End *string `json:"end,omitempty"` + + // ExecutionUuid The unique identifier for this attack discovery generation execution. This UUID can be used to reference this specific generation in other API calls. + ExecutionUuid string `json:"execution_uuid"` + + // LoadingMessage A human-readable message describing the current state or progress of the generation process. Provides context about what the AI is analyzing. + LoadingMessage string `json:"loading_message"` + + // Reason Additional context or reasoning provided when a generation fails or encounters issues. This field helps diagnose problems with the generation process. + Reason *string `json:"reason,omitempty"` + + // Start The timestamp when the generation process began, in ISO 8601 format. This marks the beginning of the AI analysis. + Start string `json:"start"` + + // Status The current status of the attack discovery generation. After dismissing, this will be set to "dismissed". + Status PostAttackDiscoveryGenerationsDismiss200Status `json:"status"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON500 = &dest + response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest APMUI501Response + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + // Error Error type or category + Error string `json:"error"` + + // Message Human-readable error message describing what went wrong with the request. + Message string `json:"message"` + + // StatusCode HTTP status code indicating the type of client error + StatusCode float32 `json:"status_code"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON501 = &dest + response.JSON400 = &dest } return response, nil } -// ParseDeleteSourceMapResponse parses an HTTP response from a DeleteSourceMapWithResponse call -func ParseDeleteSourceMapResponse(rsp *http.Response) (*DeleteSourceMapResponse, error) { +// ParseCreateAttackDiscoverySchedulesResponse parses an HTTP response from a CreateAttackDiscoverySchedulesWithResponse call +func ParseCreateAttackDiscoverySchedulesResponse(rsp *http.Response) (*CreateAttackDiscoverySchedulesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteSourceMapResponse{ + response := &CreateAttackDiscoverySchedulesResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest map[string]interface{} + var dest SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest APMUI400Response + var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest APMUI401Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON401 = &dest + } - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest APMUI403Response - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON403 = &dest + return response, nil +} - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest APMUI500Response +// ParseFindAttackDiscoverySchedulesResponse parses an HTTP response from a FindAttackDiscoverySchedulesWithResponse call +func ParseFindAttackDiscoverySchedulesResponse(rsp *http.Response) (*FindAttackDiscoverySchedulesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &FindAttackDiscoverySchedulesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + // Data Array of matched Attack discovery schedule objects. + Data []SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule `json:"data"` + + // Page Current page number of the paginated result set. + Page float32 `json:"page"` + + // PerPage Number of items requested per page. + PerPage float32 `json:"per_page"` + + // Total Total number of Attack discovery schedules matching the query (across all pages). + Total float32 `json:"total"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON500 = &dest + response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 501: - var dest APMUI501Response + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + // Error Error type + Error *string `json:"error,omitempty"` + + // Message Human-readable error message + Message *string `json:"message,omitempty"` + + // StatusCode HTTP status code + StatusCode *float32 `json:"status_code,omitempty"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } - response.JSON501 = &dest + response.JSON400 = &dest } return response, nil } -// ParseDeleteAssetCriticalityRecordResponse parses an HTTP response from a DeleteAssetCriticalityRecordWithResponse call -func ParseDeleteAssetCriticalityRecordResponse(rsp *http.Response) (*DeleteAssetCriticalityRecordResponse, error) { +// ParseDeleteAttackDiscoverySchedulesResponse parses an HTTP response from a DeleteAttackDiscoverySchedulesWithResponse call +func ParseDeleteAttackDiscoverySchedulesResponse(rsp *http.Response) (*DeleteAttackDiscoverySchedulesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteAssetCriticalityRecordResponse{ + response := &DeleteAttackDiscoverySchedulesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -126831,81 +143228,101 @@ func ParseDeleteAssetCriticalityRecordResponse(rsp *http.Response) (*DeleteAsset switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - // Deleted True if the record was deleted or false if the record did not exist. - Deleted bool `json:"deleted"` - Record *SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"record,omitempty"` + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + } return response, nil } -// ParseGetAssetCriticalityRecordResponse parses an HTTP response from a GetAssetCriticalityRecordWithResponse call -func ParseGetAssetCriticalityRecordResponse(rsp *http.Response) (*GetAssetCriticalityRecordResponse, error) { +// ParseGetAttackDiscoverySchedulesResponse parses an HTTP response from a GetAttackDiscoverySchedulesWithResponse call +func ParseGetAttackDiscoverySchedulesResponse(rsp *http.Response) (*GetAttackDiscoverySchedulesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetAssetCriticalityRecordResponse{ + response := &GetAttackDiscoverySchedulesResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord + var dest SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + } return response, nil } -// ParseCreateAssetCriticalityRecordResponse parses an HTTP response from a CreateAssetCriticalityRecordWithResponse call -func ParseCreateAssetCriticalityRecordResponse(rsp *http.Response) (*CreateAssetCriticalityRecordResponse, error) { +// ParseUpdateAttackDiscoverySchedulesResponse parses an HTTP response from a UpdateAttackDiscoverySchedulesWithResponse call +func ParseUpdateAttackDiscoverySchedulesResponse(rsp *http.Response) (*UpdateAttackDiscoverySchedulesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &CreateAssetCriticalityRecordResponse{ + response := &UpdateAttackDiscoverySchedulesResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEntityAnalyticsAPIAssetCriticalityRecord + var dest SecurityAttackDiscoveryAPIAttackDiscoveryApiSchedule if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + } return response, nil } -// ParseBulkUpsertAssetCriticalityRecordsResponse parses an HTTP response from a BulkUpsertAssetCriticalityRecordsWithResponse call -func ParseBulkUpsertAssetCriticalityRecordsResponse(rsp *http.Response) (*BulkUpsertAssetCriticalityRecordsResponse, error) { +// ParseDisableAttackDiscoverySchedulesResponse parses an HTTP response from a DisableAttackDiscoverySchedulesWithResponse call +func ParseDisableAttackDiscoverySchedulesResponse(rsp *http.Response) (*DisableAttackDiscoverySchedulesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &BulkUpsertAssetCriticalityRecordsResponse{ + response := &DisableAttackDiscoverySchedulesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -126913,28 +143330,35 @@ func ParseBulkUpsertAssetCriticalityRecordsResponse(rsp *http.Response) (*BulkUp switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Errors []SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadErrorItem `json:"errors"` - Stats SecurityEntityAnalyticsAPIAssetCriticalityBulkUploadStats `json:"stats"` + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + } return response, nil } -// ParseFindAssetCriticalityRecordsResponse parses an HTTP response from a FindAssetCriticalityRecordsWithResponse call -func ParseFindAssetCriticalityRecordsResponse(rsp *http.Response) (*FindAssetCriticalityRecordsResponse, error) { +// ParseEnableAttackDiscoverySchedulesResponse parses an HTTP response from a EnableAttackDiscoverySchedulesWithResponse call +func ParseEnableAttackDiscoverySchedulesResponse(rsp *http.Response) (*EnableAttackDiscoverySchedulesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &FindAssetCriticalityRecordsResponse{ + response := &EnableAttackDiscoverySchedulesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -126942,16 +143366,21 @@ func ParseFindAssetCriticalityRecordsResponse(rsp *http.Response) (*FindAssetCri switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Page int `json:"page"` - PerPage int `json:"per_page"` - Records []SecurityEntityAnalyticsAPIAssetCriticalityRecord `json:"records"` - Total int `json:"total"` + // Id A string that does not contain only whitespace characters. + Id SecurityAttackDiscoveryAPINonEmptyString `json:"id"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest SecurityAttackDiscoveryAPIAttackDiscoveryGenericError + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + } return response, nil @@ -129322,6 +145751,32 @@ func ParseEndpointGetActionsListResponse(rsp *http.Response) (*EndpointGetAction return response, nil } +// ParseCancelActionResponse parses an HTTP response from a CancelActionWithResponse call +func ParseCancelActionResponse(rsp *http.Response) (*CancelActionResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CancelActionResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityEndpointManagementAPIResponseActionCreateSuccessResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + // ParseEndpointExecuteActionResponse parses an HTTP response from a EndpointExecuteActionWithResponse call func ParseEndpointExecuteActionResponse(rsp *http.Response) (*EndpointExecuteActionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -129623,7 +146078,7 @@ func ParseEndpointGetActionsDetailsResponse(rsp *http.Response) (*EndpointGetAct switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEndpointManagementAPIGetEndpointActionResponse + var dest SecurityEndpointManagementAPIActionDetailsResponse if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -129649,7 +146104,19 @@ func ParseEndpointFileInfoResponse(rsp *http.Response) (*EndpointFileInfoRespons switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEndpointManagementAPISuccessResponse + var dest struct { + Data *struct { + ActionId *string `json:"actionId,omitempty"` + AgentId *string `json:"agentId,omitempty"` + AgentType *string `json:"agentType,omitempty"` + Created *time.Time `json:"created,omitempty"` + Id *string `json:"id,omitempty"` + MimeType *string `json:"mimeType,omitempty"` + Name *string `json:"name,omitempty"` + Size *float32 `json:"size,omitempty"` + Status *EndpointFileInfo200DataStatus `json:"status,omitempty"` + } `json:"data,omitempty"` + } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -129673,16 +146140,6 @@ func ParseEndpointFileDownloadResponse(rsp *http.Response) (*EndpointFileDownloa HTTPResponse: rsp, } - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityEndpointManagementAPISuccessResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - return response, nil } @@ -130294,6 +146751,13 @@ func ParseInitMonitoringEngineResponse(rsp *http.Response) (*InitMonitoringEngin } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest SecurityEntityAnalyticsAPIMonitoringEngineDescriptor + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + } return response, nil @@ -130357,7 +146821,18 @@ func ParsePrivMonHealthResponse(rsp *http.Response) (*PrivMonHealthResponse, err Error *struct { Message *string `json:"message,omitempty"` } `json:"error,omitempty"` + + // Status The status of the Privilege Monitoring Engine Status SecurityEntityAnalyticsAPIPrivilegeMonitoringEngineStatus `json:"status"` + + // Users User statistics for privilege monitoring + Users *struct { + // CurrentCount Current number of privileged users being monitored + CurrentCount int `json:"current_count"` + + // MaxAllowed Maximum number of privileged users allowed to be monitored + MaxAllowed int `json:"max_allowed"` + } `json:"users,omitempty"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -130840,6 +147315,22 @@ func ParseStopEntityEngineResponse(rsp *http.Response) (*StopEntityEngineRespons return response, nil } +// ParseUpsertEntitiesBulkResponse parses an HTTP response from a UpsertEntitiesBulkWithResponse call +func ParseUpsertEntitiesBulkResponse(rsp *http.Response) (*UpsertEntitiesBulkResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UpsertEntitiesBulkResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseListEntitiesResponse parses an HTTP response from a ListEntitiesWithResponse call func ParseListEntitiesResponse(rsp *http.Response) (*ListEntitiesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -130872,6 +147363,60 @@ func ParseListEntitiesResponse(rsp *http.Response) (*ListEntitiesResponse, error return response, nil } +// ParseDeleteSingleEntityResponse parses an HTTP response from a DeleteSingleEntityWithResponse call +func ParseDeleteSingleEntityResponse(rsp *http.Response) (*DeleteSingleEntityResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteSingleEntityResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Deleted *bool `json:"deleted,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUpsertEntityResponse parses an HTTP response from a UpsertEntityWithResponse call +func ParseUpsertEntityResponse(rsp *http.Response) (*UpsertEntityResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UpsertEntityResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityEntityAnalyticsAPIEntity + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + // ParseGetEntityStoreStatusResponse parses an HTTP response from a GetEntityStoreStatusWithResponse call func ParseGetEntityStoreStatusResponse(rsp *http.Response) (*GetEntityStoreStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -132313,6 +148858,7 @@ func ParsePostFleetAgentPoliciesBulkGetResponse(rsp *http.Response) (*PostFleetA DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` + FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -132607,9 +149153,10 @@ func ParseGetFleetAgentPoliciesAgentpolicyidAutoUpgradeAgentsStatusResponse(rsp case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { CurrentVersions []struct { - Agents float32 `json:"agents"` - FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` - Version string `json:"version"` + Agents float32 `json:"agents"` + FailedUpgradeActionIds *[]string `json:"failedUpgradeActionIds,omitempty"` + FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` + Version string `json:"version"` } `json:"currentVersions"` TotalAgents float32 `json:"totalAgents"` } @@ -132685,6 +149232,7 @@ func ParsePostFleetAgentPoliciesAgentpolicyidCopyResponse(rsp *http.Response) (* DataOutputId *string `json:"data_output_id"` Description *string `json:"description,omitempty"` DownloadSourceId *string `json:"download_source_id"` + FipsAgents *float32 `json:"fips_agents,omitempty"` FleetServerHostId *string `json:"fleet_server_host_id"` // GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers. @@ -133029,6 +149577,195 @@ func ParseGetFleetAgentStatusDataResponse(rsp *http.Response) (*GetFleetAgentSta return response, nil } +// ParsePostFleetAgentlessPoliciesResponse parses an HTTP response from a PostFleetAgentlessPoliciesWithResponse call +func ParsePostFleetAgentlessPoliciesResponse(rsp *http.Response) (*PostFleetAgentlessPoliciesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetAgentlessPoliciesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + // Item The created agentless package policy. + Item struct { + // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. + AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` + Agents *float32 `json:"agents,omitempty"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` + + // Description Package policy description + Description *string `json:"description,omitempty"` + Elasticsearch *PostFleetAgentlessPolicies_200_Item_Elasticsearch `json:"elasticsearch,omitempty"` + Enabled bool `json:"enabled"` + + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs PostFleetAgentlessPolicies_200_Item_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. + Name string `json:"name"` + + // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id"` + + // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + Overrides *struct { + Inputs *map[string]interface{} `json:"inputs,omitempty"` + } `json:"overrides"` + Package *struct { + ExperimentalDataStreamFeatures *[]struct { + DataStream string `json:"data_stream"` + Features struct { + DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` + DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` + SyntheticSource *bool `json:"synthetic_source,omitempty"` + Tsdb *bool `json:"tsdb,omitempty"` + } `json:"features"` + } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` + + // Name Package name + Name string `json:"name"` + RequiresRoot *bool `json:"requires_root,omitempty"` + Title *string `json:"title,omitempty"` + + // Version Package version + Version string `json:"version"` + } `json:"package,omitempty"` + + // PolicyId ID of the agent policy which the package policy will be added to. + // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` + SecretReferences *[]struct { + Id string `json:"id"` + } `json:"secret_references,omitempty"` + SpaceIds *[]string `json:"spaceIds,omitempty"` + + // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetAgentlessPolicies_200_Item_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON409 = &dest + + } + + return response, nil +} + +// ParseDeleteFleetAgentlessPoliciesPolicyidResponse parses an HTTP response from a DeleteFleetAgentlessPoliciesPolicyidWithResponse call +func ParseDeleteFleetAgentlessPoliciesPolicyidResponse(rsp *http.Response) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteFleetAgentlessPoliciesPolicyidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + // Id The ID of the deleted agentless package policy. + Id string `json:"id"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON409 = &dest + + } + + return response, nil +} + // ParseGetFleetAgentsResponse parses an HTTP response from a GetFleetAgentsWithResponse call func ParseGetFleetAgentsResponse(rsp *http.Response) (*GetFleetAgentsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -133373,6 +150110,47 @@ func ParseGetFleetAgentsAvailableVersionsResponse(rsp *http.Response) (*GetFleet return response, nil } +// ParsePostFleetAgentsBulkMigrateResponse parses an HTTP response from a PostFleetAgentsBulkMigrateWithResponse call +func ParsePostFleetAgentsBulkMigrateResponse(rsp *http.Response) (*PostFleetAgentsBulkMigrateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetAgentsBulkMigrateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + ActionId string `json:"actionId"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + // ParsePostFleetAgentsBulkReassignResponse parses an HTTP response from a PostFleetAgentsBulkReassignWithResponse call func ParsePostFleetAgentsBulkReassignResponse(rsp *http.Response) (*PostFleetAgentsBulkReassignResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -133675,12 +150453,13 @@ func ParseGetFleetAgentsSetupResponse(rsp *http.Response) (*GetFleetAgentsSetupR switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - IsReady bool `json:"isReady"` - IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` - IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` - MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` - MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` - PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` + IsReady bool `json:"isReady"` + IsActionSecretsStorageEnabled *bool `json:"is_action_secrets_storage_enabled,omitempty"` + IsSecretsStorageEnabled *bool `json:"is_secrets_storage_enabled,omitempty"` + IsSpaceAwarenessEnabled *bool `json:"is_space_awareness_enabled,omitempty"` + MissingOptionalFeatures []GetFleetAgentsSetup200MissingOptionalFeatures `json:"missing_optional_features"` + MissingRequirements []GetFleetAgentsSetup200MissingRequirements `json:"missing_requirements"` + PackageVerificationKeyId *string `json:"package_verification_key_id,omitempty"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134116,6 +150895,47 @@ func ParsePostFleetAgentsAgentidActionsResponse(rsp *http.Response) (*PostFleetA return response, nil } +// ParsePostFleetAgentsAgentidMigrateResponse parses an HTTP response from a PostFleetAgentsAgentidMigrateWithResponse call +func ParsePostFleetAgentsAgentidMigrateResponse(rsp *http.Response) (*PostFleetAgentsAgentidMigrateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetAgentsAgentidMigrateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + ActionId string `json:"actionId"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + // ParsePostFleetAgentsAgentidReassignResponse parses an HTTP response from a PostFleetAgentsAgentidReassignWithResponse call func ParsePostFleetAgentsAgentidReassignResponse(rsp *http.Response) (*PostFleetAgentsAgentidReassignResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -134342,6 +151162,247 @@ func ParseGetFleetCheckPermissionsResponse(rsp *http.Response) (*GetFleetCheckPe return response, nil } +// ParseGetFleetCloudConnectorsResponse parses an HTTP response from a GetFleetCloudConnectorsWithResponse call +func ParseGetFleetCloudConnectorsResponse(rsp *http.Response) (*GetFleetCloudConnectorsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetFleetCloudConnectorsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Items []struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"items"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParsePostFleetCloudConnectorsResponse parses an HTTP response from a PostFleetCloudConnectorsWithResponse call +func ParsePostFleetCloudConnectorsResponse(rsp *http.Response) (*PostFleetCloudConnectorsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetCloudConnectorsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Item struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParseDeleteFleetCloudConnectorsCloudconnectoridResponse parses an HTTP response from a DeleteFleetCloudConnectorsCloudconnectoridWithResponse call +func ParseDeleteFleetCloudConnectorsCloudconnectoridResponse(rsp *http.Response) (*DeleteFleetCloudConnectorsCloudconnectoridResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteFleetCloudConnectorsCloudconnectoridResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Id string `json:"id"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParseGetFleetCloudConnectorsCloudconnectoridResponse parses an HTTP response from a GetFleetCloudConnectorsCloudconnectoridWithResponse call +func ParseGetFleetCloudConnectorsCloudconnectoridResponse(rsp *http.Response) (*GetFleetCloudConnectorsCloudconnectoridResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetFleetCloudConnectorsCloudconnectoridResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Item struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParsePutFleetCloudConnectorsCloudconnectoridResponse parses an HTTP response from a PutFleetCloudConnectorsCloudconnectoridWithResponse call +func ParsePutFleetCloudConnectorsCloudconnectoridResponse(rsp *http.Response) (*PutFleetCloudConnectorsCloudconnectoridResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutFleetCloudConnectorsCloudconnectoridResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Item struct { + CloudProvider string `json:"cloudProvider"` + CreatedAt string `json:"created_at"` + Id string `json:"id"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + PackagePolicyCount float32 `json:"packagePolicyCount"` + UpdatedAt string `json:"updated_at"` + Vars map[string]interface{} `json:"vars"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + // ParseGetFleetDataStreamsResponse parses an HTTP response from a GetFleetDataStreamsWithResponse call func ParseGetFleetDataStreamsResponse(rsp *http.Response) (*GetFleetDataStreamsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -134465,15 +151526,226 @@ func ParseGetFleetEnrollmentApiKeysResponse(rsp *http.Response) (*GetFleetEnroll return response, nil } -// ParsePostFleetEnrollmentApiKeysResponse parses an HTTP response from a PostFleetEnrollmentApiKeysWithResponse call -func ParsePostFleetEnrollmentApiKeysResponse(rsp *http.Response) (*PostFleetEnrollmentApiKeysResponse, error) { +// ParsePostFleetEnrollmentApiKeysResponse parses an HTTP response from a PostFleetEnrollmentApiKeysWithResponse call +func ParsePostFleetEnrollmentApiKeysResponse(rsp *http.Response) (*PostFleetEnrollmentApiKeysResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetEnrollmentApiKeysResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Action PostFleetEnrollmentApiKeys200Action `json:"action"` + Item struct { + // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + Active bool `json:"active"` + + // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. + ApiKey string `json:"api_key"` + + // ApiKeyId The ID of the API key in the Security API. + ApiKeyId string `json:"api_key_id"` + CreatedAt string `json:"created_at"` + Hidden *bool `json:"hidden,omitempty"` + Id string `json:"id"` + + // Name The name of the enrollment API key. + Name *string `json:"name,omitempty"` + + // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. + PolicyId *string `json:"policy_id,omitempty"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParseDeleteFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a DeleteFleetEnrollmentApiKeysKeyidWithResponse call +func ParseDeleteFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*DeleteFleetEnrollmentApiKeysKeyidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteFleetEnrollmentApiKeysKeyidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Action DeleteFleetEnrollmentApiKeysKeyid200Action `json:"action"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParseGetFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a GetFleetEnrollmentApiKeysKeyidWithResponse call +func ParseGetFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*GetFleetEnrollmentApiKeysKeyidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetFleetEnrollmentApiKeysKeyidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Item struct { + // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + Active bool `json:"active"` + + // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. + ApiKey string `json:"api_key"` + + // ApiKeyId The ID of the API key in the Security API. + ApiKeyId string `json:"api_key_id"` + CreatedAt string `json:"created_at"` + Hidden *bool `json:"hidden,omitempty"` + Id string `json:"id"` + + // Name The name of the enrollment API key. + Name *string `json:"name,omitempty"` + + // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. + PolicyId *string `json:"policy_id,omitempty"` + } `json:"item"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParsePostFleetEpmBulkAssetsResponse parses an HTTP response from a PostFleetEpmBulkAssetsWithResponse call +func ParsePostFleetEpmBulkAssetsResponse(rsp *http.Response) (*PostFleetEpmBulkAssetsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetEpmBulkAssetsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Items []struct { + AppLink *string `json:"appLink,omitempty"` + Attributes struct { + Description *string `json:"description,omitempty"` + Service *string `json:"service,omitempty"` + Title *string `json:"title,omitempty"` + } `json:"attributes"` + Id string `json:"id"` + Type string `json:"type"` + UpdatedAt *string `json:"updatedAt,omitempty"` + } `json:"items"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParseGetFleetEpmCategoriesResponse parses an HTTP response from a GetFleetEpmCategoriesWithResponse call +func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategoriesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEnrollmentApiKeysResponse{ + response := &GetFleetEpmCategoriesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134481,26 +151753,13 @@ func ParsePostFleetEnrollmentApiKeysResponse(rsp *http.Response) (*PostFleetEnro switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Action PostFleetEnrollmentApiKeys200Action `json:"action"` - Item struct { - // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - Active bool `json:"active"` - - // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. - ApiKey string `json:"api_key"` - - // ApiKeyId The ID of the API key in the Security API. - ApiKeyId string `json:"api_key_id"` - CreatedAt string `json:"created_at"` - Hidden *bool `json:"hidden,omitempty"` - Id string `json:"id"` - - // Name The name of the enrollment API key. - Name *string `json:"name,omitempty"` - - // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. - PolicyId *string `json:"policy_id,omitempty"` - } `json:"item"` + Items []struct { + Count float32 `json:"count"` + Id string `json:"id"` + ParentId *string `json:"parent_id,omitempty"` + ParentTitle *string `json:"parent_title,omitempty"` + Title string `json:"title"` + } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134525,15 +151784,15 @@ func ParsePostFleetEnrollmentApiKeysResponse(rsp *http.Response) (*PostFleetEnro return response, nil } -// ParseDeleteFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a DeleteFleetEnrollmentApiKeysKeyidWithResponse call -func ParseDeleteFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*DeleteFleetEnrollmentApiKeysKeyidResponse, error) { +// ParsePostFleetEpmCustomIntegrationsResponse parses an HTTP response from a PostFleetEpmCustomIntegrationsWithResponse call +func ParsePostFleetEpmCustomIntegrationsResponse(rsp *http.Response) (*PostFleetEpmCustomIntegrationsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteFleetEnrollmentApiKeysKeyidResponse{ + response := &PostFleetEpmCustomIntegrationsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134541,7 +151800,11 @@ func ParseDeleteFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*Delete switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Action DeleteFleetEnrollmentApiKeysKeyid200Action `json:"action"` + UnderscoreMeta struct { + InstallSource string `json:"install_source"` + Name string `json:"name"` + } `json:"_meta"` + Items []PostFleetEpmCustomIntegrations_200_Items_Item `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134566,47 +151829,20 @@ func ParseDeleteFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*Delete return response, nil } -// ParseGetFleetEnrollmentApiKeysKeyidResponse parses an HTTP response from a GetFleetEnrollmentApiKeysKeyidWithResponse call -func ParseGetFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*GetFleetEnrollmentApiKeysKeyidResponse, error) { +// ParsePutFleetEpmCustomIntegrationsPkgnameResponse parses an HTTP response from a PutFleetEpmCustomIntegrationsPkgnameWithResponse call +func ParsePutFleetEpmCustomIntegrationsPkgnameResponse(rsp *http.Response) (*PutFleetEpmCustomIntegrationsPkgnameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEnrollmentApiKeysKeyidResponse{ + response := &PutFleetEpmCustomIntegrationsPkgnameResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - Item struct { - // Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - Active bool `json:"active"` - - // ApiKey The enrollment API key (token) used for enrolling Elastic Agents. - ApiKey string `json:"api_key"` - - // ApiKeyId The ID of the API key in the Security API. - ApiKeyId string `json:"api_key_id"` - CreatedAt string `json:"created_at"` - Hidden *bool `json:"hidden,omitempty"` - Id string `json:"id"` - - // Name The name of the enrollment API key. - Name *string `json:"name,omitempty"` - - // PolicyId The ID of the agent policy the Elastic Agent will be enrolled in. - PolicyId *string `json:"policy_id,omitempty"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest struct { Attributes interface{} `json:"attributes"` @@ -134625,15 +151861,15 @@ func ParseGetFleetEnrollmentApiKeysKeyidResponse(rsp *http.Response) (*GetFleetE return response, nil } -// ParsePostFleetEpmBulkAssetsResponse parses an HTTP response from a PostFleetEpmBulkAssetsWithResponse call -func ParsePostFleetEpmBulkAssetsResponse(rsp *http.Response) (*PostFleetEpmBulkAssetsResponse, error) { +// ParseGetFleetEpmDataStreamsResponse parses an HTTP response from a GetFleetEpmDataStreamsWithResponse call +func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataStreamsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmBulkAssetsResponse{ + response := &GetFleetEpmDataStreamsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134642,15 +151878,7 @@ func ParsePostFleetEpmBulkAssetsResponse(rsp *http.Response) (*PostFleetEpmBulkA case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { Items []struct { - AppLink *string `json:"appLink,omitempty"` - Attributes struct { - Description *string `json:"description,omitempty"` - Service *string `json:"service,omitempty"` - Title *string `json:"title,omitempty"` - } `json:"attributes"` - Id string `json:"id"` - Type string `json:"type"` - UpdatedAt *string `json:"updatedAt,omitempty"` + Name string `json:"name"` } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -134676,15 +151904,15 @@ func ParsePostFleetEpmBulkAssetsResponse(rsp *http.Response) (*PostFleetEpmBulkA return response, nil } -// ParseGetFleetEpmCategoriesResponse parses an HTTP response from a GetFleetEpmCategoriesWithResponse call -func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategoriesResponse, error) { +// ParseGetFleetEpmPackagesResponse parses an HTTP response from a GetFleetEpmPackagesWithResponse call +func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmCategoriesResponse{ + response := &GetFleetEpmPackagesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134692,13 +151920,7 @@ func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategor switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []struct { - Count float32 `json:"count"` - Id string `json:"id"` - ParentId *string `json:"parent_id,omitempty"` - ParentTitle *string `json:"parent_title,omitempty"` - Title string `json:"title"` - } `json:"items"` + Items []PackageListItem `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134723,65 +151945,45 @@ func ParseGetFleetEpmCategoriesResponse(rsp *http.Response) (*GetFleetEpmCategor return response, nil } -// ParsePostFleetEpmCustomIntegrationsResponse parses an HTTP response from a PostFleetEpmCustomIntegrationsWithResponse call -func ParsePostFleetEpmCustomIntegrationsResponse(rsp *http.Response) (*PostFleetEpmCustomIntegrationsResponse, error) { +// ParsePostFleetEpmPackagesResponse parses an HTTP response from a PostFleetEpmPackagesWithResponse call +func ParsePostFleetEpmPackagesResponse(rsp *http.Response) (*PostFleetEpmPackagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmCustomIntegrationsResponse{ + response := &PostFleetEpmPackagesResponse{ Body: bodyBytes, HTTPResponse: rsp, } - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - UnderscoreMeta struct { - InstallSource string `json:"install_source"` - Name string `json:"name"` - } `json:"_meta"` - Items []PostFleetEpmCustomIntegrations_200_Items_Item `json:"items"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - } - return response, nil } -// ParsePutFleetEpmCustomIntegrationsPkgnameResponse parses an HTTP response from a PutFleetEpmCustomIntegrationsPkgnameWithResponse call -func ParsePutFleetEpmCustomIntegrationsPkgnameResponse(rsp *http.Response) (*PutFleetEpmCustomIntegrationsPkgnameResponse, error) { +// ParsePostFleetEpmPackagesBulkResponse parses an HTTP response from a PostFleetEpmPackagesBulkWithResponse call +func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutFleetEpmCustomIntegrationsPkgnameResponse{ + response := &PostFleetEpmPackagesBulkResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Items []PostFleetEpmPackagesBulk_200_Items_Item `json:"items"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest struct { Attributes interface{} `json:"attributes"` @@ -134800,15 +152002,15 @@ func ParsePutFleetEpmCustomIntegrationsPkgnameResponse(rsp *http.Response) (*Put return response, nil } -// ParseGetFleetEpmDataStreamsResponse parses an HTTP response from a GetFleetEpmDataStreamsWithResponse call -func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataStreamsResponse, error) { +// ParsePostFleetEpmPackagesBulkRollbackResponse parses an HTTP response from a PostFleetEpmPackagesBulkRollbackWithResponse call +func ParsePostFleetEpmPackagesBulkRollbackResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkRollbackResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmDataStreamsResponse{ + response := &PostFleetEpmPackagesBulkRollbackResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134816,9 +152018,7 @@ func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataSt switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []struct { - Name string `json:"name"` - } `json:"items"` + TaskId string `json:"taskId"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134843,15 +152043,15 @@ func ParseGetFleetEpmDataStreamsResponse(rsp *http.Response) (*GetFleetEpmDataSt return response, nil } -// ParseGetFleetEpmPackagesResponse parses an HTTP response from a GetFleetEpmPackagesWithResponse call -func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesResponse, error) { +// ParseGetFleetEpmPackagesBulkRollbackTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkRollbackTaskidWithResponse call +func ParseGetFleetEpmPackagesBulkRollbackTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkRollbackTaskidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesResponse{ + response := &GetFleetEpmPackagesBulkRollbackTaskidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134859,7 +152059,17 @@ func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesR switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []PackageListItem `json:"items"` + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Results *[]struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Name string `json:"name"` + Success bool `json:"success"` + } `json:"results,omitempty"` + Status string `json:"status"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134884,31 +152094,15 @@ func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesR return response, nil } -// ParsePostFleetEpmPackagesResponse parses an HTTP response from a PostFleetEpmPackagesWithResponse call -func ParsePostFleetEpmPackagesResponse(rsp *http.Response) (*PostFleetEpmPackagesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetEpmPackagesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostFleetEpmPackagesBulkResponse parses an HTTP response from a PostFleetEpmPackagesBulkWithResponse call -func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkResponse, error) { +// ParsePostFleetEpmPackagesBulkUninstallResponse parses an HTTP response from a PostFleetEpmPackagesBulkUninstallWithResponse call +func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUninstallResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkResponse{ + response := &PostFleetEpmPackagesBulkUninstallResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134916,7 +152110,7 @@ func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPac switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []PostFleetEpmPackagesBulk_200_Items_Item `json:"items"` + TaskId string `json:"taskId"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134941,15 +152135,15 @@ func ParsePostFleetEpmPackagesBulkResponse(rsp *http.Response) (*PostFleetEpmPac return response, nil } -// ParsePostFleetEpmPackagesBulkUninstallResponse parses an HTTP response from a PostFleetEpmPackagesBulkUninstallWithResponse call -func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUninstallResponse, error) { +// ParseGetFleetEpmPackagesBulkUninstallTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUninstallTaskidWithResponse call +func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUninstallTaskidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkUninstallResponse{ + response := &GetFleetEpmPackagesBulkUninstallTaskidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134957,7 +152151,17 @@ func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFl switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - TaskId string `json:"taskId"` + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Results *[]struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Name string `json:"name"` + Success bool `json:"success"` + } `json:"results,omitempty"` + Status string `json:"status"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -134982,15 +152186,15 @@ func ParsePostFleetEpmPackagesBulkUninstallResponse(rsp *http.Response) (*PostFl return response, nil } -// ParseGetFleetEpmPackagesBulkUninstallTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUninstallTaskidWithResponse call -func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUninstallTaskidResponse, error) { +// ParsePostFleetEpmPackagesBulkUpgradeResponse parses an HTTP response from a PostFleetEpmPackagesBulkUpgradeWithResponse call +func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUpgradeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesBulkUninstallTaskidResponse{ + response := &PostFleetEpmPackagesBulkUpgradeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -134998,17 +152202,7 @@ func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*G switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Results *[]struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Name string `json:"name"` - Success bool `json:"success"` - } `json:"results,omitempty"` - Status string `json:"status"` + TaskId string `json:"taskId"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -135033,15 +152227,15 @@ func ParseGetFleetEpmPackagesBulkUninstallTaskidResponse(rsp *http.Response) (*G return response, nil } -// ParsePostFleetEpmPackagesBulkUpgradeResponse parses an HTTP response from a PostFleetEpmPackagesBulkUpgradeWithResponse call -func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFleetEpmPackagesBulkUpgradeResponse, error) { +// ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUpgradeTaskidWithResponse call +func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUpgradeTaskidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostFleetEpmPackagesBulkUpgradeResponse{ + response := &GetFleetEpmPackagesBulkUpgradeTaskidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -135049,7 +152243,17 @@ func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFlee switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - TaskId string `json:"taskId"` + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Results *[]struct { + Error *struct { + Message string `json:"message"` + } `json:"error,omitempty"` + Name string `json:"name"` + Success bool `json:"success"` + } `json:"results,omitempty"` + Status string `json:"status"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -135074,15 +152278,15 @@ func ParsePostFleetEpmPackagesBulkUpgradeResponse(rsp *http.Response) (*PostFlee return response, nil } -// ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse parses an HTTP response from a GetFleetEpmPackagesBulkUpgradeTaskidWithResponse call -func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*GetFleetEpmPackagesBulkUpgradeTaskidResponse, error) { +// ParseGetFleetEpmPackagesInstalledResponse parses an HTTP response from a GetFleetEpmPackagesInstalledWithResponse call +func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpmPackagesInstalledResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesBulkUpgradeTaskidResponse{ + response := &GetFleetEpmPackagesInstalledResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -135090,17 +152294,27 @@ func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*Get switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Results *[]struct { - Error *struct { - Message string `json:"message"` - } `json:"error,omitempty"` - Name string `json:"name"` - Success bool `json:"success"` - } `json:"results,omitempty"` - Status string `json:"status"` + Items []struct { + DataStreams []struct { + Name string `json:"name"` + Title string `json:"title"` + } `json:"dataStreams"` + Description *string `json:"description,omitempty"` + Icons *[]struct { + DarkMode *bool `json:"dark_mode,omitempty"` + Path *string `json:"path,omitempty"` + Size *string `json:"size,omitempty"` + Src string `json:"src"` + Title *string `json:"title,omitempty"` + Type *string `json:"type,omitempty"` + } `json:"icons,omitempty"` + Name string `json:"name"` + Status string `json:"status"` + Title *string `json:"title,omitempty"` + Version string `json:"version"` + } `json:"items"` + SearchAfter *[]GetFleetEpmPackagesInstalled_200_SearchAfter_Item `json:"searchAfter,omitempty"` + Total float32 `json:"total"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -135125,15 +152339,15 @@ func ParseGetFleetEpmPackagesBulkUpgradeTaskidResponse(rsp *http.Response) (*Get return response, nil } -// ParseGetFleetEpmPackagesInstalledResponse parses an HTTP response from a GetFleetEpmPackagesInstalledWithResponse call -func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpmPackagesInstalledResponse, error) { +// ParseGetFleetEpmPackagesLimitedResponse parses an HTTP response from a GetFleetEpmPackagesLimitedWithResponse call +func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPackagesLimitedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesInstalledResponse{ + response := &GetFleetEpmPackagesLimitedResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -135141,27 +152355,7 @@ func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpm switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []struct { - DataStreams []struct { - Name string `json:"name"` - Title string `json:"title"` - } `json:"dataStreams"` - Description *string `json:"description,omitempty"` - Icons *[]struct { - DarkMode *bool `json:"dark_mode,omitempty"` - Path *string `json:"path,omitempty"` - Size *string `json:"size,omitempty"` - Src string `json:"src"` - Title *string `json:"title,omitempty"` - Type *string `json:"type,omitempty"` - } `json:"icons,omitempty"` - Name string `json:"name"` - Status string `json:"status"` - Title *string `json:"title,omitempty"` - Version string `json:"version"` - } `json:"items"` - SearchAfter *[]GetFleetEpmPackagesInstalled_200_SearchAfter_Item `json:"searchAfter,omitempty"` - Total float32 `json:"total"` + Items []string `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -135186,15 +152380,15 @@ func ParseGetFleetEpmPackagesInstalledResponse(rsp *http.Response) (*GetFleetEpm return response, nil } -// ParseGetFleetEpmPackagesLimitedResponse parses an HTTP response from a GetFleetEpmPackagesLimitedWithResponse call -func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPackagesLimitedResponse, error) { +// ParsePostFleetEpmPackagesPkgnameRollbackResponse parses an HTTP response from a PostFleetEpmPackagesPkgnameRollbackWithResponse call +func ParsePostFleetEpmPackagesPkgnameRollbackResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnameRollbackResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetFleetEpmPackagesLimitedResponse{ + response := &PostFleetEpmPackagesPkgnameRollbackResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -135202,7 +152396,8 @@ func ParseGetFleetEpmPackagesLimitedResponse(rsp *http.Response) (*GetFleetEpmPa switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { - Items []string `json:"items"` + Success bool `json:"success"` + Version string `json:"version"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err @@ -135565,6 +152760,47 @@ func ParsePostFleetEpmPackagesPkgnamePkgversionKibanaAssetsResponse(rsp *http.Re return response, nil } +// ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse parses an HTTP response from a PostFleetEpmPackagesPkgnamePkgversionRuleAssetsWithResponse call +func ParsePostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostFleetEpmPackagesPkgnamePkgversionRuleAssetsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Success bool `json:"success"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + Attributes interface{} `json:"attributes"` + Error *string `json:"error,omitempty"` + ErrorType *string `json:"errorType,omitempty"` + Message string `json:"message"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + // ParsePostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse parses an HTTP response from a PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeWithResponse call func ParsePostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -136568,18 +153804,25 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` Agents *float32 `json:"agents,omitempty"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` + + // CloudConnectorId ID of the cloud connector associated with this package policy. + CloudConnectorId *string `json:"cloud_connector_id"` + CreatedAt string `json:"created_at"` + CreatedBy string `json:"created_by"` // Description Package policy description Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesBulkGet_200_Items_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` - Id string `json:"id"` - Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - // Name Package policy name (should be unique) + // Id Package policy unique identifier. + Id string `json:"id"` + + // Inputs Package policy inputs. + Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` + + // Name Unique name for the package policy. Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -136600,6 +153843,7 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -136610,22 +153854,31 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId Agent policy ID where that package policy will be added + // PolicyId ID of the agent policy which the package policy will be added to. // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + + // Revision Package policy revision. + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` - Version *string `json:"version,omitempty"` + SupportsAgentless *bool `json:"supports_agentless"` + + // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + + // Vars Package level variable. + Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` + + // Version Package policy ES version. + Version *string `json:"version,omitempty"` } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -136692,6 +153945,7 @@ func ParsePostFleetPackagePoliciesDeleteResponse(rsp *http.Response) (*PostFleet Tsdb *bool `json:"tsdb,omitempty"` } `json:"features"` } `json:"experimental_data_stream_features,omitempty"` + FipsCompatible *bool `json:"fips_compatible,omitempty"` // Name Package name Name string `json:"name"` @@ -137240,6 +154494,10 @@ func ParseGetFleetRemoteSyncedIntegrationsStatusResponse(rsp *http.Response) (*G PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` + Warning *struct { + Message *string `json:"message,omitempty"` + Title string `json:"title"` + } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -137310,6 +154568,10 @@ func ParseGetFleetRemoteSyncedIntegrationsOutputidRemoteStatusResponse(rsp *http PackageVersion string `json:"package_version"` SyncStatus GetFleetRemoteSyncedIntegrationsOutputidRemoteStatus200CustomAssetsSyncStatus `json:"sync_status"` Type string `json:"type"` + Warning *struct { + Message *string `json:"message,omitempty"` + Title string `json:"title"` + } `json:"warning,omitempty"` } `json:"custom_assets,omitempty"` Error *string `json:"error,omitempty"` Integrations []struct { @@ -137415,7 +154677,8 @@ func ParseGetFleetSettingsResponse(rsp *http.Response) (*GetFleetSettingsRespons case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { Item struct { - DeleteUnenrolledAgents *struct { + ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -137479,7 +154742,8 @@ func ParsePutFleetSettingsResponse(rsp *http.Response) (*PutFleetSettingsRespons case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { Item struct { - DeleteUnenrolledAgents *struct { + ActionSecretStorageRequirementsMet *bool `json:"action_secret_storage_requirements_met,omitempty"` + DeleteUnenrolledAgents *struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` @@ -138965,6 +156229,100 @@ func ParseGetLogstashPipelinesResponse(rsp *http.Response) (*GetLogstashPipeline return response, nil } +// ParseGetMaintenanceWindowFindResponse parses an HTTP response from a GetMaintenanceWindowFindWithResponse call +func ParseGetMaintenanceWindowFindResponse(rsp *http.Response) (*GetMaintenanceWindowFindResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetMaintenanceWindowFindResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + MaintenanceWindows []struct { + // CreatedAt The date and time when the maintenance window was created. + CreatedAt string `json:"created_at"` + + // CreatedBy The identifier for the user that created the maintenance window. + CreatedBy *string `json:"created_by"` + + // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + Enabled bool `json:"enabled"` + + // Id The identifier for the maintenance window. + Id string `json:"id"` + Schedule struct { + Custom struct { + // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. + Duration string `json:"duration"` + Recurring *struct { + // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. + End *string `json:"end,omitempty"` + + // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. + Every *string `json:"every,omitempty"` + + // Occurrences The total number of recurrences of the schedule. + Occurrences *float32 `json:"occurrences,omitempty"` + + // OnMonth The specific months for a recurring schedule. Valid values are 1-12. + OnMonth *[]float32 `json:"onMonth,omitempty"` + + // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. + OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` + + // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + OnWeekDay *[]string `json:"onWeekDay,omitempty"` + } `json:"recurring,omitempty"` + + // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. + Start string `json:"start"` + + // Timezone The timezone of the schedule. The default timezone is UTC. + Timezone *string `json:"timezone,omitempty"` + } `json:"custom"` + } `json:"schedule"` + Scope *struct { + Alerting struct { + Query struct { + // Kql A filter written in Kibana Query Language (KQL). + Kql string `json:"kql"` + } `json:"query"` + } `json:"alerting"` + } `json:"scope,omitempty"` + + // Status The current status of the maintenance window. + Status GetMaintenanceWindowFind200MaintenanceWindowsStatus `json:"status"` + + // Title The name of the maintenance window. + Title string `json:"title"` + + // UpdatedAt The date and time when the maintenance window was last updated. + UpdatedAt string `json:"updated_at"` + + // UpdatedBy The identifier for the user that last updated this maintenance window. + UpdatedBy *string `json:"updated_by"` + } `json:"maintenanceWindows"` + Page float32 `json:"page"` + PerPage float32 `json:"per_page"` + Total float32 `json:"total"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + // ParsePostMaintenanceWindowIdArchiveResponse parses an HTTP response from a PostMaintenanceWindowIdArchiveWithResponse call func ParsePostMaintenanceWindowIdArchiveResponse(rsp *http.Response) (*PostMaintenanceWindowIdArchiveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -141019,6 +158377,9 @@ func ParseReadKnowledgeBaseResponse(rsp *http.Response) (*ReadKnowledgeBaseRespo switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { + // DefendInsightsExists Indicates if Defend Insights documentation exists in the KnowledgeBase. + DefendInsightsExists *bool `json:"defend_insights_exists,omitempty"` + // ElserExists Indicates if the ELSER model exists for the KnowledgeBase. ElserExists *bool `json:"elser_exists,omitempty"` @@ -141908,15 +159269,15 @@ func ParseGetStreamsNameSignificantEventsResponse(rsp *http.Response) (*GetStrea return response, nil } -// ParseGetStreamsNameSignificantEventsGenerateResponse parses an HTTP response from a GetStreamsNameSignificantEventsGenerateWithResponse call -func ParseGetStreamsNameSignificantEventsGenerateResponse(rsp *http.Response) (*GetStreamsNameSignificantEventsGenerateResponse, error) { +// ParsePostStreamsNameSignificantEventsGenerateResponse parses an HTTP response from a PostStreamsNameSignificantEventsGenerateWithResponse call +func ParsePostStreamsNameSignificantEventsGenerateResponse(rsp *http.Response) (*PostStreamsNameSignificantEventsGenerateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetStreamsNameSignificantEventsGenerateResponse{ + response := &PostStreamsNameSignificantEventsGenerateResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -142579,6 +159940,26 @@ func ParseGetDraftTimelinesResponse(rsp *http.Response) (*GetDraftTimelinesRespo } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: + var dest struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON409 = &dest + } return response, nil @@ -142605,6 +159986,26 @@ func ParseCleanDraftTimelinesResponse(rsp *http.Response) (*CleanDraftTimelinesR } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: + var dest struct { + Message *string `json:"message,omitempty"` + StatusCode *float32 `json:"status_code,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON409 = &dest + } return response, nil @@ -142647,6 +160048,16 @@ func ParsePersistFavoriteRouteResponse(rsp *http.Response) (*PersistFavoriteRout } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: + var dest struct { + Body *string `json:"body,omitempty"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON403 = &dest + } return response, nil @@ -142732,6 +160143,16 @@ func ParseInstallPrepackedTimelinesResponse(rsp *http.Response) (*InstallPrepack } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest struct { + Body *string `json:"body,omitempty"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + } return response, nil @@ -142803,6 +160224,17 @@ func ParseGetTimelinesResponse(rsp *http.Response) (*GetTimelinesResponse, error } response.JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest struct { + // Body The error message + Body *string `json:"body,omitempty"` + StatusCode *float32 `json:"statusCode,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + } return response, nil From 799e18a6a6dff275452ee098ad01fc20044bb87b Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 13:46:46 -0700 Subject: [PATCH 3/9] Add security rules to space corrected paths --- generated/kbapi/transform_schema.go | 1 + 1 file changed, 1 insertion(+) diff --git a/generated/kbapi/transform_schema.go b/generated/kbapi/transform_schema.go index 962151838..a377cfe9b 100644 --- a/generated/kbapi/transform_schema.go +++ b/generated/kbapi/transform_schema.go @@ -690,6 +690,7 @@ func transformKibanaPaths(schema *Schema) { "/api/maintenance_window/{id}", "/api/actions/connector/{id}", "/api/actions/connectors", + "/api/detection_engine/rules", } // Add a spaceId parameter if not already present From 9117d83f7cbc59b868506beb1ab7995193a0fd6c Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 13:47:02 -0700 Subject: [PATCH 4/9] Regenerate client --- generated/kbapi/kibana.gen.go | 1499 +++++++++++++++++---------------- 1 file changed, 767 insertions(+), 732 deletions(-) diff --git a/generated/kbapi/kibana.gen.go b/generated/kbapi/kibana.gen.go index 0b007f2ab..57dd6b0b3 100644 --- a/generated/kbapi/kibana.gen.go +++ b/generated/kbapi/kibana.gen.go @@ -27189,24 +27189,6 @@ type SetDefaultDatailViewDefaultJSONBody struct { Force *bool `json:"force,omitempty"` } -// DeleteRuleParams defines parameters for DeleteRule. -type DeleteRuleParams struct { - // Id The rule's `id` value. - Id *SecurityDetectionsAPIRuleObjectId `form:"id,omitempty" json:"id,omitempty"` - - // RuleId The rule's `rule_id` value. - RuleId *SecurityDetectionsAPIRuleSignatureId `form:"rule_id,omitempty" json:"rule_id,omitempty"` -} - -// ReadRuleParams defines parameters for ReadRule. -type ReadRuleParams struct { - // Id The rule's `id` value. - Id *SecurityDetectionsAPIRuleObjectId `form:"id,omitempty" json:"id,omitempty"` - - // RuleId The rule's `rule_id` value. - RuleId *SecurityDetectionsAPIRuleSignatureId `form:"rule_id,omitempty" json:"rule_id,omitempty"` -} - // PerformRulesBulkActionJSONBody defines parameters for PerformRulesBulkAction. type PerformRulesBulkActionJSONBody struct { union json.RawMessage @@ -46057,6 +46039,24 @@ type PutActionsConnectorIdJSONBody struct { Secrets *UpdateConnectorSecrets `json:"secrets,omitempty"` } +// DeleteRuleParams defines parameters for DeleteRule. +type DeleteRuleParams struct { + // Id The rule's `id` value. + Id *SecurityDetectionsAPIRuleObjectId `form:"id,omitempty" json:"id,omitempty"` + + // RuleId The rule's `rule_id` value. + RuleId *SecurityDetectionsAPIRuleSignatureId `form:"rule_id,omitempty" json:"rule_id,omitempty"` +} + +// ReadRuleParams defines parameters for ReadRule. +type ReadRuleParams struct { + // Id The rule's `id` value. + Id *SecurityDetectionsAPIRuleObjectId `form:"id,omitempty" json:"id,omitempty"` + + // RuleId The rule's `rule_id` value. + RuleId *SecurityDetectionsAPIRuleSignatureId `form:"rule_id,omitempty" json:"rule_id,omitempty"` +} + // PostMaintenanceWindowJSONBody defines parameters for PostMaintenanceWindow. type PostMaintenanceWindowJSONBody struct { // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. @@ -46339,15 +46339,6 @@ type SwapDataViewsDefaultJSONRequestBody = DataViewsSwapDataViewRequestObject // PreviewSwapDataViewsDefaultJSONRequestBody defines body for PreviewSwapDataViewsDefault for application/json ContentType. type PreviewSwapDataViewsDefaultJSONRequestBody = DataViewsSwapDataViewRequestObject -// PatchRuleJSONRequestBody defines body for PatchRule for application/json ContentType. -type PatchRuleJSONRequestBody = SecurityDetectionsAPIRulePatchProps - -// CreateRuleJSONRequestBody defines body for CreateRule for application/json ContentType. -type CreateRuleJSONRequestBody = SecurityDetectionsAPIRuleCreateProps - -// UpdateRuleJSONRequestBody defines body for UpdateRule for application/json ContentType. -type UpdateRuleJSONRequestBody = SecurityDetectionsAPIRuleUpdateProps - // PerformRulesBulkActionJSONRequestBody defines body for PerformRulesBulkAction for application/json ContentType. type PerformRulesBulkActionJSONRequestBody PerformRulesBulkActionJSONBody @@ -46933,6 +46924,15 @@ type CreateDataViewDefaultwJSONRequestBody = DataViewsCreateDataViewRequestObjec // UpdateDataViewDefaultJSONRequestBody defines body for UpdateDataViewDefault for application/json ContentType. type UpdateDataViewDefaultJSONRequestBody = DataViewsUpdateDataViewRequestObject +// PatchRuleJSONRequestBody defines body for PatchRule for application/json ContentType. +type PatchRuleJSONRequestBody = SecurityDetectionsAPIRulePatchProps + +// CreateRuleJSONRequestBody defines body for CreateRule for application/json ContentType. +type CreateRuleJSONRequestBody = SecurityDetectionsAPIRuleCreateProps + +// UpdateRuleJSONRequestBody defines body for UpdateRule for application/json ContentType. +type UpdateRuleJSONRequestBody = SecurityDetectionsAPIRuleUpdateProps + // PostMaintenanceWindowJSONRequestBody defines body for PostMaintenanceWindow for application/json ContentType. type PostMaintenanceWindowJSONRequestBody PostMaintenanceWindowJSONBody @@ -73823,27 +73823,6 @@ type ClientInterface interface { // ReadPrivileges request ReadPrivileges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteRule request - DeleteRule(ctx context.Context, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // ReadRule request - ReadRule(ctx context.Context, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PatchRuleWithBody request with any body - PatchRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PatchRule(ctx context.Context, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // CreateRuleWithBody request with any body - CreateRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - CreateRule(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // UpdateRuleWithBody request with any body - UpdateRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - UpdateRule(ctx context.Context, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PerformRulesBulkActionWithBody request with any body PerformRulesBulkActionWithBody(ctx context.Context, params *PerformRulesBulkActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -75394,6 +75373,27 @@ type ClientInterface interface { UpdateDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteRule request + DeleteRule(ctx context.Context, spaceId SpaceId, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ReadRule request + ReadRule(ctx context.Context, spaceId SpaceId, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PatchRuleWithBody request with any body + PatchRuleWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PatchRule(ctx context.Context, spaceId SpaceId, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CreateRuleWithBody request with any body + CreateRuleWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CreateRule(ctx context.Context, spaceId SpaceId, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UpdateRuleWithBody request with any body + UpdateRuleWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UpdateRule(ctx context.Context, spaceId SpaceId, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostMaintenanceWindowWithBody request with any body PostMaintenanceWindowWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -77200,102 +77200,6 @@ func (c *Client) ReadPrivileges(ctx context.Context, reqEditors ...RequestEditor return c.Client.Do(req) } -func (c *Client) DeleteRule(ctx context.Context, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteRuleRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ReadRule(ctx context.Context, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewReadRuleRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PatchRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchRuleRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PatchRule(ctx context.Context, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchRuleRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) CreateRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateRuleRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) CreateRule(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateRuleRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpdateRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateRuleRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) UpdateRule(ctx context.Context, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateRuleRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) PerformRulesBulkActionWithBody(ctx context.Context, params *PerformRulesBulkActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPerformRulesBulkActionRequestWithBody(c.Server, params, contentType, body) if err != nil { @@ -84244,6 +84148,102 @@ func (c *Client) UpdateDataViewDefault(ctx context.Context, spaceId SpaceId, vie return c.Client.Do(req) } +func (c *Client) DeleteRule(ctx context.Context, spaceId SpaceId, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteRuleRequest(c.Server, spaceId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ReadRule(ctx context.Context, spaceId SpaceId, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewReadRuleRequest(c.Server, spaceId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PatchRuleWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPatchRuleRequestWithBody(c.Server, spaceId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PatchRule(ctx context.Context, spaceId SpaceId, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPatchRuleRequest(c.Server, spaceId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CreateRuleWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateRuleRequestWithBody(c.Server, spaceId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CreateRule(ctx context.Context, spaceId SpaceId, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateRuleRequest(c.Server, spaceId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpdateRuleWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateRuleRequestWithBody(c.Server, spaceId, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UpdateRule(ctx context.Context, spaceId SpaceId, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateRuleRequest(c.Server, spaceId, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) PostMaintenanceWindowWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostMaintenanceWindowRequestWithBody(c.Server, spaceId, contentType, body) if err != nil { @@ -89987,256 +89987,6 @@ func NewReadPrivilegesRequest(server string) (*http.Request, error) { return req, nil } -// NewDeleteRuleRequest generates requests for DeleteRule -func NewDeleteRuleRequest(server string, params *DeleteRuleParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/detection_engine/rules") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Id != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.RuleId != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rule_id", runtime.ParamLocationQuery, *params.RuleId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewReadRuleRequest generates requests for ReadRule -func NewReadRuleRequest(server string, params *ReadRuleParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/detection_engine/rules") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if params.Id != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.RuleId != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rule_id", runtime.ParamLocationQuery, *params.RuleId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPatchRuleRequest calls the generic PatchRule builder with application/json body -func NewPatchRuleRequest(server string, body PatchRuleJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPatchRuleRequestWithBody(server, "application/json", bodyReader) -} - -// NewPatchRuleRequestWithBody generates requests for PatchRule with any type of body -func NewPatchRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/detection_engine/rules") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewCreateRuleRequest calls the generic CreateRule builder with application/json body -func NewCreateRuleRequest(server string, body CreateRuleJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewCreateRuleRequestWithBody(server, "application/json", bodyReader) -} - -// NewCreateRuleRequestWithBody generates requests for CreateRule with any type of body -func NewCreateRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/detection_engine/rules") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewUpdateRuleRequest calls the generic UpdateRule builder with application/json body -func NewUpdateRuleRequest(server string, body UpdateRuleJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewUpdateRuleRequestWithBody(server, "application/json", bodyReader) -} - -// NewUpdateRuleRequestWithBody generates requests for UpdateRule with any type of body -func NewUpdateRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/detection_engine/rules") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewPerformRulesBulkActionRequest calls the generic PerformRulesBulkAction builder with application/json body func NewPerformRulesBulkActionRequest(server string, params *PerformRulesBulkActionParams, body PerformRulesBulkActionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -111069,19 +110819,217 @@ func NewGetDataViewDefaultRequest(server string, spaceId SpaceId, viewId DataVie return req, nil } -// NewUpdateDataViewDefaultRequest calls the generic UpdateDataViewDefault builder with application/json body -func NewUpdateDataViewDefaultRequest(server string, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody) (*http.Request, error) { +// NewUpdateDataViewDefaultRequest calls the generic UpdateDataViewDefault builder with application/json body +func NewUpdateDataViewDefaultRequest(server string, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpdateDataViewDefaultRequestWithBody(server, spaceId, viewId, "application/json", bodyReader) +} + +// NewUpdateDataViewDefaultRequestWithBody generates requests for UpdateDataViewDefault with any type of body +func NewUpdateDataViewDefaultRequestWithBody(server string, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "spaceId", runtime.ParamLocationPath, spaceId) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "viewId", runtime.ParamLocationPath, viewId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/s/%s/api/data_views/data_view/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDeleteRuleRequest generates requests for DeleteRule +func NewDeleteRuleRequest(server string, spaceId SpaceId, params *DeleteRuleParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "spaceId", runtime.ParamLocationPath, spaceId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/s/%s/api/detection_engine/rules", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rule_id", runtime.ParamLocationQuery, *params.RuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewReadRuleRequest generates requests for ReadRule +func NewReadRuleRequest(server string, spaceId SpaceId, params *ReadRuleParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "spaceId", runtime.ParamLocationPath, spaceId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/s/%s/api/detection_engine/rules", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rule_id", runtime.ParamLocationQuery, *params.RuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPatchRuleRequest calls the generic PatchRule builder with application/json body +func NewPatchRuleRequest(server string, spaceId SpaceId, body PatchRuleJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewUpdateDataViewDefaultRequestWithBody(server, spaceId, viewId, "application/json", bodyReader) + return NewPatchRuleRequestWithBody(server, spaceId, "application/json", bodyReader) } -// NewUpdateDataViewDefaultRequestWithBody generates requests for UpdateDataViewDefault with any type of body -func NewUpdateDataViewDefaultRequestWithBody(server string, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader) (*http.Request, error) { +// NewPatchRuleRequestWithBody generates requests for PatchRule with any type of body +func NewPatchRuleRequestWithBody(server string, spaceId SpaceId, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -111091,9 +111039,49 @@ func NewUpdateDataViewDefaultRequestWithBody(server string, spaceId SpaceId, vie return nil, err } - var pathParam1 string + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "viewId", runtime.ParamLocationPath, viewId) + operationPath := fmt.Sprintf("/s/%s/api/detection_engine/rules", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCreateRuleRequest calls the generic CreateRule builder with application/json body +func NewCreateRuleRequest(server string, spaceId SpaceId, body CreateRuleJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCreateRuleRequestWithBody(server, spaceId, "application/json", bodyReader) +} + +// NewCreateRuleRequestWithBody generates requests for CreateRule with any type of body +func NewCreateRuleRequestWithBody(server string, spaceId SpaceId, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "spaceId", runtime.ParamLocationPath, spaceId) if err != nil { return nil, err } @@ -111103,7 +111091,7 @@ func NewUpdateDataViewDefaultRequestWithBody(server string, spaceId SpaceId, vie return nil, err } - operationPath := fmt.Sprintf("/s/%s/api/data_views/data_view/%s", pathParam0, pathParam1) + operationPath := fmt.Sprintf("/s/%s/api/detection_engine/rules", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -111123,6 +111111,53 @@ func NewUpdateDataViewDefaultRequestWithBody(server string, spaceId SpaceId, vie return req, nil } +// NewUpdateRuleRequest calls the generic UpdateRule builder with application/json body +func NewUpdateRuleRequest(server string, spaceId SpaceId, body UpdateRuleJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpdateRuleRequestWithBody(server, spaceId, "application/json", bodyReader) +} + +// NewUpdateRuleRequestWithBody generates requests for UpdateRule with any type of body +func NewUpdateRuleRequestWithBody(server string, spaceId SpaceId, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "spaceId", runtime.ParamLocationPath, spaceId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/s/%s/api/detection_engine/rules", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewPostMaintenanceWindowRequest calls the generic PostMaintenanceWindow builder with application/json body func NewPostMaintenanceWindowRequest(server string, spaceId SpaceId, body PostMaintenanceWindowJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -112558,27 +112593,6 @@ type ClientWithResponsesInterface interface { // ReadPrivilegesWithResponse request ReadPrivilegesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadPrivilegesResponse, error) - // DeleteRuleWithResponse request - DeleteRuleWithResponse(ctx context.Context, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error) - - // ReadRuleWithResponse request - ReadRuleWithResponse(ctx context.Context, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*ReadRuleResponse, error) - - // PatchRuleWithBodyWithResponse request with any body - PatchRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) - - PatchRuleWithResponse(ctx context.Context, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) - - // CreateRuleWithBodyWithResponse request with any body - CreateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) - - CreateRuleWithResponse(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) - - // UpdateRuleWithBodyWithResponse request with any body - UpdateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) - - UpdateRuleWithResponse(ctx context.Context, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) - // PerformRulesBulkActionWithBodyWithResponse request with any body PerformRulesBulkActionWithBodyWithResponse(ctx context.Context, params *PerformRulesBulkActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PerformRulesBulkActionResponse, error) @@ -114129,6 +114143,27 @@ type ClientWithResponsesInterface interface { UpdateDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDataViewDefaultResponse, error) + // DeleteRuleWithResponse request + DeleteRuleWithResponse(ctx context.Context, spaceId SpaceId, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error) + + // ReadRuleWithResponse request + ReadRuleWithResponse(ctx context.Context, spaceId SpaceId, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*ReadRuleResponse, error) + + // PatchRuleWithBodyWithResponse request with any body + PatchRuleWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) + + PatchRuleWithResponse(ctx context.Context, spaceId SpaceId, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) + + // CreateRuleWithBodyWithResponse request with any body + CreateRuleWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) + + CreateRuleWithResponse(ctx context.Context, spaceId SpaceId, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) + + // UpdateRuleWithBodyWithResponse request with any body + UpdateRuleWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) + + UpdateRuleWithResponse(ctx context.Context, spaceId SpaceId, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) + // PostMaintenanceWindowWithBodyWithResponse request with any body PostMaintenanceWindowWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMaintenanceWindowResponse, error) @@ -118571,116 +118606,6 @@ func (r ReadPrivilegesResponse) StatusCode() int { return 0 } -type DeleteRuleResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityDetectionsAPIRuleResponse -} - -// Status returns HTTPResponse.Status -func (r DeleteRuleResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteRuleResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type ReadRuleResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityDetectionsAPIRuleResponse -} - -// Status returns HTTPResponse.Status -func (r ReadRuleResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r ReadRuleResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PatchRuleResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityDetectionsAPIRuleResponse -} - -// Status returns HTTPResponse.Status -func (r PatchRuleResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PatchRuleResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type CreateRuleResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityDetectionsAPIRuleResponse -} - -// Status returns HTTPResponse.Status -func (r CreateRuleResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r CreateRuleResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type UpdateRuleResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *SecurityDetectionsAPIRuleResponse -} - -// Status returns HTTPResponse.Status -func (r UpdateRuleResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r UpdateRuleResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type PerformRulesBulkActionResponse struct { Body []byte HTTPResponse *http.Response @@ -132604,6 +132529,116 @@ func (r UpdateDataViewDefaultResponse) StatusCode() int { return 0 } +type DeleteRuleResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityDetectionsAPIRuleResponse +} + +// Status returns HTTPResponse.Status +func (r DeleteRuleResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteRuleResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ReadRuleResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityDetectionsAPIRuleResponse +} + +// Status returns HTTPResponse.Status +func (r ReadRuleResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ReadRuleResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PatchRuleResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityDetectionsAPIRuleResponse +} + +// Status returns HTTPResponse.Status +func (r PatchRuleResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PatchRuleResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CreateRuleResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityDetectionsAPIRuleResponse +} + +// Status returns HTTPResponse.Status +func (r CreateRuleResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CreateRuleResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UpdateRuleResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityDetectionsAPIRuleResponse +} + +// Status returns HTTPResponse.Status +func (r UpdateRuleResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UpdateRuleResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PostMaintenanceWindowResponse struct { Body []byte HTTPResponse *http.Response @@ -134477,75 +134512,6 @@ func (c *ClientWithResponses) ReadPrivilegesWithResponse(ctx context.Context, re return ParseReadPrivilegesResponse(rsp) } -// DeleteRuleWithResponse request returning *DeleteRuleResponse -func (c *ClientWithResponses) DeleteRuleWithResponse(ctx context.Context, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error) { - rsp, err := c.DeleteRule(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteRuleResponse(rsp) -} - -// ReadRuleWithResponse request returning *ReadRuleResponse -func (c *ClientWithResponses) ReadRuleWithResponse(ctx context.Context, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*ReadRuleResponse, error) { - rsp, err := c.ReadRule(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseReadRuleResponse(rsp) -} - -// PatchRuleWithBodyWithResponse request with arbitrary body returning *PatchRuleResponse -func (c *ClientWithResponses) PatchRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) { - rsp, err := c.PatchRuleWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePatchRuleResponse(rsp) -} - -func (c *ClientWithResponses) PatchRuleWithResponse(ctx context.Context, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) { - rsp, err := c.PatchRule(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePatchRuleResponse(rsp) -} - -// CreateRuleWithBodyWithResponse request with arbitrary body returning *CreateRuleResponse -func (c *ClientWithResponses) CreateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) { - rsp, err := c.CreateRuleWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseCreateRuleResponse(rsp) -} - -func (c *ClientWithResponses) CreateRuleWithResponse(ctx context.Context, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) { - rsp, err := c.CreateRule(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseCreateRuleResponse(rsp) -} - -// UpdateRuleWithBodyWithResponse request with arbitrary body returning *UpdateRuleResponse -func (c *ClientWithResponses) UpdateRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) { - rsp, err := c.UpdateRuleWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpdateRuleResponse(rsp) -} - -func (c *ClientWithResponses) UpdateRuleWithResponse(ctx context.Context, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) { - rsp, err := c.UpdateRule(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseUpdateRuleResponse(rsp) -} - // PerformRulesBulkActionWithBodyWithResponse request with arbitrary body returning *PerformRulesBulkActionResponse func (c *ClientWithResponses) PerformRulesBulkActionWithBodyWithResponse(ctx context.Context, params *PerformRulesBulkActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PerformRulesBulkActionResponse, error) { rsp, err := c.PerformRulesBulkActionWithBody(ctx, params, contentType, body, reqEditors...) @@ -139570,6 +139536,75 @@ func (c *ClientWithResponses) UpdateDataViewDefaultWithResponse(ctx context.Cont return ParseUpdateDataViewDefaultResponse(rsp) } +// DeleteRuleWithResponse request returning *DeleteRuleResponse +func (c *ClientWithResponses) DeleteRuleWithResponse(ctx context.Context, spaceId SpaceId, params *DeleteRuleParams, reqEditors ...RequestEditorFn) (*DeleteRuleResponse, error) { + rsp, err := c.DeleteRule(ctx, spaceId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteRuleResponse(rsp) +} + +// ReadRuleWithResponse request returning *ReadRuleResponse +func (c *ClientWithResponses) ReadRuleWithResponse(ctx context.Context, spaceId SpaceId, params *ReadRuleParams, reqEditors ...RequestEditorFn) (*ReadRuleResponse, error) { + rsp, err := c.ReadRule(ctx, spaceId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseReadRuleResponse(rsp) +} + +// PatchRuleWithBodyWithResponse request with arbitrary body returning *PatchRuleResponse +func (c *ClientWithResponses) PatchRuleWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) { + rsp, err := c.PatchRuleWithBody(ctx, spaceId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePatchRuleResponse(rsp) +} + +func (c *ClientWithResponses) PatchRuleWithResponse(ctx context.Context, spaceId SpaceId, body PatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchRuleResponse, error) { + rsp, err := c.PatchRule(ctx, spaceId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePatchRuleResponse(rsp) +} + +// CreateRuleWithBodyWithResponse request with arbitrary body returning *CreateRuleResponse +func (c *ClientWithResponses) CreateRuleWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) { + rsp, err := c.CreateRuleWithBody(ctx, spaceId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCreateRuleResponse(rsp) +} + +func (c *ClientWithResponses) CreateRuleWithResponse(ctx context.Context, spaceId SpaceId, body CreateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRuleResponse, error) { + rsp, err := c.CreateRule(ctx, spaceId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCreateRuleResponse(rsp) +} + +// UpdateRuleWithBodyWithResponse request with arbitrary body returning *UpdateRuleResponse +func (c *ClientWithResponses) UpdateRuleWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) { + rsp, err := c.UpdateRuleWithBody(ctx, spaceId, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpdateRuleResponse(rsp) +} + +func (c *ClientWithResponses) UpdateRuleWithResponse(ctx context.Context, spaceId SpaceId, body UpdateRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRuleResponse, error) { + rsp, err := c.UpdateRule(ctx, spaceId, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUpdateRuleResponse(rsp) +} + // PostMaintenanceWindowWithBodyWithResponse request with arbitrary body returning *PostMaintenanceWindowResponse func (c *ClientWithResponses) PostMaintenanceWindowWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMaintenanceWindowResponse, error) { rsp, err := c.PostMaintenanceWindowWithBody(ctx, spaceId, contentType, body, reqEditors...) @@ -144846,136 +144881,6 @@ func ParseReadPrivilegesResponse(rsp *http.Response) (*ReadPrivilegesResponse, e return response, nil } -// ParseDeleteRuleResponse parses an HTTP response from a DeleteRuleWithResponse call -func ParseDeleteRuleResponse(rsp *http.Response) (*DeleteRuleResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteRuleResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityDetectionsAPIRuleResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - -// ParseReadRuleResponse parses an HTTP response from a ReadRuleWithResponse call -func ParseReadRuleResponse(rsp *http.Response) (*ReadRuleResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ReadRuleResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityDetectionsAPIRuleResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - -// ParsePatchRuleResponse parses an HTTP response from a PatchRuleWithResponse call -func ParsePatchRuleResponse(rsp *http.Response) (*PatchRuleResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PatchRuleResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityDetectionsAPIRuleResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - -// ParseCreateRuleResponse parses an HTTP response from a CreateRuleWithResponse call -func ParseCreateRuleResponse(rsp *http.Response) (*CreateRuleResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &CreateRuleResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityDetectionsAPIRuleResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - -// ParseUpdateRuleResponse parses an HTTP response from a UpdateRuleWithResponse call -func ParseUpdateRuleResponse(rsp *http.Response) (*UpdateRuleResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &UpdateRuleResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest SecurityDetectionsAPIRuleResponse - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - } - - return response, nil -} - // ParsePerformRulesBulkActionResponse parses an HTTP response from a PerformRulesBulkActionWithResponse call func ParsePerformRulesBulkActionResponse(rsp *http.Response) (*PerformRulesBulkActionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -160634,6 +160539,136 @@ func ParseUpdateDataViewDefaultResponse(rsp *http.Response) (*UpdateDataViewDefa return response, nil } +// ParseDeleteRuleResponse parses an HTTP response from a DeleteRuleWithResponse call +func ParseDeleteRuleResponse(rsp *http.Response) (*DeleteRuleResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteRuleResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityDetectionsAPIRuleResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseReadRuleResponse parses an HTTP response from a ReadRuleWithResponse call +func ParseReadRuleResponse(rsp *http.Response) (*ReadRuleResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ReadRuleResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityDetectionsAPIRuleResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParsePatchRuleResponse parses an HTTP response from a PatchRuleWithResponse call +func ParsePatchRuleResponse(rsp *http.Response) (*PatchRuleResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PatchRuleResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityDetectionsAPIRuleResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCreateRuleResponse parses an HTTP response from a CreateRuleWithResponse call +func ParseCreateRuleResponse(rsp *http.Response) (*CreateRuleResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CreateRuleResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityDetectionsAPIRuleResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUpdateRuleResponse parses an HTTP response from a UpdateRuleWithResponse call +func ParseUpdateRuleResponse(rsp *http.Response) (*UpdateRuleResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UpdateRuleResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityDetectionsAPIRuleResponse + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + // ParsePostMaintenanceWindowResponse parses an HTTP response from a PostMaintenanceWindowWithResponse call func ParsePostMaintenanceWindowResponse(rsp *http.Response) (*PostMaintenanceWindowResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) From 605e05d670ed81d4cdfb4bd1e1a180c72950acf7 Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 13:47:34 -0700 Subject: [PATCH 5/9] Use space specific requests --- internal/kibana/security_detection_rule/acc_test.go | 2 +- internal/kibana/security_detection_rule/create.go | 2 +- internal/kibana/security_detection_rule/delete.go | 2 +- internal/kibana/security_detection_rule/read.go | 2 +- internal/kibana/security_detection_rule/update.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/kibana/security_detection_rule/acc_test.go b/internal/kibana/security_detection_rule/acc_test.go index 546fb8726..9b749043d 100644 --- a/internal/kibana/security_detection_rule/acc_test.go +++ b/internal/kibana/security_detection_rule/acc_test.go @@ -1367,7 +1367,7 @@ func testAccCheckSecurityDetectionRuleDestroy(s *terraform.State) error { Id: &ruleObjectId, } - response, err := kbClient.API.ReadRuleWithResponse(context.Background(), params) + response, err := kbClient.API.ReadRuleWithResponse(context.Background(), parts[0], params) if err != nil { return fmt.Errorf("failed to read security detection rule: %v", err) } diff --git a/internal/kibana/security_detection_rule/create.go b/internal/kibana/security_detection_rule/create.go index 7a0e0e6ee..fd86f43ab 100644 --- a/internal/kibana/security_detection_rule/create.go +++ b/internal/kibana/security_detection_rule/create.go @@ -35,7 +35,7 @@ func (r *securityDetectionRuleResource) Create(ctx context.Context, req resource } // Create the rule - response, err := kbClient.API.CreateRuleWithResponse(ctx, createProps) + response, err := kbClient.API.CreateRuleWithResponse(ctx, data.SpaceId.ValueString(), createProps) if err != nil { resp.Diagnostics.AddError( "Error creating security detection rule", diff --git a/internal/kibana/security_detection_rule/delete.go b/internal/kibana/security_detection_rule/delete.go index d2e1a48bb..2143a0676 100644 --- a/internal/kibana/security_detection_rule/delete.go +++ b/internal/kibana/security_detection_rule/delete.go @@ -46,7 +46,7 @@ func (r *securityDetectionRuleResource) Delete(ctx context.Context, req resource Id: &ruleObjectId, } - response, err := kbClient.API.DeleteRuleWithResponse(ctx, params) + response, err := kbClient.API.DeleteRuleWithResponse(ctx, data.SpaceId.ValueString(), params) if err != nil { resp.Diagnostics.AddError( "Error deleting security detection rule", diff --git a/internal/kibana/security_detection_rule/read.go b/internal/kibana/security_detection_rule/read.go index e0b86bd1b..5894dc7e7 100644 --- a/internal/kibana/security_detection_rule/read.go +++ b/internal/kibana/security_detection_rule/read.go @@ -74,7 +74,7 @@ func (r *securityDetectionRuleResource) read(ctx context.Context, resourceId, sp Id: &ruleObjectId, } - response, err := kbClient.API.ReadRuleWithResponse(ctx, params) + response, err := kbClient.API.ReadRuleWithResponse(ctx, spaceId, params) if err != nil { diags.AddError( "Error reading security detection rule", diff --git a/internal/kibana/security_detection_rule/update.go b/internal/kibana/security_detection_rule/update.go index 50ea9feb4..3fa005e26 100644 --- a/internal/kibana/security_detection_rule/update.go +++ b/internal/kibana/security_detection_rule/update.go @@ -35,7 +35,7 @@ func (r *securityDetectionRuleResource) Update(ctx context.Context, req resource } // Update the rule - response, err := kbClient.API.UpdateRuleWithResponse(ctx, updateProps) + response, err := kbClient.API.UpdateRuleWithResponse(ctx, data.SpaceId.ValueString(), updateProps) if err != nil { resp.Diagnostics.AddError( "Error updating security detection rule", From 1f1ba2fd182d387bcbac89870748d9d7a959fc79 Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 16:22:30 -0700 Subject: [PATCH 6/9] Add a test for the non-default space --- .../security_detection_rule/acc_test.go | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) diff --git a/internal/kibana/security_detection_rule/acc_test.go b/internal/kibana/security_detection_rule/acc_test.go index 9b749043d..935ca2463 100644 --- a/internal/kibana/security_detection_rule/acc_test.go +++ b/internal/kibana/security_detection_rule/acc_test.go @@ -3694,6 +3694,107 @@ resource "elasticstack_kibana_security_detection_rule" "test" { `, name) } +func TestAccResourceSecurityDetectionRule_QueryMinimalWithSpace(t *testing.T) { + resourceName := "elasticstack_kibana_security_detection_rule.test" + spaceResourceName := "elasticstack_kibana_space.test" + spaceID := fmt.Sprintf("test-space-%s", uuid.New().String()[:8]) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProtoV6ProviderFactories: acctest.Providers, + CheckDestroy: testAccCheckSecurityDetectionRuleDestroy, + Steps: []resource.TestStep{ + { + SkipFunc: versionutils.CheckIfVersionIsUnsupported(minVersionSupport), + Config: testAccSecurityDetectionRuleConfig_queryMinimalWithSpace("test-query-rule-with-space", spaceID), + Check: resource.ComposeTestCheckFunc( + // Check space attributes + resource.TestCheckResourceAttr(spaceResourceName, "space_id", spaceID), + resource.TestCheckResourceAttr(spaceResourceName, "name", "Test Space for Detection Rules"), + + // Check detection rule attributes + resource.TestCheckResourceAttr(resourceName, "name", "test-query-rule-with-space"), + resource.TestCheckResourceAttr(resourceName, "type", "query"), + resource.TestCheckResourceAttr(resourceName, "query", "*:*"), + resource.TestCheckResourceAttr(resourceName, "language", "kuery"), + resource.TestCheckResourceAttr(resourceName, "enabled", "true"), + resource.TestCheckResourceAttr(resourceName, "description", "Minimal test query security detection rule in custom space"), + resource.TestCheckResourceAttr(resourceName, "severity", "low"), + resource.TestCheckResourceAttr(resourceName, "risk_score", "21"), + resource.TestCheckResourceAttr(resourceName, "index.0", "logs-*"), + resource.TestCheckResourceAttr(resourceName, "space_id", spaceID), + + // Verify required fields are set + resource.TestCheckResourceAttrSet(resourceName, "id"), + resource.TestCheckResourceAttrSet(resourceName, "rule_id"), + resource.TestCheckResourceAttrSet(resourceName, "created_at"), + resource.TestCheckResourceAttrSet(resourceName, "created_by"), + + // Verify optional fields are not set + resource.TestCheckNoResourceAttr(resourceName, "data_view_id"), + resource.TestCheckNoResourceAttr(resourceName, "namespace"), + resource.TestCheckNoResourceAttr(resourceName, "rule_name_override"), + resource.TestCheckNoResourceAttr(resourceName, "timestamp_override"), + resource.TestCheckNoResourceAttr(resourceName, "timestamp_override_fallback_disabled"), + resource.TestCheckNoResourceAttr(resourceName, "filters"), + resource.TestCheckNoResourceAttr(resourceName, "investigation_fields"), + resource.TestCheckNoResourceAttr(resourceName, "risk_score_mapping"), + resource.TestCheckNoResourceAttr(resourceName, "related_integrations"), + resource.TestCheckNoResourceAttr(resourceName, "required_fields"), + resource.TestCheckNoResourceAttr(resourceName, "severity_mapping"), + resource.TestCheckNoResourceAttr(resourceName, "response_actions"), + resource.TestCheckNoResourceAttr(resourceName, "alert_suppression"), + resource.TestCheckNoResourceAttr(resourceName, "building_block_type"), + ), + }, + { + SkipFunc: versionutils.CheckIfVersionIsUnsupported(minVersionSupport), + Config: testAccSecurityDetectionRuleConfig_queryMinimalWithSpaceUpdate("test-query-rule-with-space-updated", spaceID), + Check: resource.ComposeTestCheckFunc( + // Check space attributes remain the same + resource.TestCheckResourceAttr(spaceResourceName, "space_id", spaceID), + resource.TestCheckResourceAttr(spaceResourceName, "name", "Test Space for Detection Rules"), + + // Check updated detection rule attributes + resource.TestCheckResourceAttr(resourceName, "name", "test-query-rule-with-space-updated"), + resource.TestCheckResourceAttr(resourceName, "type", "query"), + resource.TestCheckResourceAttr(resourceName, "query", "event.category:authentication"), + resource.TestCheckResourceAttr(resourceName, "language", "kuery"), + resource.TestCheckResourceAttr(resourceName, "enabled", "false"), + resource.TestCheckResourceAttr(resourceName, "description", "Updated minimal test query security detection rule in custom space"), + resource.TestCheckResourceAttr(resourceName, "severity", "medium"), + resource.TestCheckResourceAttr(resourceName, "risk_score", "55"), + resource.TestCheckResourceAttr(resourceName, "index.0", "logs-*"), + resource.TestCheckResourceAttr(resourceName, "index.1", "winlogbeat-*"), + resource.TestCheckResourceAttr(resourceName, "space_id", spaceID), + + // Verify required fields are still set + resource.TestCheckResourceAttrSet(resourceName, "id"), + resource.TestCheckResourceAttrSet(resourceName, "rule_id"), + resource.TestCheckResourceAttrSet(resourceName, "created_at"), + resource.TestCheckResourceAttrSet(resourceName, "created_by"), + + // Verify optional fields are still not set + resource.TestCheckNoResourceAttr(resourceName, "data_view_id"), + resource.TestCheckNoResourceAttr(resourceName, "namespace"), + resource.TestCheckNoResourceAttr(resourceName, "rule_name_override"), + resource.TestCheckNoResourceAttr(resourceName, "timestamp_override"), + resource.TestCheckNoResourceAttr(resourceName, "timestamp_override_fallback_disabled"), + resource.TestCheckNoResourceAttr(resourceName, "filters"), + resource.TestCheckNoResourceAttr(resourceName, "investigation_fields"), + resource.TestCheckNoResourceAttr(resourceName, "risk_score_mapping"), + resource.TestCheckNoResourceAttr(resourceName, "related_integrations"), + resource.TestCheckNoResourceAttr(resourceName, "required_fields"), + resource.TestCheckNoResourceAttr(resourceName, "severity_mapping"), + resource.TestCheckNoResourceAttr(resourceName, "response_actions"), + resource.TestCheckNoResourceAttr(resourceName, "alert_suppression"), + resource.TestCheckNoResourceAttr(resourceName, "building_block_type"), + ), + }, + }, + }) +} + func TestAccResourceSecurityDetectionRule_EQLMinimal(t *testing.T) { resourceName := "elasticstack_kibana_security_detection_rule.test" @@ -4625,6 +4726,66 @@ func TestAccResourceSecurityDetectionRule_QueryWithMitreThreat(t *testing.T) { }) } +func testAccSecurityDetectionRuleConfig_queryMinimalWithSpace(name, spaceID string) string { + return fmt.Sprintf(` +provider "elasticstack" { + kibana {} +} + +resource "elasticstack_kibana_space" "test" { + space_id = "%s" + name = "Test Space for Detection Rules" + description = "Space for testing detection rules" +} + +resource "elasticstack_kibana_security_detection_rule" "test" { + space_id = elasticstack_kibana_space.test.space_id + name = "%s" + type = "query" + query = "*:*" + language = "kuery" + enabled = true + description = "Minimal test query security detection rule in custom space" + severity = "low" + risk_score = 21 + from = "now-6m" + to = "now" + interval = "5m" + index = ["logs-*"] +} +`, spaceID, name) +} + +func testAccSecurityDetectionRuleConfig_queryMinimalWithSpaceUpdate(name, spaceID string) string { + return fmt.Sprintf(` +provider "elasticstack" { + kibana {} +} + +resource "elasticstack_kibana_space" "test" { + space_id = "%s" + name = "Test Space for Detection Rules" + description = "Space for testing detection rules" +} + +resource "elasticstack_kibana_security_detection_rule" "test" { + space_id = elasticstack_kibana_space.test.space_id + name = "%s" + type = "query" + query = "event.category:authentication" + language = "kuery" + enabled = false + description = "Updated minimal test query security detection rule in custom space" + severity = "medium" + risk_score = 55 + from = "now-12m" + to = "now" + interval = "10m" + index = ["logs-*", "winlogbeat-*"] +} +`, spaceID, name) +} + func testAccSecurityDetectionRuleConfig_queryWithMitreThreat(name string) string { return fmt.Sprintf(` provider "elasticstack" { From 79312971298ec01626281f02e4fffcd031042d7f Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 16:28:18 -0700 Subject: [PATCH 7/9] Add import tests --- internal/kibana/security_detection_rule/acc_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/internal/kibana/security_detection_rule/acc_test.go b/internal/kibana/security_detection_rule/acc_test.go index 935ca2463..2e8515e35 100644 --- a/internal/kibana/security_detection_rule/acc_test.go +++ b/internal/kibana/security_detection_rule/acc_test.go @@ -243,6 +243,12 @@ func TestAccResourceSecurityDetectionRule_Query(t *testing.T) { resource.TestCheckNoResourceAttr(resourceName, "filters"), ), }, + { + SkipFunc: versionutils.CheckIfVersionIsUnsupported(minResponseActionVersionSupport), + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, }, }) } @@ -3791,6 +3797,12 @@ func TestAccResourceSecurityDetectionRule_QueryMinimalWithSpace(t *testing.T) { resource.TestCheckNoResourceAttr(resourceName, "building_block_type"), ), }, + { + SkipFunc: versionutils.CheckIfVersionIsUnsupported(minVersionSupport), + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, }, }) } From 0567a3cb2d82a12a8498e77b4eab939568146687 Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 16:41:53 -0700 Subject: [PATCH 8/9] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60d5e6ee8..23ef69e66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Add new `elasticstack_elasticsearch_ml_datafeed_state` resource ([#1422](https://github.com/elastic/terraform-provider-elasticstack/pull/1422)) - Add `output_id` to `elasticstack_fleet_integration_policy` resource ([#1445](https://github.com/elastic/terraform-provider-elasticstack/pull/1445)) - Make `hosts` attribute required in `elasticstack_fleet_output` resource ([#1450](https://github.com/elastic/terraform-provider-elasticstack/pull/1450/files)) +- Fix `elasticstack_kibana_security_detection_rule` to properly respect `space_id` ## [0.12.1] - 2025-10-22 - Fix regression restricting the characters in an `elasticstack_elasticsearch_role_mapping` `name`. ([#1373](https://github.com/elastic/terraform-provider-elasticstack/pull/1373)) From 582177b5da14d6dbeb614f9bf3258631b0ba4221 Mon Sep 17 00:00:00 2001 From: Nick Benoit Date: Tue, 18 Nov 2025 22:20:58 -0700 Subject: [PATCH 9/9] Regenerate client --- generated/kbapi/kibana.gen.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generated/kbapi/kibana.gen.go b/generated/kbapi/kibana.gen.go index 57dd6b0b3..8130408f2 100644 --- a/generated/kbapi/kibana.gen.go +++ b/generated/kbapi/kibana.gen.go @@ -59445,7 +59445,7 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) AsSLO // FromSLOsTimesliceMetricBasicMetricWithField overwrites any union data inside the SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item as the provided SLOsTimesliceMetricBasicMetricWithField func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) FromSLOsTimesliceMetricBasicMetricWithField(v SLOsTimesliceMetricBasicMetricWithField) error { - v.Aggregation = "avg" + v.Aggregation = "last_value" b, err := json.Marshal(v) t.union = b return err @@ -59453,7 +59453,7 @@ func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) From // MergeSLOsTimesliceMetricBasicMetricWithField performs a merge with any union data inside the SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item, using the provided SLOsTimesliceMetricBasicMetricWithField func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) MergeSLOsTimesliceMetricBasicMetricWithField(v SLOsTimesliceMetricBasicMetricWithField) error { - v.Aggregation = "avg" + v.Aggregation = "last_value" b, err := json.Marshal(v) if err != nil { return err @@ -59534,10 +59534,10 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) Value return nil, err } switch discriminator { - case "avg": - return t.AsSLOsTimesliceMetricBasicMetricWithField() case "doc_count": return t.AsSLOsTimesliceMetricDocCountMetric() + case "last_value": + return t.AsSLOsTimesliceMetricBasicMetricWithField() case "percentile": return t.AsSLOsTimesliceMetricPercentileMetric() default: