Skip to content

Commit 6a98b41

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 472eb66 of spec repo
1 parent 90a1dc9 commit 6a98b41

8 files changed

+356
-3
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "b308db8",
3-
"generated": "2025-08-04 15:39:57.539"
2+
"spec_repo_commit": "472eb66",
3+
"generated": "2025-08-04 23:23:19.755"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26846,6 +26846,7 @@ components:
2684626846
- $ref: '#/components/schemas/ObservabilityPipelineSentinelOneDestination'
2684726847
- $ref: '#/components/schemas/ObservabilityPipelineOpenSearchDestination'
2684826848
- $ref: '#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestination'
26849+
- $ref: '#/components/schemas/ObservabilityPipelineCrowdstrikeNextGenSiemDestination'
2684926850
ObservabilityPipelineConfigProcessorItem:
2685026851
description: A processor for the pipeline.
2685126852
oneOf:
@@ -26883,6 +26884,65 @@ components:
2688326884
- $ref: '#/components/schemas/ObservabilityPipelineGooglePubSubSource'
2688426885
- $ref: '#/components/schemas/ObservabilityPipelineHttpClientSource'
2688526886
- $ref: '#/components/schemas/ObservabilityPipelineLogstashSource'
26887+
ObservabilityPipelineCrowdstrikeNextGenSiemDestination:
26888+
description: The `crowdstrike_next_gen_siem` destination forwards logs to Crowdstrike
26889+
Next Gen SIEM.
26890+
properties:
26891+
compression:
26892+
$ref: '#/components/schemas/ObservabilityPipelineCrowdstrikeNextGenSiemDestinationCompression'
26893+
encoding:
26894+
$ref: '#/components/schemas/ObservabilityPipelineCrowdstrikeNextGenSiemDestinationEncoding'
26895+
id:
26896+
description: The unique identifier for this component.
26897+
example: crowdstrike-ngsiem-destination
26898+
type: string
26899+
inputs:
26900+
description: A list of component IDs whose output is used as the `input`
26901+
for this component.
26902+
example:
26903+
- filter-processor
26904+
items:
26905+
type: string
26906+
type: array
26907+
tls:
26908+
$ref: '#/components/schemas/ObservabilityPipelineTls'
26909+
type:
26910+
$ref: '#/components/schemas/ObservabilityPipelineCrowdstrikeNextGenSiemDestinationType'
26911+
required:
26912+
- id
26913+
- type
26914+
- inputs
26915+
- encoding
26916+
type: object
26917+
ObservabilityPipelineCrowdstrikeNextGenSiemDestinationCompression:
26918+
description: Compression algorithm for log events.
26919+
enum:
26920+
- gzip
26921+
- zlib
26922+
example: gzip
26923+
type: string
26924+
x-enum-varnames:
26925+
- GZIP
26926+
- ZLIB
26927+
ObservabilityPipelineCrowdstrikeNextGenSiemDestinationEncoding:
26928+
description: Encoding format for log events.
26929+
enum:
26930+
- json
26931+
- raw_message
26932+
example: json
26933+
type: string
26934+
x-enum-varnames:
26935+
- JSON
26936+
- RAW_MESSAGE
26937+
ObservabilityPipelineCrowdstrikeNextGenSiemDestinationType:
26938+
default: crowdstrike_next_gen_siem
26939+
description: The destination type. The value should always be `crowdstrike_next_gen_siem`.
26940+
enum:
26941+
- crowdstrike_next_gen_siem
26942+
example: crowdstrike_next_gen_siem
26943+
type: string
26944+
x-enum-varnames:
26945+
- CROWDSTRIKE_NEXT_GEN_SIEM
2688626946
ObservabilityPipelineData:
2688726947
description: "Contains the pipeline\u2019s ID, type, and configuration attributes."
2688826948
properties:

