API/api.medcify.app/node_modules/snyk/dist/lib/formatters/sarif-output.d.ts
2022-09-26 11:41:44 +05:30

8 lines
459 B
TypeScript

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[];