Amazon GuardDuty Custom Detection Rules From Dry Run to Live - Associations, the 14-Day Expiry, and Organization Configuration
First Published:
Last Updated:
This article explains what happens after you enable a rule. While it may seem that enabling a rule initiates detections and that distributing it to an organization makes it work the same in every account, this isn't always the case. This article addresses four key questions: What is the relationship between rules and associations? What is the difference between dry run and live mode, and when does a dry run end? Who manages the organization configuration, and how does it reach member accounts? Under what circumstances does a rule fail to match without reporting an error? Finally, the article compares the direction of Custom Detection Rules with suppression rules and trusted lists.
To summarize, rules without an association will not be evaluated. In dry run mode, no findings are generated; only Amazon CloudWatch metrics are emitted when a match occurs. The association for a dry run expires after 14 days from its creation, and the rule reverts to the Disabled state. Live mode, on the other hand, generates findings and does not expire. Only the GuardDuty delegated administrator account can create an organization configuration. Member accounts cannot independently enable or disable rules. Invitation-based member accounts are not covered by organization configurations. Updating an organization configuration does not change its mode. To change the mode, you must delete the existing configuration and recreate it with the desired mode. Runtime Monitoring rules do not match, and report no error, if the agent on a resource is older than the minimum agent version required by the rule. CloudTrail rules will not match if their conditions depend on redacted fields.
This article is based on materials read on November 30, 2026 (Japan Standard Time). This date marked the first day of AWS re:Invent 2026 (November 30 to December 4, 2026), and the article does not include anything announced during the event. This article does not include hands-on testing. Pricing information is not provided.
Related articles on this site:
- Amazon GuardDuty Extended Threat Detection Architecture - Attack Sequences, Runtime Monitoring, and Response Automation
- Detection Engineering on AWS - What a Custom Source Must Satisfy Before a Detection Can Be Written, and What the Detection Still Does Not See
- Tuning Security Hub CSPM Without Hiding Findings - Control Parameters, Automation Rules, Suppression, and Disabled Controls
- eBPF on Amazon EKS - What Loads Into Your Nodes, When a Network Policy Starts Enforcing, and Where the Coverage Stops
- Threat Detection for AI Workloads on AWS - What GuardDuty AI Protection Detects, What It Does Not, and How to Read a Finding
- AWS Multi-Account Operational Patterns - Control Tower, Organizations, SCPs
Table of Contents
- 1. Scope and Assumptions
- 2. Rules, Associations, Modes, States
- 3. Dry Run and Live
- 4. Organization Configuration
- 5. Data Sources and When a Rule Does Not Match Without an Error
- 6. Finding Names and Aggregation
- 7. Differences Between Suppression Rules, Trusted Lists, and Custom Detection Rules
- 8. Frequently Asked Questions about Amazon GuardDuty Custom Detection Rules
- 9. Summary
- 10. References
1. Scope and Assumptions
This chapter first defines the intended audience for this article, the scope of the content, the source materials used, and the notation used in this article. It also lists the dates of two key announcements, along with the number of items associated with each source material.1.1 Intended Audience
This article is intended for security operations professionals who are managing GuardDuty within an AWS Organizations account with delegated administrator privileges.It is for those who want to add a detection for activity that should not occur in an account, such as sharing an AMI externally or signing in without MFA.
It is also for individuals who are interested in testing Runtime Monitoring rules and want to understand what happens during the transition from dry run to live, and what limitations they may encounter.
1.2 Scope: What This Article Covers, and What It Does Not
This article will address the following topics:- The relationship between rules, associations, modes, organization configurations, and signals, as well as the three states of rules.
- The differences between dry run and live, the dry run expiry, metrics, and where findings are sent.
- Organization configurations (the delegated administrator, member accounts, invitation-based member accounts, expiry, coexistence of two modes, and deletion).
- The two types of data sources, the minimum agent version, and redacted fields.
- The naming conventions for findings and the units of aggregation.
- How Custom Detection Rules differ in direction from suppression rules and trusted lists.
- Discrepancies in descriptions across documentation and instances where documentation lacks information.
This article will not cover:
- A general overview of GuardDuty, Extended Threat Detection, the fact that the delegated administrator is Regional, or the design of suppression rules. This is covered in the existing article Amazon GuardDuty Extended Threat Detection Architecture.
- How to write your own detections with custom sources in Security Lake. This is covered in the existing article Detection Engineering on AWS.
- Deploying the Runtime Monitoring agent and what it loads into nodes. This is covered in the existing article eBPF on Amazon EKS.
- GuardDuty AI Protection. This is covered in the existing article Threat Detection for AI Workloads on AWS.
- Pricing.
- Methods for circumventing rules.
1.3 Documents Reviewed
This article is based on the following materials, read on November 30, 2026 (Japan Standard Time):- The "Custom Detection Rules in GuardDuty" page of the GuardDuty User Guide (hereinafter, the concepts page).
- The "How Custom Detection Rules work" page of the same guide (hereinafter, the how-it-works page).
- The "Managing Custom Detection Rules" page of the same guide (hereinafter, the managing page).
- The "Managing Custom Detection Rules in multiple-account environments" page of the same guide (hereinafter, the multiple-account page).
- The "Custom Detection Rules finding types" page of the same guide (hereinafter, the finding types page), the Runtime Monitoring finding types page, and the finding details page.
- The suppression rules page, the trusted lists and threat lists page, the security agent release versions page, and the Document history of the same guide.
- The pages for the 12 Custom Detection Rules operations and the
DetectionRuleRuntimePlatformspage in the GuardDuty API Reference (hereinafter, the API reference). - Two AWS What's New posts, dated September 4, 2026, and October 19, 2026.
- The AWS Security Blog post, "Reduce alert fatigue by customizing threat detection features in Amazon GuardDuty" (dated November 10, 2026, referred to as the "Security Blog").
Throughout this article, when the term "page" is used, it refers to pages in the User Guide and the API reference unless otherwise specified.
1.4 Notation
This article marks where each statement comes from with the following four notations:| Notation | Meaning |
|---|---|
| Stated on the page | The content is found on a specific page in the User Guide or the API reference. |
| Blog or What's New only | The information is found in the Security Blog or a What's New post, but the same content cannot be found on any specific page. |
| Not documented on the pages | The information is not found anywhere on the pages checked for this article. This article will not fill in information based on speculation. |
| Inference | This is a conclusion derived from the text on a page, but there is no direct statement on the page that confirms it. |
Any statement without a notation is stated on the page.
1.5 Two Announcements and Counts Per Document
Custom Detection Rules have two announcements. The dates associated with these announcements vary depending on the document type. The date for "What's New" reflects the announcement date, while the date for "Document history" is the date when updates were added to the User Guide. There is no discrepancy.| Document | CloudTrail Management Event Rules | Runtime Monitoring Rules |
|---|---|---|
| What's New (Date) | September 4, 2026, 5:01 PM (UTC) | October 19, 2026, 4:01 PM (UTC) |
| Document history (Date) | September 1, 2026 | October 15, 2026 |
The Document history also includes another relevant entry. On September 18, 2026, a description of redacted fields was added to the how-it-works page.
The number of rules and the number of finding types also differ depending on the document. This article will describe these counts for each document individually, rather than combining them.
| Document | Count |
|---|---|
| What's New (September 4, 2026) | 35 CloudTrail Management Event Rules, 26 Finding Types, 10 MITRE ATT&CK Tactics |
| What's New (October 19, 2026) | Over 50 Runtime Monitoring Rules, 13 Finding Types, including 4 new Finding Types |
| Security Blog (November 10, 2026) | 90 Rules, 38 Finding Types, 13 Tactics |
| Finding types page (Counts taken on November 30, 2026, by counting rows in the table) | 35 CloudTrail Rules and 25 Finding Types, 55 Runtime Monitoring Rules and 13 Finding Types |
The total on the finding types page is 90 rules and 38 finding types, which matches the numbers for the Security Blog. The number of CloudTrail finding types is 26 on "What's New" and 25 in the table on the finding types page, which differ by one. This article does not determine which is correct. The counts may change, so open the finding types page again before you use them.
2. Rules, Associations, Modes, States
This chapter explains, in five key concepts, what it means to enable a rule.2.1 Five Concepts
The concepts page defines the following five terms:| Term | Meaning on the concepts page |
|---|---|
| Rule | A pre-built detection that GuardDuty owns and maintains. A single rule targets a specific threat technique and defines the conditions that trigger it. |
| Association | A link between a rule and an account. It records the mode in which the rule operates on that account. |
| Mode | The behavior that occurs when a rule is triggered. There are two modes: live and dry run. |
| Organization configuration | A rule configuration that the delegated administrator account applies to member accounts in an organization. |
| Signal | A single instance of the behavior detected by a rule. GuardDuty groups related signals into a single finding. |
Enabling a rule means creating an association between the rule and an account. The concepts page states that rules without an association will not be evaluated.
A rule with no association is not evaluated.
2.2 Three States
According to the managing page, each rule within an account can be in one of three states:| State | Meaning on the managing page |
|---|---|
| Live | Associated in live mode, generating findings. |
| Dry run | Associated in dry run mode, only emitting CloudWatch metrics. |
| Disabled | No association, and not being evaluated. |
The state transitions as follows: When
CreateCustomDetectionRuleAssociation is called with mode set to DRY_RUN or LIVE, a Disabled rule transitions to either Dry run or Live. A dry run association expires 14 days after it is created, and the rule reverts to the Disabled state. UpdateCustomDetectionRuleAssociation modifies the mode of an existing association. DeleteCustomDetectionRuleAssociation removes the association, and the rule returns to the Disabled state. The API reference states that this deletion operation is idempotent.You can view which rules are associated in which mode using
ListCustomDetectionRuleAssociations. In the console, this information is displayed in the Status column on the Custom Detection Rules page.
2.3 Rules Are Not Defined by the User
GuardDuty owns and maintains the rules. Users choose which rules to run, in which accounts, and in which modes. This article reviewed the API reference, which lists 12 operations related to Custom Detection Rules. Only two operations are available for rules:ListCustomDetectionRules (to list rules) and GetCustomDetectionRule (to retrieve a single rule). There are no operations to create rules or modify their conditions.According to the API reference,
GetCustomDetectionRule returns the rule's detection criteria. The response includes an expression in the definition field, as well as the language. The Security Blog states that the rule's conditions can be viewed in the "Details" tab of the console, and specifies that the rules are conditions written in SQL against CloudTrail fields (Blog only). What definition returns for a Runtime Monitoring rule is not documented on the pages.Creating custom detections based on your own logs is covered in the existing article Detection Engineering on AWS. Custom Detection Rules operate by applying pre-built rules provided by GuardDuty to events that GuardDuty is already analyzing.
3. Dry Run and Live
This chapter describes what each mode delivers, what it doesn't, and when each mode concludes.3.1 Dry Run: What Is Generated, What Is Not
In dry run mode, GuardDuty evaluates events against rules but does not create findings. Instead, it generates CloudWatch metrics. The managing page states that dry run is used to understand how rules behave in a given environment without creating findings or triggering automated responses.Metrics are only generated when a rule matches an event. Rules that do not match any events will not produce dry run metrics.
GuardDuty emits these metrics only when the rule matches an event, so a rule that never matches produces no dry run metrics.
The names of the metrics are only documented by the Security Blog. The Security Blog directs users to look for the
CustomRuleDryRunSignalsMatched metric in CloudWatch (Blog only). The namespace and dimensions for these metrics are not described on the page or in the Security Blog. The Security Blog also states that, even after the dry run is complete, the metric data will remain in CloudWatch for its normal retention period (Blog only).3.2 Returning to the Disabled State After 14 Days
The concepts page states that a dry run automatically expires after 14 days.Dry run automatically expires after 14 days.
The managing page also describes what happens after expiration. A dry run association expires 14 days after its creation. When it expires, GuardDuty stops evaluating the rule for that account, and the rule returns to a Disabled state. To resume evaluation, you must create a new dry run association.
A dry run association expires 14 days after it is created. When it expires, GuardDuty stops evaluating the rule for that account and the rule returns to disabled.
The response from
CreateCustomDetectionRuleAssociation includes an expiresAt field. The responses from GetCustomDetectionRuleAssociation and ListCustomDetectionRuleAssociations also include the expiresAt field, allowing you to view the expiration date and time.The pages do not document whether GuardDuty sends any notification when a dry run expires. If you leave a rule in dry run without moving it to live, the rule will revert to a Disabled state, and evaluation will stop without generating any findings. Metrics are only generated when matches occur, so it is impossible to determine from the metrics alone whether a match no longer occurred or whether evaluation simply stopped (Inference).
3.3 Live Findings
In live mode, GuardDuty generates findings. Live associations do not expire. The managing page specifies the destinations for these findings as follows:- To the GuardDuty console.
- To Amazon EventBridge.
- If configured, to the user's Amazon S3 buckets.
- To integrated AWS services such as AWS Security Hub.
Live findings can also serve as the starting point for automated responses. The subsequent workflow from Amazon EventBridge is covered in Chapter 7 of the existing article Amazon GuardDuty Extended Threat Detection Architecture.
3.4 Transitioning from Dry Run to Live with a Standalone Account
In a standalone account that is not a member of a GuardDuty organization, you create the association for your own account yourself. The managing page gives the following example:aws guardduty create-custom-detection-rule-association \
--rule-id rule-id \
--mode DRY_RUN
To transition from dry run to live, you use the
UpdateCustomDetectionRuleAssociation operation, according to the managing page.To switch an existing rule from dry run to live, run the UpdateCustomDetectionRuleAssociation operation.
According to the API reference, this operation takes the rule ID and association ID in the URI, and accepts a
mode parameter in the request body. For a standalone association, Update changes the mode. As Chapter 4 describes, Update does not change the mode of an organization configuration. The two are separate operations.The
UpdateCustomDetectionRuleAssociation operation also accepts DRY_RUN as a value for the mode parameter. When you update a live association to dry run, the pages do not document when the 14-day expiration period begins to be counted.When applying the same change to multiple rules, the managing page indicates that you should call
CreateCustomDetectionRuleAssociation once for each rule. When applying a single rule to multiple accounts, instead of calling the operation for each account, use an organization configuration.3.5 Understanding the Absence of Metrics
Metrics are only generated when a match occurs during a dry run. Therefore, when metrics are not present, there are at least four possible explanations. Metrics alone cannot differentiate between these four possibilities (Inference).| Reason for Absence of Metrics | Where to Verify |
|---|---|
| The behavior did not occur | CloudTrail event history (for CloudTrail rules) |
| There is no association, or the association expired after 14 days | The mode and expiresAt fields from ListCustomDetectionRuleAssociations |
| The resource does not meet the conditions defined in the Runtime Monitoring rule | The platforms field from GetCustomDetectionRule, and the agent version of the resource |
| The conditions of the CloudTrail rule depend on redacted fields | The rule's conditions and the service that redacts those fields |
The third and fourth points will be discussed in Chapter 5. The fact that there were zero matches during a dry run does not prove that the behavior did not occur within that account (Inference).
4. Organization Configuration
This chapter describes how to configure rules within an organization, referencing the multiple-account page and the API reference. The association with a single account and the configuration of an organization differ in both their operations and their behavior.4.1 Only the Delegated Administrator Account Holds Organization Configurations
Within an organization, the GuardDuty delegated administrator account manages rules for member accounts from a single location, using organization configurations. The API reference explicitly states that only the delegated administrator account can use theCreateCustomDetectionRuleOrgConfiguration operation.Member accounts are unable to independently enable or disable rules, nor can they modify them.
A member account cannot enable, disable, or change a Custom Detection Rule for itself.
When a member account calls the single-account association operations, GuardDuty returns an
AccessDeniedException error. Administrators manage rules on behalf of member accounts.Management of multiple accounts is limited to accounts managed through AWS Organizations. Member accounts added via invitation are not eligible for centralized rule management.
Invitation-based member accounts are not supported for centralized rule management.
The delegated administrator is designated on a per-Region basis. This, along with potential pitfalls related to automatic activation settings, is discussed in Chapter 6 of the existing article Amazon GuardDuty Extended Threat Detection Architecture. Whether Custom Detection Rules associations and organization configurations are Regional is not documented on the Custom Detection Rules pages this article checked.
4.2 How an Organization Configuration Reaches Member Accounts
The organization configuration links a rule to a collection of member accounts and records the mode in which the rule runs for those accounts. GuardDuty creates a single association of this rule in each targeted member account. It also creates this association for accounts that join the organization later.You specify the target accounts using either an include list or an exclude list. According to the API reference, you cannot specify both
includeAccountIds and excludeAccountIds simultaneously. If neither is specified, all member accounts in the organization are targeted. The multiple-account page gives the following example.aws guardduty create-custom-detection-rule-org-configuration \
--rule-id rule-id \
--mode DRY_RUN
Once created, the organization configuration remains in a
PROCESSING state until GuardDuty applies it to the targeted member accounts. Once applied, the status changes to ACTIVE. According to the API reference, the status can also be FAILED. The GetCustomDetectionRuleOrgConfiguration and ListCustomDetectionRuleOrgConfigurations APIs return the status, statusReason, and expiresAt values.4.3 Update Changes Only the Target Accounts
UpdateCustomDetectionRuleOrgConfiguration replaces the include and exclude lists of an existing organization configuration. Since each rule can have one configuration per mode, the mode parameter selects which configuration to update. Updating the configuration does not change its mode.An update doesn't change the mode of the configuration.
The API reference also states the same: the
mode field states that this value selects the configuration and does not change its mode.This operation doesn't change the mode of the configuration. To change the mode, delete the configuration with DeleteCustomDetectionRuleOrgConfiguration, and then create a configuration in the new mode with CreateCustomDetectionRuleOrgConfiguration.
Updating a dry run organization configuration restarts the 14 days before it expires.
4.4 To Change the Mode, Delete and Recreate the Configuration
To change the configuration mode, you must first delete the existing configuration and then recreate it.According to the multiple-account page, the process involves two steps:
- Delete the existing configuration using
DeleteCustomDetectionRuleOrgConfiguration. - Create a new configuration with the desired mode using
CreateCustomDetectionRuleOrgConfiguration.
If you attempt to create a new configuration without first deleting the existing one, you may receive a
ConflictException. This can occur when either configuration applies to the entire organization, or when both configurations include the same account. If the existing configuration is in the PROCESSING state, the deletion request may also return a ConflictException. In such cases, wait until the configuration is no longer in the PROCESSING state and then retry the deletion.You do not need to delete the member account associations. When you create a new configuration, GuardDuty will automatically migrate any existing associations on the target member accounts to the new mode.
You don't need to delete the member account associations.
The multiple-account page provides an example of deleting the dry run configuration before creating the live configuration.
aws guardduty delete-custom-detection-rule-org-configuration \
--rule-id rule-id \
--mode DRY_RUN
aws guardduty create-custom-detection-rule-org-configuration \
--rule-id rule-id \
--mode LIVE
4.5 A Configuration That Claims the Whole Organization Has One Mode per Rule
A rule holds at most one organization configuration per mode. According to the multiple-account page, a rule can run in both live and dry run modes at the same time only if both configurations name their target accounts with an explicit include list. As described in Section 4.4, if both configurations name the same account, aConflictException will occur.Configurations that specify no accounts at all, or configurations that specify accounts using an exclude list, apply to the entire organization. A rule can only have one such configuration that applies to the entire organization; another configuration for a different mode cannot coexist, and attempting to create one will result in a
ConflictException.A configuration that claims the whole organization is one-shot for its rule.
For example, if you want to run in live mode for some accounts while continuing dry run for the rest, write both configurations with include lists. A live configuration that leaves some accounts out with an exclude list claims the whole organization and therefore cannot coexist with a dry run configuration (Inference).

