AWS GUARDDUTY
Description
Terraform module to provision AWS Guard Duty
Specification
Properties
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| cloudwatch_event_rule_pattern_detail_type | The detail-type pattern used to match events that will be sent to SNS. For more information, see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html https://docs.aws.amazon.com/eventbridge/latest/userguide/event-types.html https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html | string | false | |
| create_sns_topic | Flag to indicate whether an SNS topic should be created for notifications. If you want to send findings to a new SNS topic, set this to true and provide a valid configuration for subscribers. | bool | false | |
| enable_cloudwatch | Flag to indicate whether an CloudWatch logging should be enabled for GuardDuty | bool | false | |
| finding_publishing_frequency | The frequency of notifications sent for finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty master account and cannot be modified, otherwise it defaults to SIX_HOURS. For standalone and GuardDuty master accounts, it must be configured in Terraform to enable drift detection. Valid values for standalone and master accounts: FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS. For more information, see: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency | string | false | |
| findings_notification_arn | The ARN for an SNS topic to send findings notifications to. This is only used if create_sns_topic is false. If you want to send findings to an existing SNS topic, set the value of this to the ARN of the existing topic and set create_sns_topic to false. | string | false | |
| subscribers | A map of SNS subscription configurations. Each is an object with protocol (sqs, sms, lambda, application, http or https; http and https are partly supported, email is not), endpoint (its format depends on the protocol), endpoint_auto_confirms (default false) and raw_message_delivery (default false). See SNS topic subscriptions. | map<{protocol: string, endpoint: string, endpoint_auto_confirms: boolean, raw_message_delivery: boolean}> | false | |
| writeConnectionSecretToRef | The secret which the cloud resource connection will be written to | writeConnectionSecretToRef | false |
writeConnectionSecretToRef
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| name | The secret name which the cloud resource connection will be written to | string | true | |
| namespace | The secret namespace which the cloud resource connection will be written to | string | false |