aquasecurity / aquasecurity/vim-tfsec

Error. Missing quote.

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hey.

Thanks for tfsec, it is cool and I like you.

The vim plugin is not working for me.

```
" :Tfsec produces this output in the Quickfix window
Error detected while processing function 76_tfsec:
line 9:
E115: Missing quote: 'tfsec --format csv --force-all-dirs --exclude-downloaded-modules 2>/dev/null
E116: Invalid arguments for function system('tfsec --format csv --force-all-dirs --exclude-downloaded-modules 2>/dev/null
```

What I have tried:

- Reinstalling.
- Removing all other Plugins.

My Vim config is [here](https://github.com/patrickquigley102/dotfiles/tree/pq), however I don't expect anyone to debug it all. I will do that myself. Figured it may help point me in the right direction.

Do you have any advice to guide my debugging?

Contributor guide

Open the contributing guide

Research direction

Start with the :Tfsec entry point and the 76_tfsec function shown in the error output. Inspect how the Vim plugin builds the tfsec system command, then reproduce the command in Vim. Done means :Tfsec loads results in the Quickfix window without Vim's missing-quote or invalid-arguments errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
terraform, vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.