-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Athena to analyze CloudFront logs.
- Added Athena to analyze SES logs. - Added check MySQL slow query. - Added version control to be monitored by dependbot. - Added APIEndpoint for CSP report. However, custom domains, etc. are not supported. - Added the ability to check for broken links in Synthetics Canary. - Some tflint corrections were made. - When checking MFA in AWS, if the MFA name was fixed and not a user name, an error would occur, but the restriction on the MFA name has been removed. - Added the ability to configure whether or not console access and access keys are obtained when creating IAM users. - Metrics now does not monitor for CloudFront 403 errors by default. - SecurityHub's CIS AWS Foundations Benchmark version has been updated from v1.2.0 to default to v1.4.0. If you use the original v1.2.0, you will need to set variables. - Synthetics Canary is now supported to run within VPC. - CloudFront and SES logs from us-east-1 can be forwarded to S3.
- Loading branch information
1 parent
4b5b957
commit 8a14800
Showing
86 changed files
with
3,503 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "terraform" # See documentation for possible values | ||
directory: "/terraform/base" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "terraform" # See documentation for possible values | ||
directory: "/terraform/monitor" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ provider.json | |
!terraform.example.tfvars | ||
*.tfbackend | ||
!terraform.example.tfbackend | ||
|
||
devcontainer.json | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+146 KB
(100%)
lambda/outputs/cloudwatch_event_trusted_advisor_to_slack.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#-------------------------------------------------------------- | ||
# Manages an API Gateway REST API | ||
#-------------------------------------------------------------- | ||
resource "aws_api_gateway_rest_api" "this" { | ||
description = var.description | ||
disable_execute_api_endpoint = var.disable_execute_api_endpoint | ||
name = var.name | ||
endpoint_configuration { | ||
types = var.types | ||
} | ||
tags = var.tags | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
output "id" { | ||
description = "ID of the REST API." | ||
value = aws_api_gateway_rest_api.this.id | ||
} | ||
output "root_resource_id" { | ||
description = "Resource ID of the REST API's root." | ||
value = aws_api_gateway_rest_api.this.root_resource_id | ||
} | ||
output "execution_arn" { | ||
description = "Execution ARN part to be used in lambda_permission's source_arn when allowing API Gateway to invoke a Lambda function." | ||
value = aws_api_gateway_rest_api.this.execution_arn | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#-------------------------------------------------------------- | ||
# module variables | ||
#-------------------------------------------------------------- | ||
variable "name" { | ||
type = string | ||
description = "(Required) API Gateway Name." | ||
} | ||
variable "description" { | ||
type = string | ||
description = "(Optional) Description of the REST API. If importing an OpenAPI specification via the body argument, this corresponds to the info.description field. If the argument value is provided and is different than the OpenAPI value, the argument value will override the OpenAPI value." | ||
default = "" | ||
} | ||
variable "disable_execute_api_endpoint" { | ||
type = bool | ||
description = "(Optional) Whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint. Defaults to false. If importing an OpenAPI specification via the body argument, this corresponds to the x-amazon-apigateway-endpoint-configuration extension disableExecuteApiEndpoint property. If the argument value is true and is different than the OpenAPI value, the argument value will override the OpenAPI value." | ||
default = true | ||
} | ||
variable "types" { | ||
type = list(string) | ||
description = "(Optional) List of endpoint types. This resource currently only supports managing a single value. Valid values: EDGE, REGIONAL or PRIVATE. If unspecified, defaults to EDGE. If set to PRIVATE recommend to set put_rest_api_mode = merge to not cause the endpoints and associated Route53 records to be deleted. Refer to the documentation for more information on the difference between edge-optimized and regional APIs." | ||
default = ["REGIONAL"] | ||
} | ||
variable "tags" { | ||
type = map(any) | ||
description = "(Optional) Key-value map of resource tags for the workgroup. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level." | ||
default = null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#-------------------------------------------------------------- | ||
# Terraform Provider | ||
#-------------------------------------------------------------- | ||
terraform { | ||
required_version = ">=1.0" | ||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">=4.0.0" | ||
} | ||
} | ||
} |
Oops, something went wrong.