UNPKG

snyk

Version:

snyk library and cli utility

14 lines (13 loc) 685 B
import { TestResult } from './legacy'; import { IacTestResponse } from './iac-test-result'; import { Options, TestOptions } from '../types'; import { Payload } from './types'; import { SEVERITY } from './legacy'; export declare function parseIacTestResult(res: IacTestResponse, targetFile: string | undefined, targetFileRelativePath: string | undefined, projectName: any, severityThreshold?: SEVERITY): Promise<TestResult>; export interface IacPayloadFileDetails { fileType: string; fileName: string; filePath: string; targetFileRelativePath: string; } export declare function assembleIacLocalPayloads(root: string, options: Options & TestOptions): Promise<Payload[]>;