Terraform data source for managing an AWS GuardDuty Finding Ids.
data "aws_guardduty_finding_ids" "example" {
detector_id = aws_guardduty_detector.example.id
}
The following arguments are required:
detector_id
- (Required) ID of the GuardDuty detector.This data source exports the following attributes in addition to the arguments above:
has_findings
- Indicates whether findings are present for the specified detector.finding_ids
- A list of finding IDs for the specified detector.