Power-Fx icon indicating copy to clipboard operation
Power-Fx copied to clipboard

Evaluate PowerFX String Expressions for Static Analysis

Open gekarapa opened this issue 1 year ago • 2 comments

For specific use cases, for static analysis, we need to retrieve the evaluated result of a PowerFX string expressions. To enable this, we need a method to get the PowerFX output from both string and interpolated string expressions, provided that the interpolated strings do not contain any island expressions.

gekarapa avatar Nov 11 '24 17:11 gekarapa

Can you elaborate on the scenario?

MikeStall avatar Nov 11 '24 18:11 MikeStall

In the DLP endpoint filtering feature, we need to restrict specific values within action arguments. For example, a user might want to block requests to certain URLs, which will be done by comparing the runtime expression value against the endpoint filtering rule. Note that this restriction will only apply on design time when the expression is a static string, not in other cases. Today, this requirement is limited to string arguments.

gekarapa avatar Nov 12 '24 07:11 gekarapa