Skip to content

Commit 096dd98

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
observability pipelines add tls.verify_certificate field to multiple push sources (#3848)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 5b35065 commit 096dd98

12 files changed

Lines changed: 356 additions & 60 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54546,7 +54546,7 @@ components:
5454654546
example: "fluent-source"
5454754547
type: string
5454854548
tls:
54549-
$ref: "#/components/schemas/ObservabilityPipelineTls"
54549+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5455054550
type:
5455154551
$ref: "#/components/schemas/ObservabilityPipelineFluentBitSourceType"
5455254552
required:
@@ -54578,7 +54578,7 @@ components:
5457854578
example: "fluent-source"
5457954579
type: string
5458054580
tls:
54581-
$ref: "#/components/schemas/ObservabilityPipelineTls"
54581+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5458254582
type:
5458354583
$ref: "#/components/schemas/ObservabilityPipelineFluentdSourceType"
5458454584
required:
@@ -55179,7 +55179,7 @@ components:
5517955179
example: HTTP_AUTH_PASSWORD
5518055180
type: string
5518155181
tls:
55182-
$ref: "#/components/schemas/ObservabilityPipelineTls"
55182+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5518355183
type:
5518455184
$ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceType"
5518555185
username_key:
@@ -55493,7 +55493,7 @@ components:
5549355493
example: logstash-source
5549455494
type: string
5549555495
tls:
55496-
$ref: "#/components/schemas/ObservabilityPipelineTls"
55496+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5549755497
type:
5549855498
$ref: "#/components/schemas/ObservabilityPipelineLogstashSourceType"
5549955499
required:
@@ -55644,6 +55644,29 @@ components:
5564455644
oneOf:
5564555645
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByOne"
5564655646
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByField"
55647+
ObservabilityPipelineMtlsServerTls:
55648+
description: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
55649+
properties:
55650+
ca_file:
55651+
description: Path to the Certificate Authority (CA) file used to validate connecting clients' TLS certificates.
55652+
type: string
55653+
crt_file:
55654+
description: Path to the TLS server certificate file used to used to identify the pipeline component to connecting clients.
55655+
example: "/path/to/cert.crt"
55656+
type: string
55657+
key_file:
55658+
description: Path to the private key file associated with the TLS server certificate.
55659+
type: string
55660+
key_pass_key:
55661+
description: Name of the environment variable or secret that holds the passphrase for the private key file.
55662+
example: TLS_KEY_PASSPHRASE
55663+
type: string
55664+
verify_certificate:
55665+
description: When `true`, requires client connections to present a valid certificate, enabling mutual TLS authentication.
55666+
type: boolean
55667+
required:
55668+
- crt_file
55669+
type: object
5564755670
ObservabilityPipelineNewRelicDestination:
5564855671
description: |-
5564955672
The `new_relic` destination sends logs to the New Relic platform.
@@ -55983,7 +56006,7 @@ components:
5598356006
example: opentelemetry-source
5598456007
type: string
5598556008
tls:
55986-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56009+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5598756010
type:
5598856011
$ref: "#/components/schemas/ObservabilityPipelineOpentelemetrySourceType"
5598956012
required:
@@ -56611,7 +56634,7 @@ components:
5661156634
mode:
5661256635
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5661356636
tls:
56614-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56637+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5661556638
type:
5661656639
$ref: "#/components/schemas/ObservabilityPipelineRsyslogSourceType"
5661756640
required:
@@ -57182,7 +57205,7 @@ components:
5718257205
mode:
5718357206
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceMode"
5718457207
tls:
57185-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57208+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5718657209
description: TLS configuration. Relevant only when `mode` is `tcp`.
5718757210
type:
5718857211
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceType"
@@ -57507,7 +57530,7 @@ components:
5750757530
example: true
5750857531
type: boolean
5750957532
tls:
57510-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57533+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5751157534
type:
5751257535
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceType"
5751357536
valid_tokens:
@@ -57569,7 +57592,7 @@ components:
5756957592
example: splunk-tcp-source
5757057593
type: string
5757157594
tls:
57572-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57595+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5757357596
type:
5757457597
$ref: "#/components/schemas/ObservabilityPipelineSplunkTcpSourceType"
5757557598
required:
@@ -57763,7 +57786,7 @@ components:
5776357786
mode:
5776457787
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5776557788
tls:
57766-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57789+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5776757790
type:
5776857791
$ref: "#/components/schemas/ObservabilityPipelineSyslogNgSourceType"
5776957792
required:

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineFluentBitSource.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ObservabilityPipelineFluentBitSource {
3939
private String id;
4040

4141
public static final String JSON_PROPERTY_TLS = "tls";
42-
private ObservabilityPipelineTls tls;
42+
private ObservabilityPipelineMtlsServerTls tls;
4343

4444
public static final String JSON_PROPERTY_TYPE = "type";
4545
private ObservabilityPipelineFluentBitSourceType type =
@@ -100,25 +100,26 @@ public void setId(String id) {
100100
this.id = id;
101101
}
102102

103-
public ObservabilityPipelineFluentBitSource tls(ObservabilityPipelineTls tls) {
103+
public ObservabilityPipelineFluentBitSource tls(ObservabilityPipelineMtlsServerTls tls) {
104104
this.tls = tls;
105105
this.unparsed |= tls.unparsed;
106106
return this;
107107
}
108108

109109
/**
110-
* Configuration for enabling TLS encryption between the pipeline component and external services.
110+
* Configuration for enabling TLS encryption between the pipeline component and external
111+
* connecting clients.
111112
*
112113
* @return tls
113114
*/
114115
@jakarta.annotation.Nullable
115116
@JsonProperty(JSON_PROPERTY_TLS)
116117
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
117-
public ObservabilityPipelineTls getTls() {
118+
public ObservabilityPipelineMtlsServerTls getTls() {
118119
return tls;
119120
}
120121

121-
public void setTls(ObservabilityPipelineTls tls) {
122+
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
122123
this.tls = tls;
123124
}
124125

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineFluentdSource.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ObservabilityPipelineFluentdSource {
3939
private String id;
4040

4141
public static final String JSON_PROPERTY_TLS = "tls";
42-
private ObservabilityPipelineTls tls;
42+
private ObservabilityPipelineMtlsServerTls tls;
4343

4444
public static final String JSON_PROPERTY_TYPE = "type";
4545
private ObservabilityPipelineFluentdSourceType type =
@@ -100,25 +100,26 @@ public void setId(String id) {
100100
this.id = id;
101101
}
102102

103-
public ObservabilityPipelineFluentdSource tls(ObservabilityPipelineTls tls) {
103+
public ObservabilityPipelineFluentdSource tls(ObservabilityPipelineMtlsServerTls tls) {
104104
this.tls = tls;
105105
this.unparsed |= tls.unparsed;
106106
return this;
107107
}
108108

109109
/**
110-
* Configuration for enabling TLS encryption between the pipeline component and external services.
110+
* Configuration for enabling TLS encryption between the pipeline component and external
111+
* connecting clients.
111112
*
112113
* @return tls
113114
*/
114115
@jakarta.annotation.Nullable
115116
@JsonProperty(JSON_PROPERTY_TLS)
116117
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
117-
public ObservabilityPipelineTls getTls() {
118+
public ObservabilityPipelineMtlsServerTls getTls() {
118119
return tls;
119120
}
120121

121-
public void setTls(ObservabilityPipelineTls tls) {
122+
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
122123
this.tls = tls;
123124
}
124125

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineHttpServerSource.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class ObservabilityPipelineHttpServerSource {
5959
private String passwordKey;
6060

6161
public static final String JSON_PROPERTY_TLS = "tls";
62-
private ObservabilityPipelineTls tls;
62+
private ObservabilityPipelineMtlsServerTls tls;
6363

6464
public static final String JSON_PROPERTY_TYPE = "type";
6565
private ObservabilityPipelineHttpServerSourceType type =
@@ -225,25 +225,26 @@ public void setPasswordKey(String passwordKey) {
225225
this.passwordKey = passwordKey;
226226
}
227227

228-
public ObservabilityPipelineHttpServerSource tls(ObservabilityPipelineTls tls) {
228+
public ObservabilityPipelineHttpServerSource tls(ObservabilityPipelineMtlsServerTls tls) {
229229
this.tls = tls;
230230
this.unparsed |= tls.unparsed;
231231
return this;
232232
}
233233

234234
/**
235-
* Configuration for enabling TLS encryption between the pipeline component and external services.
235+
* Configuration for enabling TLS encryption between the pipeline component and external
236+
* connecting clients.
236237
*
237238
* @return tls
238239
*/
239240
@jakarta.annotation.Nullable
240241
@JsonProperty(JSON_PROPERTY_TLS)
241242
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
242-
public ObservabilityPipelineTls getTls() {
243+
public ObservabilityPipelineMtlsServerTls getTls() {
243244
return tls;
244245
}
245246

246-
public void setTls(ObservabilityPipelineTls tls) {
247+
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
247248
this.tls = tls;
248249
}
249250

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineLogstashSource.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ObservabilityPipelineLogstashSource {
3939
private String id;
4040

4141
public static final String JSON_PROPERTY_TLS = "tls";
42-
private ObservabilityPipelineTls tls;
42+
private ObservabilityPipelineMtlsServerTls tls;
4343

4444
public static final String JSON_PROPERTY_TYPE = "type";
4545
private ObservabilityPipelineLogstashSourceType type =
@@ -100,25 +100,26 @@ public void setId(String id) {
100100
this.id = id;
101101
}
102102

103-
public ObservabilityPipelineLogstashSource tls(ObservabilityPipelineTls tls) {
103+
public ObservabilityPipelineLogstashSource tls(ObservabilityPipelineMtlsServerTls tls) {
104104
this.tls = tls;
105105
this.unparsed |= tls.unparsed;
106106
return this;
107107
}
108108

109109
/**
110-
* Configuration for enabling TLS encryption between the pipeline component and external services.
110+
* Configuration for enabling TLS encryption between the pipeline component and external
111+
* connecting clients.
111112
*
112113
* @return tls
113114
*/
114115
@jakarta.annotation.Nullable
115116
@JsonProperty(JSON_PROPERTY_TLS)
116117
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
117-
public ObservabilityPipelineTls getTls() {
118+
public ObservabilityPipelineMtlsServerTls getTls() {
118119
return tls;
119120
}
120121

121-
public void setTls(ObservabilityPipelineTls tls) {
122+
public void setTls(ObservabilityPipelineMtlsServerTls tls) {
122123
this.tls = tls;
123124
}
124125

0 commit comments

Comments
 (0)