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
Replace access-requests doc with remediated version, clean up output files
Jake Hulbergf85581d7924a
diff --git a/docs/docs.json b/docs/docs.jsonindex 1556ff6bda..b3b86d06de 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -84,8 +84,6 @@"documentation/platform/access-controls/additional-privileges","documentation/platform/access-controls/temporary-access","documentation/platform/access-controls/assume-privilege",- "documentation/platform/access-controls/access-requests",- "documentation/platform/access-controls/access-requests-remediated","documentation/platform/access-controls/project-access-requests","documentation/platform/groups"]@@ -454,6 +452,7 @@"documentation/platform/pit-recovery","documentation/platform/secret-reference","documentation/platform/pr-workflows",+ "documentation/platform/access-controls/access-requests",{"group": "Secret Rotation","pages": [diff --git a/docs/documentation/platform/access-controls/access-requests-remediated.mdx b/docs/documentation/platform/access-controls/access-requests-remediated.mdxdeleted file mode 100644index 9369a128dc..0000000000--- a/docs/documentation/platform/access-controls/access-requests-remediated.mdx+++ /dev/null@@ -1,89 +0,0 @@-----title: "Access Requests"-sidebarTitle: "Access Requests"-description: "Learn how to configure access request policies and request access to sensitive resources in Infisical."------<Info>- This feature is available under the **Enterprise Tier**. If you're using- Infisical Cloud, contact [sales](https://infisical.com/schedule-demo) to- upgrade. If you're self-hosting, contact [email protected] to purchase an- enterprise license.-</Info>--This guide shows you how to set up access request policies and request temporary or permanent access to sensitive environments and secret paths in Infisical.--## Prerequisites--- An Infisical project with at least one [environment](/documentation/platform/project) configured-- The **Admin** or **Member** role in the project (both roles can create access request policies)--## Set up an access request policy--<Steps>- <Step title="Navigate to the Approvals page">- In your project, go to the **Approvals** settings page where access request policies are managed.- </Step>- <Step title="Create a new access request policy">- Click **Add Policy** and configure the following options:-- - **Name** — A descriptive name for the policy.- - **Environment** — The environment this policy applies to.- - **Secret Path** — The secret path (folder) this policy governs.- - **Approvers** — The users or groups eligible to approve requests. You can assign approvers to sequential steps for multi-level approval chains.- - **Approvals Required** — The number of approvals needed at each step.- - **Enforcement Level** — Set to **Hard** (approvals are strictly required) or **Soft** (designated bypassers can use break-glass access without full approval).- - **Bypassers** — Users or groups allowed to bypass the policy when enforcement is set to Soft.- - **Allow Self-Approvals** — Whether requesters who are also approvers can approve their own requests. Enabled by default.- - **Max Time Period** — The maximum duration of temporary access that can be requested under this policy (for example, `1h`, `30m`, `2d`). Leave empty to allow permanent access.-- -- <Note>- A step policy enables a sequential approval workflow in which approvals- must follow the designated chain.- </Note>-- - </Step>-</Steps>--## Request access to a sensitive resource--<Steps>- <Step title="Submit an access request">- When you need access to an environment or secret path governed by a policy, submit an access request from the dashboard. Specify the permissions you need and the access duration.-- - </Step>- <Step title="Wait for approval">- Your request appears in the dashboard for eligible approvers to review. Approvers also receive an email notification about the pending request.-- - </Step>- <Step title="Approval or rejection">- An eligible approver can approve or reject the access request.-- -- <Note>- Approvers can edit the duration of an access request to reduce how long access is granted by clicking the **Edit** icon next to the duration.-- - </Note>-- <Info>- If the policy enforcement level is set to **Soft** and you are a designated bypasser, you can bypass the approval requirement and gain access immediately.- </Info>- </Step>- <Step title="Access granted">- Once the request is approved, you can access the requested resources. If the access is temporary, it expires automatically after the specified duration.- </Step>-</Steps>--## Related resources--- [Additional Privileges](/documentation/platform/access-controls/additional-privileges) — Add specific permissions on top of predefined roles-- [Temporary Access](/documentation/platform/access-controls/temporary-access) — Set up timed access for user and machine identities-- [Approval Workflows](/documentation/platform/pr-workflows) — Set up review policies for secret changes-- [Access Controls overview](/documentation/platform/access-controls/overview) — Overview of all access control tools in Infisicaldiff --git a/docs/documentation/platform/access-controls/access-requests.mdx b/docs/documentation/platform/access-controls/access-requests.mdxindex cf2643db82..12dd7ca0cc 100644--- a/docs/documentation/platform/access-controls/access-requests.mdx+++ b/docs/documentation/platform/access-controls/access-requests.mdx@@ -1,39 +1,89 @@---title: "Access Requests"-description: "Learn how to request access to sensitive resources in Infisical."+sidebarTitle: "Access Requests"+description: "Learn how to configure access request policies and request access to sensitive resources in Infisical."----In certain situations, developers need to expand their access to a certain new project or a sensitive environment. For those use cases, it is helpful to utilize Infisical's **Access Requests** functionality.+<Info>+ This feature is available under the **Enterprise Tier**. If you're using+ Infisical Cloud, contact [sales](https://infisical.com/schedule-demo) to+ upgrade. If you're self-hosting, contact [email protected] to purchase an+ enterprise license.+</Info>-This functionality works in the following way:+This guide shows you how to set up access request policies and request temporary or permanent access to sensitive environments and secret paths in Infisical.-1. A project administrator sets up an access policy that assigns access managers (also known as eligible approvers) to a certain sensitive folder or environment.- +## Prerequisites- <Note>- A step policy enables a sequential approval workflow in which approvals- must follow the designated chain.- </Note>+- An Infisical project with at least one [environment](/documentation/platform/project) configured+- The **Admin** or **Member** role in the project (both roles can create access request policies)- +## Set up an access request policy-2. When a developer requests access to one of such sensitive resources, the request is visible in the dashboard, and the corresponding eligible approvers get an email notification about it.- - +<Steps>+ <Step title="Navigate to the Approvals page">+ In your project, go to the **Approvals** settings page where access request policies are managed.+ </Step>+ <Step title="Create a new access request policy">+ Click **Add Policy** and configure the following options:-3. An eligible approver can approve or reject the access request.- {/*  */}- + - **Name** — A descriptive name for the policy.+ - **Environment** — The environment this policy applies to.+ - **Secret Path** — The secret path (folder) this policy governs.+ - **Approvers** — The users or groups eligible to approve requests. You can assign approvers to sequential steps for multi-level approval chains.+ - **Approvals Required** — The number of approvals needed at each step.+ - **Enforcement Level** — Set to **Hard** (approvals are strictly required) or **Soft** (designated bypassers can use break-glass access without full approval).+ - **Bypassers** — Users or groups allowed to bypass the policy when enforcement is set to Soft.+ - **Allow Self-Approvals** — Whether requesters who are also approvers can approve their own requests. Enabled by default.+ - **Max Time Period** — The maximum duration of temporary access that can be requested under this policy (for example, `1h`, `30m`, `2d`). Leave empty to allow permanent access.++ <Note>- Optionally, approvers can edit the duration of an access request to reduce how long access will be granted by clicking the **Edit** icon next to the duration.- + A step policy enables a sequential approval workflow in which approvals+ must follow the designated chain.</Note>-<Info>- 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>+ + </Step>+</Steps>++## Request access to a sensitive resource++<Steps>+ <Step title="Submit an access request">+ When you need access to an environment or secret path governed by a policy, submit an access request from the dashboard. Specify the permissions you need and the access duration.++ + </Step>+ <Step title="Wait for approval">+ Your request appears in the dashboard for eligible approvers to review. Approvers also receive an email notification about the pending request.++ + </Step>+ <Step title="Approval or rejection">+ An eligible approver can approve or reject the access request.++ ++ <Note>+ Approvers can edit the duration of an access request to reduce how long access is granted by clicking the **Edit** icon next to the duration.+ </Note>++ ++ <Info>+ If the policy enforcement level is set to **Soft** and you are a designated bypasser, you can bypass the approval requirement and gain access immediately.+ </Info>+ </Step>+ <Step title="Access granted">+ Once the request is approved, you can access the requested resources. If the access is temporary, it expires automatically after the specified duration.+ </Step>+</Steps>++## Related resources-5. As soon as the request is approved, developer is able to access the sought resources.+- [Additional Privileges](/documentation/platform/access-controls/additional-privileges) — Add specific permissions on top of predefined roles+- [Temporary Access](/documentation/platform/access-controls/temporary-access) — Set up timed access for user and machine identities+- [Approval Workflows](/documentation/platform/pr-workflows) — Set up review policies for secret changes+- [Access Controls overview](/documentation/platform/access-controls/overview) — Overview of all access control tools in Infisicaldiff --git a/docs/output/access-requests-flag-summary.md b/docs/output/access-requests-flag-summary.mddeleted file mode 100644index e1a95d7862..0000000000--- a/docs/output/access-requests-flag-summary.md+++ /dev/null@@ -1,44 +0,0 @@-# Flag Summary — Access Requests--## Totals--- **Total Flags (Phase 1):** 12-- **Resolved Flags:** 12-- **Remaining Flags:** 0-------## By Type--| Flag Type | Phase 1 Count | Resolved | Remaining |-|-----------|---------------|----------|-----------|-| UNVERIFIED | 2 | 2 | 0 |-| CONFLICT | 0 | 0 | 0 |-| STALE | 0 | 0 | 0 |-| ASSUMED | 2 | 2 | 0 |-| LINK NEEDED | 4 | 4 | 0 |-| BROKEN LINK | 0 | 0 | 0 |-| STRUCTURE | 3 | 3 | 0 |-| MISSING SECTION | 1 | 1 | 0 |-------## Resolution Details--### Verification Flags Resolved--1. **[ASSUMED: "project administrator" — Members can also create policies]** — Corrected to "Admin or Member role" with source: `project-permission.ts`-2. **[ASSUMED: "access managers" not a codebase term]** — Replaced with "approvers" (canonical term)-3. **[UNVERIFIED: break-glass description vague]** — Replaced with verified enforcement level (Hard/Soft) and bypasser mechanism-4. **[UNVERIFIED: missing policy options]** — All options documented from `access-approval-policy-types.ts`--### Structure Flags Resolved--5. **[MISSING SECTION: Prerequisites]** — Added-6. **[MISSING SECTION: Enterprise callout]** — Added-7. **[STRUCTURE: Broken step numbering]** — Replaced with `<Steps>` component-8. **[STRUCTURE: No Steps component]** — Added--### Link Flags Resolved--9-12. **[LINK NEEDED]** — Added related resources section with links to Additional Privileges, Temporary Access, Approval Workflows, and Access Controls overviewdiff --git a/docs/output/access-requests-human-review-checklist.md b/docs/output/access-requests-human-review-checklist.mddeleted file mode 100644index 452c63b868..0000000000--- a/docs/output/access-requests-human-review-checklist.md+++ /dev/null@@ -1,36 +0,0 @@-# Human Review Checklist — Access Requests--Items appear here ONLY because they cannot be resolved by the pipeline.-------## Visual/Asset Verification--- [ ] **Verify screenshot: create-access-request-policy.png** — Confirm it shows current UI with all documented policy options (Name, Environment, Secret Path, Approvers, Enforcement Level, Bypassers, Allow Self-Approvals, Max Time Period)-- [ ] **Verify screenshot: access-request-policies.png** — Confirm it shows the current policy list view-- [ ] **Verify screenshot: request-access.png** — Confirm it shows the current access request creation UI-- [ ] **Verify screenshot: access-requests-pending.png** — Confirm it shows the current pending requests dashboard-- [ ] **Verify screenshot: access-request-bypass.png** — Confirm it shows the current approval/rejection UI-- [ ] **Verify screenshot: edit-access-request.png** — Confirm it shows the current duration edit UI--**Justification:** Pipeline cannot view or generate visual assets. Screenshots may be outdated if UI has changed since they were captured.-------## Business/Product Decisions--- [ ] **UI navigation path** — Confirm the exact navigation path to the Approvals page (document says "go to the Approvals settings page"). Verify the exact button label for creating a new policy (document says "Add Policy").--**Justification:** Exact UI labels and navigation paths require visual verification of the running application, which the pipeline cannot perform.-------## Unresolved After Research--None. All research questions were resolved from the codebase.-------## External System Dependencies--None applicable.diff --git a/docs/output/access-requests-pipeline-summary.md b/docs/output/access-requests-pipeline-summary.mddeleted file mode 100644index a82418fb5e..0000000000--- a/docs/output/access-requests-pipeline-summary.md+++ /dev/null@@ -1,75 +0,0 @@-# Pipeline Summary — Access Requests--## Execution Flow--| Phase | Status | Notes |-|-------|--------|-------|-| Phase 1: Diagnose | Completed | 5 agents executed |-| Phase 1.5: Research | Yes — Completed | 6 questions, all resolved |-| Phase 2: Remediation | Yes — Completed | 9 blocking issues fixed |-| Phase 3: Re-Review | Yes — Completed | 4 agents re-executed |-| Phase 4: Finalization | Completed | All outputs produced |-------## Agents Executed--| Agent | Phase(s) | Result |-|-------|----------|--------|-| Verification Agent | 1, 3 | 11 claims checked → 7 verified, 4 flagged (Phase 1) → 11 verified (Phase 3) |-| Structure Review Agent | 1 | Poor → resolved via remediation |-| Syntax Agent | 1, 3 | 3 issues found → all resolved |-| Link Review Agent | 1, 3 | 0 broken, 4 missing → all resolved |-| Editorial Review Agent | 1, 3 | REQUIRES_REMEDIATION (35) → APPROVED WITH FLAGS (82) |-| Research Agent | 1.5 | 6 questions → 6 resolved |-| Content Repair Agent | 2 | 9 blocking issues fixed, document restructured |-| Summary Agent | 4 | Final outputs assembled |-------## Changes (Remediation)--### Sections Rewritten--- **Entire document restructured** — Replaced loose numbered list with proper How-to guide structure using `<Steps>` component-- **Policy creation section** — Expanded from brief description to comprehensive options list-- **Break-glass/bypass section** — Rewritten with specific enforcement level and bypasser details--### Sections Added--- **Enterprise tier callout** — `<Info>` block at top of document-- **Prerequisites section** — Role requirements and project requirement-- **Related resources section** — Links to 4 related docs-- **Goal statement** — "This guide shows you how to..."-- **"Access granted" step** — Verification/result step--### Claims Modified--- "project administrator" → "Admin or Member role" (verified from permission system)-- "access managers (also known as eligible approvers)" → "approvers" (canonical term)-- Vague break-glass description → specific enforcement level (Hard/Soft) + bypasser explanation-- Added 9 policy configuration options with verified descriptions--### Flags Resolved--- 12 total flags from Phase 1 → all 12 resolved-------## Research Summary--- **Questions asked:** 6-- **Questions resolved:** 6-- **Questions unresolved:** 0-- **Content added from research:**- - All 9 policy options (allowedSelfApprovals, maxTimePeriod, enforcementLevel, bypassers, name, environment, secretPath, approvers, approvalsRequired)- - Corrected permission requirements (Admin + Member, not just Admin)- - Enterprise tier confirmation- - Enforcement level details (Hard/Soft) with bypasser mechanics- - Duration editing capability verification-------## Outcome--The document was transformed from a structurally incomplete, partially inaccurate numbered list into a well-structured How-to guide with verified policy options, accurate permission requirements, enterprise tier callout, and proper Mintlify components. All 9 blocking issues were resolved. The document is approved with minor flags (screenshot visual verification needed). Confidence improved from 35 to 82.diff --git a/docs/output/access-requests-remediated.mdx b/docs/output/access-requests-remediated.mdxdeleted file mode 100644index 9369a128dc..0000000000--- a/docs/output/access-requests-remediated.mdx+++ /dev/null@@ -1,89 +0,0 @@-----title: "Access Requests"-sidebarTitle: "Access Requests"-description: "Learn how to configure access request policies and request access to sensitive resources in Infisical."------<Info>- This feature is available under the **Enterprise Tier**. If you're using- Infisical Cloud, contact [sales](https://infisical.com/schedule-demo) to- upgrade. If you're self-hosting, contact [email protected] to purchase an- enterprise license.-</Info>--This guide shows you how to set up access request policies and request temporary or permanent access to sensitive environments and secret paths in Infisical.--## Prerequisites--- An Infisical project with at least one [environment](/documentation/platform/project) configured-- The **Admin** or **Member** role in the project (both roles can create access request policies)--## Set up an access request policy--<Steps>- <Step title="Navigate to the Approvals page">- In your project, go to the **Approvals** settings page where access request policies are managed.- </Step>- <Step title="Create a new access request policy">- Click **Add Policy** and configure the following options:-- - **Name** — A descriptive name for the policy.- - **Environment** — The environment this policy applies to.- - **Secret Path** — The secret path (folder) this policy governs.- - **Approvers** — The users or groups eligible to approve requests. You can assign approvers to sequential steps for multi-level approval chains.- - **Approvals Required** — The number of approvals needed at each step.- - **Enforcement Level** — Set to **Hard** (approvals are strictly required) or **Soft** (designated bypassers can use break-glass access without full approval).- - **Bypassers** — Users or groups allowed to bypass the policy when enforcement is set to Soft.- - **Allow Self-Approvals** — Whether requesters who are also approvers can approve their own requests. Enabled by default.- - **Max Time Period** — The maximum duration of temporary access that can be requested under this policy (for example, `1h`, `30m`, `2d`). Leave empty to allow permanent access.-- -- <Note>- A step policy enables a sequential approval workflow in which approvals- must follow the designated chain.- </Note>-- - </Step>-</Steps>--## Request access to a sensitive resource--<Steps>- <Step title="Submit an access request">- When you need access to an environment or secret path governed by a policy, submit an access request from the dashboard. Specify the permissions you need and the access duration.-- - </Step>- <Step title="Wait for approval">- Your request appears in the dashboard for eligible approvers to review. Approvers also receive an email notification about the pending request.-- - </Step>- <Step title="Approval or rejection">- An eligible approver can approve or reject the access request.-- -- <Note>- Approvers can edit the duration of an access request to reduce how long access is granted by clicking the **Edit** icon next to the duration.-- - </Note>-- <Info>- If the policy enforcement level is set to **Soft** and you are a designated bypasser, you can bypass the approval requirement and gain access immediately.- </Info>- </Step>- <Step title="Access granted">- Once the request is approved, you can access the requested resources. If the access is temporary, it expires automatically after the specified duration.- </Step>-</Steps>--## Related resources--- [Additional Privileges](/documentation/platform/access-controls/additional-privileges) — Add specific permissions on top of predefined roles-- [Temporary Access](/documentation/platform/access-controls/temporary-access) — Set up timed access for user and machine identities-- [Approval Workflows](/documentation/platform/pr-workflows) — Set up review policies for secret changes-- [Access Controls overview](/documentation/platform/access-controls/overview) — Overview of all access control tools in Infisicaldiff --git a/docs/output/access-requests-review-report.md b/docs/output/access-requests-review-report.mddeleted file mode 100644index dee49f00e0..0000000000--- a/docs/output/access-requests-review-report.md+++ /dev/null@@ -1,63 +0,0 @@-# Review Report — Access Requests--## Final Decision--**APPROVED WITH FLAGS**--## Confidence Score--**82 / 100**-------## Blocking Issues--None remaining. All 9 blocking issues from Phase 1 were resolved during remediation.--### Resolved Blocking Issues--1. **Missing enterprise tier callout** — Added `<Info>` callout at top of document-2. **Broken step numbering (1,2,3,5)** — Replaced numbered list with `<Steps>` component-3. **Missing prerequisites section** — Added with role requirements (Admin or Member) and project requirement-4. **Missing verification/result section** — Added "Access granted" step confirming outcome-5. **Inaccurate permission claim ("project administrator")** — Corrected to "Admin or Member role"-6. **Missing policy options (allowedSelfApprovals, maxTimePeriod, enforcementLevel, bypassers)** — All documented with verified descriptions-7. **Incorrect term "access managers"** — Replaced with "approvers" (canonical codebase term)-8. **Vague break-glass description** — Replaced with specific enforcement level (Hard/Soft) and bypasser explanation-9. **Missing `<Steps>` component** — Added for both policy setup and access request workflows-------## Non-Blocking Issues--1. **Screenshots not visually verified** — Pipeline cannot view images; screenshots should be confirmed as current-2. **UI label "Add Policy" unverified** — The exact button label should be confirmed against current frontend-3. **No UI vs API tabs** — Style guide recommends `<Tabs>` for how-to guides where applicable; could add API examples in future-4. **No sidebarTitle needed** — Title is under 25 characters; sidebarTitle added for clarity but is optional-------## Verification Summary--- **Verified:** 11-- **Unverified:** 0-- **Conflicts:** 0-- **Assumed:** 0-- **Stale:** 0-------## Structure Summary--- **Major issues:** None remaining-- **Missing sections:** None — prerequisites, steps, verification, and related resources all present-- **Diataxis type:** How-to guide (correctly classified)-------## Link Summary--- **Broken links:** 0-- **Missing links:** 0-- **Internal links verified:** `/documentation/platform/project`, `/documentation/platform/access-controls/additional-privileges`, `/documentation/platform/access-controls/temporary-access`, `/documentation/platform/pr-workflows`, `/documentation/platform/access-controls/overview`-- **Image paths verified:** All 7 images confirmed to exist in repository