Skip to content

Commit c290f14

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0aca514 of spec repo
1 parent 09e5fd4 commit c290f14

6 files changed

Lines changed: 50 additions & 21 deletions

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126271,7 +126271,7 @@ components:
126271126271
$ref: "#/components/schemas/SecurityMonitoringCriticalAsset"
126272126272
type: object
126273126273
SecurityMonitoringCriticalAssetSeverity:
126274-
description: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).
126274+
description: Severity associated with this dynamic severity rule (previously called critical assets). Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).
126275126275
enum:
126276126276
- info
126277126277
- low
@@ -248885,7 +248885,7 @@ paths:
248885248885
- security_monitoring_cws_agent_rules_read
248886248886
/api/v2/security_monitoring/configuration/critical_assets:
248887248887
get:
248888-
description: Get the list of all critical assets.
248888+
description: Get the list of all dynamic severity rules (previously called critical assets).
248889248889
operationId: ListSecurityMonitoringCriticalAssets
248890248890
responses:
248891248891
"200":
@@ -248918,8 +248918,12 @@ paths:
248918248918
summary: Get all critical assets
248919248919
tags:
248920248920
- Security Monitoring
248921+
x-permission:
248922+
operator: OR
248923+
permissions:
248924+
- security_monitoring_critical_assets_read
248921248925
post:
248922-
description: Create a new critical asset.
248926+
description: Create a new dynamic severity rule (previously called critical assets).
248923248927
operationId: CreateSecurityMonitoringCriticalAsset
248924248928
requestBody:
248925248929
content:
@@ -248977,9 +248981,13 @@ paths:
248977248981
tags:
248978248982
- Security Monitoring
248979248983
x-codegen-request-body-name: body
248984+
x-permission:
248985+
operator: OR
248986+
permissions:
248987+
- security_monitoring_critical_assets_write
248980248988
/api/v2/security_monitoring/configuration/critical_assets/rules/{rule_id}:
248981248989
get:
248982-
description: Get the list of critical assets that affect a specific existing rule by the rule's ID.
248990+
description: Get the list of dynamic severity rules (previously called critical assets) that affect a specific existing rule by the rule's ID.
248983248991
operationId: GetCriticalAssetsAffectingRule
248984248992
parameters:
248985248993
- $ref: "#/components/parameters/SecurityMonitoringRuleID"
@@ -249016,9 +249024,13 @@ paths:
249016249024
summary: Get critical assets affecting a specific rule
249017249025
tags:
249018249026
- Security Monitoring
249027+
x-permission:
249028+
operator: OR
249029+
permissions:
249030+
- security_monitoring_critical_assets_read
249019249031
/api/v2/security_monitoring/configuration/critical_assets/{critical_asset_id}:
249020249032
delete:
249021-
description: Delete a specific critical asset.
249033+
description: Delete a specific dynamic severity rule (previously called critical assets).
249022249034
operationId: DeleteSecurityMonitoringCriticalAsset
249023249035
parameters:
249024249036
- $ref: "#/components/parameters/SecurityMonitoringCriticalAssetID"
@@ -249039,8 +249051,12 @@ paths:
249039249051
summary: Delete a critical asset
249040249052
tags:
249041249053
- Security Monitoring
249054+
x-permission:
249055+
operator: OR
249056+
permissions:
249057+
- security_monitoring_critical_assets_write
249042249058
get:
249043-
description: Get the details of a specific critical asset.
249059+
description: Get the details of a specific dynamic severity rule (previously called critical assets).
249044249060
operationId: GetSecurityMonitoringCriticalAsset
249045249061
parameters:
249046249062
- $ref: "#/components/parameters/SecurityMonitoringCriticalAssetID"
@@ -249077,8 +249093,12 @@ paths:
249077249093
summary: Get a critical asset
249078249094
tags:
249079249095
- Security Monitoring
249096+
x-permission:
249097+
operator: OR
249098+
permissions:
249099+
- security_monitoring_critical_assets_read
249080249100
patch:
249081-
description: Update a specific critical asset.
249101+
description: Update a specific dynamic severity rule (previously called critical assets).
249082249102
operationId: UpdateSecurityMonitoringCriticalAsset
249083249103
parameters:
249084249104
- $ref: "#/components/parameters/SecurityMonitoringCriticalAssetID"
@@ -249140,6 +249160,10 @@ paths:
249140249160
summary: Update a critical asset
249141249161
tags:
249142249162
- Security Monitoring
249163+
x-permission:
249164+
operator: OR
249165+
permissions:
249166+
- security_monitoring_critical_assets_write
249143249167
/api/v2/security_monitoring/configuration/integration_config:
249144249168
get:
249145249169
description: |-

‎src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5742,7 +5742,7 @@ public SecurityMonitoringCriticalAssetResponse createSecurityMonitoringCriticalA
57425742
}
57435743

