API/api.medcify.app/node_modules/snyk/dist/lib/snyk-test/common.d.ts

23 lines
647 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
export declare function assembleQueryString(options: any): {
org: string;
severityThreshold?: boolean | undefined;
ignorePolicy?: boolean | undefined;
} | null;
export declare enum SEVERITY {
LOW = "low",
MEDIUM = "medium",
HIGH = "high",
CRITICAL = "critical"
}
export declare const SEVERITIES: Array<{
verboseName: SEVERITY;
value: number;
}>;
export declare function colorTextBySeverity(severity: string, textToColor: string): string;
export declare enum FAIL_ON {
all = "all",
upgradable = "upgradable",
patchable = "patchable"
}
export declare type FailOn = 'all' | 'upgradable' | 'patchable';