aquasecurity / vscode-tfsec

vscode extension for tfsec
https://tfsec.dev
MIT License
30 stars 7 forks source link
static-analysis terraform tfsec vscode-extension

tfsec

tfsec

This VS Code extension is for tfsec. A static analysis security scanner for your Terraform code that discovers problems with your infrastructure before hackers do.

Features

Findings Explorer

The Findings Explorer displays an an organised view the issues that have been found in the current workspace.

The code runs tfsec in a VS Code integrated terminal so you can see the the output - when it is complete, press the refresh button to reload.

Right clicking on an tfsec code will let you view the associated page on https://aquasecurity.github.io/tfsec/latest

Issues can be ignored by right clicking the location in the explorer and selecting ignore this issue.

tfsec explorer

Ignore Code Resolution

Ignore codes will be automatically resolved and the description of the error will be displayed inline.

ignoredesc

Ignoring filepaths

In the Explorer view, you can right click on a folder or .tf file and select Ignore path during tfsec runs. This will pass the path to --exclude-path when running tfsec and is only applicable to this workspace on this machine.

To remove ignores, edit the tfsec.excludedPath in the .vscode/settings.json file of the current workspace.

Release Notes

1.11.0

1.10.1

1.10.0

1.9.0

1.8.0

1.7.5

1.7.4

1.7.3

1.7.2

1.7.1

1.7.0

1.6.2

See Change log for more information