common.d.ts 647 B

12345678910111213141516171819202122
  1. export declare function assembleQueryString(options: any): {
  2. org: string;
  3. severityThreshold?: boolean | undefined;
  4. ignorePolicy?: boolean | undefined;
  5. } | null;
  6. export declare enum SEVERITY {
  7. LOW = "low",
  8. MEDIUM = "medium",
  9. HIGH = "high",
  10. CRITICAL = "critical"
  11. }
  12. export declare const SEVERITIES: Array<{
  13. verboseName: SEVERITY;
  14. value: number;
  15. }>;
  16. export declare function colorTextBySeverity(severity: string, textToColor: string): string;
  17. export declare enum FAIL_ON {
  18. all = "all",
  19. upgradable = "upgradable",
  20. patchable = "patchable"
  21. }
  22. export declare type FailOn = 'all' | 'upgradable' | 'patchable';