@@ -246,9 +246,9 @@ func createEncryptionTestConfig() *Config {
246246 ServerId : "test-server" ,
247247 Url : "http://acme.jfrog.io" ,
248248 User : "elmar" ,
249- Password : "Wabbit" ,
250- AccessToken : "DewiciousWegOfWamb" ,
251- SshPassphrase : "KiwwTheWabbit" ,
249+ Password : "Wabbit" , // #nosec G101 -- test data only
250+ AccessToken : "DewiciousWegOfWamb" , // #nosec G101 -- test data only
251+ SshPassphrase : "KiwwTheWabbit" , // #nosec G101 -- test data only
252252 }}},
253253 }}
254254}
@@ -479,10 +479,10 @@ func TestCreateAuthConfigAppendPreRequestFunctionBehavior(t *testing.T) {
479479 name : "DisableTokenRefreshTrue_WithArtifactoryRefreshToken" ,
480480 serverDetails : & ServerDetails {
481481 ServerId : "test-server" ,
482- AccessToken : "access-token-123" ,
483- ArtifactoryRefreshToken : "artifactory-refresh-token-789" ,
482+ AccessToken : "access-token-123" , // #nosec G101 -- test data only
483+ ArtifactoryRefreshToken : "artifactory-refresh-token-789" , // #nosec G101 -- test data only
484484 User : "testuser" ,
485- Password : "testpass" ,
485+ Password : "testpass" , // #nosec G101 -- test data only
486486 DisableTokenRefresh : true ,
487487 },
488488 shouldCallAppendPreRequest : true ,
@@ -491,10 +491,10 @@ func TestCreateAuthConfigAppendPreRequestFunctionBehavior(t *testing.T) {
491491 name : "DisableTokenRefreshFalse_WithArtifactoryRefreshToken" ,
492492 serverDetails : & ServerDetails {
493493 ServerId : "test-server" ,
494- AccessToken : "access-token-123" ,
495- ArtifactoryRefreshToken : "artifactory-refresh-token-789" ,
494+ AccessToken : "access-token-123" , // #nosec G101 -- test data only
495+ ArtifactoryRefreshToken : "artifactory-refresh-token-789" , // #nosec G101 -- test data only
496496 User : "testuser" ,
497- Password : "testpass" ,
497+ Password : "testpass" , // #nosec G101 -- test data only
498498 DisableTokenRefresh : false ,
499499 },
500500 shouldCallAppendPreRequest : true ,
0 commit comments