globocom / huskyCI

Performing security tests inside your CI
https://huskyci.opensource.globo.com
BSD 3-Clause "New" or "Revised" License
572 stars 137 forks source link

Update GitLeaks security test version to 6.1.2 #505

Closed Krlier closed 4 years ago

Krlier commented 4 years ago

Description

Update the GitLeaks security test to the latest version.

Proposed Changes

This PR aims to update the GitLeaks security test to version 6.1.2, update the commands needed to run in api/config.yml, and modify the output to feature the offender commit hash. The output should now look like this:

image

If applied, the GitLeaks timeout will be reduced from 6 minutes to 5 minutes, but this can easily be changed later if desired.

Testing

make install

Update env-vars to point to the poc-gitleaks test branch.

make run-client