diff --git a/.golangci.yaml b/.golangci.yaml index 2036922a6..b026b11ec 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -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