Skip to content

Commit 4d65b56

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d69946a of spec repo
1 parent 58dc88d commit 4d65b56

7 files changed

Lines changed: 11 additions & 120 deletions

.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.py

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

src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
"""
5757
The ``opentelemetry`` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.
5858
59-
**Supported pipeline types:** logs, metrics
59+
**Supported pipeline types:** logs
6060
6161
:param grpc_address_key: Environment variable name containing the gRPC server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).
6262
:type grpc_address_key: str, optional

src/datadog_api_client/v2/model/security_entity_risk_scores_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self_, data: List[SecurityEntityRiskScore], meta: SecurityEntityRis
3636
"""
3737
Response containing a list of entity risk scores
3838
39-
:param data:
39+
:param data: Array of entity risk score objects.
4040
:type data: [SecurityEntityRiskScore]
4141
4242
:param meta: Metadata for pagination

tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen

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

tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml

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

tests/v2/features/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)