Closed attiasas closed 2 months ago
npm run format
Prepare a custom json rules file with your rules:
[ { "name": "custom-rule", "message": "User-controlled data used as argument to math.sqrt", "finder": { "type": "FlowFinder", "sources": { "type": "calls", "names": [ "input" ] }, "sinks": { "type": "calls", "names": [ "math.sqrt" ] } }, "cwe": null, "description": "User-controlled square root", "severity": "high", "tags": [] } ]
Provide the Absolute path to the user custom rule file at the extension's new configuration.
Rescan your workspace.
[x] I used
npm run format
for formatting the code before submitting the pull request.Add Custom rules to the SAST scan in your workspace
Prepare a custom json rules file with your rules:
Provide the Absolute path to the user custom rule file at the extension's new configuration.
Rescan your workspace.