Skip to content

Commit e10b825

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 594c84c of spec repo
1 parent 6a4db75 commit e10b825

File tree

6 files changed

+14
-134
lines changed

6 files changed

+14
-134
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5548,6 +5548,7 @@ components:
55485548
example:
55495549
- staging
55505550
items:
5551+
description: An environment where the asset is deployed.
55515552
example: staging
55525553
type: string
55535554
type: array
@@ -5564,6 +5565,7 @@ components:
55645565
example:
55655566
- compute
55665567
items:
5568+
description: A team that owns the asset.
55675569
example: compute
55685570
type: string
55695571
type: array
@@ -36231,6 +36233,7 @@ components:
3623136233
description: Related library or package names (such as child packages or
3623236234
affected binary paths).
3623336235
items:
36236+
description: A related library or package name affected by the vulnerability.
3623436237
example: linux-tools-common
3623536238
type: string
3623636239
type: array
@@ -44821,7 +44824,7 @@ components:
4482144824
Protocol (OTLP) over gRPC and HTTP.
4482244825

4482344826

44824-
**Supported pipeline types:** logs, metrics'
44827+
**Supported pipeline types:** logs'
4482544828
properties:
4482644829
grpc_address_key:
4482744830
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44854,6 @@ components:
4485144854
type: object
4485244855
x-pipeline-types:
4485344856
- logs
44854-
- metrics
4485544857
ObservabilityPipelineOpentelemetrySourceType:
4485644858
default: opentelemetry
4485744859
description: The source type. The value should always be `opentelemetry`.
@@ -55465,6 +55467,7 @@ components:
5546555467
dependsOn:
5546655468
description: The components that are dependencies of the ref component.
5546755469
items:
55470+
description: A package URL (purl) identifying a dependency of the component.
5546855471
example: pkg:golang/google.golang.org/grpc@1.68.1
5546955472
type: string
5547055473
required:
@@ -56079,6 +56082,8 @@ components:
5607956082
example:
5608056083
- production
5608156084
items:
56085+
description: An origin identifier for the last successful scan of the
56086+
asset.
5608256087
example: production
5608356088
type: string
5608456089
type: array
@@ -71815,6 +71820,7 @@ components:
7181571820
example:
7181671821
- CVE-2023-0615
7181771822
items:
71823+
description: A CVE identifier associated with the vulnerability.
7181871824
example: CVE-2023-0615
7181971825
type: string
7182071826
type: array
@@ -71865,6 +71871,8 @@ components:
7186571871
example:
7186671872
- agentless-scanner
7186771873
items:
71874+
description: The detection origin of the vulnerability (for example, the
71875+
scanner type).
7186871876
example: agentless-scanner
7186971877
type: string
7187071878
type: array
@@ -71877,6 +71885,8 @@ components:
7187771885
description: Vulnerability `repo_digest` list (when the vulnerability is
7187871886
related to `Image` asset).
7187971887
items:
71888+
description: A container image repository digest identifying the affected
71889+
image.
7188071890
example: sha256:0ae7da091191787229d321e3638e39c319a97d6e20f927d465b519d699215bf7
7188171891
type: string
7188271892
type: array
@@ -72018,6 +72028,7 @@ components:
7201872028
example:
7201972029
- NIST
7202072030
items:
72031+
description: An exploit source reporting this vulnerability.
7202172032
example: NIST
7202272033
type: string
7202372034
type: array

examples/v2/observability-pipelines/ValidatePipeline_884022323.java

Lines changed: 0 additions & 90 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* The <code>opentelemetry</code> source receives telemetry data using the OpenTelemetry Protocol
2222
* (OTLP) over gRPC and HTTP.
2323
*
24-
* <p><strong>Supported pipeline types:</strong> logs, metrics
24+
* <p><strong>Supported pipeline types:</strong> logs
2525
*/
2626
@JsonPropertyOrder({
2727
ObservabilityPipelineOpentelemetrySource.JSON_PROPERTY_GRPC_ADDRESS_KEY,

src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.freeze

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ Feature: Observability Pipelines
149149
And the response "data.attributes.config.destinations" has length 1
150150
And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id"
151151

152-
@team:DataDog/observability-pipelines
153-
Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response
154-
Given new "ValidatePipeline" request
155-
And body with value {"data": {"attributes": {"config": {"pipeline_type": "metrics", "destinations": [{"id": "datadog-metrics-destination", "inputs": ["my-processor-group"], "type": "datadog_metrics"}], "processor_groups": [{"enabled": true, "id": "my-processor-group", "include": "*", "inputs": ["opentelemetry-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "env:production", "type": "filter"}]}], "sources": [{"id": "opentelemetry-source", "type": "opentelemetry"}]}, "name": "Metrics OTel Pipeline"}, "type": "pipelines"}}
156-
When the request is sent
157-
Then the response status is 200 OK
158-
And the response "errors" has length 0
159-
160152
@team:DataDog/observability-pipelines
161153
Scenario: Validate an observability pipeline returns "Bad Request" response
162154
Given new "ValidatePipeline" request

0 commit comments

Comments
 (0)