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

8 lines
459 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
import * as sarif from 'sarif';
import { TestResult } from '../snyk-test/legacy';
import { SEVERITY } from '../snyk-test/legacy';
export declare function createSarifOutputForContainers(testResults: TestResult[]): sarif.Log;
export declare function getIssueLevel(severity: SEVERITY | 'none'): sarif.ReportingConfiguration.level;
export declare function getTool(testResult: any): sarif.Tool;
export declare function getResults(testResult: any): sarif.Result[];