Skip to content

Commit e87075a

Browse files
schmidtp0740philip-schmidt
andauthored
chore: provide gosec comment for plugin_example (IBM-Cloud#313) (IBM-Cloud#314)
* chore: provide gosec comment for plugin_example * chore: correct gosec comment Co-authored-by: philip-schmidt <philip.schmidt@ibm.com> Co-authored-by: philip-schmidt <philip.schmidt@ibm.com>
1 parent 2a299d6 commit e87075a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin_examples/list_plugin/plugin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func NewHTTPClient(context plugin.PluginContext) *http.Client {
7979
&http.Transport{
8080
Proxy: http.ProxyFromEnvironment,
8181
TLSClientConfig: &tls.Config{
82+
// #nosec G402: used for example and for some customer cases, we need to allow insecure SSL
8283
InsecureSkipVerify: context.IsSSLDisabled(),
8384
},
8485
})

0 commit comments

Comments
 (0)