Skip to content

Commit df40e3d

Browse files
committed
more jfrog-ignores
1 parent 2e32a09 commit df40e3d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

common/commands/config_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ func TestImport(t *testing.T) {
347347

348348
func TestValidateOidcParams(t *testing.T) {
349349
base := &config.ServerDetails{
350-
Url: "https://my.jfrog.com",
350+
Url: "https://my.jfrog.com",
351+
// jfrog-ignore
351352
OidcExchangeTokenId: "token123",
352353
OidcProvider: "MyProvider",
353354
OidcProviderType: "GitHub",

general/token/oidctokenexchange.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
const (
1515
//#nosec G101 // False positive: This is not a hardcoded credential.
1616
grantType = "urn:ietf:params:oauth:grant-type:token-exchange"
17-
//#nosec G101
17+
//#nosec G101 jfrog-ignore
1818
subjectTokenType = "urn:ietf:params:oauth:token-type:id_token"
1919
)
2020

0 commit comments

Comments
 (0)