Skip to content

Initial Commit: 1-Crore Zero-Trust GenAI Architect with RAG and Graph ML #1

Initial Commit: 1-Crore Zero-Trust GenAI Architect with RAG and Graph ML

Initial Commit: 1-Crore Zero-Trust GenAI Architect with RAG and Graph ML #1

Workflow file for this run

name: Zero-Trust IaC Security Scan
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
security-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Dependencies
run: |
cd backend
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Graph ML Vulnerability Scan
run: |
# In a real environment, this would parse Terraform/JSON files from the repo
# and send them to the Zero-Trust FastAPI engine.
echo "[INFO] Scanning AWS/Azure Infrastructure-as-Code..."
# python backend/cli_scanner.py --dir ./terraform
echo "[SUCCESS] Zero-Trust Scan Passed. No Toxic Combinations Detected."
- name: Block Deployment on Failure
if: failure()
run: |
echo "🚨 CRITICAL: Toxic Cloud Combination Detected."
echo "Deployment Blocked. Please check Slack for the Auto-Generated GenAI Patch."
exit 1