mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 23:34:27 +00:00
Merge branch 'master' into PRWLR-7160-findings-page-scan-id-filter-improvement
# Conflicts: # ui/CHANGELOG.md # ui/app/(prowler)/findings/page.tsx # ui/components/ui/custom/custom-dropdown-filter.tsx # ui/types/filters.ts
This commit is contained in:
commit
97d216c49f
126 files changed
+35995
-710
No files matched your search
+2
-1
@@ -11,12 +11,13 @@ export interface FilterOption {
|
||||
alias?: string;
|
||||
uid?: string;
|
||||
};
|
||||
attributes: {
|
||||
attributes?: {
|
||||
name?: string;
|
||||
completed_at: string;
|
||||
};
|
||||
};
|
||||
}>;
|
||||
index?: number;
|
||||
}
|
||||
|
||||
export interface CustomDropdownFilterProps {
|
||||
|
||||
@@ -142,9 +142,7 @@ export const addCredentialsFormSchema = (providerType: string) =>
|
||||
.nonempty("Client Secret is required"),
|
||||
tenant_id: z.string().nonempty("Tenant ID is required"),
|
||||
user: z.string().nonempty("User is required"),
|
||||
password: z
|
||||
.string()
|
||||
.nonempty("Encrypted Password is required"),
|
||||
password: z.string().nonempty("Password is required"),
|
||||
}
|
||||
: {}),
|
||||
});
|
||||
|
||||
+25
-1
@@ -48,7 +48,7 @@ export interface ProviderProps {
|
||||
export interface ProviderAccountProps {
|
||||
provider: ProviderType;
|
||||
uid: string;
|
||||
alias: string;
|
||||
alias: string | null;
|
||||
}
|
||||
|
||||
export interface ProviderOverviewProps {
|
||||
@@ -71,3 +71,27 @@ export interface ProviderOverviewProps {
|
||||
version: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ProvidersApiResponse {
|
||||
links: {
|
||||
first: string;
|
||||
last: string;
|
||||
next: string | null;
|
||||
prev: string | null;
|
||||
};
|
||||
data: ProviderProps[];
|
||||
included?: Array<{
|
||||
type: string;
|
||||
id: string;
|
||||
attributes: any;
|
||||
relationships?: any;
|
||||
}>;
|
||||
meta: {
|
||||
pagination: {
|
||||
page: number;
|
||||
pages: number;
|
||||
count: number;
|
||||
};
|
||||
version: string;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user