-
Notifications
You must be signed in to change notification settings - Fork 557
How to enable a custom tfsec check for any code submitted #2005
-
Hello guys,
I have created my first tfsec check using a .yml file, and it works as expected.
My question is... how can I implement it in GitHub, so anytime a developer submits new code, the tfsec check will validate it?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
I think I found the answer, there are a couple of options that I can include in the tfsec:
--custom-check-dir string Explicitly set the custom checks dir location
--custom-check-url string Download a custom check file from a remote location. Must be json or yaml
Can I use the option --custom-check-url and generate different rule files in the URL?
for example.... tfsec --custom-check-url https://github.com/Jackson-National/tfsec-custom-rules/blob/main/.tfsec/
Beta Was this translation helpful? Give feedback.