github.com/prebid/prebid-server/v2@v2.18.0/.semgrep/adapter/package-import.yml (about) 1 rules: 2 - id: package-import-check 3 message: Usage of "$PKG" package is prohibited in adapter code 4 languages: 5 - go 6 severity: ERROR 7 pattern-either: 8 - patterns: 9 - pattern: import "$PKG" 10 - focus-metavariable: $PKG 11 - metavariable-regex: 12 metavariable: $PKG 13 regex: (^github\.com/mitchellh/copystructure(/.*)?$|^github\.com/golang/glog(/.*)?$)