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
Fixed minor bugs everywhere
Vladyslav Matsiiakod9c055872da4
diff --git a/README.md b/README.mdindex 7d2c806f2c..413c4b50eb 100644--- a/README.md+++ b/README.md@@ -55,7 +55,7 @@- **[Integrations](https://infisical.com/docs/integrations/overview)** with CI/CD and production infrastructure- **[Infisical API](https://infisical.com/docs/api-reference/overview/introduction)** - manage secrets via HTTPS requests to the platform- **[Secret Versioning](https://infisical.com/docs/getting-started/dashboard/versioning)** to view the change history for any secret-- **[Activity Logs](https://infisical.com/docs/getting-started/dashboard/audit-logs)** to record every action taken in a project+- **[Audit Logs](https://infisical.com/docs/getting-started/dashboard/audit-logs)** to record every action taken in a project- **[Point-in-time Secrets Recovery](https://infisical.com/docs/getting-started/dashboard/pit-recovery)** for rolling back to any snapshot of your secrets- **Role-based Access Controls** per environment- **2FA** (more options coming soon)diff --git a/docs/getting-started/dashboard/audit-logs.mdx b/docs/getting-started/dashboard/audit-logs.mdxindex 6a48d98ffb..4ec221f0cd 100644--- a/docs/getting-started/dashboard/audit-logs.mdx+++ b/docs/getting-started/dashboard/audit-logs.mdx@@ -1,12 +1,12 @@----title: "Activity Logs"+title: "Audit Logs"description: "See which events are triggered within your Infisical project."----Activity logs record all actions going through Infisical including who performed which CRUD operations on environment variables and from what IP address. They help answer questions like:+Audit logs record all actions going through Infisical including who performed which CRUD operations on environment variables and from what IP address. They help answer questions like:- Who added or updated environment variables recently?- Did Bob read environment variables last week (if at all)?- What IP address was used for that action?-+diff --git a/docs/getting-started/features.mdx b/docs/getting-started/features.mdxindex 7eaf6f267f..c1a36a1ede 100644--- a/docs/getting-started/features.mdx+++ b/docs/getting-started/features.mdx@@ -12,7 +12,7 @@ This is a non-exhaustive list of features that Infisical offers:- Sync secrets to platforms via integrations to platforms like GitHub, Vercel, and Netlify.- Rollback secrets to any point in time.- Rollback each secrets to any version.-- Track actions through activity logs.+- Track actions through audit logs.## CLIdiff --git a/frontend/public/locales/en/activity.json b/frontend/public/locales/en/activity.jsonindex 648e4d42c8..4db29f2747 100644--- a/frontend/public/locales/en/activity.json+++ b/frontend/public/locales/en/activity.json@@ -1,5 +1,5 @@{- "title": "Activity Logs",+ "title": "Audit Logs","subtitle": "Event history for this Infisical project.","event": {"readSecrets": "Secrets Viewed",diff --git a/frontend/public/locales/en/common.json b/frontend/public/locales/en/common.jsonindex 3d840c6635..4c966f09c1 100644--- a/frontend/public/locales/en/common.json+++ b/frontend/public/locales/en/common.json@@ -13,8 +13,8 @@"project-id": "Project ID","save-changes": "Save Changes","saved": "Saved",- "drop-zone": "Drag and drop a .env or .yml file here.",- "drop-zone-keys": "Drag and drop a .env or .yml file here to add more secrets.",+ "drop-zone": "Drag and drop a .env, .json, or .yml file here.",+ "drop-zone-keys": "Drag and drop a .env, .json, or .yml file here to add more secrets.","role": "Role","role_admin": "admin","display-name": "Display Name",diff --git a/frontend/src/components/basic/Layout.tsx b/frontend/src/components/basic/Layout.tsxindex a6632b556f..e76b99cc39 100644--- a/frontend/src/components/basic/Layout.tsx+++ b/frontend/src/components/basic/Layout.tsx@@ -162,7 +162,7 @@ const Layout = ({ children }: LayoutProps) => {},{href: `/activity/${workspaceMapping[workspaceSelected as any]}`,- title: 'Activity Logs',+ title: 'Audit Logs',emoji: <FontAwesomeIcon icon={faFileLines} />},{diff --git a/frontend/src/components/dashboard/DropZone.tsx b/frontend/src/components/dashboard/DropZone.tsxindex 2fddfcf9c3..192c91a30d 100644--- a/frontend/src/components/dashboard/DropZone.tsx+++ b/frontend/src/components/dashboard/DropZone.tsx@@ -71,6 +71,19 @@ const DropZone = ({}));break;}+ case 'json': {+ const keyPairs = JSON.parse(String(file));+ secrets = Object.keys(keyPairs).map((key, index) => ({+ id: guidGenerator(),+ pos: numCurrentRows + index,+ key,+ value: keyPairs[key as keyof typeof keyPairs],+ comment: '',+ type: 'shared',+ tags: []+ }));+ break;+ }case 'yml': {const parsedFile = parseDocument(file.toString());const keyPairs = parsedFile.contents!.toJSON();diff --git a/frontend/src/components/v2/EmptyState/EmptyState.tsx b/frontend/src/components/v2/EmptyState/EmptyState.tsxindex be23337239..5122d9c1e3 100644--- a/frontend/src/components/v2/EmptyState/EmptyState.tsx+++ b/frontend/src/components/v2/EmptyState/EmptyState.tsx@@ -11,7 +11,7 @@ type Props = {};export const EmptyState = ({ title, className, children, icon = faCubesStacked }: Props) => (- <div className={twMerge('flex w-full flex-col items-center px-2 pt-6 text-bunker-300', className)}>+ <div className={twMerge('flex w-full bg-bunker-700 flex-col items-center px-2 pt-6 text-bunker-300', className)}><FontAwesomeIcon icon={icon} size="2x" className='mr-4' /><div className='flex flex-row items-center py-4'><div className="text-bunker-300 text-sm">{title}</div>diff --git a/frontend/src/components/v2/Tag/Tag.tsx b/frontend/src/components/v2/Tag/Tag.tsxindex 32c62c165f..4f3021e182 100644--- a/frontend/src/components/v2/Tag/Tag.tsx+++ b/frontend/src/components/v2/Tag/Tag.tsx@@ -14,7 +14,7 @@ const tagVariants = cva('inline-flex whitespace-nowrap text-sm rounded-sm mr-1.5red: 'bg-red/80 text-bunker-100'},size: {- sm: 'px-1 py-0.5'+ sm: 'px-1.5 py-0.5'}}});diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsxindex 5ce7085f60..46b3392878 100644--- a/frontend/src/layouts/AppLayout/AppLayout.tsx+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx@@ -308,7 +308,7 @@ export const AppLayout = ({ children }: LayoutProps) => {isSelected={router.asPath === `/activity/${currentWorkspace?._id}`}icon={<FontAwesomeIcon icon={faFileLines} size="lg" />}>- Activity Logs+ Audit Logs</MenuItem></a></Link>diff --git a/frontend/src/pages/activity/[id].tsx b/frontend/src/pages/activity/[id].tsxindex 181efb4b2c..8e16fccd7c 100644--- a/frontend/src/pages/activity/[id].tsx+++ b/frontend/src/pages/activity/[id].tsx@@ -1,4 +1,5 @@import React, { useEffect, useState } from 'react';+import Head from 'next/head';import { useRouter } from 'next/router';import { useTranslation } from 'next-i18next';@@ -125,7 +126,12 @@ export default function Activity() {return (<div className="mx-6 lg:mx-0 w-full h-screen">- <NavHeader pageName="Project Activity" isProjectRelated />+ <Head>+ <title>Audit Logs</title>+ <link rel="icon" href="/infisical.ico" />+ <meta property="og:image" content="/images/message.png" />+ </Head>+ <NavHeader pageName="Audit Logs" isProjectRelated />{currentSidebarAction && (<ActivitySideBar toggleSidebar={toggleSidebar} currentAction={currentSidebarAction} />)}diff --git a/frontend/src/pages/settings/billing/[id].tsx b/frontend/src/pages/settings/billing/[id].tsxindex e1c021a991..5c06af4662 100644--- a/frontend/src/pages/settings/billing/[id].tsx+++ b/frontend/src/pages/settings/billing/[id].tsx@@ -77,13 +77,13 @@ export default function SettingsBilling() {}, []);return (- <div className="bg-bunker-800 max-h-screen flex flex-col justify-between text-white">+ <div className="bg-bunker-800 pb-4 flex flex-col justify-between text-white"><Head><title>{t('common:head-title', { title: t('billing:title') })}</title><link rel="icon" href="/infisical.ico" /></Head><div className="flex flex-row">- <div className="w-full max-h-screen pb-2 overflow-y-auto">+ <div className="w-full pb-2"><NavHeader pageName={t('billing:title')} /><div className="flex flex-row justify-between items-center ml-6 my-8 text-xl max-w-5xl"><div className="flex flex-col justify-start items-start text-3xl">@@ -93,7 +93,6 @@ export default function SettingsBilling() {</div><div className="flex flex-col ml-6 text-mineshaft-50 w-max"><p className="text-xl font-semibold">{t('billing:subscription')}</p>- <div className="mt-4 text-bunker-200 h-14 flex justify-center items-center rounded-md bg-bunker-600 mr-4"> If you are looking to get an annual plan, please reach out to <a className="ml-1.5 underline text-primary underline-offset-2" href="mailto:[email protected]">[email protected]</a></div><div className="grid grid-cols-2 grid-rows-2 gap-y-6 gap-x-3 mt-4 overflow-x-auto">{plans.map((plan) => (<Plan key={plan.name} plan={plan} />diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgMembersTable/OrgMembersTable.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgMembersTable/OrgMembersTable.tsxindex 020eae9636..ed451a9eec 100644--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgMembersTable/OrgMembersTable.tsx+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgMembersTable/OrgMembersTable.tsx@@ -1,5 +1,6 @@import { useMemo, useState } from 'react';import { Controller, useForm } from 'react-hook-form';+import { useRouter } from 'next/router';import { faMagnifyingGlass, faPlus, faTrash, faUsers } from '@fortawesome/free-solid-svg-icons';import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';import { yupResolver } from '@hookform/resolvers/yup';@@ -61,6 +62,7 @@ export const OrgMembersTable = ({userId,isLoading}: Props) => {+ const router = useRouter();const [searchMemberFilter, setSearchMemberFilter] = useState('');const { handlePopUpToggle, popUp, handlePopUpOpen, handlePopUpClose } = usePopUp(['addMember',@@ -159,7 +161,7 @@ export const OrgMembersTable = ({<SelectdefaultValue={role}isDisabled={userId === user?._id}- className="w-full bg-mineshaft-600"+ className="w-40 bg-mineshaft-600"onValueChange={(selectedRole) =>onRoleChange(orgMembershipId, selectedRole)}@@ -172,8 +174,8 @@ export const OrgMembersTable = ({</Select>)}{(status === 'invited' || status === 'verified') && (- <Button colorSchema="secondary" onClick={() => onInviteMember(email)}>- Resent Invite+ <Button className='w-40' colorSchema="secondary" onClick={() => onInviteMember(email)}>+ Resend Invite</Button>)}{status === 'completed' && (@@ -193,7 +195,17 @@ export const OrgMembersTable = ({</Tag>))) : (- <Tag colorSchema="red">This user isn't part of any projects yet</Tag>+ <div className='flex flex-row'>+ <Tag colorSchema="red">This user isn't part of any projects yet</Tag>+ <button+ type="button"+ onClick={() => router.push(`/users/${router.query.id}`)}+ className='text-sm bg-mineshaft w-max px-1.5 py-0.5 hover:bg-primary duration-200 hover:text-black cursor-pointer rounded-sm'+ >+ <FontAwesomeIcon icon={faPlus} className="mr-1" />+ Add to projects+ </button>+ </div>)}</Td><Td>diff --git a/i18n/README.en.md b/i18n/README.en.mdindex 92f2388bf8..78bf3af092 100644--- a/i18n/README.en.md+++ b/i18n/README.en.md@@ -54,7 +54,7 @@- **[Integrations](https://infisical.com/docs/integrations/overview)** with CI/CD and production infrastructure- **[Infisical API](https://infisical.com/docs/api-reference/overview/introduction)** - manage secrets via HTTPS requests to the platform- **[Secret Versioning](https://infisical.com/docs/getting-started/dashboard/versioning)** to view the change history for any secret-- **[Activity Logs](https://infisical.com/docs/getting-started/dashboard/audit-logs)** to record every action taken in a project+- **[Audit Logs](https://infisical.com/docs/getting-started/dashboard/audit-logs)** to record every action taken in a project- **[Point-in-time Secrets Recovery](https://infisical.com/docs/getting-started/dashboard/pit-recovery)** for rolling back to any snapshot of your secrets- **Role-based Access Controls** per environment- **2FA** (more options coming soon)