4.6 Deletion and Expiration
Deleting an organization configuration does not remove existing associations in member accounts. If GuardDuty has already applied rules to a member account, those rules will remain active.Deleting an organization configuration does not cascade-delete the existing member account associations.
Deleting an organization configuration does not stop the rule in member accounts. The pages this article checked do not document an operation that deletes the associations in member accounts together.
Dry run configurations for an organization expire 14 days after their creation or last update. The member account associations created by GuardDuty based on those configurations expire along with the configuration itself – not 14 days after each individual association was created.
The member account associations that GuardDuty created from that configuration expire with it, rather than 14 days after each association was created.
Therefore, there are two expiration points. For a standalone account's dry run, the expiration is 14 days from the association's creation. For an organization dry run, the expiration is 14 days from when the organization configuration is created or last updated. Dry run associations for accounts that join the organization later also expire along with the organization configuration (Inference).
4.7 The CLI Example on the Security Blog Does Not Align With the Pages
The Security Blog's CLI instructions state that after creating a dry run organization configuration, you should update the existing configuration and move it to live (Blog only). The Security Blog provides an example illustrating this process.aws guardduty update-custom-detection-rule-org-configuration \
--rule-id ami-external-access \
--mode LIVE \
--exclude-account-ids <image-build-account-id>
The multiple-account page and the API reference state that Update does not change the mode and that
mode selects the configuration to update. The example does not match these two statements. This article does not adopt the Security Blog's example as a procedure. To change the mode, follow the delete-and-re-create steps in Section 4.4.The Security Blog states that in the console, you change the Status of the organization configuration to Live (Blog only). Which API a console action calls is not documented on the pages.
4.8 What the Pages Do Not Document
For organization configurations, the following three points are not documented on the pages this article checked:- Whether an organization configuration applies the rule to the delegated administrator account itself.
- When the dry run associations that remain in member accounts expire after a dry run organization configuration is deleted.
- Specific quotas for Custom Detection Rules.
AWS Organizations GuardDuty policies are declarative policies that enable GuardDuty functionality within an organization. Custom Detection Rules are not listed in the features table on the GuardDuty policies page in the AWS Organizations user guide (checked on November 30, 2026).
5. Data Sources and When a Rule Does Not Match Without an Error
This chapter describes what the rules are examining, and also addresses situations where rules do not match, even when they are enabled.5.1 CloudTrail Management Events
The how-it-works page lists CloudTrail management events and Runtime Monitoring events as data sources supported by Custom Detection Rules.Custom Detection Rules supports AWS CloudTrail management events and Runtime Monitoring events.
This article describes the supported events as of the review date (November 30, 2026) and should not be considered an exhaustive list.
Regarding CloudTrail management events, the how-it-works page states that GuardDuty analyzes these events in all accounts where GuardDuty is enabled, and that no additional configuration is required.
5.2 Runtime Monitoring Events
Runtime Monitoring rules evaluate the behavior of processes, files, and network activity as observed by GuardDuty security agents on resources. According to the how-it-works page, Runtime Monitoring rules can only match resources that meet both of the following conditions:- The resource type (Amazon EKS, Amazon EC2, Amazon ECS on Fargate) has Runtime Monitoring enabled.
- A security agent is running on the resource, and its version is equal to or greater than the minimum agent version required for the rules on that platform.
5.3 Minimum Agent Version and Platforms
Each Runtime Monitoring rule is associated with a minimum agent version required for each supported platform. Theplatforms object in the runtimeMonitoringDetails section of the response from GetCustomDetectionRule can contain up to three elements: ec2, eks, and ecsFargate. Each element that is present has a corresponding minAgentVersion.If a resource's agent version is older than the rule's minimum agent version, the rule does not match activity on that resource. GuardDuty does not report an error in this scenario.
If the agent on a resource is older than a rule's minimum version, the rule does not match activity on that resource. GuardDuty does not report an error in this case
The how-it-works page says to keep the agent up to date on the resources where you enable Runtime Monitoring rules.
The API reference page for
DetectionRuleRuntimePlatforms provides further clarification. If a platform is listed as an element, the rule will function on that platform, and the minAgentVersion is the minimum required agent version for that platform. If a platform is not listed, the rule will not function on that platform, regardless of the agent version.When absent, the rule cannot run on that platform at any agent version.
Even with the agent updated, the rule does not match if it does not support that platform. Before enabling a rule, review the
platforms section for each rule using GetCustomDetectionRule.According to the security agent release versions page, version 1.17.4 of the agent for resources targeting Amazon EKS, Amazon EC2, and AWS Fargate on Amazon ECS became available on November 12, 2026 (the Document history entry is dated November 20, 2026). As versions are subject to change, it is recommended to periodically revisit the security agent release versions page.
5.4 How Amazon ECS Is Described
The sources describe the Amazon ECS coverage differently. The how-it-works page, the Document history, and the API reference type say "Amazon ECS on Fargate," and the element of the type isecsFargate. The What's New post dated October 19, 2026, says "Amazon ECS on both EC2 and AWS Fargate" (What's New only).According to the Amazon ECS Developer Guide, when using EC2 container instances, users are responsible for installing and managing the GuardDuty security agent. Tasks running on ECS on EC2 are likely to be observed by the agent on the EC2 instance and fall in the scope of rules with the
ec2 element (Inference). This article does not conclude that this is a discrepancy between the sources. To confirm whether rules apply to ECS tasks running on EC2, verify them individually by checking the platforms element, specifically the ec2 element, and the version of the instance agent.5.5 Redacted Fields
CloudTrail rules evaluate fields that CloudTrail records in events. According to the how-it-works page, AWS services may redact the values of certain fields in the events that they publish. A service redacts a field when that field can carry sensitive information, and the redaction applies to the field, not to a specific value. Therefore, even if the value in a particular request is not sensitive, the field is still redacted. This behavior is consistent regardless of whether you use the console, AWS CLI, or AWS SDK.GuardDuty cannot evaluate values that are not present in events. If a rule's condition relies on a redacted field, that rule will not match. Even if an event occurs, neither a signal nor a finding will be generated. Rules that only examine fields that the service does not redact – such as event names, AWS services, or the ID of the caller – are not affected.
In some cases, a single API operation may accept multiple fields for the same change. If one field is redacted while another is not, whether a rule matches depends on which field was used in the request.
The how-it-works page states that Custom Detection Rules are a detection capability and not a complete audit log. To verify whether a specific API call occurred, you should examine the events in CloudTrail.
Custom Detection Rules are a detection capability, not a complete audit record.
5.6 Regions
The finding types page states that individual rules are only available in Regions that correspond to the AWS services or features the rules target. For example, this includes rules that target AWS Organizations or Amazon Simple Email Service, as well as rules that target Lambda function URLs or SageMaker AI notebook instances.Individual rules are available only in AWS Regions that support the AWS service or feature that they target.
Two entries under "What's New" both state that the rules are available in all AWS commercial Regions and the AWS GovCloud (US) Regions (What's New only). The Security Blog states that rules for Runtime Monitoring are available in all Regions where Runtime Monitoring is supported (Blog only). This article does not list specific Regions.
5.7 Cases That Do Not Match Without an Error
This section, along with Chapter 3, is summarized in a single table. Each row represents a scenario where no error is generated when the rule is enabled (Inference; the pages state that no error is reported only for the agent version row).| Scenario | Applicable Rule | Justification |
|---|---|---|
| The dry run association expired after 14 days. | All | Managing page |
| The dry run organization configuration expired 14 days after it was created or last updated. | Rules applied by an organization configuration | Multiple-account page |
| The account is an invitation-based member account. | Rules applied by an organization configuration | Multiple-account page |
| Runtime Monitoring is not enabled for the resource type. | Runtime Monitoring | How-it-works page |
| The agent is older than the minimum agent version required by the rule. | Runtime Monitoring | How-it-works page |
The rule's platforms field does not include the relevant platform. | Runtime Monitoring | API reference |
| The rule's condition relies on a redacted field. | CloudTrail | How-it-works page |
| The service targeted by the rule is not available in that Region. | All | Finding types page |
Regarding accounts added via invitation and scenarios where the targeted service is unavailable in a particular Region, these are cases where the rule does not reach the account or Region, rather than cases where it fails to match (Inference).
6. Finding Names and Aggregation
This chapter defines the naming conventions for findings and specifies the units used to aggregate signals into findings for live rules.6.1 The Form of a Finding Type
According to the how-it-works page, a finding type takes the form ofTactic:Service/Technique. For example, Persistence:IAM/AccountManipulation and Persistence:Runtime/SuspiciousCommand are listed. The finding types page lists the rules in a separate column from the finding type itself. For instance, the AMIExternalAccess rule, which detects sharing an AMI with an external account or making it public, generates a finding type of Exfiltration:EC2/TransferDataToCloudAccount. Multiple rules may generate the same finding type.6.2 Aggregation Unit
The unit used to aggregate signals into findings varies depending on the data source.| Data Source | Aggregation Unit (how-it-works page) |
|---|---|
| CloudTrail Rules | Tactics, services, and techniques are used to aggregate signals into a single finding. When the same principal repeats the same activity, a single finding can contain multiple signals. |
| Runtime Monitoring Rules | Rules, resources, and process details are used to aggregate signals into a single finding. Each finding targets a single resource. If a match occurs again, the existing finding is updated. Findings from different rules stay separate, even when they have the same finding type for the same resource and process. |
Because CloudTrail rules aggregate by tactic, service, and technique, signals from other rules that create the same finding type may be incorporated into a single finding (Inference). Therefore, check which rule matched in the signals, not in the finding type. According to the finding details page, findings generated by CloudTrail rules use the same structure as the attack sequences in Extended Threat Detection, and the
Name field of each signal contains the name of the rule.6.3 Finding Types With the Same Names as Default Detections
Of the 13 finding types created by Runtime Monitoring rules, four appear only when Custom Detection Rules are enabled. The Runtime Monitoring finding types page lists these four under "Finding types that require Custom Detection Rules":CommandAndControl:Runtime/SuspiciousCommandCredentialAccess:Runtime/SensitiveFileReadDiscovery:Runtime/SensitiveFileReadExfiltration:Runtime/SuspiciousCommand
The remaining nine finding types share the same names as the default detections within Runtime Monitoring (as verified by comparing the finding types page and the Runtime Monitoring finding types page). Based on the name alone, it is not possible to determine whether a finding originates from a default detection or a Custom Detection Rule (Inference). The finding details page indicates that for findings generated by Runtime Monitoring rules, the
CustomDetectionRuleName field contains the name of the rule that created the finding. If you define EventBridge rules or suppression rules based solely on finding type, they treat both types (default detections and Custom Detection Rules) as the same (Inference).7. Differences Between Suppression Rules, Trusted Lists, and Custom Detection Rules
This chapter outlines three methods for adjusting the volume of findings within GuardDuty, differentiating them by their direction. Both suppression rules and trusted lists are covered in Chapter 10 of the existing article Amazon GuardDuty Extended Threat Detection Architecture.| Mechanism | Direction | What the page says |
|---|---|---|
| Suppression Rule | Post-creation archival | Automatically archives new findings that match specified criteria. Archived findings remain in GuardDuty for 90 days. |
| Trusted List | Prevents finding creation | For items listed in the trusted list, GuardDuty will not generate any findings. |
| Custom Detection Rules | Turns on a detection that is off by default | Rules without associations are not evaluated. Evaluation only occurs within accounts where associations have been created. |
Suppression rules and trusted lists reduce the volume of findings that GuardDuty already generates. Custom Detection Rules, on the other hand, add detections within selected accounts. They point in opposite directions (Inference).
Suppression rules do not prevent findings from being generated; however, Extended Threat Detection does not utilize findings archived by suppression rules as part of attack sequences. Chapter 10 of the existing article covers this point. Whether findings generated by Custom Detection Rules are used as part of attack sequences is not documented on the Custom Detection Rules pages this article checked.
The differences between suppression within Security Hub CSPM and suppression rules within GuardDuty are discussed in Section 6.8 of the existing article Tuning Security Hub CSPM Without Hiding Findings.
8. Frequently Asked Questions about Amazon GuardDuty Custom Detection Rules
This chapter answers common questions about Amazon GuardDuty Custom Detection Rules in a concise, question-and-answer format.Q1. If a rule is enabled, do findings appear immediately?
It depends on the mode. In live mode, findings will appear when the rules match. In dry run mode, no findings will be generated. Dry run mode only outputs CloudWatch metrics when a match is found.Q2. Can the dry run be sustained for longer than 14 days?
With a standalone account, the association for a dry run expires 14 days after it is created, and the rule reverts to the Disabled state. To evaluate the rule again, you must create a new dry run association. For a dry run organization configuration, updating it restarts the 14 days. The pages do not document a setting that stops the expiry.Q3. Can a member account enable a rule by itself?
No. Member accounts cannot enable or disable rules for themselves, nor can they change them. Calling the single-account association operations returns anAccessDeniedException. The delegated administrator account manages their rules with organization configurations.Q4. Can Update change an organization configuration from dry run to live?
No, it cannot. TheUpdateCustomDetectionRuleOrgConfiguration operation replaces the include and exclude lists, but does not change the mode. To change the mode, you must first delete the existing configuration and then create a new configuration with the desired mode. You do not need to delete the member account associations. The Security Blog's CLI example moves to live with Update, but it does not match the User Guide and the API reference.Q5. Can rules also be distributed to invitation-based member accounts?
No, they cannot. Centralized rule management covers only accounts managed within AWS Organizations. Invitation-based member accounts are not eligible.Q6. Why does a Runtime Monitoring rule never match?
There are cases where a rule does not match and no error is reported. This can occur if Runtime Monitoring is not enabled for the resource type, if the agent is older than the minimum agent version specified in the rule, or if the rule'splatforms list does not include the platform the agent is running on. When using GetCustomDetectionRule, check the platforms and minAgentVersion for each rule and compare them to the agent's version and platform.Q7. Can you add your own custom rules?
The API reference this article checked does not include any operations for creating rules or modifying their conditions. GuardDuty owns and maintains the rules themselves. If you want to create your own detections based on your own logs, refer to the existing article Detection Engineering on AWS.Q8. How do you choose between suppression rules and Custom Detection Rules?
Suppression rules are used to archive findings that have already been generated. Custom Detection Rules turn on, in the accounts you choose, a detection that is off by default. If a particular behavior is normal for only certain accounts, you can exclude those accounts from the scope of Custom Detection Rules. With an organization configuration, you leave those accounts out with an include list or an exclude list.Q9. Can AWS Organizations' GuardDuty policies be used to distribute rules?
As of the review date, there is no mention of the ability to distribute rules. The feature table for GuardDuty policies in the AWS Organizations user guide does not list Custom Detection Rules (verified on November 30, 2026). Rules are distributed as organization configurations from the GuardDuty delegated administrator account.9. Summary
Custom Detection Rules are a mechanism that allows you to run pre-built rules owned by GuardDuty within selected accounts. Enabling a rule involves creating an association between the rule and the account; rules without an association will not be evaluated. There are three possible states: Live, Dry run, and Disabled.Dry run mode does not generate findings but only emits CloudWatch metrics when a match is detected. A dry run association expires 14 days after it is created, and the rule reverts to the Disabled state. Live generates findings and does not expire. The absence of metrics does not prove that no activity has occurred.
Only the delegated administrator account can create organization configurations. Member accounts cannot change rules themselves, and invitation-based member accounts are not covered by organization configurations. An Update of an organization configuration changes only the target accounts and does not change the mode. To change the mode, you must delete and re-create the configuration. A configuration that claims the whole organization has one mode per rule. Deleting an organization configuration does not remove the associations in member accounts. An organization dry run expires 14 days after the organization configuration is created or last updated, together with the member account associations.
For Runtime Monitoring rules, if the agent is older than the minimum agent version, the rule does not match, and no error is reported. A rule that has no element for a platform does not run on that platform at any agent version. CloudTrail rules will not produce matches if their conditions rely on redacted fields. The information in this article is based on materials current as of November 30, 2026 (Japan Standard Time). During re:Invent 2026, descriptions may change. Before enabling rules, it is recommended to review the latest User Guide pages and API reference.
10. References
- Custom Detection Rules in GuardDuty - Amazon GuardDuty
- How Custom Detection Rules work - Amazon GuardDuty
- Managing Custom Detection Rules - Amazon GuardDuty
- Managing Custom Detection Rules in multiple-account environments - Amazon GuardDuty
- Custom Detection Rules finding types - Amazon GuardDuty
- GuardDuty Runtime Monitoring finding types - Amazon GuardDuty
- Finding details - Amazon GuardDuty
- Suppression rules in GuardDuty - Amazon GuardDuty
- Working with trusted IP lists and threat lists - Amazon GuardDuty
- GuardDuty security agent release versions - Amazon GuardDuty
- Document history for Amazon GuardDuty - Amazon GuardDuty
- CreateCustomDetectionRuleAssociation - Amazon GuardDuty API Reference
- UpdateCustomDetectionRuleAssociation - Amazon GuardDuty API Reference
- GetCustomDetectionRule - Amazon GuardDuty API Reference
- CreateCustomDetectionRuleOrgConfiguration - Amazon GuardDuty API Reference
- UpdateCustomDetectionRuleOrgConfiguration - Amazon GuardDuty API Reference
- ListCustomDetectionRuleOrgConfigurations - Amazon GuardDuty API Reference
- DetectionRuleRuntimePlatforms - Amazon GuardDuty API Reference
- Amazon GuardDuty policy syntax and examples - AWS Organizations
- Runtime Monitoring for EC2 workloads on Amazon ECS - Amazon Elastic Container Service
- Amazon GuardDuty adds optional threat detection rules
- Amazon GuardDuty adds optional threat detection rules for Runtime Monitoring
- Reduce alert fatigue by customizing threat detection features in Amazon GuardDuty - AWS Security Blog
- Amazon GuardDuty Extended Threat Detection Architecture - Attack Sequences, Runtime Monitoring, and Response Automation
- Detection Engineering on AWS - What a Custom Source Must Satisfy Before a Detection Can Be Written, and What the Detection Still Does Not See
- Tuning Security Hub CSPM Without Hiding Findings - Control Parameters, Automation Rules, Suppression, and Disabled Controls
- eBPF on Amazon EKS - What Loads Into Your Nodes, When a Network Policy Starts Enforcing, and Where the Coverage Stops
- Threat Detection for AI Workloads on AWS - What GuardDuty AI Protection Detects, What It Does Not, and How to Read a Finding
- AWS Multi-Account Operational Patterns - Control Tower, Organizations, SCPs
References:
Tech Blog with curated related content
Written by Hidekazu Konishi