mirror of https://github.com/portainer/portainer
fix(forbidigo): add more rules to avoid skipping TLS verifications BE-11973 (#1123)
parent
def19be230
commit
48dcfcb08f
|
@ -50,6 +50,8 @@ linters:
|
|||
msg: Do not set this field directly, use crypto.CreateTLSConfiguration() instead
|
||||
- pattern: ^object\.(Commit|Tag)\.Verify$
|
||||
msg: "Not allowed because of FIPS mode"
|
||||
- pattern: ^(types\.SystemContext\.)?(DockerDaemonInsecureSkipTLSVerify|DockerInsecureSkipTLSVerify|OCIInsecureSkipTLSVerify)$
|
||||
msg: "Not allowed because of FIPS mode"
|
||||
analyze-types: true
|
||||
exclusions:
|
||||
generated: lax
|
||||
|
|
Loading…
Reference in New Issue