Skip to content

Commit

Permalink
signing commits (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilltaran authored Jul 19, 2024
1 parent bea2330 commit 1c0c336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
defaultVolumesPathPermissions = "0777"
defaultIgnoreUnresolvableHosts = false
headerISISessToken = "Cookie"
headerISICSRFToken = "X-CSRF-Token" //nolint:gosec,G101
headerISICSRFToken = "X-CSRF-Token" // #nosec, G101 False positive since no hard-coded CSRF token
headerISIReferer = "Referer"
isiSessCsrfToken = "Set-Cookie"
authTypeBasic = 0
Expand Down Expand Up @@ -266,7 +266,7 @@ func New(
if opts.Insecure {
c.http.Transport = &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true, //nolint:gosec,G402
InsecureSkipVerify: true, // #nosec,G402
MinVersion: tls.VersionTLS12,
MaxVersion: tls.VersionTLS13,
CipherSuites: GetSecuredCipherSuites(),
Expand Down

0 comments on commit 1c0c336

Please sign in to comment.