terragoat
TerraGoat is Bridgecrew's "Vulnerable by Design" Terraform repository. TerraGoat is a learning and training project that demonstrates how common configuration errors can find their way into production cloud environments.
File Explorer
Download Latest Version (.zip)- build.yaml
- pull_request.yaml
- semgrep.yml
- template.md
- bla.yml
- dep.txt
- package-lock.json
- package.json
- package-lock.json
- package.json
- requirements.txt
- METADATA
- pom.xml
- pom.xml
- requirements.txt
- bucket.tf
- provider.tf
- rds.tf
- trail.tf
- customer-master.xlsx
- Dockerfile
- lambda_function_payload.zip
- consts.tf
- db-app.tf
- ec2.tf
- ecr.tf
- eks.tf
- elb.tf
- es.tf
- iam.tf
- kms.tf
- lambda.tf
- neptune.tf
- providers.tf
- rds.tf
- s3.tf
- aks.tf
- app_service.tf
- application_gateway.tf
- instance.tf
- key_vault.tf
- logging.tf
- mssql.tf
- networking.tf
- policies.tf
- provider.tf
- random.tf
- resource_group.tf
- roles.tf
- security_center.tf
- sql.tf
- storage.tf
- variables.tf
- big_data.tf
- gcs.tf
- gke.tf
- instances.tf
- networks.tf
- provider.tf
- README.md
- variables.tf
- bucket.tf
- compartment.tf
- data.tf
- provider.tf
- variables.tf
- .gitignore
- CODE_OF_CONDUCT.md
- LICENSE
- package-lock.json
- README.md
- terragoat-logo.png
# Installation Guide
git clone https://github.com/bridgecrewio/terragoat
Downloads the entire project code from GitHub to your computer.
cd terragoat
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f terraform/aws/resources/Dockerfile -t terragoat .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 terragoat
Runs the built image as an actual container.
3. Maven (Java)
Medium- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
cd packages
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
4. Node.js
Easycd packages/node/base
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
5. Python
Easypip install -r packages/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
