Snyk Code custom rules
Feature availability
Snyk Code custom rules are Early Access and available only with Enterprise plans. To enable this feature, see Snyk Preview.
Create custom rules to run queries against the code stack as part of your investigation workflow. Use custom rules, as follows:
Define a custom vulnerable method (Sink) that security teams may be worried about.
Create regular expression scans to check for the use of secrets and credentials that should not be part of the code.
Determine whether certain unwanted methods are being called within the code base that are deemed unsafe by the security teams.