Skip to content

Commit 79d951f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SEC-19271] Update documentation about updating tags for Default Rules (#1963)
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 4488b8f commit 79d951f

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:01.830466",
8-
"spec_repo_commit": "f983a01b"
7+
"regenerated": "2024-05-09 17:36:00.980928",
8+
"spec_repo_commit": "c5ba75e0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-09 08:09:01.849873",
13-
"spec_repo_commit": "f983a01b"
12+
"regenerated": "2024-05-09 17:36:00.997953",
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/datadog_api_client/v2/api/security_monitoring_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,8 @@ def update_security_monitoring_rule(
14881488
14891489
Update an existing rule. When updating ``cases`` , ``queries`` or ``options`` , the whole field
14901490
must be included. For example, when modifying a query all queries must be included.
1491-
Default rules can only be updated to be enabled and to change notifications.
1491+
Default rules can only be updated to be enabled, to change notifications, or to update
1492+
the tags (default tags cannot be removed).
14921493
14931494
:param rule_id: The ID of the rule.
14941495
:type rule_id: str

0 commit comments

Comments
 (0)