lib/datadog_api_client/inflector.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,6 +2621,10 @@ def overrides
26212621
"v2.observability_pipeline_config_destination_item" => "ObservabilityPipelineConfigDestinationItem",
26222622
"v2.observability_pipeline_config_processor_item" => "ObservabilityPipelineConfigProcessorItem",
26232623
"v2.observability_pipeline_config_source_item" => "ObservabilityPipelineConfigSourceItem",
2624+
"v2.observability_pipeline_crowdstrike_next_gen_siem_destination" => "ObservabilityPipelineCrowdstrikeNextGenSiemDestination",
2625+
"v2.observability_pipeline_crowdstrike_next_gen_siem_destination_compression" => "ObservabilityPipelineCrowdstrikeNextGenSiemDestinationCompression",
2626+
"v2.observability_pipeline_crowdstrike_next_gen_siem_destination_encoding" => "ObservabilityPipelineCrowdstrikeNextGenSiemDestinationEncoding",
2627+
"v2.observability_pipeline_crowdstrike_next_gen_siem_destination_type" => "ObservabilityPipelineCrowdstrikeNextGenSiemDestinationType",
26242628
"v2.observability_pipeline_data" => "ObservabilityPipelineData",
26252629
"v2.observability_pipeline_data_attributes" => "ObservabilityPipelineDataAttributes",
26262630
"v2.observability_pipeline_datadog_agent_source" => "ObservabilityPipelineDatadogAgentSource",

lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def openapi_one_of
4040
:'ObservabilityPipelineNewRelicDestination',
4141
:'ObservabilityPipelineSentinelOneDestination',
4242
:'ObservabilityPipelineOpenSearchDestination',
43-
:'ObservabilityPipelineAmazonOpenSearchDestination'
43+
:'ObservabilityPipelineAmazonOpenSearchDestination',
44+
:'ObservabilityPipelineCrowdstrikeNextGenSiemDestination'
4445
]
4546
end
4647
# Builds the object
Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# The `crowdstrike_next_gen_siem` destination forwards logs to Crowdstrike Next Gen SIEM.
21+
class ObservabilityPipelineCrowdstrikeNextGenSiemDestination
22+
include BaseGenericModel
23+
24+
# Compression algorithm for log events.
25+
attr_accessor :compression
26+
27+
# Encoding format for log events.
28+
attr_reader :encoding
29+
30+
# The unique identifier for this component.
31+
attr_reader :id
32+
33+
# A list of component IDs whose output is used as the `input` for this component.
34+
attr_reader :inputs
35+
36+
# Configuration for enabling TLS encryption between the pipeline component and external services.
37+
attr_accessor :tls
38+
39+
# The destination type. The value should always be `crowdstrike_next_gen_siem`.
40+
attr_reader :type
41+
42+
attr_accessor :additional_properties
43+
44+
# Attribute mapping from ruby-style variable name to JSON key.
45+
# @!visibility private
46+
def self.attribute_map
47+
{
48+
:'compression' => :'compression',
49+
:'encoding' => :'encoding',
50+
:'id' => :'id',
51+
:'inputs' => :'inputs',
52+
:'tls' => :'tls',
53+
:'type' => :'type'
54+
}
55+
end
56+
57+
# Attribute type mapping.
58+
# @!visibility private
59+
def self.openapi_types
60+
{
61+
:'compression' => :'ObservabilityPipelineCrowdstrikeNextGenSiemDestinationCompression',
62+
:'encoding' => :'ObservabilityPipelineCrowdstrikeNextGenSiemDestinationEncoding',
63+
:'id' => :'String',
64+
:'inputs' => :'Array<String>',
65+
:'tls' => :'ObservabilityPipelineTls',
66+
:'type' => :'ObservabilityPipelineCrowdstrikeNextGenSiemDestinationType'
67+
}
68+
end
69+
70+
# Initializes the object
71+
# @param attributes [Hash] Model attributes in the form of hash
72+
# @!visibility private
73+
def initialize(attributes = {})
74+
if (!attributes.is_a?(Hash))
75+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::ObservabilityPipelineCrowdstrikeNextGenSiemDestination` initialize method"
76+
end
77+
78+
self.additional_properties = {}
79+
# check to see if the attribute exists and convert string to symbol for hash key
80+
attributes = attributes.each_with_object({}) { |(k, v), h|
81+
if (!self.class.attribute_map.key?(k.to_sym))
82+
self.additional_properties[k.to_sym] = v
83+
else
84+
h[k.to_sym] = v
85+
end
86+
}
87+
88+
if attributes.key?(:'compression')
89+
self.compression = attributes[:'compression']
90+
end
91+
92+
if attributes.key?(:'encoding')
93+
self.encoding = attributes[:'encoding']
94+
end
95+
96+
if attributes.key?(:'id')
97+
self.id = attributes[:'id']
98+
end
99+
100+
if attributes.key?(:'inputs')
101+
if (value = attributes[:'inputs']).is_a?(Array)
102+
self.inputs = value
103+
end
104+
end
105+
106+
if attributes.key?(:'tls')
107+
self.tls = attributes[:'tls']
108+
end
109+
110+
if attributes.key?(:'type')
111+
self.type = attributes[:'type']
112+
end
113+
end
114+
115+
# Check to see if the all the properties in the model are valid
116+
# @return true if the model is valid
117+
# @!visibility private
118+
def valid?
119+
return false if @encoding.nil?
120+
return false if @id.nil?
121+
return false if @inputs.nil?
122+
return false if @type.nil?
123+
true
124+
end
125+
126+
# Custom attribute writer method with validation
127+
# @param encoding [Object] Object to be assigned
128+
# @!visibility private
129+
def encoding=(encoding)
130+
if encoding.nil?
131+
fail ArgumentError, 'invalid value for "encoding", encoding cannot be nil.'
132+
end
133+
@encoding = encoding
134+
end
135+
136+
# Custom attribute writer method with validation
137+
# @param id [Object] Object to be assigned
138+
# @!visibility private
139+
def id=(id)
140+
if id.nil?
141+
fail ArgumentError, 'invalid value for "id", id cannot be nil.'
142+
end
143+
@id = id
144+
end
145+
146+
# Custom attribute writer method with validation
147+
# @param inputs [Object] Object to be assigned
148+
# @!visibility private
149+
def inputs=(inputs)
150+
if inputs.nil?
151+
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
152+
end
153+
@inputs = inputs
154+
end
155+
156+
# Custom attribute writer method with validation
157+
# @param type [Object] Object to be assigned
158+
# @!visibility private
159+
def type=(type)
160+
if type.nil?
161+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
162+
end
163+
@type = type
164+
end
165+
166+
# Returns the object in the form of hash, with additionalProperties support.
167+
# @return [Hash] Returns the object in the form of hash
168+
# @!visibility private
169+
def to_hash
170+
hash = {}
171+
self.class.attribute_map.each_pair do |attr, param|
172+
value = self.send(attr)
173+
if value.nil?
174+
is_nullable = self.class.openapi_nullable.include?(attr)
175+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
176+
end
177+
178+
hash[param] = _to_hash(value)
179+
end
180+
self.additional_properties.each_pair do |attr, value|
181+
hash[attr] = value
182+
end
183+
hash
184+
end
185+
186+
# Checks equality by comparing each attribute.
187+
# @param o [Object] Object to be compared
188+
# @!visibility private
189+
def ==(o)
190+
return true if self.equal?(o)
191+
self.class == o.class &&
192+
compression == o.compression &&
193+
encoding == o.encoding &&
194+
id == o.id &&
195+
inputs == o.inputs &&
196+
tls == o.tls &&
197+
type == o.type &&
198+
additional_properties == o.additional_properties
199+
end
200+
201+
# Calculates hash code according to all attributes.
202+
# @return [Integer] Hash code
203+
# @!visibility private
204+
def hash
205+
[compression, encoding, id, inputs, tls, type, additional_properties].hash
206+
end
207+
end
208+
end
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# Compression algorithm for log events.
21+
class ObservabilityPipelineCrowdstrikeNextGenSiemDestinationCompression
22+
include BaseEnumModel
23+
24+
GZIP = "gzip".freeze
25+
ZLIB = "zlib".freeze
26+
end
27+
end
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# Encoding format for log events.
21+
class ObservabilityPipelineCrowdstrikeNextGenSiemDestinationEncoding
22+
include BaseEnumModel
23+
24+
JSON = "json".freeze
25+
RAW_MESSAGE = "raw_message".freeze
26+
end
27+
end
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# The destination type. The value should always be `crowdstrike_next_gen_siem`.
21+
class ObservabilityPipelineCrowdstrikeNextGenSiemDestinationType
22+
include BaseEnumModel
23+
24+
CROWDSTRIKE_NEXT_GEN_SIEM = "crowdstrike_next_gen_siem".freeze
25+
end
26+
end

0 commit comments

Comments
 (0)