runbooks 1.1.2__py3-none-any.whl → 1.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. runbooks/__init__.py +1 -1
  2. runbooks/cfat/WEIGHT_CONFIG_README.md +1 -1
  3. runbooks/cfat/assessment/compliance.py +7 -7
  4. runbooks/cfat/models.py +6 -2
  5. runbooks/cfat/tests/__init__.py +6 -1
  6. runbooks/cli/__init__.py +13 -0
  7. runbooks/cli/commands/cfat.py +233 -0
  8. runbooks/cli/commands/finops.py +213 -0
  9. runbooks/cli/commands/inventory.py +276 -0
  10. runbooks/cli/commands/operate.py +266 -0
  11. runbooks/cli/commands/security.py +224 -0
  12. runbooks/cli/commands/validation.py +411 -0
  13. runbooks/cli/commands/vpc.py +246 -0
  14. runbooks/cli/registry.py +95 -0
  15. runbooks/cloudops/__init__.py +3 -3
  16. runbooks/cloudops/cost_optimizer.py +164 -28
  17. runbooks/cloudops/interfaces.py +2 -2
  18. runbooks/cloudops/mcp_cost_validation.py +3 -3
  19. runbooks/cloudops/notebook_framework.py +2 -2
  20. runbooks/common/aws_profile_manager.py +337 -0
  21. runbooks/common/aws_utils.py +1 -1
  22. runbooks/common/business_logic.py +3 -3
  23. runbooks/common/comprehensive_cost_explorer_integration.py +1 -1
  24. runbooks/common/cross_account_manager.py +1 -1
  25. runbooks/common/decorators.py +225 -0
  26. runbooks/common/mcp_cost_explorer_integration.py +2 -2
  27. runbooks/common/organizations_client.py +1 -1
  28. runbooks/common/patterns.py +206 -0
  29. runbooks/common/profile_utils.py +149 -14
  30. runbooks/common/rich_utils.py +507 -16
  31. runbooks/finops/README.md +11 -11
  32. runbooks/finops/__init__.py +4 -4
  33. runbooks/finops/business_cases.py +3 -3
  34. runbooks/finops/cli.py +169 -103
  35. runbooks/finops/cost_optimizer.py +4 -4
  36. runbooks/finops/dashboard_router.py +2 -2
  37. runbooks/finops/ebs_cost_optimizer.py +4 -4
  38. runbooks/finops/ebs_optimizer.py +19 -2
  39. runbooks/finops/embedded_mcp_validator.py +101 -23
  40. runbooks/finops/enhanced_progress.py +8 -8
  41. runbooks/finops/enterprise_wrappers.py +7 -7
  42. runbooks/finops/finops_scenarios.py +101 -27
  43. runbooks/finops/legacy_migration.py +8 -8
  44. runbooks/finops/markdown_exporter.py +2 -2
  45. runbooks/finops/multi_dashboard.py +1 -1
  46. runbooks/finops/nat_gateway_optimizer.py +1 -1
  47. runbooks/finops/optimizer.py +6 -6
  48. runbooks/finops/rds_snapshot_optimizer.py +1389 -0
  49. runbooks/finops/scenario_cli_integration.py +13 -13
  50. runbooks/finops/scenarios.py +16 -16
  51. runbooks/finops/single_dashboard.py +10 -10
  52. runbooks/finops/tests/test_finops_dashboard.py +3 -3
  53. runbooks/finops/tests/test_reference_images_validation.py +2 -2
  54. runbooks/finops/tests/test_single_account_features.py +17 -17
  55. runbooks/finops/tests/validate_test_suite.py +1 -1
  56. runbooks/finops/validation_framework.py +5 -5
  57. runbooks/finops/vpc_cleanup_exporter.py +3 -3
  58. runbooks/finops/vpc_cleanup_optimizer.py +3 -3
  59. runbooks/finops/workspaces_analyzer.py +31 -13
  60. runbooks/hitl/enhanced_workflow_engine.py +1 -1
  61. runbooks/inventory/README.md +3 -3
  62. runbooks/inventory/Tests/common_test_data.py +30 -30
  63. runbooks/inventory/collectors/aws_comprehensive.py +28 -11
  64. runbooks/inventory/collectors/aws_networking.py +2 -2
  65. runbooks/inventory/discovery.md +2 -2
  66. runbooks/inventory/find_ec2_security_groups.py +1 -1
  67. runbooks/inventory/list_rds_snapshots_aggregator.py +745 -0
  68. runbooks/inventory/organizations_discovery.py +1 -1
  69. runbooks/inventory/vpc_analyzer.py +1 -1
  70. runbooks/inventory/vpc_flow_analyzer.py +2 -2
  71. runbooks/main.py +143 -8882
  72. runbooks/metrics/dora_metrics_engine.py +2 -2
  73. runbooks/operate/mcp_integration.py +1 -1
  74. runbooks/operate/networking_cost_heatmap.py +4 -2
  75. runbooks/operate/privatelink_operations.py +1 -1
  76. runbooks/operate/vpc_endpoints.py +1 -1
  77. runbooks/operate/vpc_operations.py +2 -2
  78. runbooks/remediation/commvault_ec2_analysis.py +1 -1
  79. runbooks/remediation/rds_snapshot_list.py +5 -5
  80. runbooks/remediation/workspaces_list.py +5 -5
  81. runbooks/security/integration_test_enterprise_security.py +5 -3
  82. runbooks/security/run_script.py +1 -1
  83. runbooks/sre/mcp_reliability_engine.py +6 -6
  84. runbooks/utils/version_validator.py +1 -1
  85. runbooks/validation/comprehensive_2way_validator.py +9 -4
  86. runbooks/vpc/heatmap_engine.py +7 -4
  87. runbooks/vpc/mcp_no_eni_validator.py +1 -1
  88. runbooks/vpc/unified_scenarios.py +7 -7
  89. {runbooks-1.1.2.dist-info → runbooks-1.1.4.dist-info}/METADATA +53 -52
  90. {runbooks-1.1.2.dist-info → runbooks-1.1.4.dist-info}/RECORD +94 -80
  91. {runbooks-1.1.2.dist-info → runbooks-1.1.4.dist-info}/WHEEL +0 -0
  92. {runbooks-1.1.2.dist-info → runbooks-1.1.4.dist-info}/entry_points.txt +0 -0
  93. {runbooks-1.1.2.dist-info → runbooks-1.1.4.dist-info}/licenses/LICENSE +0 -0
  94. {runbooks-1.1.2.dist-info → runbooks-1.1.4.dist-info}/top_level.txt +0 -0
