Building 70 Projects ranging from beginner to advanced so anyone can β learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company π
Go aicertificationcloud-engineeringcybercybersecuritycybersecurity-analystcybersecurity-certificationcybersecurity-certificationscybersecurity-educationcybersecurity-jobscybersecurity-portfoliocybersecurity-projectscybersecurity-toolsgrchackinglearningpentestingproject-repositoryprojetcspython
chore(canary): scope gosec G101/G107/G704 to outbound HTTP packages
CarterPerez-dev0524d84c8958
diff --git a/PROJECTS/beginner/canary-token-generator/backend/.golangci.yml b/PROJECTS/beginner/canary-token-generator/backend/.golangci.ymlindex d91996ee..b1e1ef48 100644--- a/PROJECTS/beginner/canary-token-generator/backend/.golangci.yml+++ b/PROJECTS/beginner/canary-token-generator/backend/.golangci.yml@@ -73,8 +73,6 @@ linters:excludes:- G104- G706- - G107- - G704sloglint:no-mixed-args: true@@ -91,6 +89,22 @@ linters:- funlen- dupl- goconst+ - path: internal/notify/telegram/sender\.go+ linters:+ - gosec+ text: "G107|G704"+ - path: internal/notify/webhook/sender\.go+ linters:+ - gosec+ text: "G107|G704"+ - path: internal/turnstile/verifier\.go+ linters:+ - gosec+ text: "G107|G704"+ - path: internal/config/config\.go+ linters:+ - gosec+ text: "G101"issues:max-same-issues: 50