mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 18:27:19 +00:00
requested changes
This commit is contained in:
@@ -79,7 +79,7 @@ export const secretScanningDALFactory = (db: TDbClient) => {
|
|||||||
if (error instanceof knex.KnexTimeoutError) {
|
if (error instanceof knex.KnexTimeoutError) {
|
||||||
throw new GatewayTimeoutError({
|
throw new GatewayTimeoutError({
|
||||||
error,
|
error,
|
||||||
message: "Failed to fetch audit logs due to timeout. Add more search filters."
|
message: "Failed to fetch secret leaks due to timeout. Add more search filters."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -173,13 +173,15 @@ export const SecretScanningPage = withPermission(
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-8 space-y-3">
|
<div className="mt-8 space-y-3">
|
||||||
<div className="flex w-full items-center justify-end">
|
{integrationEnabled && (
|
||||||
<SecretScanningFilter
|
<div className="flex w-full items-center justify-end">
|
||||||
repositories={risksData?.repos || []}
|
<SecretScanningFilter
|
||||||
handlePopUpToggle={handlePopUpToggle}
|
repositories={risksData?.repos || []}
|
||||||
control={control}
|
handlePopUpToggle={handlePopUpToggle}
|
||||||
/>
|
control={control}
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
<SecretScanningLogsTable gitRisks={risksData?.risks} isPending={isPending} />
|
<SecretScanningLogsTable gitRisks={risksData?.risks} isPending={isPending} />
|
||||||
{!isPending &&
|
{!isPending &&
|
||||||
risksData?.totalCount !== undefined &&
|
risksData?.totalCount !== undefined &&
|
||||||
|
|||||||
Reference in New Issue
Block a user