@@ -1138,7 +1138,7 @@ class EnhancedOrganizationsDiscovery:
1138
1138
  medium_spend_accounts = {
1139
1139
  k: round(v, 2)
1140
1140
  for k, v in cost_by_account.items()
1141
- if 100 <= v <= 1000 # $100-$1000/month
1141
+ if 100 <= v <= 1000 # significant value range$1000/month
1142
1142
  }
1143
1143
 
1144
1144
  logger.info(f"✅ Cost validation complete: ${total_cost:.2f} across {len(cost_by_account)} accounts")
@@ -157,7 +157,7 @@ class VPCAnalyzer:
157
157
  self.last_awso_analysis = None
158
158
  self.landing_zone_sessions = [] # Enhanced: Store cross-account sessions
159
159
 
160
- print_header(f"VPC Analyzer v0.9.9", "Multi-Organization Landing Zone Enhanced")
160
+ print_header(f"VPC Analyzer latest version", "Multi-Organization Landing Zone Enhanced")
161
161
 
162
162
  if self.enable_multi_account:
163
163
  print_info(f"🎯 Target: 60-account Multi-Organization Landing Zone discovery")
@@ -20,7 +20,7 @@ Features:
20
20
 
21
21
  Author: CloudOps Runbooks Team
22
22
  Version: 0.7.8
23
- Enhanced for Sprint 2 VPC Scope Expansion with Traffic Analysis
23
+ Enhanced for Phase 2 VPC Scope Expansion with Traffic Analysis
24
24
  """
25
25
 
26
26
  import ipaddress
@@ -736,7 +736,7 @@ class VPCFlowAnalyzer(BaseInventory):
736
736
 
737
737
  # Strategy 1: VPC Endpoints
738
738
  if monthly_cost > 50:
739
- vpc_endpoint_savings = min(monthly_cost * 0.3, 100) # Max $100 savings
739
+ vpc_endpoint_savings = min(monthly_cost * 0.3, 100) # Max substantial savings
740
740
  strategies.append(
741
741
  {
742
742
  "strategy": "VPC_ENDPOINTS",