-
Notifications
You must be signed in to change notification settings - Fork 4
/
.snyk
24 lines (24 loc) · 1.12 KB
/
.snyk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Snyk (https://snyk.io) policy file
custom_rules:
- id: 'Deprecated Method Call - MyOwnSanitizer'
description: 'As of 2023 we do not want this used internally. The framework has this built in, please use that. See ..... for more information'
severity: 'high'
cwe: []
fix_analysis: 'Please use known framework methodologies to address this issue. The previously used internal framework is no longer maintained.'
rule_code: "CallExpression< \"myOwnSanitizer\">\n# This example finds all calls to library functions named 'login' (among others, the Java class\n# sun.net.ftp.impl.FtpClient has such a method to log into an FTP server). This can be useful to locate code that\n# handles user credentials.\n# Note that calls to functions defined in your own code usually cannot be looked up using this template, because\n# the analysis engine inlines such calls if possible."
languages:
- 'apex'
- 'c'
- 'cpp'
- 'csharp'
- 'go'
- 'java'
- 'javascript'
- 'kotlin'
- 'php'
- 'python'
- 'ruby'
- 'scala'
- 'swift'
- 'typescript'
- 'vb'