Skip to content

feat(m365): add Azure DevOps Conditional Access check#11182

Open
mzl2233 wants to merge 1 commit into
prowler-cloud:masterfrom
mzl2233:fix/explicit-azure-devops-ca-policy
Open

feat(m365): add Azure DevOps Conditional Access check#11182
mzl2233 wants to merge 1 commit into
prowler-cloud:masterfrom
mzl2233:fix/explicit-azure-devops-ca-policy

Conversation

@mzl2233
Copy link
Copy Markdown

@mzl2233 mzl2233 commented May 15, 2026

Context

Fix #11067

Description

Adds a Microsoft 365 Entra Conditional Access check that passes when at least one enabled policy explicitly includes the Azure DevOps cloud application ID and fails when Azure DevOps is only covered by broad app targeting such as All. The check reuses the existing Conditional Access policy data already collected by the Entra service, so no additional permissions are needed.

Steps to review

Review the new M365 Entra check implementation and metadata. I verified the Python file compiles and the metadata JSON parses locally; running uv run python prowler-cli.py m365 --list-checks was not possible in this environment because uv is not installed.

Checklist

Community Checklist
  • This feature/issue is listed in here or roadmap.prowler.com
  • Is it assigned to me, if not, request it via the issue/feature in here or Prowler Community Slack
  • Are there new checks included in this PR? Yes
    • If so, do we need to update permissions for the provider? No, it uses the existing Conditional Access policy data.
  • Review if the code is being covered by tests.
  • Review if code is being documented following https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
  • Review if backport is needed.
  • Review if is needed to change the Readme.md
  • Ensure new entries are added to CHANGELOG.md, if applicable.

SDK/CLI

  • Are there new checks included in this PR? Yes
    • If so, do we need to update permissions for the provider? No.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mzl2233 mzl2233 requested a review from a team as a code owner May 15, 2026 01:34
@github-actions github-actions Bot added provider/m365 Issues/PRs related with the M365 provider metadata-review community Opened by the Community labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Conflict Markers Resolved

All conflict markers have been successfully resolved in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Opened by the Community metadata-review provider/m365 Issues/PRs related with the M365 provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New Check]: At least one Conditional Access policy must explicitly target Azure DevOps

1 participant