Skip to main content

Tool Approvals (Beta)

AI & Tools → Security → Tool Approvals

When NuBi wants to run something that could change a system, it stops and asks a person to approve it. Tool approval rules let you skip that confirmation for specific, known-safe calls — a particular command on a particular account — so routine work isn't held up, while everything else still asks.

Skip interactive confirmation only when the selected tool, account, command, and arguments match.

Tenant admins and super admins (including read-only ones) can see this tab; tenant admins and super admins can add or change rules.

Rules take effect only when automatic approval is enabled for your installation. If it isn't, the tab shows Automatic approval is disabled and every call that needs approval still asks.

Rules​

Each rule card shows the tool, the account and a revision number, with an Enabled switch and Edit / Delete. With no rules: "No automatic approval rules" — every call that needs approval asks.

Add a rule​

Add rule opens the rule form:

FieldMeaning
Rule nameA name for the rule
ToolThe tool the rule applies to
ScopeOrganisation or Selected accounts (for account tools), or All integrations / Selected integrations (for integration tools)
Also apply in background runsOff: the rule skips the prompt only when a signed-in person made the request. On: it also applies when nobody is signed in — system jobs, API calls without a user, or chat users whose NudgeBee account isn't linked
Match typeHow calls are matched — see below
CLI command, Working directory, Execution targetWhat must match, depending on the match type

Match types, from narrowest to broadest:

Match typeApproves without asking when…
Exact CLI commandThe command is exactly the one you entered
Regular expression (RE2, advanced)The command matches your expression
Argument conditionsThe call's arguments meet the conditions you set
Entire tool (broad)Any call to the tool — use with care

In a chain (&&, ;, |) every command must match the rule on its own, and a command substitution ($(…) or backticks) always asks — so an Exact CLI command rule for one command does not approve a pipeline that contains it.

Click Save rule. Start with Exact CLI command for the commands your team approves every day, and widen only when you need to.

What users see in chat​

A call that a rule allowed runs without the approval sheet and shows an Auto-approved chip; its tooltip names the rule. The approvals chip in the answer's header opens a drawer that lists it as Approved by rule. See Using the Chat.