diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 68b97948a..c4ff0782d 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -23,7 +23,7 @@ jobs: contents: read steps: - - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: go-version-file: 'go.mod' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f9759b5b1..e174a2276 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: go-version-file: 'go.mod' @@ -34,7 +34,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: go-version-file: 'go.mod' @@ -139,7 +139,7 @@ jobs: - version: '8.4.3' runner: ubuntu-22.04 steps: - - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: go-version-file: 'go.mod' diff --git a/generated/kbapi/kibana.gen.go b/generated/kbapi/kibana.gen.go index 8130408f2..4f49cb0d8 100644 --- a/generated/kbapi/kibana.gen.go +++ b/generated/kbapi/kibana.gen.go @@ -3613,21 +3613,26 @@ const ( // Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps09ActionConvert PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action = "convert" + PutStreamsNameJSONBody00StreamIngestProcessingSteps09ActionReplace PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action = "replace" ) -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type. +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeBoolean PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "boolean" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeDouble PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "double" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeInteger PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "integer" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeLong PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "long" - PutStreamsNameJSONBody00StreamIngestProcessingSteps09TypeString PutStreamsNameJSONBody00StreamIngestProcessingSteps09Type = "string" + PutStreamsNameJSONBody00StreamIngestProcessingSteps010ActionConvert PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action = "convert" ) -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action. +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type. +const ( + PutStreamsNameJSONBody00StreamIngestProcessingSteps010TypeBoolean PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type = "boolean" + PutStreamsNameJSONBody00StreamIngestProcessingSteps010TypeDouble PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type = "double" + PutStreamsNameJSONBody00StreamIngestProcessingSteps010TypeInteger PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type = "integer" + PutStreamsNameJSONBody00StreamIngestProcessingSteps010TypeLong PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type = "long" + PutStreamsNameJSONBody00StreamIngestProcessingSteps010TypeString PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type = "string" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps011Action. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps010ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action = "manual_ingest_pipeline" + PutStreamsNameJSONBody00StreamIngestProcessingSteps011ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps011Action = "manual_ingest_pipeline" ) // Defines values for PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1. @@ -3682,21 +3687,26 @@ const ( // Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps09ActionConvert PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action = "convert" + PutStreamsNameJSONBody01StreamIngestProcessingSteps09ActionReplace PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action = "replace" ) -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type. +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeBoolean PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "boolean" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeDouble PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "double" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeInteger PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "integer" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeLong PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "long" - PutStreamsNameJSONBody01StreamIngestProcessingSteps09TypeString PutStreamsNameJSONBody01StreamIngestProcessingSteps09Type = "string" + PutStreamsNameJSONBody01StreamIngestProcessingSteps010ActionConvert PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action = "convert" ) -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action. +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps010ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action = "manual_ingest_pipeline" + PutStreamsNameJSONBody01StreamIngestProcessingSteps010TypeBoolean PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type = "boolean" + PutStreamsNameJSONBody01StreamIngestProcessingSteps010TypeDouble PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type = "double" + PutStreamsNameJSONBody01StreamIngestProcessingSteps010TypeInteger PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type = "integer" + PutStreamsNameJSONBody01StreamIngestProcessingSteps010TypeLong PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type = "long" + PutStreamsNameJSONBody01StreamIngestProcessingSteps010TypeString PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type = "string" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps011Action. +const ( + PutStreamsNameJSONBody01StreamIngestProcessingSteps011ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps011Action = "manual_ingest_pipeline" ) // Defines values for PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1. @@ -3757,21 +3767,26 @@ const ( // Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09ActionConvert PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action = "convert" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09ActionReplace PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action = "replace" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type. +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeBoolean PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "boolean" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeDouble PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "double" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeInteger PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "integer" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeLong PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "long" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09TypeString PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Type = "string" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010ActionConvert PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action = "convert" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type. +const ( + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010TypeBoolean PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type = "boolean" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010TypeDouble PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type = "double" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010TypeInteger PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type = "integer" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010TypeLong PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type = "long" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010TypeString PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type = "string" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Action. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action = "manual_ingest_pipeline" + PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Action = "manual_ingest_pipeline" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. @@ -3832,21 +3847,26 @@ const ( // Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09ActionConvert PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action = "convert" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09ActionReplace PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action = "replace" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type. +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeBoolean PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "boolean" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeDouble PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "double" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeInteger PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "integer" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeLong PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "long" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09TypeString PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Type = "string" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010ActionConvert PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action = "convert" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action = "manual_ingest_pipeline" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010TypeBoolean PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type = "boolean" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010TypeDouble PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type = "double" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010TypeInteger PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type = "integer" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010TypeLong PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type = "long" + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010TypeString PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type = "string" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Action. +const ( + PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Action = "manual_ingest_pipeline" ) // Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. @@ -7997,6 +8017,30 @@ type SecurityAIAssistantAPIKnowledgeBaseEntryUpdateRouteProps struct { union json.RawMessage } +// SecurityAIAssistantAPIKnowledgeBaseReadResponse200 defines model for Security_AI_Assistant_API_KnowledgeBaseReadResponse200. +type SecurityAIAssistantAPIKnowledgeBaseReadResponse200 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"` + + // IsSetupAvailable Indicates if the setup process is available for the KnowledgeBase. + IsSetupAvailable *bool `json:"is_setup_available,omitempty"` + + // IsSetupInProgress Indicates if the setup process is currently in progress. + IsSetupInProgress *bool `json:"is_setup_in_progress,omitempty"` + + // ProductDocumentationStatus The status of the product documentation in the KnowledgeBase. + ProductDocumentationStatus *string `json:"product_documentation_status,omitempty"` + + // SecurityLabsExists Indicates if Security Labs documentation exists in the KnowledgeBase. + SecurityLabsExists *bool `json:"security_labs_exists,omitempty"` + + // UserDataExists Indicates if user data exists in the KnowledgeBase. + UserDataExists *bool `json:"user_data_exists,omitempty"` +} + // SecurityAIAssistantAPIKnowledgeBaseResource Knowledge Base resource name for grouping entries, e.g. 'security_labs', 'user', etc. type SecurityAIAssistantAPIKnowledgeBaseResource string @@ -8006,6 +8050,18 @@ type SecurityAIAssistantAPIKnowledgeBaseResponse struct { Success *bool `json:"success,omitempty"` } +// SecurityAIAssistantAPIKnowledgeBaseResponse400 defines model for Security_AI_Assistant_API_KnowledgeBaseResponse400. +type SecurityAIAssistantAPIKnowledgeBaseResponse400 struct { + // Error A short description of the error. + Error *string `json:"error,omitempty"` + + // Message A detailed error message. + Message *string `json:"message,omitempty"` + + // StatusCode The HTTP status code of the error. + StatusCode *float32 `json:"statusCode,omitempty"` +} + // SecurityAIAssistantAPIMessage AI assistant conversation message. type SecurityAIAssistantAPIMessage struct { // Content Message content. @@ -21746,7 +21802,7 @@ type AgentPolicy struct { InactivityTimeout *float32 `json:"inactivity_timeout,omitempty"` IsDefault *bool `json:"is_default,omitempty"` IsDefaultFleetServer *bool `json:"is_default_fleet_server,omitempty"` - IsManaged bool `json:"is_managed"` + IsManaged *bool `json:"is_managed,omitempty"` IsPreconfigured *bool `json:"is_preconfigured,omitempty"` // IsProtected Indicates whether the agent policy has tamper protection enabled. Default false. @@ -24128,7 +24184,7 @@ type ParamsIndexThresholdRule struct { TimeWindowUnit Timewindowunit `json:"timeWindowUnit"` } -// ParamsPropertyApmAnomaly defines model for params_property_apm_anomaly. +// ParamsPropertyApmAnomaly The parameters for the APM anomaly rule. These parameters are appropriate when `rule_type_id` is `apm.rules.anomaly`. type ParamsPropertyApmAnomaly struct { // AnomalySeverityType The severity of anomalies that will generate alerts: critical, major, minor, or warning. AnomalySeverityType ParamsPropertyApmAnomalyAnomalySeverityType `json:"anomalySeverityType"` @@ -24155,7 +24211,7 @@ type ParamsPropertyApmAnomalyAnomalySeverityType string // ParamsPropertyApmAnomalyWindowUnit The type of units for the time window. For example: minutes, hours, or days. type ParamsPropertyApmAnomalyWindowUnit string -// ParamsPropertyApmErrorCount defines model for params_property_apm_error_count. +// ParamsPropertyApmErrorCount The parameters for the APM error count rule. These parameters are appropriate when `rule_type_id` is `apm.error_rate`. type ParamsPropertyApmErrorCount struct { // Environment Filter the errors coming from your application to apply the rule to a specific environment. Environment string `json:"environment"` @@ -24185,7 +24241,7 @@ type ParamsPropertyApmErrorCountGroupBy string // ParamsPropertyApmErrorCountWindowUnit The type of units for the time window: minutes, hours, or days. type ParamsPropertyApmErrorCountWindowUnit string -// ParamsPropertyApmTransactionDuration defines model for params_property_apm_transaction_duration. +// ParamsPropertyApmTransactionDuration The parameters for the APM transaction duration rule. These parameters are appropriate when `rule_type_id` is `apm.transaction_duration`. type ParamsPropertyApmTransactionDuration struct { // AggregationType The type of aggregation to perform. AggregationType ParamsPropertyApmTransactionDurationAggregationType `json:"aggregationType"` @@ -24224,7 +24280,7 @@ type ParamsPropertyApmTransactionDurationGroupBy string // ParamsPropertyApmTransactionDurationWindowUnit The type of units for the time window. For example: minutes, hours, or days. type ParamsPropertyApmTransactionDurationWindowUnit string -// ParamsPropertyApmTransactionErrorRate defines model for params_property_apm_transaction_error_rate. +// ParamsPropertyApmTransactionErrorRate The parameters for the APM transaction error rate rule. These parameters are appropriate when `rule_type_id` is `apm.transaction_error_rate`. type ParamsPropertyApmTransactionErrorRate struct { // Environment The environment from APM Environment string `json:"environment"` @@ -24545,7 +24601,7 @@ type ParamsPropertyLogThreshold1LogViewType string // ParamsPropertyLogThreshold1TimeUnit defines model for ParamsPropertyLogThreshold.1.TimeUnit. type ParamsPropertyLogThreshold1TimeUnit string -// ParamsPropertySloBurnRate defines model for params_property_slo_burn_rate. +// ParamsPropertySloBurnRate The parameters for the SLO burn rate rule. These parameters are appropriate when `rule_type_id` is `slo.rules.burnRate`. type ParamsPropertySloBurnRate struct { // BurnRateThreshold The burn rate threshold used to trigger the alert BurnRateThreshold *float32 `json:"burnRateThreshold,omitempty"` @@ -28913,8 +28969,20 @@ type InitEntityStoreJSONBody struct { TimestampField *string `json:"timestampField,omitempty"` } +// DeleteEntityEnginesParams defines parameters for DeleteEntityEngines. +type DeleteEntityEnginesParams struct { + // EntityTypes The entity type of the engine ('user', 'host', 'service', 'generic'). + EntityTypes *[]SecurityEntityAnalyticsAPIEntityType `form:"entityTypes,omitempty" json:"entityTypes,omitempty"` + + // DeleteData Control flag to also delete the entity data. + DeleteData *bool `form:"delete_data,omitempty" json:"delete_data,omitempty"` +} + // DeleteEntityEngineParams defines parameters for DeleteEntityEngine. type DeleteEntityEngineParams struct { + // DeleteData Control flag to also delete the entity data. + DeleteData *bool `form:"delete_data,omitempty" json:"delete_data,omitempty"` + // Data Control flag to also delete the entity data. Data *bool `form:"data,omitempty" json:"data,omitempty"` } @@ -31736,6 +31804,15 @@ type FindConversationsParams struct { IsOwner *bool `form:"is_owner,omitempty" json:"is_owner,omitempty"` } +// PostKnowledgeBaseParams defines parameters for PostKnowledgeBase. +type PostKnowledgeBaseParams struct { + // ModelId ELSER modelId to use when setting up the Knowledge Base. If not provided, a default model will be used. + ModelId *string `form:"modelId,omitempty" json:"modelId,omitempty"` + + // IgnoreSecurityLabs Indicates whether we should or should not install Security Labs docs when setting up the Knowledge Base. Defaults to `false`. + IgnoreSecurityLabs *bool `form:"ignoreSecurityLabs,omitempty" json:"ignoreSecurityLabs,omitempty"` +} + // PerformKnowledgeBaseEntryBulkActionJSONBody defines parameters for PerformKnowledgeBaseEntryBulkAction. type PerformKnowledgeBaseEntryBulkActionJSONBody struct { // Create List of Knowledge Base Entries to create. @@ -34501,17 +34578,15 @@ type PutStreamsNameJSONBody00StreamIngestProcessingSteps09 struct { From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Pattern string `json:"pattern"` + Replacement string `json:"replacement"` 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 @@ -34757,65 +34832,23 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where struct // 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"` + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action `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 PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type `json:"type"` + Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Action string +// PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Type string + // PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where0 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps010Where0 struct { union json.RawMessage @@ -35059,6 +35092,310 @@ type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_10_Where struct union json.RawMessage } +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011 struct { + Action PutStreamsNameJSONBody00StreamIngestProcessingSteps011Action `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_11_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Action string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00 struct { + Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Contains0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Contains1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00EndsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Eq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Eq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Neq0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Neq1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLt0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLte0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00StartsWith0 = string + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestProcessingSteps011Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_11_Where struct { + union json.RawMessage +} + // PutStreamsNameJSONBody00StreamIngestProcessingSteps1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody00StreamIngestProcessingSteps1 struct { CustomIdentifier *string `json:"customIdentifier,omitempty"` @@ -37479,17 +37816,15 @@ type PutStreamsNameJSONBody01StreamIngestProcessingSteps09 struct { From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Pattern string `json:"pattern"` + Replacement string `json:"replacement"` 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 @@ -37735,65 +38070,23 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where struct // 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"` + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action `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 PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type `json:"type"` + Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where `json:"where,omitempty"` } // PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Action string +// PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Type string + // PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where0 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps010Where0 struct { union json.RawMessage @@ -38037,6 +38330,310 @@ type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_10_Where struct union json.RawMessage } +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011 struct { + Action PutStreamsNameJSONBody01StreamIngestProcessingSteps011Action `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_11_Where `json:"where,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Action defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Action string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00 struct { + Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Contains0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Contains0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Contains1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Contains1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Contains2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Contains2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Contains defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00EndsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00EndsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00EndsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00EndsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00EndsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00EndsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_EndsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Eq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Eq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Eq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Eq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Eq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Eq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Eq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Gte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Lte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Neq0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Neq0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Neq1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Neq1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Neq2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00Neq2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Neq defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeGte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLt0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLt0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLt1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLt1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLt2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLt2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lt defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLte0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLte0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLte1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLte1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLte2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00RangeLte2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lte defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00StartsWith0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00StartsWith0 = string + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00StartsWith1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00StartsWith1 = float32 + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00StartsWith2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where00StartsWith2 = bool + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_StartsWith defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where3 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where4 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where5 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestProcessingSteps011Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_11_Where struct { + union json.RawMessage +} + // PutStreamsNameJSONBody01StreamIngestProcessingSteps1 defines parameters for PutStreamsName. type PutStreamsNameJSONBody01StreamIngestProcessingSteps1 struct { CustomIdentifier *string `json:"customIdentifier,omitempty"` @@ -40769,17 +41366,15 @@ type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 struct { From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Pattern string `json:"pattern"` + Replacement string `json:"replacement"` 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 @@ -41025,65 +41620,23 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where struct { // 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"` + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action `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 PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type `json:"type"` + Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Action string +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Type string + // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where0 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps010Where0 struct { union json.RawMessage @@ -41327,6 +41880,310 @@ type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_10_Where struct { union json.RawMessage } +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011 struct { + Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Action `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_11_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Action string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps011Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_11_Where struct { + union json.RawMessage +} + // PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 struct { CustomIdentifier *string `json:"customIdentifier,omitempty"` @@ -43843,17 +44700,15 @@ type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 struct { From string `json:"from"` IgnoreFailure *bool `json:"ignore_failure,omitempty"` IgnoreMissing *bool `json:"ignore_missing,omitempty"` + Pattern string `json:"pattern"` + Replacement string `json:"replacement"` 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 @@ -44099,65 +44954,23 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where struct { // 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"` + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action `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 PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type `json:"type"` + Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where `json:"where,omitempty"` } // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Action string +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Type string + // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where0 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps010Where0 struct { union json.RawMessage @@ -44401,6 +45214,310 @@ type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_10_Where struct { union json.RawMessage } +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011 struct { + Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Action `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_11_Where `json:"where,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Action defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Action string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00 struct { + Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Contains `json:"contains,omitempty"` + EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_EndsWith `json:"endsWith,omitempty"` + Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Eq `json:"eq,omitempty"` + Field string `json:"field"` + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Lte `json:"lte,omitempty"` + Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Gt `json:"gt,omitempty"` + Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Gte `json:"gte,omitempty"` + Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Lt `json:"lt,omitempty"` + Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_StartsWith `json:"startsWith,omitempty"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Contains0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Contains0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Contains1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Contains1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Contains2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Contains2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Contains defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Contains struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00EndsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00EndsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00EndsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00EndsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00EndsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00EndsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_EndsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Eq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Eq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Eq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Eq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Eq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Eq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Eq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Eq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Gte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Lte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Neq0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Neq0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Neq1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Neq1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Neq2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00Neq2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Neq defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Neq struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Gt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeGte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Gte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLt0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLt0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLt1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLt1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLt2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLt2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Lt struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLte0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLte0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLte1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLte1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLte2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00RangeLte2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_Range_Lte struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00StartsWith0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00StartsWith0 = string + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00StartsWith1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00StartsWith1 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00StartsWith2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where00StartsWith2 = bool + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where_0_0_StartsWith struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where01 struct { + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where1 struct { + And []interface{} `json:"and"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where2 struct { + Or []interface{} `json:"or"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where3 struct { + Not interface{} `json:"not"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where4 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where4 struct { + Never map[string]interface{} `json:"never"` +} + +// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where5 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps011Where5 struct { + Always map[string]interface{} `json:"always"` +} + +// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_11_Where struct { + union json.RawMessage +} + // PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 defines parameters for PutStreamsNameIngest. type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 struct { CustomIdentifier *string `json:"customIdentifier,omitempty"` @@ -59445,7 +60562,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 = "last_value" + v.Aggregation = "min" b, err := json.Marshal(v) t.union = b return err @@ -59453,7 +60570,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 = "last_value" + v.Aggregation = "min" b, err := json.Marshal(v) if err != nil { return err @@ -59536,7 +60653,7 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) Value switch discriminator { case "doc_count": return t.AsSLOsTimesliceMetricDocCountMetric() - case "last_value": + case "min": return t.AsSLOsTimesliceMetricBasicMetricWithField() case "percentile": return t.AsSLOsTimesliceMetricPercentileMetric() @@ -73500,11 +74617,11 @@ type ClientInterface interface { PostAgentBuilderToolsExecute(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteAgentBuilderToolsId request - DeleteAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteAgentBuilderToolsToolid request + DeleteAgentBuilderToolsToolid(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetAgentBuilderToolsId request - GetAgentBuilderToolsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetAgentBuilderToolsToolid request + GetAgentBuilderToolsToolid(ctx context.Context, toolId 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) @@ -74057,6 +75174,9 @@ type ClientInterface interface { InitEntityStore(ctx context.Context, body InitEntityStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteEntityEngines request + DeleteEntityEngines(ctx context.Context, params *DeleteEntityEnginesParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListEntityEngines request ListEntityEngines(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74957,6 +76077,12 @@ type ClientInterface interface { UpdateConversation(ctx context.Context, id SecurityAIAssistantAPINonEmptyString, body UpdateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetKnowledgeBase request + GetKnowledgeBase(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostKnowledgeBase request + PostKnowledgeBase(ctx context.Context, params *PostKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateKnowledgeBaseEntryWithBody request with any body CreateKnowledgeBaseEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -75784,8 +76910,8 @@ func (c *Client) PostAgentBuilderToolsExecute(ctx context.Context, body PostAgen 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) +func (c *Client) DeleteAgentBuilderToolsToolid(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteAgentBuilderToolsToolidRequest(c.Server, toolId) if err != nil { return nil, err } @@ -75796,8 +76922,8 @@ func (c *Client) DeleteAgentBuilderToolsId(ctx context.Context, id string, reqEd 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) +func (c *Client) GetAgentBuilderToolsToolid(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetAgentBuilderToolsToolidRequest(c.Server, toolId) if err != nil { return nil, err } @@ -78244,6 +79370,18 @@ func (c *Client) InitEntityStore(ctx context.Context, body InitEntityStoreJSONRe return c.Client.Do(req) } +func (c *Client) DeleteEntityEngines(ctx context.Context, params *DeleteEntityEnginesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteEntityEnginesRequest(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) ListEntityEngines(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewListEntityEnginesRequest(c.Server) if err != nil { @@ -82240,6 +83378,30 @@ func (c *Client) UpdateConversation(ctx context.Context, id SecurityAIAssistantA return c.Client.Do(req) } +func (c *Client) GetKnowledgeBase(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetKnowledgeBaseRequest(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) PostKnowledgeBase(ctx context.Context, params *PostKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostKnowledgeBaseRequest(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) CreateKnowledgeBaseEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewCreateKnowledgeBaseEntryRequestWithBody(c.Server, contentType, body) if err != nil { @@ -85235,13 +86397,13 @@ func NewPostAgentBuilderToolsExecuteRequestWithBody(server string, contentType s return req, nil } -// NewDeleteAgentBuilderToolsIdRequest generates requests for DeleteAgentBuilderToolsId -func NewDeleteAgentBuilderToolsIdRequest(server string, id string) (*http.Request, error) { +// NewDeleteAgentBuilderToolsToolidRequest generates requests for DeleteAgentBuilderToolsToolid +func NewDeleteAgentBuilderToolsToolidRequest(server string, toolId string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "toolId", runtime.ParamLocationPath, toolId) if err != nil { return nil, err } @@ -85269,13 +86431,13 @@ func NewDeleteAgentBuilderToolsIdRequest(server string, id string) (*http.Reques return req, nil } -// NewGetAgentBuilderToolsIdRequest generates requests for GetAgentBuilderToolsId -func NewGetAgentBuilderToolsIdRequest(server string, id string) (*http.Request, error) { +// NewGetAgentBuilderToolsToolidRequest generates requests for GetAgentBuilderToolsToolid +func NewGetAgentBuilderToolsToolidRequest(server string, toolId string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "toolId", runtime.ParamLocationPath, toolId) if err != nil { return nil, err } @@ -92889,6 +94051,71 @@ func NewInitEntityStoreRequestWithBody(server string, contentType string, body i return req, nil } +// NewDeleteEntityEnginesRequest generates requests for DeleteEntityEngines +func NewDeleteEntityEnginesRequest(server string, params *DeleteEntityEnginesParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/entity_store/engines") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.EntityTypes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "entityTypes", runtime.ParamLocationQuery, *params.EntityTypes); 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.DeleteData != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "delete_data", runtime.ParamLocationQuery, *params.DeleteData); 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 +} + // NewListEntityEnginesRequest generates requests for ListEntityEngines func NewListEntityEnginesRequest(server string) (*http.Request, error) { var err error @@ -92972,6 +94199,22 @@ func NewDeleteEntityEngineRequest(server string, entityType SecurityEntityAnalyt if params != nil { queryValues := queryURL.Query() + if params.DeleteData != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "delete_data", runtime.ParamLocationQuery, *params.DeleteData); 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.Data != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data", runtime.ParamLocationQuery, *params.Data); err != nil { @@ -105985,42 +107228,98 @@ func NewReadConversationRequest(server string, id SecurityAIAssistantAPINonEmpty return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), nil) + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewUpdateConversationRequest calls the generic UpdateConversation builder with application/json body +func NewUpdateConversationRequest(server string, id SecurityAIAssistantAPINonEmptyString, body UpdateConversationJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpdateConversationRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUpdateConversationRequestWithBody generates requests for UpdateConversation with any type of body +func NewUpdateConversationRequestWithBody(server string, id SecurityAIAssistantAPINonEmptyString, 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/security_ai_assistant/current_user/conversations/%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 } -// NewUpdateConversationRequest calls the generic UpdateConversation builder with application/json body -func NewUpdateConversationRequest(server string, id SecurityAIAssistantAPINonEmptyString, body UpdateConversationJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// NewGetKnowledgeBaseRequest generates requests for GetKnowledgeBase +func NewGetKnowledgeBaseRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewUpdateConversationRequestWithBody(server, id, "application/json", bodyReader) -} -// NewUpdateConversationRequestWithBody generates requests for UpdateConversation with any type of body -func NewUpdateConversationRequestWithBody(server string, id SecurityAIAssistantAPINonEmptyString, contentType string, body io.Reader) (*http.Request, error) { - var err error + operationPath := fmt.Sprintf("/api/security_ai_assistant/knowledge_base") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } - var pathParam0 string + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } + return req, nil +} + +// NewPostKnowledgeBaseRequest generates requests for PostKnowledgeBase +func NewPostKnowledgeBaseRequest(server string, params *PostKnowledgeBaseParams) (*http.Request, error) { + var err error + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/api/security_ai_assistant/current_user/conversations/%s", pathParam0) + operationPath := fmt.Sprintf("/api/security_ai_assistant/knowledge_base") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -106030,13 +107329,49 @@ func NewUpdateConversationRequestWithBody(server string, id SecurityAIAssistantA return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) + if params != nil { + queryValues := queryURL.Query() + + if params.ModelId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modelId", runtime.ParamLocationQuery, *params.ModelId); 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.IgnoreSecurityLabs != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignoreSecurityLabs", runtime.ParamLocationQuery, *params.IgnoreSecurityLabs); 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(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -112270,11 +113605,11 @@ type ClientWithResponsesInterface interface { PostAgentBuilderToolsExecuteWithResponse(ctx context.Context, body PostAgentBuilderToolsExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAgentBuilderToolsExecuteResponse, error) - // DeleteAgentBuilderToolsIdWithResponse request - DeleteAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsIdResponse, error) + // DeleteAgentBuilderToolsToolidWithResponse request + DeleteAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsToolidResponse, error) - // GetAgentBuilderToolsIdWithResponse request - GetAgentBuilderToolsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsIdResponse, error) + // GetAgentBuilderToolsToolidWithResponse request + GetAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsToolidResponse, error) // PutAgentBuilderToolsToolidWithBodyWithResponse request with any body PutAgentBuilderToolsToolidWithBodyWithResponse(ctx context.Context, toolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentBuilderToolsToolidResponse, error) @@ -112827,6 +114162,9 @@ type ClientWithResponsesInterface interface { InitEntityStoreWithResponse(ctx context.Context, body InitEntityStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*InitEntityStoreResponse, error) + // DeleteEntityEnginesWithResponse request + DeleteEntityEnginesWithResponse(ctx context.Context, params *DeleteEntityEnginesParams, reqEditors ...RequestEditorFn) (*DeleteEntityEnginesResponse, error) + // ListEntityEnginesWithResponse request ListEntityEnginesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEntityEnginesResponse, error) @@ -113727,6 +115065,12 @@ type ClientWithResponsesInterface interface { UpdateConversationWithResponse(ctx context.Context, id SecurityAIAssistantAPINonEmptyString, body UpdateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationResponse, error) + // GetKnowledgeBaseWithResponse request + GetKnowledgeBaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseResponse, error) + + // PostKnowledgeBaseWithResponse request + PostKnowledgeBaseWithResponse(ctx context.Context, params *PostKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*PostKnowledgeBaseResponse, error) + // CreateKnowledgeBaseEntryWithBodyWithResponse request with any body CreateKnowledgeBaseEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseEntryResponse, error) @@ -114632,13 +115976,13 @@ func (r PostAgentBuilderToolsExecuteResponse) StatusCode() int { return 0 } -type DeleteAgentBuilderToolsIdResponse struct { +type DeleteAgentBuilderToolsToolidResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r DeleteAgentBuilderToolsIdResponse) Status() string { +func (r DeleteAgentBuilderToolsToolidResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -114646,20 +115990,20 @@ func (r DeleteAgentBuilderToolsIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteAgentBuilderToolsIdResponse) StatusCode() int { +func (r DeleteAgentBuilderToolsToolidResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetAgentBuilderToolsIdResponse struct { +type GetAgentBuilderToolsToolidResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r GetAgentBuilderToolsIdResponse) Status() string { +func (r GetAgentBuilderToolsToolidResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -114667,7 +116011,7 @@ func (r GetAgentBuilderToolsIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetAgentBuilderToolsIdResponse) StatusCode() int { +func (r GetAgentBuilderToolsToolidResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -120158,6 +121502,31 @@ func (r InitEntityStoreResponse) StatusCode() int { return 0 } +type DeleteEntityEnginesResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *struct { + Deleted *[]SecurityEntityAnalyticsAPIEntityType `json:"deleted,omitempty"` + StillRunning *[]SecurityEntityAnalyticsAPIEntityType `json:"still_running,omitempty"` + } +} + +// Status returns HTTPResponse.Status +func (r DeleteEntityEnginesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteEntityEnginesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ListEntityEnginesResponse struct { Body []byte HTTPResponse *http.Response @@ -121323,7 +122692,7 @@ type PostFleetAgentPoliciesBulkGetResponse struct { InactivityTimeout *float32 `json:"inactivity_timeout,omitempty"` IsDefault *bool `json:"is_default,omitempty"` IsDefaultFleetServer *bool `json:"is_default_fleet_server,omitempty"` - IsManaged bool `json:"is_managed"` + IsManaged *bool `json:"is_managed,omitempty"` IsPreconfigured *bool `json:"is_preconfigured,omitempty"` // IsProtected Indicates whether the agent policy has tamper protection enabled. Default false. @@ -121773,10 +123142,23 @@ type GetFleetAgentPoliciesAgentpolicyidAutoUpgradeAgentsStatusResponse struct { HTTPResponse *http.Response JSON200 *struct { CurrentVersions []struct { - Agents float32 `json:"agents"` + // Agents Number of agents that upgraded to this version + Agents float32 `json:"agents"` + + // FailedUpgradeActionIds List of action IDs related to failed upgrades FailedUpgradeActionIds *[]string `json:"failedUpgradeActionIds,omitempty"` - FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` - Version string `json:"version"` + + // FailedUpgradeAgents Number of agents that failed to upgrade to this version + FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` + + // InProgressUpgradeActionIds List of action IDs related to in-progress upgrades + InProgressUpgradeActionIds *[]string `json:"inProgressUpgradeActionIds,omitempty"` + + // InProgressUpgradeAgents Number of agents that are upgrading to this version + InProgressUpgradeAgents float32 `json:"inProgressUpgradeAgents"` + + // Version Agent version + Version string `json:"version"` } `json:"currentVersions"` TotalAgents float32 `json:"totalAgents"` } @@ -121855,7 +123237,7 @@ type PostFleetAgentPoliciesAgentpolicyidCopyResponse struct { InactivityTimeout *float32 `json:"inactivity_timeout,omitempty"` IsDefault *bool `json:"is_default,omitempty"` IsDefaultFleetServer *bool `json:"is_default_fleet_server,omitempty"` - IsManaged bool `json:"is_managed"` + IsManaged *bool `json:"is_managed,omitempty"` IsPreconfigured *bool `json:"is_preconfigured,omitempty"` // IsProtected Indicates whether the agent policy has tamper protection enabled. Default false. @@ -122244,12 +123626,31 @@ type GetFleetAgentPoliciesAgentpolicyidFull200Item1 struct { Monitoring struct { UnderscoreRuntimeExperimental *string `json:"_runtime_experimental,omitempty"` Apm interface{} `json:"apm"` - Enabled bool `json:"enabled"` - Logs bool `json:"logs"` - Metrics bool `json:"metrics"` - Namespace *string `json:"namespace,omitempty"` - Traces bool `json:"traces"` - UseOutput *string `json:"use_output,omitempty"` + Diagnostics *struct { + Limit *struct { + Burst *float32 `json:"burst,omitempty"` + Interval *string `json:"interval,omitempty"` + } `json:"limit,omitempty"` + Uploader *struct { + InitDur *string `json:"init_dur,omitempty"` + MaxDur *string `json:"max_dur,omitempty"` + MaxRetries *float32 `json:"max_retries,omitempty"` + } `json:"uploader,omitempty"` + } `json:"diagnostics,omitempty"` + Enabled bool `json:"enabled"` + Http *struct { + Enabled *bool `json:"enabled,omitempty"` + Host *string `json:"host,omitempty"` + Port *float32 `json:"port,omitempty"` + } `json:"http,omitempty"` + Logs bool `json:"logs"` + Metrics bool `json:"metrics"` + Namespace *string `json:"namespace,omitempty"` + Pprof *struct { + Enabled bool `json:"enabled"` + } `json:"pprof,omitempty"` + Traces bool `json:"traces"` + UseOutput *string `json:"use_output,omitempty"` } `json:"monitoring"` Protection *struct { Enabled bool `json:"enabled"` @@ -127679,8 +129080,13 @@ type GetFleetSettingsResponse struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` - HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` - Id string `json:"id"` + HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` + Id *string `json:"id,omitempty"` + IlmMigrationStatus *struct { + Logs *GetFleetSettings200ItemIlmMigrationStatusLogs `json:"logs"` + Metrics *GetFleetSettings200ItemIlmMigrationStatusMetrics `json:"metrics"` + Synthetics *GetFleetSettings200ItemIlmMigrationStatusSynthetics `json:"synthetics"` + } `json:"ilm_migration_status,omitempty"` OutputSecretStorageRequirementsMet *bool `json:"output_secret_storage_requirements_met,omitempty"` PreconfiguredFields *[]GetFleetSettings200ItemPreconfiguredFields `json:"preconfigured_fields,omitempty"` PrereleaseIntegrationsEnabled *bool `json:"prerelease_integrations_enabled,omitempty"` @@ -127701,6 +129107,9 @@ type GetFleetSettingsResponse struct { Message string `json:"message"` } } +type GetFleetSettings200ItemIlmMigrationStatusLogs string +type GetFleetSettings200ItemIlmMigrationStatusMetrics string +type GetFleetSettings200ItemIlmMigrationStatusSynthetics string type GetFleetSettings200ItemPreconfiguredFields string type GetFleetSettings200ItemUseSpaceAwarenessMigrationStatus string @@ -127730,8 +129139,13 @@ type PutFleetSettingsResponse struct { Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` - HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` - Id string `json:"id"` + HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` + Id *string `json:"id,omitempty"` + IlmMigrationStatus *struct { + Logs *PutFleetSettings200ItemIlmMigrationStatusLogs `json:"logs"` + Metrics *PutFleetSettings200ItemIlmMigrationStatusMetrics `json:"metrics"` + Synthetics *PutFleetSettings200ItemIlmMigrationStatusSynthetics `json:"synthetics"` + } `json:"ilm_migration_status,omitempty"` OutputSecretStorageRequirementsMet *bool `json:"output_secret_storage_requirements_met,omitempty"` PreconfiguredFields *[]PutFleetSettings200ItemPreconfiguredFields `json:"preconfigured_fields,omitempty"` PrereleaseIntegrationsEnabled *bool `json:"prerelease_integrations_enabled,omitempty"` @@ -127752,6 +129166,9 @@ type PutFleetSettingsResponse struct { Message string `json:"message"` } } +type PutFleetSettings200ItemIlmMigrationStatusLogs string +type PutFleetSettings200ItemIlmMigrationStatusMetrics string +type PutFleetSettings200ItemIlmMigrationStatusSynthetics string type PutFleetSettings200ItemPreconfiguredFields string type PutFleetSettings200ItemUseSpaceAwarenessMigrationStatus string @@ -130159,6 +131576,52 @@ func (r UpdateConversationResponse) StatusCode() int { return 0 } +type GetKnowledgeBaseResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityAIAssistantAPIKnowledgeBaseReadResponse200 + JSON400 *SecurityAIAssistantAPIKnowledgeBaseResponse400 +} + +// Status returns HTTPResponse.Status +func (r GetKnowledgeBaseResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetKnowledgeBaseResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostKnowledgeBaseResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SecurityAIAssistantAPIKnowledgeBaseResponse + JSON400 *SecurityAIAssistantAPIKnowledgeBaseResponse400 +} + +// Status returns HTTPResponse.Status +func (r PostKnowledgeBaseResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostKnowledgeBaseResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type CreateKnowledgeBaseEntryResponse struct { Body []byte HTTPResponse *http.Response @@ -130321,38 +131784,8 @@ func (r UpdateKnowledgeBaseEntryResponse) StatusCode() int { 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"` - - // IsSetupAvailable Indicates if the setup process is available for the KnowledgeBase. - IsSetupAvailable *bool `json:"is_setup_available,omitempty"` - - // IsSetupInProgress Indicates if the setup process is currently in progress. - IsSetupInProgress *bool `json:"is_setup_in_progress,omitempty"` - - // ProductDocumentationStatus The status of the product documentation in the KnowledgeBase. - ProductDocumentationStatus *string `json:"product_documentation_status,omitempty"` - - // SecurityLabsExists Indicates if Security Labs documentation exists in the KnowledgeBase. - SecurityLabsExists *bool `json:"security_labs_exists,omitempty"` - - // UserDataExists Indicates if user data exists in the KnowledgeBase. - UserDataExists *bool `json:"user_data_exists,omitempty"` - } - JSON400 *struct { - // Error A short description of the error. - Error *string `json:"error,omitempty"` - - // Message A detailed error message. - Message *string `json:"message,omitempty"` - - // StatusCode The HTTP status code of the error. - StatusCode *float32 `json:"statusCode,omitempty"` - } + JSON200 *SecurityAIAssistantAPIKnowledgeBaseReadResponse200 + JSON400 *SecurityAIAssistantAPIKnowledgeBaseResponse400 } // Status returns HTTPResponse.Status @@ -130375,16 +131808,7 @@ type CreateKnowledgeBaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityAIAssistantAPIKnowledgeBaseResponse - JSON400 *struct { - // Error A short description of the error. - Error *string `json:"error,omitempty"` - - // Message A detailed error message. - Message *string `json:"message,omitempty"` - - // StatusCode The HTTP status code of the error. - StatusCode *float32 `json:"statusCode,omitempty"` - } + JSON400 *SecurityAIAssistantAPIKnowledgeBaseResponse400 } // Status returns HTTPResponse.Status @@ -133481,22 +134905,22 @@ func (c *ClientWithResponses) PostAgentBuilderToolsExecuteWithResponse(ctx conte 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...) +// DeleteAgentBuilderToolsToolidWithResponse request returning *DeleteAgentBuilderToolsToolidResponse +func (c *ClientWithResponses) DeleteAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*DeleteAgentBuilderToolsToolidResponse, error) { + rsp, err := c.DeleteAgentBuilderToolsToolid(ctx, toolId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteAgentBuilderToolsIdResponse(rsp) + return ParseDeleteAgentBuilderToolsToolidResponse(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...) +// GetAgentBuilderToolsToolidWithResponse request returning *GetAgentBuilderToolsToolidResponse +func (c *ClientWithResponses) GetAgentBuilderToolsToolidWithResponse(ctx context.Context, toolId string, reqEditors ...RequestEditorFn) (*GetAgentBuilderToolsToolidResponse, error) { + rsp, err := c.GetAgentBuilderToolsToolid(ctx, toolId, reqEditors...) if err != nil { return nil, err } - return ParseGetAgentBuilderToolsIdResponse(rsp) + return ParseGetAgentBuilderToolsToolidResponse(rsp) } // PutAgentBuilderToolsToolidWithBodyWithResponse request with arbitrary body returning *PutAgentBuilderToolsToolidResponse @@ -135268,6 +136692,15 @@ func (c *ClientWithResponses) InitEntityStoreWithResponse(ctx context.Context, b return ParseInitEntityStoreResponse(rsp) } +// DeleteEntityEnginesWithResponse request returning *DeleteEntityEnginesResponse +func (c *ClientWithResponses) DeleteEntityEnginesWithResponse(ctx context.Context, params *DeleteEntityEnginesParams, reqEditors ...RequestEditorFn) (*DeleteEntityEnginesResponse, error) { + rsp, err := c.DeleteEntityEngines(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteEntityEnginesResponse(rsp) +} + // ListEntityEnginesWithResponse request returning *ListEntityEnginesResponse func (c *ClientWithResponses) ListEntityEnginesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEntityEnginesResponse, error) { rsp, err := c.ListEntityEngines(ctx, reqEditors...) @@ -138166,6 +139599,24 @@ func (c *ClientWithResponses) UpdateConversationWithResponse(ctx context.Context return ParseUpdateConversationResponse(rsp) } +// GetKnowledgeBaseWithResponse request returning *GetKnowledgeBaseResponse +func (c *ClientWithResponses) GetKnowledgeBaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseResponse, error) { + rsp, err := c.GetKnowledgeBase(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetKnowledgeBaseResponse(rsp) +} + +// PostKnowledgeBaseWithResponse request returning *PostKnowledgeBaseResponse +func (c *ClientWithResponses) PostKnowledgeBaseWithResponse(ctx context.Context, params *PostKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*PostKnowledgeBaseResponse, error) { + rsp, err := c.PostKnowledgeBase(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostKnowledgeBaseResponse(rsp) +} + // CreateKnowledgeBaseEntryWithBodyWithResponse request with arbitrary body returning *CreateKnowledgeBaseEntryResponse func (c *ClientWithResponses) CreateKnowledgeBaseEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseEntryResponse, error) { rsp, err := c.CreateKnowledgeBaseEntryWithBody(ctx, contentType, body, reqEditors...) @@ -140135,15 +141586,15 @@ func ParsePostAgentBuilderToolsExecuteResponse(rsp *http.Response) (*PostAgentBu return response, nil } -// ParseDeleteAgentBuilderToolsIdResponse parses an HTTP response from a DeleteAgentBuilderToolsIdWithResponse call -func ParseDeleteAgentBuilderToolsIdResponse(rsp *http.Response) (*DeleteAgentBuilderToolsIdResponse, error) { +// ParseDeleteAgentBuilderToolsToolidResponse parses an HTTP response from a DeleteAgentBuilderToolsToolidWithResponse call +func ParseDeleteAgentBuilderToolsToolidResponse(rsp *http.Response) (*DeleteAgentBuilderToolsToolidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteAgentBuilderToolsIdResponse{ + response := &DeleteAgentBuilderToolsToolidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -140151,15 +141602,15 @@ func ParseDeleteAgentBuilderToolsIdResponse(rsp *http.Response) (*DeleteAgentBui return response, nil } -// ParseGetAgentBuilderToolsIdResponse parses an HTTP response from a GetAgentBuilderToolsIdWithResponse call -func ParseGetAgentBuilderToolsIdResponse(rsp *http.Response) (*GetAgentBuilderToolsIdResponse, error) { +// ParseGetAgentBuilderToolsToolidResponse parses an HTTP response from a GetAgentBuilderToolsToolidWithResponse call +func ParseGetAgentBuilderToolsToolidResponse(rsp *http.Response) (*GetAgentBuilderToolsToolidResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetAgentBuilderToolsIdResponse{ + response := &GetAgentBuilderToolsToolidResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -147005,6 +148456,35 @@ func ParseInitEntityStoreResponse(rsp *http.Response) (*InitEntityStoreResponse, return response, nil } +// ParseDeleteEntityEnginesResponse parses an HTTP response from a DeleteEntityEnginesWithResponse call +func ParseDeleteEntityEnginesResponse(rsp *http.Response) (*DeleteEntityEnginesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteEntityEnginesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest struct { + Deleted *[]SecurityEntityAnalyticsAPIEntityType `json:"deleted,omitempty"` + StillRunning *[]SecurityEntityAnalyticsAPIEntityType `json:"still_running,omitempty"` + } + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + // ParseListEntityEnginesResponse parses an HTTP response from a ListEntityEnginesWithResponse call func ParseListEntityEnginesResponse(rsp *http.Response) (*ListEntityEnginesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -148776,7 +150256,7 @@ func ParsePostFleetAgentPoliciesBulkGetResponse(rsp *http.Response) (*PostFleetA InactivityTimeout *float32 `json:"inactivity_timeout,omitempty"` IsDefault *bool `json:"is_default,omitempty"` IsDefaultFleetServer *bool `json:"is_default_fleet_server,omitempty"` - IsManaged bool `json:"is_managed"` + IsManaged *bool `json:"is_managed,omitempty"` IsPreconfigured *bool `json:"is_preconfigured,omitempty"` // IsProtected Indicates whether the agent policy has tamper protection enabled. Default false. @@ -149058,10 +150538,23 @@ func ParseGetFleetAgentPoliciesAgentpolicyidAutoUpgradeAgentsStatusResponse(rsp case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: var dest struct { CurrentVersions []struct { - Agents float32 `json:"agents"` + // Agents Number of agents that upgraded to this version + Agents float32 `json:"agents"` + + // FailedUpgradeActionIds List of action IDs related to failed upgrades FailedUpgradeActionIds *[]string `json:"failedUpgradeActionIds,omitempty"` - FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` - Version string `json:"version"` + + // FailedUpgradeAgents Number of agents that failed to upgrade to this version + FailedUpgradeAgents float32 `json:"failedUpgradeAgents"` + + // InProgressUpgradeActionIds List of action IDs related to in-progress upgrades + InProgressUpgradeActionIds *[]string `json:"inProgressUpgradeActionIds,omitempty"` + + // InProgressUpgradeAgents Number of agents that are upgrading to this version + InProgressUpgradeAgents float32 `json:"inProgressUpgradeAgents"` + + // Version Agent version + Version string `json:"version"` } `json:"currentVersions"` TotalAgents float32 `json:"totalAgents"` } @@ -149150,7 +150643,7 @@ func ParsePostFleetAgentPoliciesAgentpolicyidCopyResponse(rsp *http.Response) (* InactivityTimeout *float32 `json:"inactivity_timeout,omitempty"` IsDefault *bool `json:"is_default,omitempty"` IsDefaultFleetServer *bool `json:"is_default_fleet_server,omitempty"` - IsManaged bool `json:"is_managed"` + IsManaged *bool `json:"is_managed,omitempty"` IsPreconfigured *bool `json:"is_preconfigured,omitempty"` // IsProtected Indicates whether the agent policy has tamper protection enabled. Default false. @@ -154587,8 +156080,13 @@ func ParseGetFleetSettingsResponse(rsp *http.Response) (*GetFleetSettingsRespons Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` - HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` - Id string `json:"id"` + HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` + Id *string `json:"id,omitempty"` + IlmMigrationStatus *struct { + Logs *GetFleetSettings200ItemIlmMigrationStatusLogs `json:"logs"` + Metrics *GetFleetSettings200ItemIlmMigrationStatusMetrics `json:"metrics"` + Synthetics *GetFleetSettings200ItemIlmMigrationStatusSynthetics `json:"synthetics"` + } `json:"ilm_migration_status,omitempty"` OutputSecretStorageRequirementsMet *bool `json:"output_secret_storage_requirements_met,omitempty"` PreconfiguredFields *[]GetFleetSettings200ItemPreconfiguredFields `json:"preconfigured_fields,omitempty"` PrereleaseIntegrationsEnabled *bool `json:"prerelease_integrations_enabled,omitempty"` @@ -154652,8 +156150,13 @@ func ParsePutFleetSettingsResponse(rsp *http.Response) (*PutFleetSettingsRespons Enabled bool `json:"enabled"` IsPreconfigured bool `json:"is_preconfigured"` } `json:"delete_unenrolled_agents,omitempty"` - HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` - Id string `json:"id"` + HasSeenAddDataNotice *bool `json:"has_seen_add_data_notice,omitempty"` + Id *string `json:"id,omitempty"` + IlmMigrationStatus *struct { + Logs *PutFleetSettings200ItemIlmMigrationStatusLogs `json:"logs"` + Metrics *PutFleetSettings200ItemIlmMigrationStatusMetrics `json:"metrics"` + Synthetics *PutFleetSettings200ItemIlmMigrationStatusSynthetics `json:"synthetics"` + } `json:"ilm_migration_status,omitempty"` OutputSecretStorageRequirementsMet *bool `json:"output_secret_storage_requirements_met,omitempty"` PreconfiguredFields *[]PutFleetSettings200ItemPreconfiguredFields `json:"preconfigured_fields,omitempty"` PrereleaseIntegrationsEnabled *bool `json:"prerelease_integrations_enabled,omitempty"` @@ -158047,6 +159550,72 @@ func ParseUpdateConversationResponse(rsp *http.Response) (*UpdateConversationRes return response, nil } +// ParseGetKnowledgeBaseResponse parses an HTTP response from a GetKnowledgeBaseWithResponse call +func ParseGetKnowledgeBaseResponse(rsp *http.Response) (*GetKnowledgeBaseResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetKnowledgeBaseResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityAIAssistantAPIKnowledgeBaseReadResponse200 + 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 SecurityAIAssistantAPIKnowledgeBaseResponse400 + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + +// ParsePostKnowledgeBaseResponse parses an HTTP response from a PostKnowledgeBaseWithResponse call +func ParsePostKnowledgeBaseResponse(rsp *http.Response) (*PostKnowledgeBaseResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostKnowledgeBaseResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SecurityAIAssistantAPIKnowledgeBaseResponse + 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 SecurityAIAssistantAPIKnowledgeBaseResponse400 + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + } + + return response, nil +} + // ParseCreateKnowledgeBaseEntryResponse parses an HTTP response from a CreateKnowledgeBaseEntryWithResponse call func ParseCreateKnowledgeBaseEntryResponse(rsp *http.Response) (*CreateKnowledgeBaseEntryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -158281,44 +159850,14 @@ 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"` - - // IsSetupAvailable Indicates if the setup process is available for the KnowledgeBase. - IsSetupAvailable *bool `json:"is_setup_available,omitempty"` - - // IsSetupInProgress Indicates if the setup process is currently in progress. - IsSetupInProgress *bool `json:"is_setup_in_progress,omitempty"` - - // ProductDocumentationStatus The status of the product documentation in the KnowledgeBase. - ProductDocumentationStatus *string `json:"product_documentation_status,omitempty"` - - // SecurityLabsExists Indicates if Security Labs documentation exists in the KnowledgeBase. - SecurityLabsExists *bool `json:"security_labs_exists,omitempty"` - - // UserDataExists Indicates if user data exists in the KnowledgeBase. - UserDataExists *bool `json:"user_data_exists,omitempty"` - } + var dest SecurityAIAssistantAPIKnowledgeBaseReadResponse200 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 A short description of the error. - Error *string `json:"error,omitempty"` - - // Message A detailed error message. - Message *string `json:"message,omitempty"` - - // StatusCode The HTTP status code of the error. - StatusCode *float32 `json:"statusCode,omitempty"` - } + var dest SecurityAIAssistantAPIKnowledgeBaseResponse400 if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -158351,16 +159890,7 @@ func ParseCreateKnowledgeBaseResponse(rsp *http.Response) (*CreateKnowledgeBaseR response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - // Error A short description of the error. - Error *string `json:"error,omitempty"` - - // Message A detailed error message. - Message *string `json:"message,omitempty"` - - // StatusCode The HTTP status code of the error. - StatusCode *float32 `json:"statusCode,omitempty"` - } + var dest SecurityAIAssistantAPIKnowledgeBaseResponse400 if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } diff --git a/libs/go-kibana-rest/.github/workflows/workflow.yml b/libs/go-kibana-rest/.github/workflows/workflow.yml index b8214641f..4b763a346 100644 --- a/libs/go-kibana-rest/.github/workflows/workflow.yml +++ b/libs/go-kibana-rest/.github/workflows/workflow.yml @@ -18,7 +18,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 - name: Setup Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 with: