Skip to content

TerraOak is Oak9's vulnerable IAC code repo for AWS. This repo will be used for learning and training purposes on how to implement a cloud security posture for AWS.

License

Notifications You must be signed in to change notification settings

iamsonidarshan/terraoak.aws

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerraOak: Finding Design Gaps Daily

Welcome to TerraOak-AWS!

TerraOak

TerraOak is oak9's vulnerable Infrastructure as Code repository. This repository contains deployable resource configurations for AWS, which have been intentionally designed to be insecure for learning purposes.

Table of Contents

Introduction

Before proceeding, please read the following disclaimer:

⚠️ TerraOak contains multiple examples of code displaying common IaC misconfigurations. These were developed with the intention of showcasing the impact of oak9's powerful CLI and dynamic blueprint engine on improving organizational security posture. Use at your own discretion; oak9 is not responsible for any damages.

Please use caution when using this codebase and ensure that you have appropriate permissions to deploy resources in your AWS environment. Always follow best practices for securing your cloud infrastructure and consult with your organization's security team before deploying any code to production environments.

Requirements

Name Version
terraform >= 1.0
aws >= 4.0

Terraform Code Execution

  • Clone or fork this repository

  • Ensure minimum version requirements are met

  • Run terraform init

  • Run terraform plan or terraform apply

  • Add an API user curl -X POST "$(terraform output -raw base_url)/set-user?id=0&name=john&orgid=xyx&plan=enterprise&orgname=xyzdfd&creationdate=82322"

  • Retrieve an API user curl "$(terraform output -raw base_url)/get-user?id=0"

oak9 CLI Execution

To view instructions for downloading and running the oak9 CLI independent of Docker please see the following documentation -> https://docs.oak9.io/oak9/fundamentals/integrations/cli-integration

About

TerraOak is Oak9's vulnerable IAC code repo for AWS. This repo will be used for learning and training purposes on how to implement a cloud security posture for AWS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%