OCPBUGS-86052: aws: include delete permissions in generated policies for ISO regions #11117
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 133 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.293
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #11117"
general
weight: 0.35
tthvo
- Remove isSecretRegionCheck because all regions now support Resource Tagging.
- Add tests for verifying the ISO regions work as expected.
- Due to there not being a difference in handling, removed some tests which were expecting different handling for ISO regions.
- Inverted the condition check for the test expecting deletion on an ISO region to fail. It now expects the delete permission to be present.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Improved AWS cleanup coverage across regions so deletion-related permissions for base resources, networking, and hosted zones are now consistently included, including dual-stack networking when enabled.
* Updated expectations for ISO/ISOB regions to ensure the appropriate delete permissions are present during cleanup operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->