Skip to content
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

MT.1052 - Device code auth flow test incorrect #710

Open
biggles007 opened this issue Feb 28, 2025 · 1 comment
Open

MT.1052 - Device code auth flow test incorrect #710

biggles007 opened this issue Feb 28, 2025 · 1 comment

Comments

@biggles007
Copy link

The new MT.1052 test seems to have an issue. Microsoft are recommending that deviceCode is blocked by default, but the test is checking to ensure that device code is within at least one policy, but doesn't specifically check to see whether the policy is actually blocking.

Therefore, having a policy that grants access would fulfil the requirements of this test, but not actually secure anything.

if ( $policy.conditions.authenticationFlows.transfermethods -eq "deviceCodeFlow")

@tdcthosc
Copy link
Contributor

tdcthosc commented Mar 4, 2025

Should be resolved in #722 as it will now check for various implementations of such conditional access

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

No branches or pull requests

2 participants