-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56d008e
commit 23c0ee2
Showing
9 changed files
with
150 additions
and
80 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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/collector contains the actual collector application so that we can deploy to verify customer issues. | ||
/ecr contains the terraform that sets up the infrastrcture to deploy the image and share it to customers | ||
/ecr contains the terraform that sets up the infrastructure to deploy the image and share it to customers |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"teams": [ | ||
{ | ||
"accounts": [ | ||
{ | ||
"id": "XXXXXXXXX", | ||
"environment": "dev", | ||
"roleArn": "arn:aws:iam::XXXXXXXXX:role/security-hub-collector" | ||
}, | ||
{ | ||
"id": "YYYYYYYYY", | ||
"environment": "impl", | ||
"roleArn": "arn:aws:iam::YYYYYYYYY:role/security-hub-collector" | ||
} | ||
], | ||
"name": "My Team" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,9 +1,44 @@ | ||
variable "ecs_vpc_id" {} | ||
variable "ecs_subnet_ids" {} | ||
variable "security_hub_collector_results_bucket_name" {} | ||
variable "schedule_task_expression" {} | ||
variable "output_path" {} | ||
variable "s3_key" {} | ||
variable "assume_role" {} | ||
variable "aws_cloudwatch_log_group_name" {} | ||
variable "assign_public_ip" {} | ||
variable "ecs_vpc_id" { | ||
description = "The ID of the VPC where the ECS tasks will run" | ||
type = string | ||
} | ||
|
||
variable "ecs_subnet_ids" { | ||
description = "A list of subnet IDs where the ECS tasks will be placed" | ||
type = list(string) | ||
} | ||
|
||
variable "security_hub_collector_results_bucket_name" { | ||
description = "The name of the S3 bucket where Security Hub collector results will be stored" | ||
type = string | ||
} | ||
|
||
variable "schedule_task_expression" { | ||
description = "The schedule expression for when the ECS task should run (e.g., cron or rate expression)" | ||
type = string | ||
} | ||
|
||
variable "output_path" { | ||
description = "The path where output files will be saved" | ||
type = string | ||
} | ||
|
||
variable "s3_key" { | ||
description = "The S3 key (path) where files will be stored in the S3 bucket" | ||
type = string | ||
} | ||
|
||
variable "assume_role" { | ||
description = "The ARN of the IAM role to be assumed by the ECS task" | ||
type = string | ||
} | ||
|
||
variable "aws_cloudwatch_log_group_name" { | ||
description = "The name of the CloudWatch log group where ECS task logs will be sent" | ||
type = string | ||
} | ||
|
||
variable "assign_public_ip" { | ||
description = "Whether to assign a public IP address to the ECS task" | ||
type = bool | ||
} |