clickops-notifier

cloudandthings/clickops-notifier/aws

Terraform Module HCL AWS

Get notified when actions are taken in the AWS Console.

Install
module "clickops-notifier" {
source = "cloudandthings/clickops-notifier/aws"
version = "5.2.0"
}
plain text: /constructs/tfmod-cloudandthings-clickops-notifier-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Tests](https://github.com/cloudandthings/terraform-aws-clickops-notifier/actions/workflows/tests.yml) AWS ClickOps Notifier Get notified when users are taking actions in the AWS Console. More here 🏗️ Module Usage It is not strictly a requirement, that you use this with AWS ControlTower. The module has only been tested in the Log Archive account that ships with AWS ControlTower. Setup your AWS credentails such that aws sts get-caller-identity | grep Account gives you your ControlTower Log Archive account id. Organizational Mode vs Standalone Mode If your account is part of an AWS Organization that does not use centralized CloudTrail logging or that does not want to monitor ClickOps at an organizational level, you can deploy ClickOps in standalone mode in a single account. For standalone m

Inputs (31)
NameTypeDescriptionDefault
excluded_scoped_actions_effectstringShould the existing exluded actions be replaces or appended to. By default it wi"APPEND"
lambda_memory_sizenumberThe amount of memory for Lambda to use"128"
iam_role_arnstringExisting IAM role ARN for the lambda. Required if `create_iam_role` is set to `fnull
excluded_userslist(string)List of email addresses will not be reported on when practicing ClickOps.[]
lambda_deployment_s3_keystringS3 object key for lambda deployment package. Otherwise, defaults to `var.naming_null
subcription_filter_distributionstringThe method used to distribute log data to the destination. By default log data i"Random"
log_retention_in_daysnumberNumber of days to keep CloudWatch logs14
naming_prefixstringResources will be prefixed with this"clickops-notifier"
cloudtrail_bucket_notifications_sns_arnstringSNS topic ARN for bucket notifications. If not provided, a new SNS topic will benull
event_batch_sizenumberBatch events into chunks of `event_batch_size`100
lambda_log_levelstringLambda logging level. One of: `["DEBUG", "INFO", "WARN", "ERROR"]`."WARN"
create_iam_roleboolDetermines whether a an IAM role is created or to use an existing IAM roletrue
standaloneboolDeploy ClickOps in a standalone account instead of into an entire AWS Organizatifalse
included_accountslist(string)List of accounts that be scanned to manual actions. If empty will scan all accou[]
excluded_accountslist(string)List of accounts that be excluded for scans on manual actions. These take precid[]
event_processing_timeoutnumberMaximum number of seconds the lambda is allowed to run and number of seconds eve60
excluded_scoped_actionslist(string)A list of service scoped actions that will not be alerted on. Format {{service}}[]
lambda_deployment_s3_bucketstringS3 bucket for lambda deployment package.null
additional_iam_policy_statementsanyMap of dynamic policy statements to attach to Lambda Function role{}
included_userslist(string)List of emails that be scanned to manual actions. If empty will scan all emails.[]
Outputs (3)
sns_topic — Expose the bucket notification SNS details
sqs_queue — Expose the bucket notification SQS details
clickops_notifier_lambda — Expose all the outputs from the lambda module
Resources (9)
aws_cloudwatch_log_subscription_filteraws_s3_bucket_notificationaws_s3_objectaws_sns_topicaws_sns_topic_policyaws_sns_topic_subscriptionaws_sqs_queueaws_sqs_queue_policyaws_ssm_parameter
Details
FrameworkTerraform Module
LanguageHCL
Version5.2.0
Cloud AWS
★ Stars331
Forks32
Total downloads32.0k
Inputs31
Outputs3
Resources9
Examples4
LicenseMIT
Namespacecloudandthings
Updated