Skip to content

Commit 49b012c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d69946a of spec repo
1 parent 6a4db75 commit 49b012c

File tree

7 files changed

+11
-135
lines changed

7 files changed

+11
-135
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44821,7 +44821,7 @@ components:
4482144821
Protocol (OTLP) over gRPC and HTTP.
4482244822

4482344823

44824-
**Supported pipeline types:** logs, metrics'
44824+
**Supported pipeline types:** logs'
4482544825
properties:
4482644826
grpc_address_key:
4482744827
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44851,6 @@ components:
4485144851
type: object
4485244852
x-pipeline-types:
4485344853
- logs
44854-
- metrics
4485544854
ObservabilityPipelineOpentelemetrySourceType:
4485644855
default: opentelemetry
4485744856
description: The source type. The value should always be `opentelemetry`.
@@ -56969,6 +56968,7 @@ components:
5696956968
- production
5697056969
- us-east-1
5697156970
items:
56971+
description: An environment tag associated with the entity.
5697256972
type: string
5697356973
type: array
5697456974
mitreTactics:
@@ -56977,6 +56977,7 @@ components:
5697756977
- Credential Access
5697856978
- Privilege Escalation
5697956979
items:
56980+
description: A MITRE ATT&CK tactic name.
5698056981
type: string
5698156982
type: array
5698256983
mitreTechniques:
@@ -56985,6 +56986,7 @@ components:
5698556986
- T1078
5698656987
- T1098
5698756988
items:
56989+
description: A MITRE ATT&CK technique identifier.
5698856990
type: string
5698956991
type: array
5699056992
projectID:
@@ -56997,6 +56999,7 @@ components:
5699756999
- api-gateway
5699857000
- lambda
5699957001
items:
57002+
description: A service name associated with the entity.
5700057003
type: string
5700157004
type: array
5700257005
sources:
@@ -57005,6 +57008,7 @@ components:
5700557008
- cloudtrail
5700657009
- cloud-security-posture-management
5700757010
items:
57011+
description: A data source identifier.
5700857012
type: string
5700957013
type: array
5701057014
subscriptionID:
@@ -57054,6 +57058,7 @@ components:
5705457058
example:
5705557059
- aws
5705657060
items:
57061+
description: A cloud provider name.
5705757062
type: string
5705857063
type: array
5705957064
entityRoles:
@@ -57062,6 +57067,7 @@ components:
5706257067
- Admin
5706357068
- Developer
5706457069
items:
57070+
description: A role assigned to the entity.
5706557071
type: string
5706657072
type: array
5706757073
entityType:
@@ -57169,6 +57175,7 @@ components:
5716957175
description: Response containing a list of entity risk scores
5717057176
properties:
5717157177
data:
57178+
description: Array of entity risk score objects.
5717257179
items:
5717357180
$ref: '#/components/schemas/SecurityEntityRiskScore'
5717457181
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/main/java/com/datadog/api/client/v2/model/SecurityEntityRiskScoresResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public SecurityEntityRiskScoresResponse addDataItem(SecurityEntityRiskScore data
6161
}
6262

6363
/**
64-
* Getdata
64+
* Array of entity risk score objects.
6565
*
6666
* @return data
6767
*/

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)