security: fine tune security-scanner to reduce false-positives (#20465)

Resolve scan job runner

Resolve linting alerts

adding EOF on files

adding EOF on gitignore too

add hclfmt and bump action versions

update scan.hcl comments

Co-authored-by: Tim Gross <tgross@hashicorp.com>

fix typo

move scan.hcl file and paths-ignore for scans

change action runner

use org secret to checkout

typo

change runner

use hashicorp/setup-golang@v3

Co-authored-by: Tim Gross <tgross@hashicorp.com>

pin the github action sha
This commit is contained in:
Deniz Onur Duzgun
2024-09-18 16:55:39 -04:00
committed by GitHub
parent ec81e7c57c
commit 52f0b40f4c
5 changed files with 148 additions and 5 deletions

3
.gitignore vendored
View File

@@ -134,3 +134,6 @@ e2e/remotetasks/input/ecs.vars
# Tools files
tools/missing/missing
# allow security scanner file
!scan.hcl