API/api.medcify.app/node_modules/snyk/dist/lib/formatters/open-source-sarif-output.d.ts

7 lines
434 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
import * as sarif from 'sarif';
import { TestResult, AnnotatedIssue } from '../snyk-test/legacy';
export declare function createSarifOutputForOpenSource(testResults: TestResult[]): sarif.Log;
export declare function getRules(testResult: TestResult): sarif.ReportingDescriptor[];
export declare function getResults(testResult: any): sarif.Result[];
export declare function getLevel(vuln: AnnotatedIssue): "error" | "warning" | "note";