Skip to main content
Solved

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

  • July 22, 2024
  • 2 replies
  • 0 views

Forum|alt.badge.img

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?

Best answer by shannonlovell

Hello!  

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

2 replies

SaraLeslieAdmin
Forum|alt.badge.img

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

Best, Sara 


  • Employee
  • Answer
  • September 30, 2024

Hello!  

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