# cesarest/prisma-cloud-devsecops-workshop architecture

> Architecture diagram of the GitHub repository cesarest/prisma-cloud-devsecops-workshop, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cesarest/prisma-cloud-devsecops-workshop
- Repository: https://github.com/cesarest/prisma-cloud-devsecops-workshop

## Overview

This repository is a small DevSecOps workshop: it includes a Python “hello” sample, EC2 and S3 Terraform examples, a Dockerfile, and a lab guide. The README provides no workflow or integration details, and the Terraform and guide contents were not sampled, so their relationships to the sample app are left unspecified. The only evidenced runtime flow is Python invoking the sample’s main function.

Main entry points: [`code/hello.py`](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/hello.py) (Hello sample)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sample["Python sample"]
  node_hello["Hello sample<br/>[hello.py]"]
  node_docker["Container image"]
  node_dependencies["Python dependencies<br/>[requirements.txt]"]
end

subgraph group_cloud["Cloud examples"]
  node_ec2["EC2 examples<br/>[deployment_ec2.tf]"]
  node_s3["S3 examples<br/>[deployment_s3.tf]"]
  node_simple_ec2["Simple EC2<br/>[simple_ec2.tf]"]
  node_simple_s3["Simple S3<br/>[simple_s3.tf]"]
end

subgraph group_workshop["Workshop materials"]
  node_lab["DevSecOps lab<br/>[DevSecOps-lab.md]"]
end

node_python(("Python runtime"))

node_python -->|"runs"| node_hello

click node_hello "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/hello.py"
click node_ec2 "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/deployment_ec2.tf"
click node_s3 "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/deployment_s3.tf"
click node_simple_ec2 "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/simple_ec2.tf"
click node_simple_s3 "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/simple_s3.tf"
click node_docker "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/Dockerfile"
click node_dependencies "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/requirements.txt"
click node_lab "https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/guide/DevSecOps-lab.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_hello,node_docker,node_dependencies toneBlue
class node_ec2,node_s3,node_simple_ec2,node_simple_s3 toneAmber
class node_lab toneMint
class node_python toneIndigo
```

## Components

### Python sample

- [Hello sample](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/hello.py): `code/hello.py`
- [Container image](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/Dockerfile): `code/Dockerfile`
- [Python dependencies](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/requirements.txt): `code/requirements.txt`

### Cloud examples

- [EC2 examples](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/deployment_ec2.tf): `code/deployment_ec2.tf`
- [S3 examples](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/deployment_s3.tf): `code/deployment_s3.tf`
- [Simple EC2](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/simple_ec2.tf): `code/simple_ec2.tf`
- [Simple S3](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/code/simple_s3.tf): `code/simple_s3.tf`

### Workshop materials

- [DevSecOps lab](https://github.com/cesarest/prisma-cloud-devsecops-workshop/blob/main/guide/DevSecOps-lab.md): `guide/DevSecOps-lab.md`

### Other components

- **Python runtime**

## Connections

- Python runtime → Hello sample: runs (evidence: `code/hello.py`)
