Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 33 additions & 10 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53700,7 +53700,7 @@ components:
example: "fluent-source"
type: string
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineFluentBitSourceType"
required:
Expand Down Expand Up @@ -53732,7 +53732,7 @@ components:
example: "fluent-source"
type: string
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineFluentdSourceType"
required:
Expand Down Expand Up @@ -54333,7 +54333,7 @@ components:
example: HTTP_AUTH_PASSWORD
type: string
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceType"
username_key:
Expand Down Expand Up @@ -54588,7 +54588,7 @@ components:
example: logstash-source
type: string
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineLogstashSourceType"
required:
Expand Down Expand Up @@ -54739,6 +54739,29 @@ components:
oneOf:
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByOne"
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByField"
ObservabilityPipelineMtlsServerTls:
description: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
properties:
ca_file:
description: Path to the Certificate Authority (CA) file used to validate connecting clients' TLS certificates.
type: string
crt_file:
description: Path to the TLS server certificate file used to used to identify the pipeline component to connecting clients.
example: "/path/to/cert.crt"
type: string
key_file:
description: Path to the private key file associated with the TLS server certificate.
type: string
key_pass_key:
description: Name of the environment variable or secret that holds the passphrase for the private key file.
example: TLS_KEY_PASSPHRASE
type: string
verify_certificate:
description: When `true`, requires client connections to present a valid certificate, enabling mutual TLS authentication.
type: boolean
required:
- crt_file
type: object
ObservabilityPipelineNewRelicDestination:
description: |-
The `new_relic` destination sends logs to the New Relic platform.
Expand Down Expand Up @@ -55078,7 +55101,7 @@ components:
example: opentelemetry-source
type: string
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineOpentelemetrySourceType"
required:
Expand Down Expand Up @@ -55706,7 +55729,7 @@ components:
mode:
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineRsyslogSourceType"
required:
Expand Down Expand Up @@ -56277,7 +56300,7 @@ components:
mode:
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceMode"
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
description: TLS configuration. Relevant only when `mode` is `tcp`.
type:
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceType"
Expand Down Expand Up @@ -56581,7 +56604,7 @@ components:
example: true
type: boolean
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceType"
required:
Expand Down Expand Up @@ -56614,7 +56637,7 @@ components:
example: splunk-tcp-source
type: string
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineSplunkTcpSourceType"
required:
Expand Down Expand Up @@ -56808,7 +56831,7 @@ components:
mode:
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineSyslogNgSourceType"
required:
Expand Down
2 changes: 2 additions & 0 deletions src/datadogV2/model/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6518,6 +6518,8 @@ pub mod model_observability_pipeline_amazon_s3_source_type;
pub use self::model_observability_pipeline_amazon_s3_source_type::ObservabilityPipelineAmazonS3SourceType;
pub mod model_observability_pipeline_fluent_bit_source;
pub use self::model_observability_pipeline_fluent_bit_source::ObservabilityPipelineFluentBitSource;
pub mod model_observability_pipeline_mtls_server_tls;
pub use self::model_observability_pipeline_mtls_server_tls::ObservabilityPipelineMtlsServerTls;
pub mod model_observability_pipeline_fluent_bit_source_type;
pub use self::model_observability_pipeline_fluent_bit_source_type::ObservabilityPipelineFluentBitSourceType;
pub mod model_observability_pipeline_fluentd_source;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ pub struct ObservabilityPipelineFluentBitSource {
/// The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
#[serde(rename = "id")]
pub id: String,
/// Configuration for enabling TLS encryption between the pipeline component and external services.
/// Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
#[serde(rename = "tls")]
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineTls>,
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls>,
/// The source type. The value should always be `fluent_bit`.
#[serde(rename = "type")]
pub type_: crate::datadogV2::model::ObservabilityPipelineFluentBitSourceType,
Expand Down Expand Up @@ -52,7 +52,10 @@ impl ObservabilityPipelineFluentBitSource {
self
}

pub fn tls(mut self, value: crate::datadogV2::model::ObservabilityPipelineTls) -> Self {
pub fn tls(
mut self,
value: crate::datadogV2::model::ObservabilityPipelineMtlsServerTls,
) -> Self {
self.tls = Some(value);
self
}
Expand Down Expand Up @@ -85,7 +88,8 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineFluentBitSource {
{
let mut address_key: Option<String> = None;
let mut id: Option<String> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineTls> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls> =
None;
let mut type_: Option<
crate::datadogV2::model::ObservabilityPipelineFluentBitSourceType,
> = None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ pub struct ObservabilityPipelineFluentdSource {
/// The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
#[serde(rename = "id")]
pub id: String,
/// Configuration for enabling TLS encryption between the pipeline component and external services.
/// Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
#[serde(rename = "tls")]
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineTls>,
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls>,
/// The source type. The value should always be `fluentd.
#[serde(rename = "type")]
pub type_: crate::datadogV2::model::ObservabilityPipelineFluentdSourceType,
Expand Down Expand Up @@ -52,7 +52,10 @@ impl ObservabilityPipelineFluentdSource {
self
}

pub fn tls(mut self, value: crate::datadogV2::model::ObservabilityPipelineTls) -> Self {
pub fn tls(
mut self,
value: crate::datadogV2::model::ObservabilityPipelineMtlsServerTls,
) -> Self {
self.tls = Some(value);
self
}
Expand Down Expand Up @@ -85,7 +88,8 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineFluentdSource {
{
let mut address_key: Option<String> = None;
let mut id: Option<String> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineTls> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls> =
None;
let mut type_: Option<
crate::datadogV2::model::ObservabilityPipelineFluentdSourceType,
> = None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ pub struct ObservabilityPipelineHttpServerSource {
/// Name of the environment variable or secret that holds the password (used when `auth_strategy` is `plain`).
#[serde(rename = "password_key")]
pub password_key: Option<String>,
/// Configuration for enabling TLS encryption between the pipeline component and external services.
/// Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
#[serde(rename = "tls")]
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineTls>,
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls>,
/// The source type. The value should always be `http_server`.
#[serde(rename = "type")]
pub type_: crate::datadogV2::model::ObservabilityPipelineHttpServerSourceType,
Expand Down Expand Up @@ -84,7 +84,10 @@ impl ObservabilityPipelineHttpServerSource {
self
}

pub fn tls(mut self, value: crate::datadogV2::model::ObservabilityPipelineTls) -> Self {
pub fn tls(
mut self,
value: crate::datadogV2::model::ObservabilityPipelineMtlsServerTls,
) -> Self {
self.tls = Some(value);
self
}
Expand Down Expand Up @@ -129,7 +132,8 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineHttpServerSource {
None;
let mut id: Option<String> = None;
let mut password_key: Option<String> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineTls> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls> =
None;
let mut type_: Option<
crate::datadogV2::model::ObservabilityPipelineHttpServerSourceType,
> = None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ pub struct ObservabilityPipelineLogstashSource {
/// The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
#[serde(rename = "id")]
pub id: String,
/// Configuration for enabling TLS encryption between the pipeline component and external services.
/// Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
#[serde(rename = "tls")]
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineTls>,
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls>,
/// The source type. The value should always be `logstash`.
#[serde(rename = "type")]
pub type_: crate::datadogV2::model::ObservabilityPipelineLogstashSourceType,
Expand Down Expand Up @@ -52,7 +52,10 @@ impl ObservabilityPipelineLogstashSource {
self
}

pub fn tls(mut self, value: crate::datadogV2::model::ObservabilityPipelineTls) -> Self {
pub fn tls(
mut self,
value: crate::datadogV2::model::ObservabilityPipelineMtlsServerTls,
) -> Self {
self.tls = Some(value);
self
}
Expand Down Expand Up @@ -85,7 +88,8 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineLogstashSource {
{
let mut address_key: Option<String> = None;
let mut id: Option<String> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineTls> = None;
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineMtlsServerTls> =
None;
let mut type_: Option<
crate::datadogV2::model::ObservabilityPipelineLogstashSourceType,
> = None;
Expand Down
Loading
Loading