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 @@ -50232,7 +50232,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 @@ -50264,7 +50264,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 @@ -50865,7 +50865,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 @@ -51120,7 +51120,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 @@ -51271,6 +51271,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 @@ -51610,7 +51633,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 @@ -52238,7 +52261,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 @@ -52809,7 +52832,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 @@ -53113,7 +53136,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 @@ -53146,7 +53169,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 @@ -53340,7 +53363,7 @@ components:
mode:
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
type:
$ref: "#/components/schemas/ObservabilityPipelineSyslogNgSourceType"
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ObservabilityPipelineFluentBitSource {
private String id;

public static final String JSON_PROPERTY_TLS = "tls";
private ObservabilityPipelineTls tls;
private ObservabilityPipelineMtlsServerTls tls;

public static final String JSON_PROPERTY_TYPE = "type";
private ObservabilityPipelineFluentBitSourceType type =
Expand Down Expand Up @@ -100,25 +100,26 @@ public void setId(String id) {
this.id = id;
}

public ObservabilityPipelineFluentBitSource tls(ObservabilityPipelineTls tls) {
public ObservabilityPipelineFluentBitSource tls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
this.unparsed |= tls.unparsed;
return this;
}

/**
* 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.
*
* @return tls
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TLS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineTls getTls() {
public ObservabilityPipelineMtlsServerTls getTls() {
return tls;
}

public void setTls(ObservabilityPipelineTls tls) {
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ObservabilityPipelineFluentdSource {
private String id;

public static final String JSON_PROPERTY_TLS = "tls";
private ObservabilityPipelineTls tls;
private ObservabilityPipelineMtlsServerTls tls;

public static final String JSON_PROPERTY_TYPE = "type";
private ObservabilityPipelineFluentdSourceType type =
Expand Down Expand Up @@ -100,25 +100,26 @@ public void setId(String id) {
this.id = id;
}

public ObservabilityPipelineFluentdSource tls(ObservabilityPipelineTls tls) {
public ObservabilityPipelineFluentdSource tls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
this.unparsed |= tls.unparsed;
return this;
}

/**
* 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.
*
* @return tls
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TLS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineTls getTls() {
public ObservabilityPipelineMtlsServerTls getTls() {
return tls;
}

public void setTls(ObservabilityPipelineTls tls) {
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class ObservabilityPipelineHttpServerSource {
private String passwordKey;

public static final String JSON_PROPERTY_TLS = "tls";
private ObservabilityPipelineTls tls;
private ObservabilityPipelineMtlsServerTls tls;

public static final String JSON_PROPERTY_TYPE = "type";
private ObservabilityPipelineHttpServerSourceType type =
Expand Down Expand Up @@ -219,25 +219,26 @@ public void setPasswordKey(String passwordKey) {
this.passwordKey = passwordKey;
}

public ObservabilityPipelineHttpServerSource tls(ObservabilityPipelineTls tls) {
public ObservabilityPipelineHttpServerSource tls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
this.unparsed |= tls.unparsed;
return this;
}

/**
* 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.
*
* @return tls
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TLS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineTls getTls() {
public ObservabilityPipelineMtlsServerTls getTls() {
return tls;
}

public void setTls(ObservabilityPipelineTls tls) {
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ObservabilityPipelineLogstashSource {
private String id;

public static final String JSON_PROPERTY_TLS = "tls";
private ObservabilityPipelineTls tls;
private ObservabilityPipelineMtlsServerTls tls;

public static final String JSON_PROPERTY_TYPE = "type";
private ObservabilityPipelineLogstashSourceType type =
Expand Down Expand Up @@ -100,25 +100,26 @@ public void setId(String id) {
this.id = id;
}

public ObservabilityPipelineLogstashSource tls(ObservabilityPipelineTls tls) {
public ObservabilityPipelineLogstashSource tls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
this.unparsed |= tls.unparsed;
return this;
}

/**
* 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.
*
* @return tls
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TLS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ObservabilityPipelineTls getTls() {
public ObservabilityPipelineMtlsServerTls getTls() {
return tls;
}

public void setTls(ObservabilityPipelineTls tls) {
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
this.tls = tls;
}

Expand Down
Loading
Loading