Skip to content

Commit fd021b0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SEC-19271] Update documentation about updating tags for Default Rules (#1615)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 1b689fa commit fd021b0

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-05-09 08:09:13.561032",
8-
"spec_repo_commit": "f983a01b"
7+
"regenerated": "2024-05-09 17:36:03.969503",
8+
"spec_repo_commit": "c5ba75e0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-09 08:09:13.578695",
13-
"spec_repo_commit": "f983a01b"
12+
"regenerated": "2024-05-09 17:36:03.987397",
13+
"spec_repo_commit": "c5ba75e0"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32613,7 +32613,10 @@ paths:
3261332613
must be included. For example, when modifying a query all queries must be
3261432614
included.
3261532615

32616-
Default rules can only be updated to be enabled and to change notifications.'
32616+
Default rules can only be updated to be enabled, to change notifications,
32617+
or to update
32618+
32619+
the tags (default tags cannot be removed).'
3261732620
operationId: UpdateSecurityMonitoringRule
3261832621
parameters:
3261932622
- $ref: '#/components/parameters/SecurityMonitoringRuleID'

packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3853,7 +3853,8 @@ export class SecurityMonitoringApi {
38533853
/**
38543854
* Update an existing rule. When updating `cases`, `queries` or `options`, the whole field
38553855
* must be included. For example, when modifying a query all queries must be included.
3856-
* Default rules can only be updated to be enabled and to change notifications.
3856+
* Default rules can only be updated to be enabled, to change notifications, or to update
3857+
* the tags (default tags cannot be removed).
38573858
* @param param The request object
38583859
*/
38593860
public updateSecurityMonitoringRule(

0 commit comments

Comments
 (0)