Skip to content

Commit

Permalink
Ignore "safe" secrets in DeepsSource analysis (#8555)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka committed Mar 4, 2021
1 parent 1c7c62c commit e36c3dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion shared/browser/browser.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
/*
// skipcq: SCT-1000
Package from the official Github CLI https://github.com/cli/cli/blob/f30bc5bc64f9c3a839e39713adab48790264119c/pkg/browser/browser.go
All rights reserved to the package authors, respectively. MIT License. See https://github.com/cli/cli/blob/trunk/LICENSE
*/
Expand Down
3 changes: 2 additions & 1 deletion shared/browser/browser_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
/*
// skipcq: SCT-1000
Package from the official Github CLI https://github.com/cli/cli/blob/f30bc5bc64f9c3a839e39713adab48790264119c/pkg/browser/browser.go
All rights reserved to the package authors, respectively. MIT License. See https://github.com/cli/cli/blob/trunk/LICENSE
*/
Expand Down
2 changes: 2 additions & 0 deletions validator/keymanager/remote/keymanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ B3ENu8C4b6AlNhqOnz5zeDcx8Ug0vMfVDAwf6RAYMG5b/MoWNKcLNXhk8H1nbVkt
Lgm/+6LVWR4EnUlU8aEWASEpTWq2lSRF3ZOvNstHnufyiDfcwDcl/IKKQiVQQ3mX
tw8Jf74=
-----END CERTIFICATE-----`

// skipcq: SCT-1000
var validClientKey = `-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAsc977g16Tan2j7YuA+zQOlDntb4Bkfs4sDOznOEvnozHwRZO
gfcPjVcA9AS5eZOGIRrsTssptrgVNDPoIHWoKk7LAKyyLM3dGp5PWeyMBoQA5cq+
Expand Down

0 comments on commit e36c3dd

Please sign in to comment.