-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for snippets and toolbar button for action command
Signed-off-by: Owen Rumney <[email protected]>
- Loading branch information
1 parent
5e34d3e
commit 92780a4
Showing
7 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"custom_checks_yaml": { | ||
"prefix": [ | ||
"tfsec-check-file" | ||
], | ||
"body": [ | ||
"---", | ||
"checks:", | ||
" - code: ${1}", | ||
" description: ${2}", | ||
" requiredTypes:", | ||
" - ${3:resource}", | ||
" requiredLabels:", | ||
" - ${4}", | ||
" severity: ${5:MEDIUM}", | ||
" matchSpec:", | ||
" name: ${6}", | ||
" action: ${7}", | ||
" value: ${8}", | ||
" errorMessage: ${9}", | ||
" relatedLinks:", | ||
" - ${10}" | ||
], | ||
"description": "Add the body for custom checks file." | ||
}, | ||
"custom_check": { | ||
"prefix": [ | ||
"tfsec-custom-check" | ||
], | ||
"body": [ | ||
" - code: ${1}", | ||
" description: ${2}", | ||
" requiredTypes:", | ||
" - ${3:resource}", | ||
" requiredLabels:", | ||
" - ${4}", | ||
" severity: ${5:MEDIUM}", | ||
" matchSpec:", | ||
" name: ${6}", | ||
" action: ${7}", | ||
" value: ${8}", | ||
" errorMessage: ${9}", | ||
" relatedLinks:", | ||
" - ${10}" | ||
], | ||
"description": "Add the body for an individual custom check." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters