-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource/aws_guardduty_detector: Clarify finding_publishing_frequency usage for member accounts #7804
Conversation
… usage for member accounts Reference: * #7781 Output from acceptance testing: ``` --- PASS: TestAccAWSGuardDuty/Detector (36.21s) --- PASS: TestAccAWSGuardDuty/Detector/basic (25.70s) --- PASS: TestAccAWSGuardDuty/Detector/import (10.50s) ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the documentation needs to be clarified a bit, but this is otherwise good. I am approving so that you can merge once you are happy with the documentation.
@@ -26,7 +25,7 @@ resource "aws_guardduty_detector" "MyDetector" { | |||
The following arguments are supported: | |||
|
|||
* `enable` - (Optional) Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`. | |||
* `finding_publishing_frequency` - (Optional) Specifies the frequency of notifications sent for subsequent finding occurrences. Valid values: `FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS`. Default: `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information. | |||
* `finding_publishing_frequency` - (Optional) Specifies the frequency of notifications sent for subsequent finding occurrences. Cannot be modified for GuardDuty member accounts. Must be configured to enable drift detection in GuardDuty master accounts. Valid values: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. Default: `SIX_HOURS` for GuardDuty master account or matches GuardDuty master account if GuardDuty member account. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Valid values:
FIFTEEN_MINUTES
,ONE_HOUR
,SIX_HOURS
. Default:SIX_HOURS
for GuardDuty master account or matches GuardDuty master account if GuardDuty member account.
I'm not sure what you are tying to say here. Is this supposed to say something along the lines of GuardDuty member account will match the frequency value defined in the master account
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'll try to clarify the wording a little better. 👍
…publish_frequency value better
This has been released in version 2.1.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Closes #7781
Output from acceptance testing: