I have a Windows and Unix group and need to configure alarm policies for specific drives using the Regex or Pattern option available in Select Component
Windows group example: A policy for C:\ and another with one with D:\, E:\, F:\
Unix group example: A policy for / and another with one with both / and /boot/efi
Example:
Any UIM version
Windows filter for a single drive: /^(C:\\)$/ or ^(C:)[\\]
Windows filter for multiple drives: ^[D-Fd-f]:\\
Unix filter for a single drive: /^(\/)$/
Unix filter for multiple drives: /^(\/|\/boot\/efi)$/
Unix filter to do a multiple exclude: /^(?!.*(?:(\/dev|\/run))).*/