Skip to content

Merging in initial templates for taskcat functional test debugging #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 15, 2023
Merged
Show file tree
Hide file tree
Changes from 11 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
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "submodules/cfn-abi-aws-cloudtrail"]
path = submodules/cfn-abi-aws-cloudtrail
url = [email protected]:aws-ia/cfn-abi-aws-cloudtrail.git
[submodule "submodules/cfn-abi-amazon-guardduty"]
path = submodules/cfn-abi-amazon-guardduty
url = [email protected]:aws-ia/cfn-abi-amazon-guardduty.git
45 changes: 18 additions & 27 deletions .taskcat.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,24 @@
project:
name: update-me-to-project-repo-name
owner: quickstart@amazon.com
name: cfn-abi-deepwatch-mdr
owner: zachary.wallace@deepwatch.com
package_lambda: false
shorten_stack_name: true
s3_regional_buckets: false
regions:
- ap-northeast-1
- ap-northeast-2
- ap-southeast-1
- ap-southeast-2
- eu-central-1
- eu-west-1
- sa-east-1
- us-east-1
- us-west-1
- us-west-2
tests:
sample:
parameters:
Param1: 'Inputs to Stack'
# Examples: of other taskcat dynamic input parameters for more into see http://taskcat.io
#
# AvailabilityZones: $[taskcat_genaz_3]
# ByteValue: 1
# PasswordA: $[taskcat_genpass_8A]
# PasswordB: $[taskcat_genpass_32S]
# RandomNumber: $[taskcat_random-numbers]
# RandomString: $[taskcat_random-string]
# StackName: TestStack
# UUID: $[taskcat_genuuid]
#
logging-top-level:
regions:
- us-east-1
template: templates/sample-workload.template.yaml
- us-east-1
template: templates/deepwatch-root-stack.yaml
parameters:
pSRAStagingS3KeyPrefix: $[taskcat_project_name]
pSRASourceS3BucketName: $[taskcat_autobucket]
pSRASourceS3BucketNamePrefix: $[taskcat_project_name]
pSRAS3BucketRegion: us-east-1
pAutoEnableS3Logs: 'true'
pAutoEnableK8sLogs: 'false'
pAutoEnableMalwareProtection: 'false'
pSRASolutionName: sra-guardduty-org
pSraTestingFlag: 'true'
pDeepwatchRoleName: 'deepwatch-mdr-role'
49 changes: 43 additions & 6 deletions scripts/cleanup_config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,60 @@
[
{
"Type" : "S3_BUCKET",
"Filter" : "sra-guardduty-org-delivery-",
"Account" : "log_account"
},
{
"Type" : "S3_BUCKET",
"Filter" : "cfn-abi-amazon-guardduty-"
},
{
"Type" : "S3_BUCKET",
"Filter" : "sra-gd-staging-"
},
{
"Type" : "SSM_PARAMETER",
"Filter" : "/sra/gd/"
},
{
"Type": "STACK",
"Filter" : "replace-with-stack-name-prefix-to-be-cleaned"
"Filter" : "tcat-cfn-abi-deepwatch-mdr"
},
{
"Type": "STACK",
"Filter" : "tCaT-enable-cloudtrail-ssm-"
},
{
"Type" : "STACK",
"Filter": "tCaT-stage-ctrail-content-local-"
},
{
"Type" : "STACK",
"Filter": "org-level-trail-dataevent-only"
},
{
"Type" : "STACK",
"Filter": "org-level-trail-with-mgmt-events"
},
{
"Type" : "S3_BUCKET",
"Filter": "replace-with-s3-bucket-prefix-to-be-cleaned"
"Filter": "sra-cloudtrail-staging-"
},
{
"Type" : "S3_BUCKET",
"Filter": "replace-with-s3-bucket-prefix-to-be-cleaned",
"Account": "provide-your-account-name"
"Filter": "sra-org-trail-logs-",
"Account": "log_account"
},
{
"Type": "S3_BUCKET",
"Filter": "cfn-abi-aws-cloudtrail-"
},
{
"Type" : "SSM_PARAMETER",
"Filter" : "/path/to/parameter-prefix-to-delete"
"Filter" : "/sra/ctrail/"
},
{
"Type" : "LOG_GROUP",
"Filter" : "path/to/log-group-prefix-to-delete"
"Filter" : "sra/sra-org-trail"
}
]
1 change: 1 addition & 0 deletions submodules/cfn-abi-amazon-guardduty
1 change: 1 addition & 0 deletions submodules/cfn-abi-aws-cloudtrail
Submodule cfn-abi-aws-cloudtrail added at 97f9a4
Loading