Skip to content

Commit

Permalink
lint: metabase: update nosec - add links
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Aug 18, 2024
1 parent ddbff25 commit 038414a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metabase/metabase_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ func AuthRequest(authURL, username, password string, tlsSkipVerify bool) (*http.
client := &http.Client{}

if tlsSkipVerify { // #nosec G402
// nosec - https://github.com/securego/gosec/issues/780
// nosec - https://github.com/securego/gosec/issues/278
client.Transport = &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: tlsSkipVerify}}
}
Expand Down

0 comments on commit 038414a

Please sign in to comment.