finite-state-sdk
Version:
The Finite State SDK.
16 lines (15 loc) • 572 B
TypeScript
export interface FindingsMeta {
count: number;
}
type ReportType = "CONFIG_ISSUES" | "CREDENTIALS" | "CRYPTO_MATERIAL" | "CVE" | "SAST_ANALYSIS";
export interface getFindingsParams {
assetVersionId?: string;
findingId?: string;
category?: ReportType | ReportType[];
status?: string;
severity?: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO" | "UNKNOWN";
count?: boolean;
limit?: number;
}
export declare function getFindings(token: string, organizationContext: string, params: getFindingsParams): Promise<any[] | FindingsMeta>;
export {};