Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cfn/cfngoat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Resources:
Tags:
- Key: Name
Value: !Sub "${AWS::AccountId}-${CompanyName}-${Environment}-ec2"
- Key: git_org
Value: ghouldaemon
UserData:
Fn::Base64: |
#!/bin/bash
Expand All @@ -59,7 +61,6 @@ Resources:
############
### S3 ###
############

DataBucket:
# Public, not encrypted, no access logs, no versioning
# checkov:skip=CKV_AWS_56: not needed
Expand All @@ -71,6 +72,8 @@ Resources:
Tags:
- Key: Name
Value: !Sub "${AWS::AccountId}-${CompanyName}-${Environment}-data"
- Key: git_org
Value: ghouldaemon

Outputs:
EC2PublicDNS:
Expand Down
1 change: 1 addition & 0 deletions serverless/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ functions:
tags:
RESOURCE: lambda
PUBLIC: false
git_org: ghouldaemon
iamRoleStatements:
- Effect: Allow
Action:
Expand Down
2 changes: 1 addition & 1 deletion terraform/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "aws_ecs_task_definition" "service" {
git_last_modified_at = "2022-10-11 17:12:10"
git_last_modified_by = "[email protected]"
git_modifiers = "104632309+mroberts-panw"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "54731c2c-d768-458c-8625-5e1fc91901ac"
}
Expand Down
4 changes: 2 additions & 2 deletions terraform/iam-test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "aws_iam_policy" "policy_resource_fail" {
git_last_modified_at = "2022-10-26 12:53:34"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "5c3c5011-041d-487a-a6e6-3072edc7b5e6"
}
Expand Down Expand Up @@ -64,7 +64,7 @@ resource "aws_iam_policy" "policy_resource_pass" {
git_last_modified_at = "2022-10-26 12:53:34"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "e56108da-6d0e-4e78-8fc5-f3f2567ffed9"
}
Expand Down
4 changes: 2 additions & 2 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module "instance" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "a5ffaaa3-e604-4f84-934e-ff1877ca74e0"
}
Expand All @@ -83,7 +83,7 @@ resource "aws_ebs_volume" "i" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "1c06a9c0-4d81-4137-8d86-24cf1260ca17"
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "aws_iam_role" "admin-role" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "6b7b8033-6e0a-482d-acc4-05584f723771"
}
Expand Down
20 changes: 10 additions & 10 deletions terraform/modules/storage/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "aws_db_subnet_group" "example_rds_subnet_grp" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "f2a1cfe5-e3d1-4f3e-8934-4d6114ead100"
})
Expand All @@ -28,7 +28,7 @@ resource "aws_security_group" "example_rds_sg" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "a135de5a-372b-4b70-98ad-3775ef91c7fb"
})
Expand Down Expand Up @@ -61,7 +61,7 @@ resource "aws_kms_key" "example_db_kms_key" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "988b0096-39e5-4077-99dd-120eb990cd1d"
})
Expand Down Expand Up @@ -91,7 +91,7 @@ resource "aws_db_instance" "example_db" {
git_last_modified_at = "2022-09-26 18:17:07"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "402cb8e8-703c-4778-af81-f322be4fc5d9"
})
Expand All @@ -109,7 +109,7 @@ resource "aws_ssm_parameter" "example_ssm_db_host" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "4fbfdb10-f5bf-424b-af46-ab69cbb0df3c"
})
Expand All @@ -127,7 +127,7 @@ resource "aws_ssm_parameter" "example_ssm_db_password" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "d066cbee-4067-495c-8377-3294ec8f5509"
})
Expand All @@ -145,7 +145,7 @@ resource "aws_ssm_parameter" "example_ssm_db_user" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "218214f1-78c9-49f0-bef6-b65b3da80461"
})
Expand All @@ -164,7 +164,7 @@ resource "aws_ssm_parameter" "example_ssm_db_name" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "f6cfbef0-a5d1-4630-a933-52adf04af603"
})
Expand All @@ -181,7 +181,7 @@ resource "aws_s3_bucket" "my-private-bucket" {
git_last_modified_at = "2022-09-26 20:54:59"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "26ecaeea-c233-4e1f-a4ae-a8bcb8854244"
})
Expand All @@ -198,7 +198,7 @@ resource "aws_s3_bucket" "public-bucket-oops" {
git_last_modified_at = "2022-09-26 20:54:59"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "7ecefeab-6519-4a8e-a3f6-8c849f9eff19"
})
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/subnet/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_subnet" "primary" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "de17a83e-d2cf-41c2-833f-c959687ccca6"
}
Expand All @@ -24,7 +24,7 @@ resource "aws_subnet" "secondary" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "7c0c6cf6-3882-483b-937c-801545bb27f0"
}
Expand Down
8 changes: 4 additions & 4 deletions terraform/modules/vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_vpc" "example" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "595c04ed-9f1f-4884-9d0c-d9e81b3d45de"
}
Expand All @@ -27,7 +27,7 @@ resource "aws_default_security_group" "default" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "ea82ec59-36e8-4723-8e71-e3dcac8779c6"
}
Expand All @@ -50,7 +50,7 @@ resource "aws_security_group" "allow_all_ssh" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "dc774db6-b43d-473c-81bc-e56179320756"
}
Expand All @@ -73,7 +73,7 @@ resource "aws_security_group" "allow_ssh_from_valid_cidr" {
git_last_modified_at = "2022-09-22 19:07:11"
git_last_modified_by = "[email protected]"
git_modifiers = "mroberts"
git_org = "try-bridgecrew"
git_org = "ghouldaemon"
git_repo = "codegoat"
yor_trace = "fc4802fc-f95c-474e-bb7f-821f148741cb"
}
Expand Down