Skip to content

Commit ec2e732

Browse files
add information to policy structure page regarding usage of requestContext.identity
Add information to policy blade regarding one of the caveats of using the function requestContext().identity.
1 parent 654014b commit ec2e732

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

articles/governance/policy/concepts/definition-structure-policy-rule.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ The following functions are only available in policy rules:
664664
}
665665
```
666666

667+
> [!WARNING]
668+
> When using the requestContext().identity function the policy engine will mark the policy as not applicable for scans. Meaning that no compliance will be visible but effects like deny/DeployIfNotExists/Modify will still be applied.
669+
667670
- `policy()`
668671
- Returns the following information about the policy that is being evaluated. Properties can be accessed from the returned object (example: `[policy().assignmentId]`).
669672

0 commit comments

Comments
 (0)