Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.27 KB

README.md

File metadata and controls

44 lines (29 loc) · 2.27 KB

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