Skip to content

Commit e79525f

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

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
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:01.498319",
8-
"spec_repo_commit": "f983a01b"
7+
"regenerated": "2024-05-09 17:36:01.590391",
8+
"spec_repo_commit": "c5ba75e0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-09 08:09:01.527975",
13-
"spec_repo_commit": "f983a01b"
12+
"regenerated": "2024-05-09 17:36:01.608771",
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'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4040,8 +4040,8 @@ public CompletableFuture<SecurityMonitoringRuleResponse> updateSecurityMonitorin
40404040
/**
40414041
* Update an existing rule. When updating <code>cases</code>, <code>queries</code> or <code>
40424042
* options</code>, the whole field must be included. For example, when modifying a query all
4043-
* queries must be included. Default rules can only be updated to be enabled and to change
4044-
* notifications.
4043+
* queries must be included. Default rules can only be updated to be enabled, to change
4044+
* notifications, or to update the tags (default tags cannot be removed).
40454045
*
40464046
* @param ruleId The ID of the rule. (required)
40474047
* @param body (required)

0 commit comments

Comments
 (0)