57445744
/**
5745-
* Create a new critical asset.
5745+
* Create a new dynamic severity rule (previously called critical assets).
57465746
*
57475747
* @param body The definition of the new critical asset. (required)
57485748
* @return ApiResponse<SecurityMonitoringCriticalAssetResponse>
@@ -9295,7 +9295,7 @@ public CompletableFuture<Void> deleteSecurityMonitoringCriticalAssetAsync(
92959295
}
92969296

92979297
/**
9298-
* Delete a specific critical asset.
9298+
* Delete a specific dynamic severity rule (previously called critical assets).
92999299
*
93009300
* @param criticalAssetId The ID of the critical asset. (required)
93019301
* @return ApiResponse&lt;Void&gt;
@@ -11816,7 +11816,8 @@ public SecurityMonitoringCriticalAssetsResponse getCriticalAssetsAffectingRule(S
1181611816
}
1181711817

1181811818
/**
11819-
* Get the list of critical assets that affect a specific existing rule by the rule's ID.
11819+
* Get the list of dynamic severity rules (previously called critical assets) that affect a
11820+
* specific existing rule by the rule's ID.
1182011821
*
1182111822
* @param ruleId The ID of the rule. (required)
1182211823
* @return ApiResponse&lt;SecurityMonitoringCriticalAssetsResponse&gt;
@@ -15724,7 +15725,7 @@ public SecurityMonitoringCriticalAssetResponse getSecurityMonitoringCriticalAsse
1572415725
}
1572515726

1572615727
/**
15727-
* Get the details of a specific critical asset.
15728+
* Get the details of a specific dynamic severity rule (previously called critical assets).
1572815729
*
1572915730
* @param criticalAssetId The ID of the critical asset. (required)
1573015731
* @return ApiResponse&lt;SecurityMonitoringCriticalAssetResponse&gt;
@@ -24602,7 +24603,7 @@ public SecurityMonitoringCriticalAssetsResponse listSecurityMonitoringCriticalAs
2460224603
}
2460324604

2460424605
/**
24605-
* Get the list of all critical assets.
24606+
* Get the list of all dynamic severity rules (previously called critical assets).
2460624607
*
2460724608
* @return ApiResponse&lt;SecurityMonitoringCriticalAssetsResponse&gt;
2460824609
* @throws ApiException if fails to make API call
@@ -33323,7 +33324,7 @@ public SecurityMonitoringCriticalAssetResponse updateSecurityMonitoringCriticalA
3332333324
}
3332433325

3332533326
/**
33326-
* Update a specific critical asset.
33327+
* Update a specific dynamic severity rule (previously called critical assets).
3332733328
*
3332833329
* @param criticalAssetId The ID of the critical asset. (required)
3332933330
* @param body New definition of the critical asset. Supports partial updates. (required)

‎src/main/java/com/datadog/api/client/v2/model/SecurityMonitoringCriticalAssetAttributes.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,9 @@ public SecurityMonitoringCriticalAssetAttributes severity(
263263
}
264264

265265
/**
266-
* Severity associated with this critical asset. Either an explicit severity can be set, or the
267-
* severity can be increased or decreased, or the severity can be left unchanged (no-op).
266+
* Severity associated with this dynamic severity rule (previously called critical assets). Either
267+
* an explicit severity can be set, or the severity can be increased or decreased, or the severity
268+
* can be left unchanged (no-op).
268269
*
269270
* @return severity
270271
*/

‎src/main/java/com/datadog/api/client/v2/model/SecurityMonitoringCriticalAssetCreateAttributes.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ public SecurityMonitoringCriticalAssetCreateAttributes severity(
156156
}
157157

158158
/**
159-
* Severity associated with this critical asset. Either an explicit severity can be set, or the
160-
* severity can be increased or decreased, or the severity can be left unchanged (no-op).
159+
* Severity associated with this dynamic severity rule (previously called critical assets). Either
160+
* an explicit severity can be set, or the severity can be increased or decreased, or the severity
161+
* can be left unchanged (no-op).
161162
*
162163
* @return severity
163164
*/

‎src/main/java/com/datadog/api/client/v2/model/SecurityMonitoringCriticalAssetSeverity.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
import java.util.Set;
2020

2121
/**
22-
* Severity associated with this critical asset. Either an explicit severity can be set, or the
23-
* severity can be increased or decreased, or the severity can be left unchanged (no-op).
22+
* Severity associated with this dynamic severity rule (previously called critical assets). Either
23+
* an explicit severity can be set, or the severity can be increased or decreased, or the severity
24+
* can be left unchanged (no-op).
2425
*/
2526
@JsonSerialize(
2627
using =

‎src/main/java/com/datadog/api/client/v2/model/SecurityMonitoringCriticalAssetUpdateAttributes.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ public SecurityMonitoringCriticalAssetUpdateAttributes severity(
147147
}
148148

149149
/**
150-
* Severity associated with this critical asset. Either an explicit severity can be set, or the
151-
* severity can be increased or decreased, or the severity can be left unchanged (no-op).
150+
* Severity associated with this dynamic severity rule (previously called critical assets). Either
151+
* an explicit severity can be set, or the severity can be increased or decreased, or the severity
152+
* can be left unchanged (no-op).
152153
*
153154
* @return severity
154155
*/

0 commit comments

Comments
 (0)