petter2025 commited on
Commit
9e5b08e
·
verified ·
1 Parent(s): 8bb8b1e

Delete demo_scenarios.py

Browse files
Files changed (1) hide show
  1. demo_scenarios.py +0 -38
demo_scenarios.py DELETED
@@ -1,38 +0,0 @@
1
- """
2
- Demo Scenarios for ARF 3.3.9 OSS vs Enterprise
3
- Comprehensive scenarios showing the value of mechanical enforcement
4
- """
5
-
6
- DEMO_SCENARIOS = {
7
- "DROP DATABASE production": {
8
- "action": "DROP DATABASE production CASCADE",
9
- "context": "Environment: production, User: junior_dev, Time: 2AM, Backup: 24h old, Criticality: critical",
10
- "description": "Irreversible deletion of production database"
11
- },
12
- "DELETE FROM users WHERE status='active'": {
13
- "action": "DELETE FROM users WHERE status = 'active'",
14
- "context": "Environment: production, User: admin, Records: 50,000+, No backup, Criticality: high",
15
- "description": "Mass deletion of active users"
16
- },
17
- "GRANT admin TO new_user": {
18
- "action": "GRANT admin_role TO new_user@company.com",
19
- "context": "Environment: production, User: team_lead, New User: intern, No MFA, Criticality: medium",
20
- "description": "Grant admin privileges to new user"
21
- },
22
- "UPDATE transactions SET amount=amount*10": {
23
- "action": "UPDATE transactions SET amount = amount * 10 WHERE date = '2024-01-15'",
24
- "context": "Environment: production, User: finance_bot, Records: 10,000+, No rollback, Criticality: critical",
25
- "description": "Massive transaction amount modification"
26
- },
27
- "DEPLOY_TO production (no tests)": {
28
- "action": "deploy_service payment_api:v2.0.0 to production with 100% rollout",
29
- "context": "Environment: production, Tests: failed, Rollback: complex, Criticality: high",
30
- "description": "Deploy untested version to production"
31
- }
32
- }
33
-
34
- def get_scenario_context(scenario_name):
35
- """Get context for a scenario"""
36
- if scenario_name in DEMO_SCENARIOS:
37
- return {"description": DEMO_SCENARIOS[scenario_name]["context"]}
38
- return {"description": "Environment: production, User: developer"}