All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 runtime ale_linters/terraform/checkov.vim
3 call ale#test#SetFilename('main.tf')
6 call ale#linter#Reset()
8 Execute(The JSON output of checkov should be handled correctly):
12 \ 'filename': '/main.tf',
15 \ 'text': 'Enable VPC Flow Logs and Intranode Visibility [CKV_GCP_61]',
16 \ 'detail': "CKV_GCP_61: Enable VPC Flow Logs and Intranode Visibility\n" .
17 \ 'For more information, see: https://docs.bridgecrew.io/docs/enable-vpc-flow-logs-and-intranode-visibility',
21 \ ale_linters#terraform#checkov#Handle(bufnr(''), [
23 \' "check_type": "terraform",',
25 \' "failed_checks": [',
27 \' "check_id": "CKV_GCP_61",',
28 \' "bc_check_id": "BC_GCP_KUBERNETES_18",',
29 \' "check_name": "Enable VPC Flow Logs and Intranode Visibility",',
30 \' "check_result": {',
31 \' "result": "FAILED",',
32 \' "evaluated_keys": [',
33 \' "enable_intranode_visibility"',
36 \' "file_path": "/main.tf",',
37 \' "repo_file_path": "/main.tf",',
38 \' "file_line_range": [',
42 \' "resource": "google_container_cluster.cluster-name",',
43 \' "evaluations": null,',
44 \' "check_class": "checkov.terraform.checks.resource.gcp.GKEEnableVPCFlowLogs",',
45 \' "entity_tags": null,',
46 \' "resource_address": null,',
47 \' "guideline": "https://docs.bridgecrew.io/docs/enable-vpc-flow-logs-and-intranode-visibility"',
54 Execute(Handle output for no findings correctly):
57 \ ale_linters#terraform#checkov#Handle(bufnr(''), [
62 \' "parsing_errors": 0,',
63 \' "resource_count": 0,',
64 \' "checkov_version": "2.0.632"',