regexMatches is not working inside predicateMatchSpec #1609
Answered
by
armanbaghajyan
armanbaghajyan
asked this question in
Help and suppports
-
Hi, First of all, I want to mention that tfsec is awsome. I researched a lot for a tool that I can use for scanning my terraform code and found that tfsec is the best for now. I am trying to write custom rule to check resources for required tags and cant check values with regexp matches inside predicateMatchSpec. tfsec version: 1.11.0 here is working example
but here it is not working
|
Beta Was this translation helpful? Give feedback.
Answered by
armanbaghajyan
Mar 21, 2022
Replies: 1 comment
-
Thanks, @owenrumney for helping me.
If you want to specific Owners you can do something like
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
armanbaghajyan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, @owenrumney for helping me.
Here is the configuration that worked for me
If you want to specific Owners you can do something like