Forum Discussion

yomi25's avatar
yomi25
Icon for Expert rankExpert
3 months ago

Policy compliance rule containing multiple matches / maybe use lua function?

Currently, it is not possible to use multiple matches in policy compliance rule for runtime command.

Let's say we might have 5 possible outputs and each of them is correct and at least one of them is valid.

It means that we would need to combine A or B or C or D or E conditions.

I was thinking about using lua function that could do this check mechanism - would it be possible?

  • Hello!  

    Yes, it is possible to create a lua function to fulfill those requirements.  

  • Hello!  

    Yes, it is possible to create a lua function to fulfill those requirements.  

  • Hello, Sorry you haven't received a response for this query. I have escalated with our product team.

    Best, Sara