Skip to content

Commit 187171f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SEC-29485] Add noop severity to critical assets api specs (#3766)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 7f4df7f commit 187171f

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56896,7 +56896,7 @@ components:
5689656896
$ref: "#/components/schemas/SecurityMonitoringCriticalAsset"
5689756897
type: object
5689856898
SecurityMonitoringCriticalAssetSeverity:
56899-
description: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
56899+
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).
5690056900
enum:
5690156901
- info
5690256902
- low
@@ -56905,6 +56905,7 @@ components:
5690556905
- critical
5690656906
- increase
5690756907
- decrease
56908+
- no-op
5690856909
example: increase
5690956910
type: string
5691056911
x-enum-varnames:
@@ -56915,6 +56916,7 @@ components:
5691556916
- CRITICAL
5691656917
- INCREASE
5691756918
- DECREASE
56919+
- NO_OP
5691856920
SecurityMonitoringCriticalAssetType:
5691956921
default: critical_assets
5692056922
description: The type of the resource. The value should always be `critical_assets`.

packages/datadog-api-client-v2/models/ObjectSerializer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5057,6 +5057,7 @@ const enumsMap: { [key: string]: any[] } = {
50575057
"critical",
50585058
"increase",
50595059
"decrease",
5060+
"no-op",
50605061
],
50615062
SecurityMonitoringCriticalAssetType: ["critical_assets"],
50625063
SecurityMonitoringFilterAction: ["require", "suppress"],

packages/datadog-api-client-v2/models/SecurityMonitoringCriticalAssetAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class SecurityMonitoringCriticalAssetAttributes {
3737
*/
3838
"ruleQuery"?: string;
3939
/**
40-
* Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
40+
* 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).
4141
*/
4242
"severity"?: SecurityMonitoringCriticalAssetSeverity;
4343
/**

packages/datadog-api-client-v2/models/SecurityMonitoringCriticalAssetCreateAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class SecurityMonitoringCriticalAssetCreateAttributes {
2424
*/
2525
"ruleQuery": string;
2626
/**
27-
* Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
27+
* 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).
2828
*/
2929
"severity": SecurityMonitoringCriticalAssetSeverity;
3030
/**

packages/datadog-api-client-v2/models/SecurityMonitoringCriticalAssetSeverity.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
10+
* 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).
1111
*/
1212

1313
export type SecurityMonitoringCriticalAssetSeverity =
@@ -18,6 +18,7 @@ export type SecurityMonitoringCriticalAssetSeverity =
1818
| typeof CRITICAL
1919
| typeof INCREASE
2020
| typeof DECREASE
21+
| typeof NO_OP
2122
| UnparsedObject;
2223
export const INFO = "info";
2324
export const LOW = "low";
@@ -26,3 +27,4 @@ export const HIGH = "high";
2627
export const CRITICAL = "critical";
2728
export const INCREASE = "increase";
2829
export const DECREASE = "decrease";
30+
export const NO_OP = "no-op";

packages/datadog-api-client-v2/models/SecurityMonitoringCriticalAssetUpdateAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class SecurityMonitoringCriticalAssetUpdateAttributes {
2424
*/
2525
"ruleQuery"?: string;
2626
/**
27-
* Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
27+
* 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).
2828
*/
2929
"severity"?: SecurityMonitoringCriticalAssetSeverity;
3030
/**

0 commit comments

Comments
 (0)