sarif-output.d.ts 459 B

1234567
  1. import * as sarif from 'sarif';
  2. import { TestResult } from '../snyk-test/legacy';
  3. import { SEVERITY } from '../snyk-test/legacy';
  4. export declare function createSarifOutputForContainers(testResults: TestResult[]): sarif.Log;
  5. export declare function getIssueLevel(severity: SEVERITY | 'none'): sarif.ReportingConfiguration.level;
  6. export declare function getTool(testResult: any): sarif.Tool;
  7. export declare function getResults(testResult: any): sarif.Result[];