datadog_api_client 2.35.0 → 2.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +3 -3
- data/.generator/schemas/v2/openapi.yaml +357 -0
- data/CHANGELOG.md +26 -0
- data/examples/v2/csm-threats/CreateCSMThreatsAgentRule_1295653933.rb +3 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1735989579.rb +30 -0
- data/examples/v2/microsoft-teams-integration/CreateWorkflowsWebhookHandle_1716851881.rb +1 -1
- data/examples/v2/teams/AddMemberTeam.rb +15 -0
- data/examples/v2/teams/ListMemberTeams.rb +8 -0
- data/examples/v2/teams/ListMemberTeams_1662850354.rb +8 -0
- data/examples/v2/teams/RemoveMemberTeam.rb +8 -0
- data/lib/datadog_api_client/configuration.rb +7 -0
- data/lib/datadog_api_client/inflector.rb +8 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +2 -31
- data/lib/datadog_api_client/v2/api/teams_api.rb +254 -0
- data/lib/datadog_api_client/v2/models/add_member_team_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_author_type.rb +2 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_payload.rb +21 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +11 -1
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination.rb +2 -1
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_microsoft_sentinel.rb +228 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_microsoft_sentinel_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination.rb +2 -1
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_microsoft_sentinel.rb +228 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_microsoft_sentinel_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/member_team.rb +144 -0
- data/lib/datadog_api_client/v2/models/member_team_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +21 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_payload.rb +21 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +21 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +21 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +21 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case.rb +11 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_attributes.rb +15 -3
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_samplings.rb +137 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +14 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 103a9af7da4a139f03d97ef07e59b77dbef57aa7859f99aae5dfc58fc3852eda
|
4
|
+
data.tar.gz: f876d1c835161105508923876799248cc99ad0a61cf302fd081d84341a59b871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55135dfa39d95f4278eccac86408001f1f2dc84c57413187983e6e68557a01d3f98515b334aded80a9a646ad7b687e6ed44be7a18c0de5facb25b61c49979a70
|
7
|
+
data.tar.gz: 9c84957c0145bb165d9edc58ede814fb761471e8308675fe152bce4c83dc8aa20718cf65ee2dcbffafb2310d5ab05f160e121264f3be733fa4ef406949f2d9fa
|
data/.apigentools-info
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
"spec_versions": {
|
5
5
|
"v1": {
|
6
6
|
"apigentools_version": "1.6.6",
|
7
|
-
"regenerated": "2025-06-
|
8
|
-
"spec_repo_commit": "
|
7
|
+
"regenerated": "2025-06-23 20:34:45.845147",
|
8
|
+
"spec_repo_commit": "837c2656"
|
9
9
|
},
|
10
10
|
"v2": {
|
11
11
|
"apigentools_version": "1.6.6",
|
12
|
-
"regenerated": "2025-06-
|
13
|
-
"spec_repo_commit": "
|
12
|
+
"regenerated": "2025-06-23 20:34:45.862297",
|
13
|
+
"spec_repo_commit": "837c2656"
|
14
14
|
}
|
15
15
|
}
|
16
16
|
}
|
@@ -14785,9 +14785,6 @@ components:
|
|
14785
14785
|
description: Username to use for the basic authentication.
|
14786
14786
|
example: my_username
|
14787
14787
|
type: string
|
14788
|
-
required:
|
14789
|
-
- password
|
14790
|
-
- username
|
14791
14788
|
type: object
|
14792
14789
|
SyntheticsBasicAuthWebType:
|
14793
14790
|
default: web
|
@@ -24274,6 +24271,7 @@ paths:
|
|
24274
24271
|
- us3.datadoghq.com
|
24275
24272
|
- us5.datadoghq.com
|
24276
24273
|
- ap1.datadoghq.com
|
24274
|
+
- ap2.datadoghq.com
|
24277
24275
|
- datadoghq.eu
|
24278
24276
|
- ddog-gov.com
|
24279
24277
|
subdomain:
|
@@ -36897,6 +36895,7 @@ paths:
|
|
36897
36895
|
- us3.datadoghq.com
|
36898
36896
|
- us5.datadoghq.com
|
36899
36897
|
- ap1.datadoghq.com
|
36898
|
+
- ap2.datadoghq.com
|
36900
36899
|
- datadoghq.eu
|
36901
36900
|
- ddog-gov.com
|
36902
36901
|
subdomain:
|
@@ -36936,6 +36935,7 @@ servers:
|
|
36936
36935
|
- us3.datadoghq.com
|
36937
36936
|
- us5.datadoghq.com
|
36938
36937
|
- ap1.datadoghq.com
|
36938
|
+
- ap2.datadoghq.com
|
36939
36939
|
- datadoghq.eu
|
36940
36940
|
- ddog-gov.com
|
36941
36941
|
subdomain:
|
@@ -2200,6 +2200,14 @@ components:
|
|
2200
2200
|
type: string
|
2201
2201
|
x-enum-varnames:
|
2202
2202
|
- BILLING_DIMENSIONS
|
2203
|
+
AddMemberTeamRequest:
|
2204
|
+
description: Request to add a member team to super team's hierarchy
|
2205
|
+
properties:
|
2206
|
+
data:
|
2207
|
+
$ref: '#/components/schemas/MemberTeam'
|
2208
|
+
required:
|
2209
|
+
- data
|
2210
|
+
type: object
|
2203
2211
|
Advisory:
|
2204
2212
|
description: Advisory.
|
2205
2213
|
properties:
|
@@ -6982,11 +6990,15 @@ components:
|
|
6982
6990
|
enum:
|
6983
6991
|
- user
|
6984
6992
|
- system
|
6993
|
+
- api
|
6994
|
+
- automation
|
6985
6995
|
example: user
|
6986
6996
|
type: string
|
6987
6997
|
x-enum-varnames:
|
6988
6998
|
- USER
|
6989
6999
|
- SYSTEM
|
7000
|
+
- API
|
7001
|
+
- AUTOMATION
|
6990
7002
|
ChangeEventCustomAttributesChangedResource:
|
6991
7003
|
description: Object representing a uniquely identified resource.
|
6992
7004
|
properties:
|
@@ -7238,6 +7250,14 @@ components:
|
|
7238
7250
|
type: array
|
7239
7251
|
complianceSignalOptions:
|
7240
7252
|
$ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
|
7253
|
+
customMessage:
|
7254
|
+
description: Custom/Overridden message for generated signals (used in case
|
7255
|
+
of Default rule update).
|
7256
|
+
type: string
|
7257
|
+
customName:
|
7258
|
+
description: Custom/Overridden name of the rule (used in case of Default
|
7259
|
+
rule update).
|
7260
|
+
type: string
|
7241
7261
|
filters:
|
7242
7262
|
description: Additional queries to filter matched events before they are
|
7243
7263
|
processed.
|
@@ -7532,6 +7552,8 @@ components:
|
|
7532
7552
|
description: SECL expression used to target the container to apply the action
|
7533
7553
|
on
|
7534
7554
|
type: string
|
7555
|
+
hash:
|
7556
|
+
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionHash'
|
7535
7557
|
kill:
|
7536
7558
|
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleKill'
|
7537
7559
|
metadata:
|
@@ -7539,6 +7561,10 @@ components:
|
|
7539
7561
|
set:
|
7540
7562
|
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSet'
|
7541
7563
|
type: object
|
7564
|
+
CloudWorkloadSecurityAgentRuleActionHash:
|
7565
|
+
additionalProperties: {}
|
7566
|
+
description: An empty object indicating the hash action
|
7567
|
+
type: object
|
7542
7568
|
CloudWorkloadSecurityAgentRuleActionMetadata:
|
7543
7569
|
description: The metadata action applied on the scope matching the rule
|
7544
7570
|
properties:
|
@@ -10460,6 +10486,7 @@ components:
|
|
10460
10486
|
- $ref: '#/components/schemas/CustomDestinationForwardDestinationHttp'
|
10461
10487
|
- $ref: '#/components/schemas/CustomDestinationForwardDestinationSplunk'
|
10462
10488
|
- $ref: '#/components/schemas/CustomDestinationForwardDestinationElasticsearch'
|
10489
|
+
- $ref: '#/components/schemas/CustomDestinationForwardDestinationMicrosoftSentinel'
|
10463
10490
|
CustomDestinationForwardDestinationElasticsearch:
|
10464
10491
|
description: The Elasticsearch destination.
|
10465
10492
|
properties:
|
@@ -10544,6 +10571,49 @@ components:
|
|
10544
10571
|
type: string
|
10545
10572
|
x-enum-varnames:
|
10546
10573
|
- HTTP
|
10574
|
+
CustomDestinationForwardDestinationMicrosoftSentinel:
|
10575
|
+
description: The Microsoft Sentinel destination.
|
10576
|
+
properties:
|
10577
|
+
client_id:
|
10578
|
+
description: Client ID from the Datadog Azure integration.
|
10579
|
+
example: 9a2f4d83-2b5e-429e-a35a-2b3c4182db71
|
10580
|
+
type: string
|
10581
|
+
data_collection_endpoint:
|
10582
|
+
description: Azure data collection endpoint.
|
10583
|
+
example: https://my-dce-5kyl.eastus-1.ingest.monitor.azure.com
|
10584
|
+
type: string
|
10585
|
+
data_collection_rule_id:
|
10586
|
+
description: Azure data collection rule ID.
|
10587
|
+
example: dcr-000a00a000a00000a000000aa000a0aa
|
10588
|
+
type: string
|
10589
|
+
stream_name:
|
10590
|
+
description: Azure stream name.
|
10591
|
+
example: Custom-MyTable
|
10592
|
+
type: string
|
10593
|
+
writeOnly: true
|
10594
|
+
tenant_id:
|
10595
|
+
description: Tenant ID from the Datadog Azure integration.
|
10596
|
+
example: f3c9a8a1-4c2e-4d2e-b911-9f3c28c3c8b2
|
10597
|
+
type: string
|
10598
|
+
type:
|
10599
|
+
$ref: '#/components/schemas/CustomDestinationForwardDestinationMicrosoftSentinelType'
|
10600
|
+
required:
|
10601
|
+
- type
|
10602
|
+
- tenant_id
|
10603
|
+
- client_id
|
10604
|
+
- data_collection_endpoint
|
10605
|
+
- data_collection_rule_id
|
10606
|
+
- stream_name
|
10607
|
+
type: object
|
10608
|
+
CustomDestinationForwardDestinationMicrosoftSentinelType:
|
10609
|
+
default: microsoft_sentinel
|
10610
|
+
description: Type of the Microsoft Sentinel destination.
|
10611
|
+
enum:
|
10612
|
+
- microsoft_sentinel
|
10613
|
+
example: microsoft_sentinel
|
10614
|
+
type: string
|
10615
|
+
x-enum-varnames:
|
10616
|
+
- MICROSOFT_SENTINEL
|
10547
10617
|
CustomDestinationForwardDestinationSplunk:
|
10548
10618
|
description: The Splunk HTTP Event Collector (HEC) destination.
|
10549
10619
|
properties:
|
@@ -10719,6 +10789,7 @@ components:
|
|
10719
10789
|
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationHttp'
|
10720
10790
|
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationSplunk'
|
10721
10791
|
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationElasticsearch'
|
10792
|
+
- $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationMicrosoftSentinel'
|
10722
10793
|
CustomDestinationResponseForwardDestinationElasticsearch:
|
10723
10794
|
description: The Elasticsearch destination.
|
10724
10795
|
properties:
|
@@ -10803,6 +10874,49 @@ components:
|
|
10803
10874
|
type: string
|
10804
10875
|
x-enum-varnames:
|
10805
10876
|
- HTTP
|
10877
|
+
CustomDestinationResponseForwardDestinationMicrosoftSentinel:
|
10878
|
+
description: The Microsoft Sentinel destination.
|
10879
|
+
properties:
|
10880
|
+
client_id:
|
10881
|
+
description: Client ID from the Datadog Azure integration.
|
10882
|
+
example: 9a2f4d83-2b5e-429e-a35a-2b3c4182db71
|
10883
|
+
type: string
|
10884
|
+
data_collection_endpoint:
|
10885
|
+
description: Azure data collection endpoint.
|
10886
|
+
example: https://my-dce-5kyl.eastus-1.ingest.monitor.azure.com
|
10887
|
+
type: string
|
10888
|
+
data_collection_rule_id:
|
10889
|
+
description: Azure data collection rule ID.
|
10890
|
+
example: dcr-000a00a000a00000a000000aa000a0aa
|
10891
|
+
type: string
|
10892
|
+
stream_name:
|
10893
|
+
description: Azure stream name.
|
10894
|
+
example: Custom-MyTable
|
10895
|
+
type: string
|
10896
|
+
writeOnly: true
|
10897
|
+
tenant_id:
|
10898
|
+
description: Tenant ID from the Datadog Azure integration.
|
10899
|
+
example: f3c9a8a1-4c2e-4d2e-b911-9f3c28c3c8b2
|
10900
|
+
type: string
|
10901
|
+
type:
|
10902
|
+
$ref: '#/components/schemas/CustomDestinationResponseForwardDestinationMicrosoftSentinelType'
|
10903
|
+
required:
|
10904
|
+
- type
|
10905
|
+
- tenant_id
|
10906
|
+
- client_id
|
10907
|
+
- data_collection_endpoint
|
10908
|
+
- data_collection_rule_id
|
10909
|
+
- stream_name
|
10910
|
+
type: object
|
10911
|
+
CustomDestinationResponseForwardDestinationMicrosoftSentinelType:
|
10912
|
+
default: microsoft_sentinel
|
10913
|
+
description: Type of the Microsoft Sentinel destination.
|
10914
|
+
enum:
|
10915
|
+
- microsoft_sentinel
|
10916
|
+
example: microsoft_sentinel
|
10917
|
+
type: string
|
10918
|
+
x-enum-varnames:
|
10919
|
+
- MICROSOFT_SENTINEL
|
10806
10920
|
CustomDestinationResponseForwardDestinationSplunk:
|
10807
10921
|
description: The Splunk HTTP Event Collector (HEC) destination.
|
10808
10922
|
properties:
|
@@ -21300,6 +21414,28 @@ components:
|
|
21300
21414
|
- ms_channel_name
|
21301
21415
|
- redirect_url
|
21302
21416
|
type: object
|
21417
|
+
MemberTeam:
|
21418
|
+
description: A member team
|
21419
|
+
properties:
|
21420
|
+
id:
|
21421
|
+
description: The member team's identifier
|
21422
|
+
example: aeadc05e-98a8-11ec-ac2c-da7ad0900001
|
21423
|
+
type: string
|
21424
|
+
type:
|
21425
|
+
$ref: '#/components/schemas/MemberTeamType'
|
21426
|
+
required:
|
21427
|
+
- id
|
21428
|
+
- type
|
21429
|
+
type: object
|
21430
|
+
MemberTeamType:
|
21431
|
+
default: member_teams
|
21432
|
+
description: Member team type
|
21433
|
+
enum:
|
21434
|
+
- member_teams
|
21435
|
+
example: member_teams
|
21436
|
+
type: string
|
21437
|
+
x-enum-varnames:
|
21438
|
+
- MEMBER_TEAMS
|
21303
21439
|
Metadata:
|
21304
21440
|
description: The metadata related to this request.
|
21305
21441
|
properties:
|
@@ -32732,6 +32868,8 @@ components:
|
|
32732
32868
|
|
32733
32869
|
based on the event counts in the previously defined queries.'
|
32734
32870
|
type: string
|
32871
|
+
customStatus:
|
32872
|
+
$ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
|
32735
32873
|
name:
|
32736
32874
|
description: Name of the case.
|
32737
32875
|
type: string
|
@@ -33218,11 +33356,13 @@ components:
|
|
33218
33356
|
SecurityMonitoringRuleTypeCreate:
|
33219
33357
|
description: The rule type.
|
33220
33358
|
enum:
|
33359
|
+
- api_security
|
33221
33360
|
- application_security
|
33222
33361
|
- log_detection
|
33223
33362
|
- workload_security
|
33224
33363
|
type: string
|
33225
33364
|
x-enum-varnames:
|
33365
|
+
- API_SECURITY
|
33226
33366
|
- APPLICATION_SECURITY
|
33227
33367
|
- LOG_DETECTION
|
33228
33368
|
- WORKLOAD_SECURITY
|
@@ -33234,6 +33374,7 @@ components:
|
|
33234
33374
|
- workload_security
|
33235
33375
|
- cloud_configuration
|
33236
33376
|
- application_security
|
33377
|
+
- api_security
|
33237
33378
|
type: string
|
33238
33379
|
x-enum-varnames:
|
33239
33380
|
- LOG_DETECTION
|
@@ -33241,6 +33382,7 @@ components:
|
|
33241
33382
|
- WORKLOAD_SECURITY
|
33242
33383
|
- CLOUD_CONFIGURATION
|
33243
33384
|
- APPLICATION_SECURITY
|
33385
|
+
- API_SECURITY
|
33244
33386
|
SecurityMonitoringRuleTypeTest:
|
33245
33387
|
description: The rule type.
|
33246
33388
|
enum:
|
@@ -33258,6 +33400,13 @@ components:
|
|
33258
33400
|
type: array
|
33259
33401
|
complianceSignalOptions:
|
33260
33402
|
$ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
|
33403
|
+
customMessage:
|
33404
|
+
description: Custom/Overridden Message for generated signals (used in case
|
33405
|
+
of Default rule update).
|
33406
|
+
type: string
|
33407
|
+
customName:
|
33408
|
+
description: Custom/Overridden name (used in case of Default rule update).
|
33409
|
+
type: string
|
33261
33410
|
filters:
|
33262
33411
|
description: Additional queries to filter matched events before they are
|
33263
33412
|
processed. This field is deprecated for log detection, signal correlation,
|
@@ -33589,6 +33738,14 @@ components:
|
|
33589
33738
|
items:
|
33590
33739
|
$ref: '#/components/schemas/SecurityMonitoringRuleCaseCreate'
|
33591
33740
|
type: array
|
33741
|
+
customMessage:
|
33742
|
+
description: Custom/Overridden message for generated signals (used in case
|
33743
|
+
of Default rule update).
|
33744
|
+
type: string
|
33745
|
+
customName:
|
33746
|
+
description: Custom/Overridden name of the rule (used in case of Default
|
33747
|
+
rule update).
|
33748
|
+
type: string
|
33592
33749
|
filters:
|
33593
33750
|
description: Additional queries to filter matched events before they are
|
33594
33751
|
processed. This field is deprecated for log detection, signal correlation,
|
@@ -33688,6 +33845,14 @@ components:
|
|
33688
33845
|
description: User ID of the user who created the rule.
|
33689
33846
|
format: int64
|
33690
33847
|
type: integer
|
33848
|
+
customMessage:
|
33849
|
+
description: Custom/Overridden message for generated signals (used in case
|
33850
|
+
of Default rule update).
|
33851
|
+
type: string
|
33852
|
+
customName:
|
33853
|
+
description: Custom/Overridden name of the rule (used in case of Default
|
33854
|
+
rule update).
|
33855
|
+
type: string
|
33691
33856
|
deprecationDate:
|
33692
33857
|
description: When the rule will be deprecated, timestamp in milliseconds.
|
33693
33858
|
format: int64
|
@@ -34075,6 +34240,14 @@ components:
|
|
34075
34240
|
items:
|
34076
34241
|
$ref: '#/components/schemas/SecurityMonitoringRuleCaseCreate'
|
34077
34242
|
type: array
|
34243
|
+
customMessage:
|
34244
|
+
description: Custom/Overridden message for generated signals (used in case
|
34245
|
+
of Default rule update).
|
34246
|
+
type: string
|
34247
|
+
customName:
|
34248
|
+
description: Custom/Overridden name of the rule (used in case of Default
|
34249
|
+
rule update).
|
34250
|
+
type: string
|
34078
34251
|
filters:
|
34079
34252
|
description: Additional queries to filter matched events before they are
|
34080
34253
|
processed. This field is deprecated for log detection, signal correlation,
|
@@ -34152,6 +34325,10 @@ components:
|
|
34152
34325
|
properties:
|
34153
34326
|
aggregation:
|
34154
34327
|
$ref: '#/components/schemas/SecurityMonitoringRuleQueryAggregation'
|
34328
|
+
customQueryExtension:
|
34329
|
+
description: Query extension to append to the logs query.
|
34330
|
+
example: a > 3
|
34331
|
+
type: string
|
34155
34332
|
dataSource:
|
34156
34333
|
$ref: '#/components/schemas/SecurityMonitoringStandardDataSource'
|
34157
34334
|
distinctFields:
|
@@ -34215,6 +34392,14 @@ components:
|
|
34215
34392
|
description: User ID of the user who created the rule.
|
34216
34393
|
format: int64
|
34217
34394
|
type: integer
|
34395
|
+
customMessage:
|
34396
|
+
description: Custom/Overridden message for generated signals (used in case
|
34397
|
+
of Default rule update).
|
34398
|
+
type: string
|
34399
|
+
customName:
|
34400
|
+
description: Custom/Overridden name of the rule (used in case of Default
|
34401
|
+
rule update).
|
34402
|
+
type: string
|
34218
34403
|
defaultTags:
|
34219
34404
|
description: Default Tags for default rules (included in tags)
|
34220
34405
|
example:
|
@@ -34661,6 +34846,8 @@ components:
|
|
34661
34846
|
SecurityMonitoringThirdPartyRuleCase:
|
34662
34847
|
description: Case when signal is generated by a third party rule.
|
34663
34848
|
properties:
|
34849
|
+
customStatus:
|
34850
|
+
$ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
|
34664
34851
|
name:
|
34665
34852
|
description: Name of the case.
|
34666
34853
|
type: string
|
@@ -34972,6 +35159,11 @@ components:
|
|
34972
35159
|
items:
|
34973
35160
|
$ref: '#/components/schemas/SensitiveDataScannerProduct'
|
34974
35161
|
type: array
|
35162
|
+
samplings:
|
35163
|
+
description: List of sampling rates per product type.
|
35164
|
+
items:
|
35165
|
+
$ref: '#/components/schemas/SensitiveDataScannerSamplings'
|
35166
|
+
type: array
|
34975
35167
|
type: object
|
34976
35168
|
SensitiveDataScannerGroupCreate:
|
34977
35169
|
description: Data related to the creation of a group.
|
@@ -35403,6 +35595,19 @@ components:
|
|
35403
35595
|
meta:
|
35404
35596
|
$ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
|
35405
35597
|
type: object
|
35598
|
+
SensitiveDataScannerSamplings:
|
35599
|
+
description: Sampling configurations for the Scanning Group.
|
35600
|
+
properties:
|
35601
|
+
product:
|
35602
|
+
$ref: '#/components/schemas/SensitiveDataScannerProduct'
|
35603
|
+
rate:
|
35604
|
+
description: Rate at which data in product type will be scanned, as a percentage.
|
35605
|
+
example: 100.0
|
35606
|
+
format: double
|
35607
|
+
maximum: 100.0
|
35608
|
+
minimum: 0.0
|
35609
|
+
type: number
|
35610
|
+
type: object
|
35406
35611
|
SensitiveDataScannerStandardPattern:
|
35407
35612
|
description: Data containing the standard pattern id.
|
35408
35613
|
properties:
|
@@ -50039,6 +50244,7 @@ paths:
|
|
50039
50244
|
- us3.datadoghq.com
|
50040
50245
|
- us5.datadoghq.com
|
50041
50246
|
- ap1.datadoghq.com
|
50247
|
+
- ap2.datadoghq.com
|
50042
50248
|
- datadoghq.eu
|
50043
50249
|
- ddog-gov.com
|
50044
50250
|
subdomain:
|
@@ -60442,6 +60648,156 @@ paths:
|
|
60442
60648
|
permissions:
|
60443
60649
|
- teams_read
|
60444
60650
|
- teams_manage
|
60651
|
+
/api/v2/team/{super_team_id}/member_teams:
|
60652
|
+
get:
|
60653
|
+
description: Get all member teams.
|
60654
|
+
operationId: ListMemberTeams
|
60655
|
+
parameters:
|
60656
|
+
- description: None
|
60657
|
+
in: path
|
60658
|
+
name: super_team_id
|
60659
|
+
required: true
|
60660
|
+
schema:
|
60661
|
+
type: string
|
60662
|
+
- $ref: '#/components/parameters/PageSize'
|
60663
|
+
- $ref: '#/components/parameters/PageNumber'
|
60664
|
+
- description: List of fields that need to be fetched.
|
60665
|
+
explode: false
|
60666
|
+
in: query
|
60667
|
+
name: fields[team]
|
60668
|
+
required: false
|
60669
|
+
schema:
|
60670
|
+
items:
|
60671
|
+
$ref: '#/components/schemas/TeamsField'
|
60672
|
+
type: array
|
60673
|
+
responses:
|
60674
|
+
'200':
|
60675
|
+
content:
|
60676
|
+
application/json:
|
60677
|
+
schema:
|
60678
|
+
$ref: '#/components/schemas/TeamsResponse'
|
60679
|
+
description: OK
|
60680
|
+
'403':
|
60681
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
60682
|
+
'404':
|
60683
|
+
content:
|
60684
|
+
application/json:
|
60685
|
+
schema:
|
60686
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
60687
|
+
description: API error response.
|
60688
|
+
'429':
|
60689
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
60690
|
+
security:
|
60691
|
+
- apiKeyAuth: []
|
60692
|
+
appKeyAuth: []
|
60693
|
+
- AuthZ:
|
60694
|
+
- teams_read
|
60695
|
+
summary: Get all member teams
|
60696
|
+
tags:
|
60697
|
+
- Teams
|
60698
|
+
x-pagination:
|
60699
|
+
limitParam: page[size]
|
60700
|
+
pageParam: page[number]
|
60701
|
+
resultsPath: data
|
60702
|
+
x-permission:
|
60703
|
+
operator: OR
|
60704
|
+
permissions:
|
60705
|
+
- teams_read
|
60706
|
+
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
|
60707
|
+
|
60708
|
+
contact [Datadog support](https://docs.datadoghq.com/help/).'
|
60709
|
+
post:
|
60710
|
+
description: 'Add a member team.
|
60711
|
+
|
60712
|
+
Adds the team given by the `id` in the body as a member team of the super
|
60713
|
+
team.'
|
60714
|
+
operationId: AddMemberTeam
|
60715
|
+
parameters:
|
60716
|
+
- description: None
|
60717
|
+
in: path
|
60718
|
+
name: super_team_id
|
60719
|
+
required: true
|
60720
|
+
schema:
|
60721
|
+
type: string
|
60722
|
+
requestBody:
|
60723
|
+
content:
|
60724
|
+
application/json:
|
60725
|
+
schema:
|
60726
|
+
$ref: '#/components/schemas/AddMemberTeamRequest'
|
60727
|
+
required: true
|
60728
|
+
responses:
|
60729
|
+
'204':
|
60730
|
+
description: Added
|
60731
|
+
'403':
|
60732
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
60733
|
+
'409':
|
60734
|
+
content:
|
60735
|
+
application/json:
|
60736
|
+
schema:
|
60737
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
60738
|
+
description: API error response.
|
60739
|
+
'429':
|
60740
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
60741
|
+
security:
|
60742
|
+
- apiKeyAuth: []
|
60743
|
+
appKeyAuth: []
|
60744
|
+
- AuthZ:
|
60745
|
+
- teams_read
|
60746
|
+
summary: Add a member team
|
60747
|
+
tags:
|
60748
|
+
- Teams
|
60749
|
+
x-permission:
|
60750
|
+
operator: OR
|
60751
|
+
permissions:
|
60752
|
+
- teams_read
|
60753
|
+
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
|
60754
|
+
|
60755
|
+
contact [Datadog support](https://docs.datadoghq.com/help/).'
|
60756
|
+
/api/v2/team/{super_team_id}/member_teams/{member_team_id}:
|
60757
|
+
delete:
|
60758
|
+
description: Remove a super team's member team identified by `member_team_id`.
|
60759
|
+
operationId: RemoveMemberTeam
|
60760
|
+
parameters:
|
60761
|
+
- description: None
|
60762
|
+
in: path
|
60763
|
+
name: super_team_id
|
60764
|
+
required: true
|
60765
|
+
schema:
|
60766
|
+
type: string
|
60767
|
+
- description: None
|
60768
|
+
in: path
|
60769
|
+
name: member_team_id
|
60770
|
+
required: true
|
60771
|
+
schema:
|
60772
|
+
type: string
|
60773
|
+
responses:
|
60774
|
+
'204':
|
60775
|
+
description: No Content
|
60776
|
+
'403':
|
60777
|
+
$ref: '#/components/responses/ForbiddenResponse'
|
60778
|
+
'404':
|
60779
|
+
content:
|
60780
|
+
application/json:
|
60781
|
+
schema:
|
60782
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
60783
|
+
description: API error response.
|
60784
|
+
'429':
|
60785
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
60786
|
+
security:
|
60787
|
+
- apiKeyAuth: []
|
60788
|
+
appKeyAuth: []
|
60789
|
+
- AuthZ:
|
60790
|
+
- teams_read
|
60791
|
+
summary: Remove a member team
|
60792
|
+
tags:
|
60793
|
+
- Teams
|
60794
|
+
x-permission:
|
60795
|
+
operator: OR
|
60796
|
+
permissions:
|
60797
|
+
- teams_read
|
60798
|
+
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
|
60799
|
+
|
60800
|
+
contact [Datadog support](https://docs.datadoghq.com/help/).'
|
60445
60801
|
/api/v2/team/{team_id}:
|
60446
60802
|
delete:
|
60447
60803
|
description: Remove a team using the team's `id`.
|
@@ -62837,6 +63193,7 @@ servers:
|
|
62837
63193
|
- us3.datadoghq.com
|
62838
63194
|
- us5.datadoghq.com
|
62839
63195
|
- ap1.datadoghq.com
|
63196
|
+
- ap2.datadoghq.com
|
62840
63197
|
- datadoghq.eu
|
62841
63198
|
- ddog-gov.com
|
62842
63199
|
subdomain:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2.37.0/2025-06-24
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
* Fix basic auth requirements [#2481](https://github.com/DataDog/datadog-api-client-ruby/pull/2481)
|
7
|
+
|
8
|
+
### Added
|
9
|
+
* Microsoft Sentinel Public API support [#2479](https://github.com/DataDog/datadog-api-client-ruby/pull/2479)
|
10
|
+
* Add the AP2 datacenter. [#2477](https://github.com/DataDog/datadog-api-client-ruby/pull/2477)
|
11
|
+
|
12
|
+
## 2.36.0/2025-06-23
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
* Fix basic auth requirements [#2481](https://github.com/DataDog/datadog-api-client-ruby/pull/2481)
|
16
|
+
* Add support for the api_security detection rule type [#2476](https://github.com/DataDog/datadog-api-client-ruby/pull/2476)
|
17
|
+
|
18
|
+
### Added
|
19
|
+
* Microsoft Sentinel Public API support [#2479](https://github.com/DataDog/datadog-api-client-ruby/pull/2479)
|
20
|
+
* Add hash field to actions in CWS agent rules [#2470](https://github.com/DataDog/datadog-api-client-ruby/pull/2470)
|
21
|
+
* Add custom fields to Rule update/validate API public documentation. [#2466](https://github.com/DataDog/datadog-api-client-ruby/pull/2466)
|
22
|
+
* SDCD-1142: adding `custom_tags` optional attribute to DORA API spec [#2451](https://github.com/DataDog/datadog-api-client-ruby/pull/2451)
|
23
|
+
* Add sampling fields to SDS spec [#2447](https://github.com/DataDog/datadog-api-client-ruby/pull/2447)
|
24
|
+
* Add API spec for team hierarchy APIs [#2420](https://github.com/DataDog/datadog-api-client-ruby/pull/2420)
|
25
|
+
|
26
|
+
### Changed
|
27
|
+
* Update events intake specs for v2 Events post endpoint [#2460](https://github.com/DataDog/datadog-api-client-ruby/pull/2460)
|
28
|
+
|
3
29
|
## 2.35.0/2025-06-16
|
4
30
|
|
5
31
|
### Fixed
|
@@ -24,6 +24,9 @@ body = DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateRequest.new({
|
|
24
24
|
scope: "process",
|
25
25
|
}),
|
26
26
|
}),
|
27
|
+
DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleAction.new({
|
28
|
+
_hash: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleActionHash.new({}),
|
29
|
+
}),
|
27
30
|
],
|
28
31
|
}),
|
29
32
|
type: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleType::AGENT_RULE,
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Create a Microsoft Sentinel custom destination returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::LogsCustomDestinationsAPI.new
|
5
|
+
|
6
|
+
body = DatadogAPIClient::V2::CustomDestinationCreateRequest.new({
|
7
|
+
data: DatadogAPIClient::V2::CustomDestinationCreateRequestDefinition.new({
|
8
|
+
attributes: DatadogAPIClient::V2::CustomDestinationCreateRequestAttributes.new({
|
9
|
+
enabled: false,
|
10
|
+
forward_tags: false,
|
11
|
+
forward_tags_restriction_list: [
|
12
|
+
"datacenter",
|
13
|
+
"host",
|
14
|
+
],
|
15
|
+
forward_tags_restriction_list_type: DatadogAPIClient::V2::CustomDestinationAttributeTagsRestrictionListType::ALLOW_LIST,
|
16
|
+
forwarder_destination: DatadogAPIClient::V2::CustomDestinationForwardDestinationMicrosoftSentinel.new({
|
17
|
+
type: DatadogAPIClient::V2::CustomDestinationForwardDestinationMicrosoftSentinelType::MICROSOFT_SENTINEL,
|
18
|
+
tenant_id: "f3c9a8a1-4c2e-4d2e-b911-9f3c28c3c8b2",
|
19
|
+
client_id: "9a2f4d83-2b5e-429e-a35a-2b3c4182db71",
|
20
|
+
data_collection_endpoint: "https://my-dce-5kyl.eastus-1.ingest.monitor.azure.com",
|
21
|
+
data_collection_rule_id: "dcr-000a00a000a00000a000000aa000a0aa",
|
22
|
+
stream_name: "Custom-MyTable",
|
23
|
+
}),
|
24
|
+
name: "Nginx logs",
|
25
|
+
query: "source:nginx",
|
26
|
+
}),
|
27
|
+
type: DatadogAPIClient::V2::CustomDestinationType::CUSTOM_DESTINATION,
|
28
|
+
}),
|
29
|
+
})
|
30
|
+
p api_instance.create_logs_custom_destination(body)
|
@@ -7,7 +7,7 @@ body = DatadogAPIClient::V2::MicrosoftTeamsCreateWorkflowsWebhookHandleRequest.n
|
|
7
7
|
data: DatadogAPIClient::V2::MicrosoftTeamsWorkflowsWebhookHandleRequestData.new({
|
8
8
|
attributes: DatadogAPIClient::V2::MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes.new({
|
9
9
|
name: "Example-Microsoft-Teams-Integration",
|
10
|
-
url: "https://
|
10
|
+
url: "https://example.logic.azure.com/workflows/123",
|
11
11
|
}),
|
12
12
|
type: DatadogAPIClient::V2::MicrosoftTeamsWorkflowsWebhookHandleType::WORKFLOWS_WEBHOOK_HANDLE,
|
13
13
|
}),
|