Skip to content

C#: Add another test for MissingAccessControl.ql #19826

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Jun 20, 2025

No description provided.

@github-actions github-actions bot added the C# label Jun 20, 2025
@hvitved hvitved marked this pull request as ready for review June 20, 2025 11:41
@Copilot Copilot AI review requested due to automatic review settings June 20, 2025 11:41
@hvitved hvitved requested a review from a team as a code owner June 20, 2025 11:41
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds a new test to verify that an action method decorated with an Authorize attribute is correctly recognized by the MissingAccessControl query.

  • Introduce Delete5(int id) method with [Authorize("foo")] to represent a secure endpoint in MVC tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant