Conversation
…pecterOps#1846) Signed-off-by: shaoyihan@zerozen.cn <shaoyihan@zerozen.cn>
|
All contributors have signed the CLA ✍️ ✅ |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 4 remain after this review. 📝 WalkthroughWalkthroughThe change adds two Azure analysis tests. The tests verify that service principal application lookup returns the linked application node and reads its ChangesAzure service principal analysis
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The change adds focused regression coverage for the Service Principal App ID behavior with no actionable merge risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
I have read the CLA Document and I hereby sign the CLA |
Closes #1846
Summary
The original report was that the Service Principal panel showed the Object ID where the App ID should be. While investigating, the production query already resolves via
FetchStartNodeson the current main, so the underlying bug is fixed upstream. This PR adds regression tests to lock in the correct behavior and prevent future regressions.Changes
Test plan
go test ./packages/go/analysis/ad/ -run TestServicePrincipalpassesSummary by CodeRabbit