-
Notifications
You must be signed in to change notification settings - Fork 0
Add CodeQL query to detect overly permissive role assignments in Bicep templates #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: felickz <[email protected]>
Co-authored-by: felickz <[email protected]>
Co-authored-by: felickz <[email protected]>
@copilot try again with latest environment changes, the codeql cli and tests should work now for you! |
Co-authored-by: felickz <[email protected]>
Co-authored-by: felickz <[email protected]>
Great! The CodeQL CLI and tests are working perfectly now. I was able to successfully:
The query correctly identifies overly permissive role assignments that combine privileged roles (Owner, Contributor, User Access Administrator) with broad scopes (subscription, resource group). All tests pass with commit 91d08be. |
@copilot try again with latest environment changes, the codeql cli and tests should work now for you! |
@copilot try again, last time the codeql cli had trouble installing packs - this seems intermittent |
The CodeQL CLI is now working perfectly! I successfully:
The query correctly detects all 4 expected vulnerable patterns in the test file. The intermittent pack installation issues appear to be resolved with the latest environment changes. |
Co-authored-by: felickz <[email protected]>
The query is now working correctly and all tests pass. The CodeQL CLI environment changes have resolved the previous issues, and the query successfully detects overly permissive role assignments that combine privileged roles (Owner, Contributor, User Access Administrator) with broad scopes (subscription, resource group).
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.