Files
faktas2andDustin Decker 76fcdae3a0 Add the new MaxMind license key format (#2181)
* Add the new MaxMind license key format

* feedback

* reorg rules

---------

Co-authored-by: Dustin Decker <[email protected]>
2024-01-26 11:49:47 -08:00

11 lines
284 B
YAML

rules:
- id: no-printing-in-detectors
patterns:
- pattern-either:
- pattern: fmt.Println(...)
- pattern: fmt.Printf(...)
- pattern: import("log")
message: "Do not print or log inside of detectors."
languages: [go]
severity: ERROR