run_posture_scan
Runs concurrent scans of app registrations and Conditional Access policies to generate a combined security posture result with optional filtering by app, rule, or severity.
Instructions
Runs the app registration and Conditional Access scans concurrently and returns one combined, optionally filtered PostureScanResult. Updates the shared entra://posture/latest resource cache with both scan categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | ||
| rule_id | No | ||
| severity | No | ||
| imminent_expiry_days | No | ||
| excessive_lifespan_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | No | Structured findings produced by the scan. | |
| summary | Yes | Human-readable recap of the findings. | |
| metadata | Yes | Scan-level context: tenant, timestamp, rule version. |