mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-04 02:04:06 +00:00
Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
22 lines
443 B
TypeScript
22 lines
443 B
TypeScript
export const INGESTION_STATUS = {
|
|
PENDING: "pending",
|
|
PROCESSING: "processing",
|
|
COMPLETED: "completed",
|
|
FAILED: "failed",
|
|
} as const;
|
|
|
|
export type IngestionStatus =
|
|
(typeof INGESTION_STATUS)[keyof typeof INGESTION_STATUS];
|
|
|
|
export interface Ingestion {
|
|
id: string;
|
|
status: IngestionStatus;
|
|
totalRecords: number;
|
|
processedRecords: number;
|
|
invalidRecords: number;
|
|
}
|
|
|
|
export interface IngestionResponse {
|
|
data: Ingestion;
|
|
}
|