Document that Azure SAS tokens are container-wide without HNS #6214
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.64) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.64 · 313 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.344
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.064
Real PR Conversation Timeline
1 comments
"Review active on #6214"
general
weight: 0.35
dimas-b
Corrects the Azure section of the vended credentials page and adds the write consequence to the Azure configuration page.
Why
vended-credentials.mdsaid the Azure User Delegation SAS is scoped to the container and path prefix. That is only true with a hierarchical namespace.In
AzureCredentialsStorageIntegration.compute():dfs.core.windows.net): a path is applied to the SAS only whenisHierarchical()is true.blob.core.windows.net):getBlobUserDelegationSastakes no path, so the token is always container-wide.So for non-HNS storage and for Blob endpoints, a principal that may write to one table gets a token that can also add, overwrite and delete objects under every other table in that container. The Azure configuration page already said
non-HNS tokens are container-level, but it did not say what that means for write grants.
This is a documented provider limitation and not a security report.
Changes
vended-credentials.md: state when the token is narrowed (only withhierarchical: true) and that otherwise it applies to the whole container with the permissions of the grant. Link to the SAS scoping section.configuring-azure-blob-cloud-storage-specific.md: extend the "When HNS is disabled" paragraph with the write consequence and the advice to use one container per trust boundary or enable HNS.The sentence "The
wasbs://scheme is not supported" on the Azure page is unchanged on purpose. The code acceptswasb(s)://, so I raised it in the discussion first. I will update this PR once we agree.<!--
📝 Describe what changes you're proposing, especially breaking or user-facing changes.
📖 See https://github.com/apache/polaris/blob/main/CONTRIBUTING.md for more.
-->
Checklist
changelog.d/(if needed, seechangelog.d/README.md)site/content/in-dev/unreleased(if needed)CONTRIBUTING.md)