Description
Setting enable = false on aws_guardduty_detector suspends GuardDuty analysis in the detector’s account and Region.
Potential impact
Workloads that rely on GuardDuty may take longer to detect and respond to suspicious activity.
Remediation
Set enable = true and verify detector status in every required account and Region. Assign responsibility for reviewing and responding to findings.
Examples
The second example enables the same detector. Configure any additional protection features and finding notifications separately.
Before
hcl
resource "aws_guardduty_detector" "example" {
enable = false
}
After
hcl
resource "aws_guardduty_detector" "example" {
enable = true
}