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
Greptile review fixes
x032205c1fa344f0209
diff --git a/backend/src/ee/routes/v1/access-approval-request-router.ts b/backend/src/ee/routes/v1/access-approval-request-router.tsindex b55c611ba9..010f8b2e71 100644--- a/backend/src/ee/routes/v1/access-approval-request-router.ts+++ b/backend/src/ee/routes/v1/access-approval-request-router.ts@@ -156,7 +156,7 @@ export const registerAccessApprovalRequestRouter = async (server: FastifyZodProvbody: z.object({status: z.enum([ApprovalStatus.APPROVED, ApprovalStatus.REJECTED]),envName: z.string().optional(), // For logging- bypassReason: z.string().optional()+ bypassReason: z.string().min(10).max(1000).optional()}),response: {200: z.object({diff --git a/docs/documentation/platform/access-controls/access-requests.mdx b/docs/documentation/platform/access-controls/access-requests.mdxindex bdbabf9f79..58b21d4eb4 100644--- a/docs/documentation/platform/access-controls/access-requests.mdx+++ b/docs/documentation/platform/access-controls/access-requests.mdx@@ -19,7 +19,7 @@ This functionality works in the following way:<Info>- If the access request matches with a policy that has allows break-glass approval bypasses, the requester may bypass the policy and get access to the resource without full approval.+ If the access request matches with a policy that allows break-glass approval bypasses, the requester may bypass the policy and get access to the resource without full approval.</Info>5. As soon as the request is approved, developer is able to access the sought resources.diff --git a/docs/documentation/platform/pr-workflows.mdx b/docs/documentation/platform/pr-workflows.mdxindex 2649e0454f..610d1fd47d 100644--- a/docs/documentation/platform/pr-workflows.mdx+++ b/docs/documentation/platform/pr-workflows.mdx@@ -33,7 +33,9 @@ First, you would need to create a set of policies for a certain environment. InThe enforcement level determines how strict the policy is. A **Hard** enforcement level means that any change that matches the policy will need full approval prior merging. A **Soft** enforcement level allows for break glass functionality on the request. If a change request is bypassed, the approvers will be notified via email.-You can use the **Soft** enforcement level by enabling "Bypass Approvals".+<Note>+ Enabling the "Bypass Approvals" toggle during policy creation will create a **Soft** enforcement level. Disabling the toggle makes the enforcement level **Hard**.+</Note>### Self approvalsdiff --git a/docs/internals/permissions/project-permissions.mdx b/docs/internals/permissions/project-permissions.mdxindex 313a60c3c8..8a12532a4c 100644--- a/docs/internals/permissions/project-permissions.mdx+++ b/docs/internals/permissions/project-permissions.mdx@@ -178,14 +178,14 @@ Supports conditions and permission inversion#### Subject: `secret-approval`-| Action | Description |-| --------------------- | ---------------------------------------------------------------------------- |-| `read` | View approval policies and requests |-| `create` | Create new approval policies |-| `edit` | Modify approval policies |-| `delete` | Remove approval policies |-| `allow-change-bypass` | Allow request creators to bypass policy in break-glass situations |-| `allow-access-bypass` | Allow request creators to bypass policy in break-glass situations |+| Action | Description |+| --------------------- | ----------------------------------------------------------------------------------- |+| `read` | View approval policies and requests |+| `create` | Create new approval policies |+| `edit` | Modify approval policies |+| `delete` | Remove approval policies |+| `allow-change-bypass` | Allow request creators to merge changes without approval in break-glass situations |+| `allow-access-bypass` | Allow request creators to access secrets without approval in break-glass situations |#### Subject: `secret-rotation`