-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauto-demo.ps1
More file actions
48 lines (40 loc) · 1.84 KB
/
Copy pathauto-demo.ps1
File metadata and controls
48 lines (40 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function Write-Highlight {
param($Message)
Write-Host "`n→ $Message" -ForegroundColor Cyan
Start-Sleep -Seconds 2
}
Clear-Host
Write-Host "CloudGuardStack Security Analysis Demo" -ForegroundColor Yellow
Write-Host "======================================" -ForegroundColor Yellow
Start-Sleep -Seconds 3
# Step 1: Show project structure
Write-Highlight "Analyzing Cloud Security Components..."
tree /F /A | Select-Object -First 20
Start-Sleep -Seconds 4
# Step 2: Generate demo findings
Write-Highlight "Generating IAM Security Findings..."
python scanners/iam_entitlement/demo_generator.py
Start-Sleep -Seconds 3
Write-Highlight "Analyzing Storage Security..."
python scanners/storage_auditor/demo_generator.py --include-remediation-plan
Start-Sleep -Seconds 3
# Step 3: Open and run analysis notebook
Write-Highlight "Launching Security Analysis Dashboard..."
jupyter notebook notebooks/security_analysis.ipynb --no-browser
# Step 4: Display key findings summary
Write-Highlight "Security Analysis Summary"
Write-Host "----------------------------------------"
Write-Host "Critical Findings:"
Write-Host "✗ 3 Public Storage Buckets Exposed" -ForegroundColor Red
Write-Host "✗ Admin Account with Unrestricted Access" -ForegroundColor Red
Write-Host "✗ Sensitive Data in Config Files" -ForegroundColor Red
Start-Sleep -Seconds 4
Write-Host "`nRemediation Actions:" -ForegroundColor Yellow
Write-Host "✓ Generated Access Control Recommendations" -ForegroundColor Green
Write-Host "✓ Created Storage Security Baseline" -ForegroundColor Green
Write-Host "✓ Identified Policy Updates Required" -ForegroundColor Green
Start-Sleep -Seconds 4
# Step 5: Show completion
Write-Host "`n✨ Security Analysis Complete" -ForegroundColor Cyan
Write-Host "Identified 12 security findings and generated remediation plan." -ForegroundColor White
Start-Sleep -Seconds 3