Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to enable a custom tfsec check for any code submitted #2005

Unanswered
heriberto-mb asked this question in Help and suppports
Discussion options

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?

You must be logged in to vote

Replies: 1 comment

Comment options

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/

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /