Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix lint issues
Matheus Nogueiraed3464261234
diff --git a/backend/src/ee/services/honey-token/honey-token-service.ts b/backend/src/ee/services/honey-token/honey-token-service.tsindex 8adef11a1d..604a6f914c 100644--- a/backend/src/ee/services/honey-token/honey-token-service.ts+++ b/backend/src/ee/services/honey-token/honey-token-service.ts@@ -1,7 +1,13 @@import crypto from "node:crypto";import { CloudFormationClient, DescribeStacksCommand } from "@aws-sdk/client-cloudformation";-import { CreateAccessKeyCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteUserCommand, IAMClient } from "@aws-sdk/client-iam";+import {+ CreateAccessKeyCommand,+ CreateUserCommand,+ DeleteAccessKeyCommand,+ DeleteUserCommand,+ IAMClient+} from "@aws-sdk/client-iam";import { ForbiddenError } from "@casl/ability";import { ActionProjectType, SecretType, TableName } from "@app/db/schemas";diff --git a/frontend/src/components/honey-tokens/forms/HoneyTokenForm.tsx b/frontend/src/components/honey-tokens/forms/HoneyTokenForm.tsxindex cead681301..fda810a18e 100644--- a/frontend/src/components/honey-tokens/forms/HoneyTokenForm.tsx+++ b/frontend/src/components/honey-tokens/forms/HoneyTokenForm.tsx@@ -5,9 +5,9 @@ import { zodResolver } from "@hookform/resolvers/zod";import { Link } from "@tanstack/react-router";import { createNotification } from "@app/components/notifications";+import { Button } from "@app/components/v3";import { ROUTE_PATHS } from "@app/const/routes";import { useOrganization, useProject } from "@app/context";-import { Button } from "@app/components/v3";import { HONEY_TOKEN_DEFAULT_SECRET_NAMES, HONEY_TOKEN_MAP } from "@app/helpers/honeyTokens";import { useCreateHoneyToken, useUpdateHoneyToken } from "@app/hooks/api/honeyTokens";import { HoneyTokenType } from "@app/hooks/api/honeyTokens/enums";diff --git a/frontend/src/hooks/api/honeyTokens/mutations.tsx b/frontend/src/hooks/api/honeyTokens/mutations.tsxindex 09c529289d..3c790a9453 100644--- a/frontend/src/hooks/api/honeyTokens/mutations.tsx+++ b/frontend/src/hooks/api/honeyTokens/mutations.tsx@@ -5,8 +5,8 @@ import { dashboardKeys } from "@app/hooks/api/dashboard/queries";import {TCreateHoneyTokenDTO,- THoneyToken,TCreateHoneyTokenResponse,+ THoneyToken,TRevokeHoneyTokenDTO,TUpdateHoneyTokenDTO} from "./types";@@ -16,7 +16,10 @@ export const useCreateHoneyToken = () => {return useMutation<TCreateHoneyTokenResponse, object, TCreateHoneyTokenDTO>({mutationFn: async (dto) => {- const { data } = await apiRequest.post<TCreateHoneyTokenResponse>("/api/v1/honey-tokens", dto);+ const { data } = await apiRequest.post<TCreateHoneyTokenResponse>(+ "/api/v1/honey-tokens",+ dto+ );return data;},onSuccess: () => {diff --git a/frontend/src/hooks/api/honeyTokens/types.ts b/frontend/src/hooks/api/honeyTokens/types.tsindex 47c5c78c0f..d2ed9e92a1 100644--- a/frontend/src/hooks/api/honeyTokens/types.ts+++ b/frontend/src/hooks/api/honeyTokens/types.ts@@ -2,8 +2,8 @@ export type {TAwsHoneyToken,TAwsHoneyTokenCredentialsResponse,TAwsHoneyTokenOption,- TCreateHoneyTokenResponse,TCreateHoneyTokenDTO,+ TCreateHoneyTokenResponse,TDashboardAwsHoneyToken,TDashboardHoneyToken,TDeleteHoneyTokenDTO,