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
add secreenshots and modify text
adilsona035a5f44e3d
diff --git a/docs/documentation/platform/workflow-integrations/servicenow-integration.mdx b/docs/documentation/platform/workflow-integrations/servicenow-integration.mdxindex dc9add4b52..5969f6eec5 100644--- a/docs/documentation/platform/workflow-integrations/servicenow-integration.mdx+++ b/docs/documentation/platform/workflow-integrations/servicenow-integration.mdx@@ -18,7 +18,7 @@ Infisical still grants the access. It creates the request, waits for ServiceNow1. A user requests access in Infisical to an environment and secret path.2. The request matches an access policy that sends its requests to ServiceNow.3. Infisical creates an **Infisical Access Request** record on your ServiceNow instance over the [ServiceNow connection](/integrations/app-connections/servicenow). The record includes a callback token that Infisical issued for this request alone.-4. A ServiceNow flow you own routes the record to the right approvers.+4. The **Infisical - Default Approval** flow, or a flow you build, asks your approvers to approve or reject the record.5. When the flow reaches a decision, its final step runs the **Infisical - Notify Decision** action. The action records the decision on the record, then sends the callback token to Infisical to say the record has a decision.6. Infisical reads the decision from the record over the ServiceNow connection, then grants the access on approval or closes the request on rejection.@@ -27,7 +27,7 @@ If the policy sets a request expiration and ServiceNow doesn't return a decision## Prerequisites- A Secrets Management project on Infisical with Access Requests available-- A ServiceNow instance where you can install a scoped application, create users, and build flows in Flow Designer (the `flow_designer` role)+- A ServiceNow instance where you can install a scoped application, create users, edit groups, and activate flows in Flow Designer (the `flow_designer` role)- A ServiceNow instance that Infisical can reach (if your instance restricts inbound traffic, allow [Infisical's IP addresses](/documentation/setup/networking) on its IP access control list)- Outbound HTTPS access from your ServiceNow instance to your Infisical URL- If you self-host Infisical, a [`SITE_URL`](/self-hosting/configuration/envars) that starts with `https://`, because ServiceNow notifies Infisical at that address@@ -44,7 +44,7 @@ If the policy sets a request expiration and ServiceNow doesn't return a decision- **Pending Requests**: requests waiting for a decision- **Admin Console** (admins only): every request, with a **Resend to Infisical** button for a decision that didn't reach Infisical- You can't approve or reject a request from these modules. Your approvers decide in the approval steps of your flows, which you build in [Step 3](#step-3-build-the-approval-flow).+ You can't approve or reject a request from these modules. Your approvers decide in the approval flow you set up in [Step 3](#step-3-set-up-the-approval-flow).</Step><Step>@@ -53,7 +53,7 @@ If the policy sets a request expiration and ServiceNow doesn't return a decision| Role | Assign it to || --- | --- || `x_infis_approvals.admin` | The people who manage the integration. The role grants full access to every request, including delete, and the **Admin Console**. |- | `x_infis_approvals.approver` | Every user or group that an **Ask for Approval** step in your flows names as an approver. |+ | `x_infis_approvals.approver` | Every approver in a flow you build. Members of the **Infisical Approvers** group, which you set up in [Step 3](#step-3-set-up-the-approval-flow), get the role from the group. || `x_infis_approvals.viewer` | People who only need to read requests and their audit trail. || `x_infis_approvals.secret-manager-integration` | Only the integration user that Infisical signs in as, which you create in [Step 2](#step-2-connect-infisical-to-servicenow). |@@ -66,32 +66,89 @@ Create a ServiceNow integration user, then create a ServiceNow connection in InfInfisical uses this connection to create each record and to read each decision back. If the connection's credentials stop working, Infisical can't complete the requests waiting in ServiceNow.-## Step 3: Build the approval flow+## Step 3: Set up the approval flow-You define approval routing in Flow Designer. Infisical doesn't set approvers, steps, or SLAs. The fastest way to start is to copy the flow template that the Infisical application includes:+The Infisical application includes an approval flow, **Infisical - Default Approval**, and a group of approvers, **Infisical Approvers**. The flow asks the members of the group to approve each new request. The first member who approves or rejects the request decides it, and the flow then notifies Infisical of the decision.++When you install the application, the group has no members and the flow is inactive. Add your approvers to the group, then activate the flow.++### Add your approvers to the group++<Steps>+ <Step>+ In ServiceNow, go to **All** > **System Security** > **Users and Groups** > **Groups**.++ ++ </Step>+ <Step>+ Search the list for `Infisical Approvers` and open the group.++ ++ </Step>+ <Step>+ Select **Edit...** on the **Group Members** tab.++ ++ </Step>+ <Step>+ Move each approver from **Collection** to **Group Members List**, then select **Save**.++ ++ </Step>+</Steps>++### Activate the flow<Steps><Step>Go to **All** > **Process Automation** > **Flow Designer**.++ +</Step><Step>- Open **Infisical - Single Approval Template** and select **Copy Flow**.+ Open **Infisical - Default Approval**.++ ++ </Step>+ <Step>+ If the flow shows **Inactive** next to its name, select **Activate**.++ ++ </Step>+</Steps>++You can change the flow, for example to add approval steps or a trigger condition, as long as every branch still ends with the **Infisical - Notify Decision** action. See [Notify Infisical of the decision](#notify-infisical-of-the-decision).++### Use your own flow instead++To route requests with a flow of your own, such as one with different approvers for each environment:++<Steps>+ <Step>+ In Flow Designer, open **Infisical - Default Approval** and select **Copy Flow** to start from a copy, or create a new flow.</Step><Step>- Set the trigger condition. The flow runs when a record is created in **Infisical Access Request [x_infis_approvals_access_request]**, and the condition sets which requests the flow handles, such as `Environment is prod` or `Secret Path contains /payments`. The template's condition, `Request Type is Secret Access`, matches every request from Infisical.+ Trigger the flow when a record is created in **Infisical Access Request [x_infis_approvals_access_request]**. To handle only some requests, add a trigger condition such as `Environment is prod` or `Secret Path contains /payments`.</Step><Step>- On each **Ask for Approval** step, add the approvers and the number of approvals required. Every approver needs the `x_infis_approvals.approver` role.+ Route the record with **Ask for Approval** steps. Every approver needs the `x_infis_approvals.approver` role, which members of the **Infisical Approvers** group already have.</Step><Step>- Confirm that every branch, approved and rejected alike, ends with the **Infisical - Notify Decision** action.+ End every branch, approved and rejected alike, with the **Infisical - Notify Decision** action.</Step><Step>- Activate your copy of the flow. The template itself stays inactive.+ Activate your flow. If **Infisical - Default Approval** is active, open it and select **Deactivate**, so that it doesn't also handle the requests your flow handles.</Step></Steps>-To build a flow from scratch instead, trigger it when a record is created in **Infisical Access Request**, route the record with **Ask for Approval** steps, and end each branch with **Infisical - Notify Decision**. If you have more than one flow, make their trigger conditions mutually exclusive. If two flows match the same record, approvers get duplicate approvals.+If you have more than one flow, make their trigger conditions mutually exclusive. If two flows match the same record, approvers get duplicate approvals.### Notify Infisical of the decision@@ -203,13 +260,15 @@ If your flow fills in **Approved By** or **Decision Notes** on the record, Infisthat the instance is up and reachable from Infisical.</Accordion><Accordion title="Record created but nothing happens">- No active flow matches the record. Verify your flow is activated and its- trigger condition matches the record's field values.+ No active flow matches the record. Check that+ **Infisical - Default Approval** or your own flow is active, and that the+ flow's trigger condition matches the record's field values.</Accordion><Accordion title="Approvers see duplicate approvals">- Two flows match the same record. Make the trigger conditions mutually- exclusive and deactivate the one you no longer want. Only the first flow to- finish notifies Infisical. In the other flow, **Infisical - Notify+ Two flows match the same record, such as your own flow and+ **Infisical - Default Approval**, which matches every request. Deactivate+ the flow you no longer want, or make the trigger conditions mutually+ exclusive. Only the first flow to finish notifies Infisical. In the other flow, **Infisical - NotifyDecision** returns an error.</Accordion><Accordion title="State stuck at Notifying Infisical">diff --git a/docs/images/app-connections/servicenow/servicenow-new-user-form.png b/docs/images/app-connections/servicenow/servicenow-new-user-form.pngnew file mode 100644index 0000000000..c17bcea9dcBinary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-new-user-form.png differdiff --git a/docs/images/app-connections/servicenow/servicenow-user-add-role.png b/docs/images/app-connections/servicenow/servicenow-user-add-role.pngnew file mode 100644index 0000000000..01bcb13483Binary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-user-add-role.png differdiff --git a/docs/images/app-connections/servicenow/servicenow-user-generate-password.png b/docs/images/app-connections/servicenow/servicenow-user-generate-password.pngnew file mode 100644index 0000000000..a926a53adbBinary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-user-generate-password.png differdiff --git a/docs/images/app-connections/servicenow/servicenow-user-roles-tab.png b/docs/images/app-connections/servicenow/servicenow-user-roles-tab.pngnew file mode 100644index 0000000000..f499e08ff9Binary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-user-roles-tab.png differdiff --git a/docs/images/app-connections/servicenow/servicenow-user-set-password.png b/docs/images/app-connections/servicenow/servicenow-user-set-password.pngnew file mode 100644index 0000000000..af45307f15Binary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-user-set-password.png differdiff --git a/docs/images/app-connections/servicenow/servicenow-users-menu.png b/docs/images/app-connections/servicenow/servicenow-users-menu.pngnew file mode 100644index 0000000000..251fddf15cBinary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-users-menu.png differdiff --git a/docs/images/app-connections/servicenow/servicenow-users-new.png b/docs/images/app-connections/servicenow/servicenow-users-new.pngnew file mode 100644index 0000000000..faff3de530Binary files /dev/null and b/docs/images/app-connections/servicenow/servicenow-users-new.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/default-approval-flow-activate.png b/docs/images/platform/workflow-integrations/servicenow-integration/default-approval-flow-activate.pngnew file mode 100644index 0000000000..a5fa7f4742Binary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/default-approval-flow-activate.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/default-approval-flow-list.png b/docs/images/platform/workflow-integrations/servicenow-integration/default-approval-flow-list.pngnew file mode 100644index 0000000000..b331ad20e5Binary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/default-approval-flow-list.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/flow-designer-menu.png b/docs/images/platform/workflow-integrations/servicenow-integration/flow-designer-menu.pngnew file mode 100644index 0000000000..bc897227e9Binary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/flow-designer-menu.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/groups-menu.png b/docs/images/platform/workflow-integrations/servicenow-integration/groups-menu.pngnew file mode 100644index 0000000000..1b157dd25eBinary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/groups-menu.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-edit-members.png b/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-edit-members.pngnew file mode 100644index 0000000000..75e0ae1f1fBinary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-edit-members.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-members-tab.png b/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-members-tab.pngnew file mode 100644index 0000000000..7d4d07e5cbBinary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-members-tab.png differdiff --git a/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-search.png b/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-search.pngnew file mode 100644index 0000000000..c2d8719533Binary files /dev/null and b/docs/images/platform/workflow-integrations/servicenow-integration/infisical-approvers-search.png differdiff --git a/docs/integrations/app-connections/servicenow.mdx b/docs/integrations/app-connections/servicenow.mdxindex fa2462fcc1..80a274c712 100644--- a/docs/integrations/app-connections/servicenow.mdx+++ b/docs/integrations/app-connections/servicenow.mdx@@ -30,25 +30,55 @@ Infisical signs in to ServiceNow as a dedicated integration user. Use a new user<Steps><Step>- In ServiceNow, go to **All** > **User Administration** > **Users** and select **New**.+ In ServiceNow, go to **All** > **User Administration** > **Users**.++ ++ </Step>+ <Step>+ Select **New**.++ +</Step><Step>Fill out the user's fields:- - **User ID**: an identifier such as `infisical.integration`- - **First name** and **Last name**: a recognizable name such as `Infisical Integration`- - **Password**: a strong password, which you'll enter in Infisical in [Step 2](#step-2-create-the-app-connection)- - **Web service access only**: checked, so nobody can use the account to sign in to the ServiceNow UI+ - **User ID**: an identifier such as `infisical-machine`+ - **First name** and **Last name**: a recognizable name, such as `infisical` and `machine`- **Active**: checked+ - **Identity type**: **Machine**++ Then, select **Submit**.++ ++ </Step>+ <Step>+ Open the new user from the **Users** list, then select **Edit...** on the **Roles** tab.- Then, select **Submit** and open the user record again.+ </Step><Step>- In the **Roles** related list on the user record, select **Edit** and add the `x_infis_approvals.secret-manager-integration` role.+ In **Collection**, search for `x_infis_approvals`, move `x_infis_approvals.secret-manager-integration` to **Roles List**, and select **Save**.This role lets Infisical create access requests in the Infisical application and read their decisions. It doesn't grant approval rights or access to anything else on the instance.+ ++ </Step>+ <Step>+ Select **Set Password**.++ ++ </Step>+ <Step>+ Select **Generate**, copy the password, and select **Save Password**. You'll enter the password in Infisical in [Step 2](#step-2-create-the-app-connection).++ +</Step><Step>Copy the base URL of your instance, such as `https://dev12345.service-now.com`. The URL must use HTTPS and can't include a path or a query string.