Get started with the Secure Code AI Development Workshop in just 30 minutes! This guide will help you set up your environment and complete your first security scan.
Before starting, ensure you have:
- GitHub account with GitHub Advanced Security access
- Azure free account created
- VS Code installed
- Docker Desktop installed and running
- GitHub Copilot subscription active
- Terminal/Command Prompt access
# Clone the workshop repository
git clone https://github.com/paulasilvatech/Secure-Code-AI-Dev.git
cd Secure-Code-AI-Dev
# Create your own branch
git checkout -b my-workshop-progress# Make the script executable (macOS/Linux)
chmod +x scripts/quick-setup.sh
# Run the quick setup
./scripts/quick-setup.shFor Windows users:
# Run in PowerShell as Administrator
.\scripts\quick-setup.ps1# Run verification script
./scripts/verify-setup.shYou should see all green checkmarks ✅ for required tools.
# Navigate to templates directory
cd templates/vulnerable-app
# Install dependencies
npm install
# Run initial security scan
npm audit# Push to GitHub
git add .
git commit -m "Initial vulnerable app"
git push origin my-workshop-progress
# Enable GHAS in your repository settings
# Go to: Settings > Security & Analysis > Enable allOpen VS Code and use GitHub Copilot:
// Type this comment in app.js
// fix the SQL injection vulnerability in the login function
// Copilot will suggest secure codeHere's what you'll learn in each of the 10 modules:
- Shift-Left Security - Security fundamentals (1.5h)
- GitHub Advanced Security - GHAS features (1h)
- Security Environment Setup - Tools & configuration (1.5h)
- AI Secure Coding - GitHub Copilot for security (2h)
- Container Security - DevSecOps practices (2h)
- Agentic AI - Automated security agents (2h)
- Multi-Cloud Security - Cross-cloud strategies (2h)
- Microsoft Sentinel - SIEM/SOAR setup (2.5h)
- Security Dashboards - Monitoring & reporting (2h)
- Advanced Patterns - Zero-trust & more (2.5h)
git status # Check current status
git add . # Stage all changes
git commit -m "message" # Commit changes
git push origin branch-name # Push to GitHubdocker build -t app . # Build image
docker run -p 3000:3000 app # Run container
docker ps # List running containers
docker scan app # Scan for vulnerabilitiesaz login # Login to Azure
az group create -n rg-workshop -l eastus # Create resource group
az acr create -n myregistry -g rg-workshop --sku Basic # Create container registry# GitHub CLI security commands
gh secret scan # Scan for secrets
gh api /repos/{owner}/{repo}/code-scanning/alerts # View alerts
# Local scanning
trivy fs . # Scan filesystem
snyk test # Test for vulnerabilitiesPerfect for a quick introduction:
- Module 1: Shift-Left basics (45 min)
- Module 2: GHAS setup (30 min)
- Module 4: AI secure coding (90 min)
- Quick lab: Fix 3 vulnerabilities (15 min)
Comprehensive security coverage:
- Complete Modules 1-7
- Hands-on labs for each module
- Build a secure CI/CD pipeline
- Deploy to cloud with security
Full enterprise implementation:
- All 10 modules in detail
- Multi-cloud deployment
- Complete monitoring setup
- Custom security agents
- Production-ready implementation
# macOS/Windows
# Open Docker Desktop application
# Linux
sudo systemctl start docker# Reconfigure GitHub CLI
gh auth logout
gh auth login
# Use personal access token
git config --global credential.helper store# Clear Azure credentials
az logout
az account clear
az login --use-device-codeTrack your progress:
- Completed environment setup
- Ran first security scan
- Fixed first vulnerability with AI
- Enabled GHAS on repository
- Completed at least 3 modules
- Deployed secure application
- Complete Module 1 - Start Here
- Join Community - GitHub Discussions
- Share Progress - Post your achievements with #SecureCodeAI
- 📖 Detailed Troubleshooting Guide
- 💬 Workshop FAQ
- 🤝 Community Support
- 📧 Direct support: workshop@secureaidev.com
You're ready to start your secure coding journey! Remember:
- Take breaks between modules
- Practice with real code
- Ask questions in discussions
- Share your learnings
Ready for Module 1? → Start with Shift-Left Security
🛡️ Secure Code. 🤖 AI-Powered. 🚀 Production-Ready.
| Previous | Up | Next |
|---|---|---|
| 📖 Main README | 📚 Documentation | 🚀 Workshop Overview |
Quick Links: 🛡️ Security FAQ • 🔧 Troubleshooting • 📦 Products