GoogleCloudPlatform / security-response-automation

Take automated actions against threats and vulnerabilities.
Apache License 2.0
208 stars 52 forks source link

Add missing remediation tests #212

Closed singlethink closed 2 years ago

singlethink commented 2 years ago

The first commit splits existing router_test remediation test cases out into separate testdata/ files. The second one adds missing remediation test cases for each other finding type.

singlethink commented 2 years ago

Hmm... build error appears to be a problem in the gosec dependency:

build github.com/securego/gosec/v2/cmd/gosec: cannot load embed: malformed module path "embed": missing dot in first path element
make: *** [Makefile:5: tools] Error 1