Bas Dijkstra
07/16/2024, 8:47 AMcurl -fsSL <https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh> | PACT_CLI_VERSION=v2.4.6 bash
.
When GitLeaks then scans the repo, it triggers this:
/usr/bin/bash /agent/_work/_temp/64f3718d-50e0-498e-a427-dfbbce7600e3.sh
○
│╲
│ ○
○ ░
░ gitleaks
Finding: # uri.password = "V3ry_S3nsit1ve"
Secret: V3ry_S3nsit1ve
RuleID: generic-api-key
Entropy: 3.664498
File: pact/lib/ruby/lib/ruby/3.3.0/uri/generic.rb
Line: 495
Fingerprint: pact/lib/ruby/lib/ruby/3.3.0/uri/generic.rb:generic-api-key:495
For now, we addressed this by adding the fingerprint to a .gitleaksignore
, but I don't think that's the right solution. Is this something that needs to / should be addressed in an upcoming Pact CLI tools release? Or is this part of Traveling Ruby?Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Bas Dijkstra
07/16/2024, 9:26 AMYousaf Nabi (pactflow.io)
Bas Dijkstra
07/16/2024, 9:27 AMYousaf Nabi (pactflow.io)
Bas Dijkstra
07/16/2024, 9:35 AM