File size: 6,293 Bytes
784bb29 449d873 784bb29 449d873 784bb29 449d873 784bb29 449d873 | 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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | """
Demo Scenarios for ARF 3.3.9 OSS vs Enterprise
Comprehensive scenarios showing the value of mechanical enforcement
"""
DEMO_SCENARIOS = {
"database_drop": {
"name": "High-Risk Database Operation",
"action": "DROP DATABASE production CASCADE",
"description": "Irreversible deletion of production database",
"context": {
"environment": "production",
"criticality": "critical",
"data_loss": "irreversible",
"affected_users": 10000,
"service": "primary_database"
}
},
"service_deployment": {
"name": "Safe Service Deployment",
"action": "deploy_service v1.2.3 to staging with 25% canary",
"description": "Standard deployment with canary testing",
"context": {
"environment": "staging",
"service": "api-gateway",
"version": "v1.2.3",
"canary_percentage": 25,
"rollback_feasible": True,
"rollback_time": "2 minutes"
}
},
"config_change": {
"name": "Configuration Change",
"action": "UPDATE config SET timeout=30 WHERE service='payment'",
"description": "Update payment service timeout configuration",
"context": {
"environment": "production",
"service": "payment",
"change_type": "configuration",
"affected_services": ["payment", "checkout"],
"validation_required": True
}
},
"user_permission_grant": {
"name": "User Permission Grant",
"action": "GRANT admin_role TO user@company.com",
"description": "Grant administrative privileges to user",
"context": {
"environment": "production",
"role": "admin_role",
"user": "user@company.com",
"justification": "New team member",
"approver": "cto@company.com"
}
},
"sensitive_data_access": {
"name": "Sensitive Data Access",
"action": "SELECT * FROM pci_data WHERE card_number LIKE '4111%'",
"description": "Access to PCI-sensitive payment card data",
"context": {
"environment": "production",
"data_classification": "pci",
"user_role": "analyst",
"purpose": "fraud investigation",
"masking_required": True
}
},
"auto_scaling_adjustment": {
"name": "Auto-Scaling Adjustment",
"action": "scale deployment frontend from 10 to 50 pods",
"description": "Increase frontend service capacity",
"context": {
"environment": "production",
"service": "frontend",
"current_pods": 10,
"target_pods": 50,
"reason": "Black Friday traffic spike",
"budget_impact": "$1200/day"
}
},
"emergency_rollback": {
"name": "Emergency Rollback",
"action": "rollback_service payment to v1.1.0 immediately",
"description": "Emergency rollback due to critical bug",
"context": {
"environment": "production",
"service": "payment",
"from_version": "v1.2.0",
"to_version": "v1.1.0",
"severity": "critical",
"incident_id": "INC-2024-789",
"approved_by": "oncall_engineer"
}
}
}
# License tier definitions
LICENSE_TIERS = {
"trial": {
"name": "Trial",
"price": 0,
"enforcement": "advisory",
"max_agents": 3,
"gates_available": ["confidence_threshold", "risk_assessment"],
"limitations": ["No mechanical enforcement", "14-day limit", "Community support"],
"best_for": "Evaluation and testing"
},
"starter": {
"name": "Starter",
"price": 2000,
"enforcement": "human_approval",
"max_agents": 10,
"gates_available": ["license_validation", "confidence_threshold", "risk_assessment", "admin_approval"],
"features": ["Human-in-the-loop gates", "Basic audit trail", "Email support"],
"best_for": "Small teams with human oversight"
},
"professional": {
"name": "Professional",
"price": 5000,
"enforcement": "autonomous",
"max_agents": 50,
"gates_available": ["license_validation", "confidence_threshold", "risk_assessment", "rollback_feasibility", "budget_check"],
"features": ["Autonomous execution", "Advanced audit", "Priority support", "SLA 99.5%"],
"best_for": "Mid-size companies wanting automation"
},
"enterprise": {
"name": "Enterprise",
"price": 15000,
"enforcement": "full_mechanical",
"max_agents": 1000,
"gates_available": ["license_validation", "confidence_threshold", "risk_assessment", "rollback_feasibility", "compliance_check", "budget_check", "custom_gates"],
"features": ["Full mechanical enforcement", "Compliance automation", "Custom gates", "24/7 support", "SLA 99.9%", "Differential privacy audit"],
"best_for": "Large enterprises with compliance needs"
}
}
# Value proposition data
VALUE_PROPOSITIONS = {
"risk_reduction": {
"oss": "Manual risk assessment",
"starter": "Human-validated decisions",
"professional": "Automated risk gates",
"enterprise": "Mechanical enforcement",
"improvement": "92% reduction in operational risk"
},
"decision_speed": {
"oss": "Minutes to hours",
"starter": "Minutes with human",
"professional": "Seconds (autonomous)",
"enterprise": "Milliseconds (mechanical)",
"improvement": "100x faster decisions"
},
"false_positives": {
"oss": "High (conservative)",
"starter": "Medium (human calibrated)",
"professional": "Low (ML-optimized)",
"enterprise": "Minimal (continuously tuned)",
"improvement": "85% reduction in false positives"
},
"operational_cost": {
"oss": "High (manual review)",
"starter": "Medium (partial automation)",
"professional": "Low (mostly automated)",
"enterprise": "Minimal (fully automated)",
"improvement": "75% reduction in OpEx"
}
} |