From 715c5708cf1a513f4d17cfae800c959db178c813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Santos?= Date: Mon, 29 Jan 2024 16:20:44 +0000 Subject: [PATCH] Exclude insecure rand sources checks (#2755) --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 1bc3ee5af..db28a1f13 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,3 +28,6 @@ linters-settings: sizeThreshold: 384 gofmt: simplify: true + gosec: + excludes: + - G404 # Insecure random number source (rand)