![]() |
VOOZH | about |
Cloud SIEM | Cloud Security | App and API Protection | Workload Protection
Detection rules define conditional logic that is applied to all ingested logs and cloud configurations. When at least one case defined in a rule is matched over a given period of time, a security signal is generated. You can view these signals in the Signals Explorer.
Datadog provides out-of-the-box detection rules to flag attacker techniques and potential misconfigurations. When new detection rules are released, they are automatically imported into your account, your App and API Protection library, and the Agent, depending on your configuration.
Out-of-the box rules are available for the following security products:
Cloud SIEM | App and API Protection | Workload Protection
MITRE ATT&CK is a framework that helps organizations understand how cyber attackers operate. It maps the following:
By mapping tactics and techniques, MITRE ATT&CK provides security teams with a common language to communicate threats and better prepare defenses.
To use the MITRE ATT&CK map, do the following:
Datadog’s Security Research team continually adds new OOTB security detection rules. While the aim is to deliver high quality detections with the release of integrations or other new features, the performance of the detection at scale often needs to be observed before making the rule generally available. This gives Datadog’s Security Research the time to either refine or deprecate detection opportunities that do not meet our standards.
There may be situations where you need to customize a rule based on your environment or workload. For example, if you’re using AAP, you may want to customize a detection rule that detects users performing sensitive actions from a geolocation where your business doesn’t operate.
To create custom rules, you can clone the default rules and edit the copies, or create your own rules from scratch.
To view out-of-the-box and custom detection rules in Datadog, navigate to the Security Settings page. Rules are listed on separate pages for each product (App and API Protection, Cloud Security, and Cloud SIEM).
To search and filter the rules, use the search box and facets to query by value. For example, to only show rules for a given rule type, hover over the rule type and select only. You can also filter by facets such as source and severity when investigating and triaging incoming issues.
To create a custom detection rule, click the New Rule button in the upper-right corner of the Detection Rules page. You can also clone an existing default or custom rule and use it as a template.
For detailed instructions, see the following articles:
You can manage detection rules from both the SIEM or Workload Protection pages in Datadog. These instructions describe how to perform these actions from those pages, but these options are also available when you click on a detection rule to open it in a side panel.
To enable or disable a rule, toggle the switch to the right of the rule name.
You can also bulk enable or disable rules:
You can edit out-of-the-box and custom detection rules. If you want to preserve the original rule instead of editing it directly, you can clone the rule, make changes to the cloned rule, and disable the original rule.
To edit a rule, click the vertical three-dot menu for the rule and select Edit default rule or Edit rule, depending on the rule type.
To clone a rule, click the vertical three-dot menu for the rule and select Clone rule.
Cloning a rule is helpful if you wish to duplicate an existing rule and lightly modify settings to cover other areas of detection. For example, you could duplicate a log detection rule and modify it from Threshold to Anomaly to add a new dimension to threat detection using the same queries and triggers.
To delete a rule, click the vertical three-dot menu for the rule and select Delete rule.
You can also bulk delete rules:
Use Rule Version History to:
To see the version history of a rule:
By default, all users have view and edit access to the detection rules. To use granular access controls to limit the roles that may edit a single rule:
Note: To maintain your edit access to the rule, Datadog requires you to include at least one role that you are a member of before saving.
To restore access to a rule:
To view the security signals for a rule in the Signals Explorer, click the vertical three-dot menu and select View generated signals. This is useful when correlating signals across multiple sources by rule, or when completing an audit of rules.
To export a copy of a rule, click the rule to open it in the side panel. Click Export, then select either Export rule to JSON or Export rule to Terraform.
You can also bulk export rules:
Regular audits of all detection rules are performed to maintain high fidelity signal quality. Deprecated rules are replaced with an improved rule.
The rule deprecation process is as follows:
Additional helpful documentation, links, and articles:
| |