deploy to security audit account
scan your entire AWS Organization
receive alerts by Slack or email
or manually scan from your laptop
Subdomain Detection Functionality
Scans Amazon Route53 to identify:
Optional Additional Check
Turned off by default as it may result in Lambda timeouts for large organisations
To enable, create this Terraform variable in your tfvars file or CI/CD pipeline:
lambdas = [“alias-cloudfront-s3”, “alias-eb”, “alias-s3”, “cname-cloudfront-s3”, “cname-eb”, “cname-s3”, “ns-domain”, “ns-subdomain”, “cname-azure”, “cname-google”, “a-storage”]
Options
Notifications
Requirements
Usage
terraform init -backend-config=bucket=TERRAFORM_STATE_BUCKET -backend-config=key=TERRAFORM_STATE_KEY -backend-config=region=TERRAFORM_STATE_REGION
terraform workspace new dev
terraform plan
terraform apply
AWS IAM Policies
For least privilege access control, example AWS IAM policies are provided:
Adding New Checks
var.lambdas
in variables.tfAdding Notifications To Extra Slack Channels
Testing
slack_channels_dev
variable for your dev environment to notify a test Slack channelENVIRONMENT VARIABLE | EXAMPLE VALUE / COMMENT |
---|---|
AWS_ACCESS_KEY_ID | using domain-protect deploy policy |
AWS_SECRET_ACCESS_KEY | – |
TERRAFORM_STATE_BUCKET | tfstate48903 |
TERRAFORM_STATE_KEY | domain-protect |
TERRAFORM_STATE_REGION | us-east-1 |
TF_VAR_org_primary_account | 012345678901 |
TF_VAR_security_audit_role_name | not needed if “domain-protect-audit” used |
TF_VAR_external_id | only required if External ID is configured |
TF_VAR_slack_channels | [“security-alerts”] |
TF_VAR_slack_channels_dev | [“security-alerts-dev”] |
TF_VAR_slack_webhook_urls | [“https://hooks.slack.com/services/XXX/XXX/XXX”] |
docker run -v pwd
:/whatever circleci/circleci-cli circleci config validate /whatever/.circleci/config.yml
Starship is a powerful, minimal, and highly customizable cross-shell prompt designed to enhance the terminal…
Lemmy is an innovative, open-source platform designed for link aggregation and discussion, providing a decentralized…
The latest release of ImHex v1.37.0 introduces a host of exciting features and improvements, enhancing…
Ghauri is a cutting-edge, cross-platform tool designed to automate the detection and exploitation of SQL…
Writing tools have become indispensable for individuals looking to enhance their writing efficiency, accuracy, and…
PatchWerk is a proof-of-concept (PoC) tool designed to clean NTDLL syscall stubs by patching syscall…