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
12 changes: 10 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9898,6 +9898,7 @@ components:
- data
type: object
CaseManagementProjectData:
description: Data object representing a case management project.
properties:
id:
description: Unique identifier of the case management project.
Expand Down Expand Up @@ -14698,6 +14699,7 @@ components:
description: List of requests to create cases for security findings.
properties:
data:
description: Array of case creation request data objects.
items:
$ref: '#/components/schemas/CreateCaseRequestData'
type: array
Expand Down Expand Up @@ -15251,6 +15253,7 @@ components:
description: List of requests to create Jira issues for security findings.
properties:
data:
description: Array of Jira issue creation request data objects.
items:
$ref: '#/components/schemas/CreateJiraIssueRequestData'
type: array
Expand Down Expand Up @@ -25031,6 +25034,7 @@ components:
description: List of case responses.
properties:
data:
description: Array of case response data objects.
items:
$ref: '#/components/schemas/FindingCaseResponseData'
type: array
Expand Down Expand Up @@ -25067,8 +25071,11 @@ components:
attributes:
additionalProperties:
items:
description: A custom attribute value string.
type: string
type: array
description: Custom attributes associated with the case as key-value pairs
where values are string arrays.
type: object
closed_at:
description: Timestamp of when the case was closed.
Expand Down Expand Up @@ -25148,6 +25155,7 @@ components:
description: Project in which the case was created.
type: object
FindingData:
description: Data object representing a security finding.
properties:
id:
description: Unique identifier of the security finding.
Expand Down Expand Up @@ -25374,6 +25382,7 @@ components:
description: A list of security findings.
properties:
data:
description: Array of security finding data objects.
items:
$ref: '#/components/schemas/FindingData'
type: array
Expand Down Expand Up @@ -44821,7 +44830,7 @@ components:
Protocol (OTLP) over gRPC and HTTP.


**Supported pipeline types:** logs, metrics'
**Supported pipeline types:** logs'
properties:
grpc_address_key:
description: Environment variable name containing the gRPC server address
Expand Down Expand Up @@ -44851,7 +44860,6 @@ components:
type: object
x-pipeline-types:
- logs
- metrics
ObservabilityPipelineOpentelemetrySourceType:
default: opentelemetry
description: The source type. The value should always be `opentelemetry`.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions features/v2/observability_pipelines.feature
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,6 @@ Feature: Observability Pipelines
And the response "data.attributes.config.destinations" has length 1
And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id"

@team:DataDog/observability-pipelines
Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response
Given new "ValidatePipeline" request
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"}}
When the request is sent
Then the response status is 200 OK
And the response "errors" has length 0

@team:DataDog/observability-pipelines
Scenario: Validate an observability pipeline returns "Bad Request" response
Given new "ValidatePipeline" request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class CaseManagementProject
include BaseGenericModel

#
# Data object representing a case management project.
attr_reader :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object representing a case management project.
class CaseManagementProjectData
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class CreateCaseRequestArray
include BaseGenericModel

#
# Array of case creation request data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class CreateJiraIssueRequestArray
include BaseGenericModel

#
# Array of Jira issue creation request data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class FindingCaseResponseArray
include BaseGenericModel

#
# Array of case response data objects.
attr_reader :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FindingCaseResponseDataAttributes
# Relationship to user.
attr_accessor :assigned_to

#
# Custom attributes associated with the case as key-value pairs where values are string arrays.
attr_accessor :attributes

# Timestamp of when the case was closed.
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v2/models/finding_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
#
# Data object representing a security finding.
class FindingData
include BaseGenericModel

Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v2/models/findings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module DatadogAPIClient::V2
class Findings
include BaseGenericModel

#
# Array of security finding data objects.
attr_accessor :data

attr_accessor :additional_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
module DatadogAPIClient::V2
# The `opentelemetry` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.
#
# **Supported pipeline types:** logs, metrics
# **Supported pipeline types:** logs
class ObservabilityPipelineOpentelemetrySource
include BaseGenericModel

Expand Down
Loading