-
Notifications
You must be signed in to change notification settings - Fork 2.2k
inso fifth pass #7601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inso fifth pass #7601
Conversation
|
|
||
| function cli(input) { | ||
| return new Promise(resolve => { | ||
| exec(input, |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.lang.security.detect-child-process.detect-child-process
| const rulesetFileName = filesInSpecFolder.find(file => file.startsWith('.spectral')); | ||
| if (rulesetFileName) { | ||
| logger.trace(`Loading ruleset from \`${rulesetFileName}\``); | ||
| return path.resolve(path.dirname(filePath), rulesetFileName); |
Check warning
Code scanning / Semgrep OSS
Semgrep Finding: javascript.lang.security.audit.path-traversal.path-join-resolve-traversal.path-join-resolve-traversal
| const rulesetFileName = filesInSpecFolder.find(file => file.startsWith('.spectral')); | ||
| if (rulesetFileName) { | ||
| logger.trace(`Loading ruleset from \`${rulesetFileName}\``); | ||
| return path.resolve(path.dirname(filePath), rulesetFileName); |
Check warning
Code scanning / Semgrep OSS
Semgrep Finding: javascript.lang.security.audit.path-traversal.path-join-resolve-traversal.path-join-resolve-traversal
* extract lint and export logic * add test and update doc * some thoughts * add test each * notes * comments * add more cases * improve types, flatten send request * collection runner poc * verbose * flatten * add bail * stabilise pathing * add test * fix type check * improve testing experience * fix tests * tidy up package.json * tidy up package and test.yml * remove old smoke test --------- Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
issues found in experiment
ref INS-4021