Skip to content

Commit

Permalink
fix: gitguardian ignore paths
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
  • Loading branch information
sandeepnRES committed Jun 19, 2024
1 parent 0cfeffe commit 12e51d2
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .gitguardian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exit-zero: false # default: false

verbose: false # default: false

instance: https://api.gitguardian.com/
instance: https://dashboard.gitguardian.com/

# Maximum commits to scan in a hook.
max-commits-for-hook: 50 # default: 50
Expand All @@ -21,13 +21,13 @@ secret:
# Exclude files and paths by globbing
ignored-paths:
- '**/README.md'
- 'doc/*'
- 'docs/*'
- 'LICENSE'
- '**/examples/cactus-example-carbon-accounting-backend/example-config.json'
- 'weaver/samples/**/*'
- 'weaver/tests/**/*'
- 'weaver/core/drivers/fabric-driver/wallet-network1/*.id'
- 'weaver/core/drivers/fabric-driver/wallet-network2/*.id'
- 'weaver/core/drivers/fabric-driver/wallet-network1/relay.id'
- 'weaver/core/drivers/fabric-driver/wallet-network2/relay.id'
- 'weaver/samples/*'
- 'weaver/tests/*'

# Detectors to ignore.
ignored-detectors: # default: []
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gg-shield-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: GitGuardian scan
uses: GitGuardian/ggshield-action@v1.14.4
uses: GitGuardian/ggshield-action@v1.28.0
with:
args: --show-secrets --exit-zero --all-policies --verbose
args: --show-secrets --exit-zero --all-policies --verbose --exclude 'weaver/tests/*'
env:
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
Expand Down
2 changes: 1 addition & 1 deletion weaver/core/drivers/fabric-driver/wallet-network1/relay.id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICkTCCAjegAwIBAgIUcabHrj3uzOT/qLYMpw2/kr/qrNowCgYIKoZIzj0EAwIw\ncjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRowGAYDVQQK\nExFvcmcxLm5ldHdvcmsxLmNvbTEPMA0GA1UECxMGRmFicmljMR0wGwYDVQQDExRj\nYS5vcmcxLm5ldHdvcmsxLmNvbTAeFw0yNDA2MTcwNjIwMDBaFw0zNDA2MTUwNzQz\nMDBaMEIxMDALBgNVBAsTBG9yZzEwDQYDVQQLEwZjbGllbnQwEgYDVQQLEwtkZXBh\ncnRtZW50MTEOMAwGA1UEAxMFcmVsYXkwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAASVptZNTjxeRDtd5WUwKiBXHUczicGVNMTTVAlA48IsQaTTImHGVTsHktZqq/Uw\n/nMpPOf/4wSEb0qfLefN5MSco4HaMIHXMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMB\nAf8EAjAAMB0GA1UdDgQWBBRHSVRhABZ2cwM0CXOfi42X3Dg9PTAfBgNVHSMEGDAW\ngBSjqW3VHCTFVlj3wk5DlBb7yNs8kzB3BggqAwQFBgcIAQRreyJhdHRycyI6eyJo\nZi5BZmZpbGlhdGlvbiI6Im9yZzEuZGVwYXJ0bWVudDEiLCJoZi5FbnJvbGxtZW50\nSUQiOiJyZWxheSIsImhmLlR5cGUiOiJjbGllbnQiLCJyZWxheSI6InRydWUifX0w\nCgYIKoZIzj0EAwIDSAAwRQIhAN56BY2L7+I0rQYBhXlD8iqzr0ynvF6vjvo14SRU\npJzvAiB+PJnxtkNCRO8/SkapDgD0eyigIKTDPdRiY5Z7mTcE8g==\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgTZ+LtXT58KVa3qbI\r\nXo+NMe9zbNMLW6qUxoi/YjTGXbOhRANCAASVptZNTjxeRDtd5WUwKiBXHUczicGV\r\nNMTTVAlA48IsQaTTImHGVTsHktZqq/Uw/nMpPOf/4wSEb0qfLefN5MSc\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"Org1MSP","type":"X.509","version":1}
{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICkTCCAjegAwIBAgIUcabHrj3uzOT/qLYMpw2/kr/qrNowCgYIKoZIzj0EAwIw\ncjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRowGAYDVQQK\nExFvcmcxLm5ldHdvcmsxLmNvbTEPMA0GA1UECxMGRmFicmljMR0wGwYDVQQDExRj\nYS5vcmcxLm5ldHdvcmsxLmNvbTAeFw0yNDA2MTcwNjIwMDBaFw0zNDA2MTUwNzQz\nMDBaMEIxMDALBgNVBAsTBG9yZzEwDQYDVQQLEwZjbGllbnQwEgYDVQQLEwtkZXBh\ncnRtZW50MTEOMAwGA1UEAxMFcmVsYXkwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAASVptZNTjxeRDtd5WUwKiBXHUczicGVNMTTVAlA48IsQaTTImHGVTsHktZqq/Uw\n/nMpPOf/4wSEb0qfLefN5MSco4HaMIHXMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMB\nAf8EAjAAMB0GA1UdDgQWBBRHSVRhABZ2cwM0CXOfi42X3Dg9PTAfBgNVHSMEGDAW\ngBSjqW3VHCTFVlj3wk5DlBb7yNs8kzB3BggqAwQFBgcIAQRreyJhdHRycyI6eyJo\nZi5BZmZpbGlhdGlvbiI6Im9yZzEuZGVwYXJ0bWVudDEiLCJoZi5FbnJvbGxtZW50\nSUQiOiJyZWxheSIsImhmLlR5cGUiOiJjbGllbnQiLCJyZWxheSI6InRydWUifX0w\nCgYIKoZIzj0EAwIDSAAwRQIhAN56BY2L7+I0rQYBhXlD8iqzr0ynvF6vjvo14SRU\npJzvAiB+PJnxtkNCRO8/SkapDgD0eyigIKTDPdRiY5Z7mTcE8g==\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEasdasdGCCqGSM49AwEHBG0wawIBAQQgTZ+LtXT58KVa3qbI\r\nXo+NMe9zbNMLW6qUxoi/YjTGXbOhRANCAASVptZNTjxeRDtd5WUwKiBXHUczicGV\r\nNMTTVAlA48IsQaTTImHGVTsHktZqq/Uw/nMpPOf/4wSEb0qfLefN5MSc\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"Org1MSP","type":"X.509","version":1}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEO9mphv6rmoTAV/u7pIaMG43UkLgg0F1h
nfiBObsOPHYhY1Xm7UBWEqvYz2lgDPVAQhDZxhaK1iLBxoVbUTCwbGYKrpPGkVTg
4lWsRcdPrO4cG9AOSX4dQdMCS+c5ayZ7
-----END PUBLIC KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICKjCCAdGgAwIBAgIUcws+2zc99L2cl7+VRQAIGntaoTQwCgYIKoZIzj0EAwIw
cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRowGAYDVQQK
ExFvcmcxLm5ldHdvcmsxLmNvbTEPMA0GA1UECxMGRmFicmljMR0wGwYDVQQDExRj
YS5vcmcxLm5ldHdvcmsxLmNvbTAeFw0yNDA2MTcwNjIwMDBaFw0zOTA2MTQwNjIw
MDBaMHIxCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEaMBgG
A1UEChMRb3JnMS5uZXR3b3JrMS5jb20xDzANBgNVBAsTBkZhYnJpYzEdMBsGA1UE
AxMUY2Eub3JnMS5uZXR3b3JrMS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC
AASRCfXL0J5PiLLUyqluS5Fi4OZ+OSZiZe+KAmXkBwByC7uyc+N9LQSMd3srdc+y
FJtwRKbmi/DJcPL14HrZa3+Ko0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/
BAgwBgEB/wIBATAdBgNVHQ4EFgQUo6lt1RwkxVZY98JOQ5QW+8jbPJMwCgYIKoZI
zj0EAwIDRwAwRAIgHw4EO3aWTcK8Q07brs35YDEnxPWlQUU60j9HHbHEmwcCIEQR
acHYPAXBEdRuIwMuZuZd8N8dXeM3PE4jKMZQurCP
-----END CERTIFICATE-----
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-----BEGIN PRIVATE KEY-----
MIGkAgEBBDB1DEGMRu2ysQTM0wVq1RFXlHNabS9GjZs4vG7Mz4mSY7pjJGolUwin
+o+X5zxtsZ2gBwYFK4EEACKhZANiAAQ72amG/quahMBX+7ukhowbjdSQuCDQXWGd
+IE5uw48diFjVebtQFYSq9jPaWAM9UBCENnGForWIsHGhVtRMLBsZgquk8aRVODi
VaxFx0+s7hwb0A5Jfh1B0wJL5zlrJns=
-----END PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��6:�n"c��T����H۲��b��H%{�Dn
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgzw0y/HYqgnHmQQuq
7LHJ5dPMCMIHjbRUpdf4Mwa2JbKhRANCAASRCfXL0J5PiLLUyqluS5Fi4OZ+OSZi
Ze+KAmXkBwByC7uyc+N9LQSMd3srdc+yFJtwRKbmi/DJcPL14HrZa3+K
-----END PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg5iOz5553XG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aCSl8ssij3KLPYiRc8k67eWmRBmbcYyuXEdm7
-----END CERTIFICATE-----

0 comments on commit 12e51d2

Please sign in to comment.