-
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
[New Resource]: Security Hub automation_rule
resource
#34781
[New Resource]: Security Hub automation_rule
resource
#34781
Conversation
Community NoteVoting for Prioritization
For Submitters
|
automation_rule
resourceautomation_rule
resource
I had to fix a test scenario in To accommodate the @ewbankkit Do you mind if I fix this in this PR? Or would you prefer a seperate PR?
|
…triggers f/aws_codepipeline add support for triggers
…3993-79 cdktf: update documentation
…add_attribute r/aws_mwaa_environment: add `endpoint_management` attribute
# Conflicts: # go.mod # go.sum
…o-modules Latest `aws-sdk-go` modules
… converted to a null String.
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccSecurityHub_serial/AutomationRule' PKG=securityhub
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/securityhub/... -v -count 1 -parallel 20 -run=TestAccSecurityHub_serial/AutomationRule -timeout 360m
=== RUN TestAccSecurityHub_serial
=== PAUSE TestAccSecurityHub_serial
=== CONT TestAccSecurityHub_serial
=== RUN TestAccSecurityHub_serial/AutomationRule
=== RUN TestAccSecurityHub_serial/AutomationRule/disappears
=== RUN TestAccSecurityHub_serial/AutomationRule/stringFilters
=== RUN TestAccSecurityHub_serial/AutomationRule/numberFilters
=== RUN TestAccSecurityHub_serial/AutomationRule/dateFilters
=== RUN TestAccSecurityHub_serial/AutomationRule/mapFilters
=== RUN TestAccSecurityHub_serial/AutomationRule/tags
=== RUN TestAccSecurityHub_serial/AutomationRule/basic
=== RUN TestAccSecurityHub_serial/AutomationRule/full
--- PASS: TestAccSecurityHub_serial (281.06s)
--- PASS: TestAccSecurityHub_serial/AutomationRule (281.06s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/disappears (21.51s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/stringFilters (37.46s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/numberFilters (38.27s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/dateFilters (37.67s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/mapFilters (37.46s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/tags (50.62s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/basic (23.34s)
--- PASS: TestAccSecurityHub_serial/AutomationRule/full (34.72s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/securityhub 293.445s
@DanielRieske Thanks for the contribution 🎉 👏. |
…ub-automation-rule-resource [New Resource]: Security Hub `automation_rule` resource
Thank you for your contribution! 🚀 Please note that the Remove any changes to the |
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
This functionality has been released in v5.39.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR adds the
aws_securityhub_automation_rule
resource, automation rules can be used to automatically update findings in Security Hub.https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html
Relations
Closes #32210
References
Output from Acceptance Testing