- getAlerts(
__namedParameters: {
env: string;
page?: number;
pageSize?: number;
pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY";
search?: string;
severity?: "LOW" | "MEDIUM" | "HIGH" | "MANDATORY";
sort?: (
| "STATUS_ASC"
| "STATUS_DESC"
| "POLICIES_ASC"
| "POLICIES_DESC"
| "PILLAR_ASC"
| "PILLAR_DESC"
| "SEVERITY_ASC"
| "SEVERITY_DESC"
)[];
status?: "PENDING"
| "NOT_APPLICABLE"
| "COMPLETED";
workspace: string;
},
opts?: RequestOpts,
): Promise<PaginatedResponseAlert> Parameters
- __namedParameters: {
env: string;
page?: number;
pageSize?: number;
pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY";
search?: string;
severity?: "LOW" | "MEDIUM" | "HIGH" | "MANDATORY";
sort?: (
| "STATUS_ASC"
| "STATUS_DESC"
| "POLICIES_ASC"
| "POLICIES_DESC"
| "PILLAR_ASC"
| "PILLAR_DESC"
| "SEVERITY_ASC"
| "SEVERITY_DESC"
)[];
status?: "PENDING"
| "NOT_APPLICABLE"
| "COMPLETED";
workspace: string;
} Optionalopts: RequestOpts
Get pages alerts from workspace and environment. That alerts can be filtered