Skip to content

Do need you help to analyze your security trends and identify the highest priority security issues?

Notifications You must be signed in to change notification settings

ValAug/SecurityHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecurityHub

Do you need help analyzing your security trends and identifying the highest-priority security issues?

Cloud - ☁️

AWS

IaaC

Terraform

Purpose

Shows how to use AWS with Terraform to accomplish the following tasks:

  • How SecurityHub can assist you in examining your security patterns and pinpointing the most critical security concerns using Terraform

Prerequisites

Cautions

  • As an AWS best practice, grant this code least privilege, or only the permissions required to perform a task. For more information, see Grant Least Privilege in the AWS Identity and Access Management User Guide.
  • This code has been tested in us-west-1 AWS Regions only. However it should work in any other region.
  • Running this code it might result in charges to your AWS account.

How to run this code

Quick Start

It will deploy to the account setup for the aws cli called 'default' or 'profile' set it

clone this repo
cd SecurityHub
terraform init
terraform validate
terraform plan
terraform apply --auto-approve

Quick Destroy

terraform destroy --auto-approve

Notes

  • clone this repo

  • cd to the the directory SecurityHub

  • use terraform init command prepare your working directory for other commands

  • terraform validate command check whether the configuration is valid

  • terraform plan command show changes required by the current configuration

  • terraform apply create or update infrastructure

  • Alternate command : terraform apply -auto-approve

  • terraform destroy destroy previously-created infrastructure

  • Alternate command : terraform destroy -auto-approve

  • terraform fmt reformat your configuration in the standard style

  • Update the region or regions that you want to analyze in the variable.tf file

About

Do need you help to analyze your security trends and identify the highest priority security issues?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages