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
improved wording for Request Form Fields
Andrey2318a2a972d1
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.tsindex 44903f9dd5..0fa081b51b 100644--- a/backend/src/lib/api-docs/constants.ts+++ b/backend/src/lib/api-docs/constants.ts@@ -4737,7 +4737,7 @@ export const APPROVAL_POLICY_AUTO_APPROVAL = {autoApproval:"Rules that approve a request instantly when another system already vouches for it. Sending this replaces the policy's inputs and rules; omit it to leave them unchanged.",inputs:- "Request information: records requesters can link when they submit, such as a Jira ticket. Each one adds an optional field to the request form.",+ "Request form fields: records requesters can link when they submit, such as a Jira ticket. Each one adds an optional field to the request form.",inputConnectionId: "The ID of the App Connection the record is read through.",inputSubject:"What the requester links, from the connection's subjects in the auto-approval catalog (e.g. 'submitted-ticket').",@@ -4751,7 +4751,7 @@ export const APPROVAL_POLICY_AUTO_APPROVAL = {constraint: "Which check to run, from the subject's constraints in the auto-approval catalog (e.g. 'status').",values: "The values the check accepts. Several values mean any of them; checks that take no value use an empty list.",requestInputs:- "Values for the policy's request information, such as a Jira ticket key or link. Malformed values are rejected.",+ "Values for the policy's request form fields, such as a Jira ticket key or link. Malformed values are rejected.",requestInputValue: "The value the requester entered, such as 'PAY-123' or a link to the ticket.",outcome:"How the policy's auto-approval rules evaluated this request at submission. Null when the policy had no rules or the resource does not allow auto-approval.",diff --git a/backend/src/services/approval-policy/approval-policy-service.ts b/backend/src/services/approval-policy/approval-policy-service.tsindex 93a75b8feb..a9ce2270c4 100644--- a/backend/src/services/approval-policy/approval-policy-service.ts+++ b/backend/src/services/approval-policy/approval-policy-service.ts@@ -2205,7 +2205,7 @@ export const approvalPolicyServiceFactory = ({return { grant: updatedGrant, request };};- // The request information a requester can link for a policy, or none when the resource keeps its rules off+ // The request form fields a requester can fill in for a policy, or none when the resource keeps its rules off// Whether the policy's auto-approval rules apply to this request, and the inputs its form asks forconst $getAutoApprovalRequestState = async (policyType: ApprovalPolicyType,diff --git a/backend/src/services/approval-policy/approval-request-dal.ts b/backend/src/services/approval-policy/approval-request-dal.tsindex 1ea55bbb79..ec0ca64d0a 100644--- a/backend/src/services/approval-policy/approval-request-dal.ts+++ b/backend/src/services/approval-policy/approval-request-dal.ts@@ -78,7 +78,7 @@ export const approvalRequestDALFactory = (db: TDbClient) => {}};- // Whether an approved request on the policy already linked this record through auto-approval request information+ // Whether an approved request on the policy already linked this record through an auto-approval request form fieldconst hasApprovedRequestLinkingRecord = async ({policyId,diff --git a/backend/src/services/approval-policy/auto-approval/auto-approval-dal.ts b/backend/src/services/approval-policy/auto-approval/auto-approval-dal.tsindex 2955e24ffa..a18af187f8 100644--- a/backend/src/services/approval-policy/auto-approval/auto-approval-dal.ts+++ b/backend/src/services/approval-policy/auto-approval/auto-approval-dal.ts@@ -111,7 +111,7 @@ export const approvalPolicyAutoApprovalDALFactory = (db: TDbClient) => {const inputId = isRequester ? null : inputIdByKey.get(`${condition.connectionId}:${condition.subject}`);if (!isRequester && !inputId) {throw new BadRequestError({- message: `Rule '${rule.name}' checks '${condition.subject}', which is not in the policy's request information`+ message: `Rule '${rule.name}' checks '${condition.subject}', which is not in the policy's request form fields`});}diff --git a/backend/src/services/approval-policy/auto-approval/auto-approval-schemas.ts b/backend/src/services/approval-policy/auto-approval/auto-approval-schemas.tsindex 2f49f30fd5..c3a10aec98 100644--- a/backend/src/services/approval-policy/auto-approval/auto-approval-schemas.ts+++ b/backend/src/services/approval-policy/auto-approval/auto-approval-schemas.ts@@ -21,7 +21,7 @@ export const AutoApprovalConfigSchema = zsubject: IdentifierSchema.describe(DOCS.inputSubject)}).array()- .max(10, "A policy can ask for at most 10 pieces of request information")+ .max(10, "A policy can have at most 10 request form fields").describe(DOCS.inputs),rules: z.object({diff --git a/backend/src/services/approval-policy/auto-approval/auto-approval-service.ts b/backend/src/services/approval-policy/auto-approval/auto-approval-service.tsindex 18eec1de05..cdeed8eaa0 100644--- a/backend/src/services/approval-policy/auto-approval/auto-approval-service.ts+++ b/backend/src/services/approval-policy/auto-approval/auto-approval-service.ts@@ -147,7 +147,7 @@ export const autoApprovalServiceFactory = ({}if (inputKeys.has(key)) {throw new BadRequestError({- message: `Request information asks for ${subject.input.label} from '${connection?.name}' more than once`+ message: `The ${subject.input.label} field from '${connection?.name}' is added more than once`});}inputKeys.add(key);@@ -168,7 +168,7 @@ export const autoApprovalServiceFactory = ({}if (!isRequester && !inputKeys.has(`${condition.connectionId}:${condition.subject}`)) {throw new BadRequestError({- message: `Rule '${name}' checks the ${subject.label} from '${connectionName}', so add it to the request information first`+ message: `Rule '${name}' checks the ${subject.label} from '${connectionName}'. Add it to the request form fields first.`});}@@ -290,7 +290,7 @@ export const autoApprovalServiceFactory = ({if (!connection || !definition) {throw new BadRequestError({message:- "The connection behind this request information is no longer available. Ask an admin to update the approval policy."+ "The connection behind this request form field is no longer available. Ask an admin to update the approval policy."});}diff --git a/docs/documentation/platform/pam/access-requests/auto-approval.mdx b/docs/documentation/platform/pam/access-requests/auto-approval.mdxindex e7fab952f0..4c2df5b66a 100644--- a/docs/documentation/platform/pam/access-requests/auto-approval.mdx+++ b/docs/documentation/platform/pam/access-requests/auto-approval.mdx@@ -46,7 +46,7 @@ If an account's template doesn't allow auto-approval, the folder's rules don't aThe **Auto-Approval** card on the folder's **Approvals** tab has two parts:-- **Request Information**: the records that requesters can link when they request access, such as a Jira ticket (each one you add puts an optional field on the request form)+- **Request Form Fields**: the optional fields on the request form where requesters link records from other services, such as a Jira ticket- **Rules**: the conditions a request has to meet to be approved without an approverA request is approved if every condition in at least one rule passes.@@ -58,7 +58,7 @@ To add rules:On the **Accounts** page, select the folder's three dot menu, select **Configure**, then open the **Approvals** tab.</Step><Step>- In the **Auto-Approval** card, under **Request Information**, select **Add Field** and choose the record to ask for, such as **Jira ticket** for your Jira connection.+ In the **Auto-Approval** card, under **Request Form Fields**, select **Add Field** and choose the record to ask for, such as **Jira ticket** for your Jira connection.</Step><Step>Under **Rules**, select **Add Rule**, then replace the rule's default name with one that describes what the rule checks, such as `Approved change ticket`. Approvers see this name on every request the rule approves. A new rule starts with the **hasn't been used before** and **is assigned to the requester** checks on each record the folder asks for.diff --git a/frontend/src/pages/pam/components/auto-approval/AutoApprovalCard.tsx b/frontend/src/pages/pam/components/auto-approval/AutoApprovalCard.tsxindex d060709780..4db5d4d09b 100644--- a/frontend/src/pages/pam/components/auto-approval/AutoApprovalCard.tsx+++ b/frontend/src/pages/pam/components/auto-approval/AutoApprovalCard.tsx@@ -145,9 +145,10 @@ export const AutoApprovalCard = ({<section className="flex flex-col gap-3"><div className="flex items-start justify-between gap-4"><FieldContent>- <FieldTitle>Request Information</FieldTitle>+ <FieldTitle>Request Form Fields</FieldTitle><FieldDescription>- Records requesters link when asking for access.+ Optional fields on the access request form, such as a Jira ticket. Rules check+ what requesters enter.</FieldDescription></FieldContent><DisabledReason reason={addInputBlocker}>diff --git a/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx b/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsxindex 972ee1f156..b404cab5b2 100644--- a/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx+++ b/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx@@ -226,7 +226,7 @@ export const AutoApprovalRuleCard = ({let addConditionBlocker: string | undefined;if (choices.length === 0) {- addConditionBlocker = "Add a field under Request Information first, so rules can check it.";+ addConditionBlocker = "Add a field under Request Form Fields first.";} else if (menuGroups.length === 0) {addConditionBlocker = "Every available check is already in this rule.";}