Skip to content

Commit 5230839

Browse files
updating custom rules howto with RBAC (DataDog#25125)
* updating custom rules howto with RBAC DOCS-8922 * Apply suggestions from code review Co-authored-by: Austin Lai <76412946+alai97@users.noreply.github.com> --------- Co-authored-by: Austin Lai <76412946+alai97@users.noreply.github.com>
1 parent fcee55b commit 5230839

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/en/security/threats/workload_security_rules/custom_rules.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ This topic explains how to create custom Datadog Agent and detection rules for [
1919

2020
In addition to the out of the box (OOTB) [default Agent and detection rules][7], you can write custom Agent and detection rules. Custom rules help to detect events Datadog is not detecting with its OOTB rules.
2121

22+
## RBAC for custom rule management
23+
24+
To prevent users with the [Datadog Standard out-of-the-box role][11] from creating, updating, disabling, and deploying a changed rule using remote configuration:
25+
26+
1. A user within the Datadog Admin role must create a role containing the `security_monitoring_cws_agent_rules_write` permission.
27+
2. Add only those users that manage Agent rules to this role.
28+
29+
2230
## Custom detection rules summary
2331

2432
Custom detection rules depend on Agent rules. They are composed of existing, deployed Agent rules and additional expression parameters.
@@ -196,3 +204,4 @@ To disable a default Agent rule, navigate to the [**Agent Configuration**][6] pa
196204
[8]: /security/threats/
197205
[9]: /security/cloud_siem/log_detection_rules/?tab=threshold#set-a-rule-case
198206
[10]: https://app.datadoghq.com/notebook/list?type=runbook
207+
[11]: /account_management/rbac/permissions/

0 commit comments

Comments
 (0)