Skip to content

Commit

Permalink
fix: nosec g101
Browse files Browse the repository at this point in the history
Ignore false positive seen in `vmc/constants/constants.go:18:2` as a "G101: Potential hardcoded credentials" by the `gosec` linter.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Oct 15, 2024
1 parent 0ea4d5d commit c6124b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmc/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
CspRefreshURLSuffix string = "/csp/gateway/am/api/auth/api-tokens/authorize"

// CspTokenURLSuffix defines the CSP Oauth API endpoint.
CspTokenURLSuffix string = "/csp/gateway/am/api/auth/token"
CspTokenURLSuffix string = "/csp/gateway/am/api/auth/token" // #nosec G101

// sksNSXTManager to be stripped from nsxt reverse proxy url for public IP resource
SksNSXTManager string = "/sks-nsxt-manager"
Expand Down

0 comments on commit c6124b7

Please sign in to comment.