iFlowTailor 1.11.0 is out (21 November 2026): inline debugger with playback, workbenches for Event Mesh and API Management, and training with 90 lessons. What’s new → +43 664 1964199Book a demo →

Team policies

A team policy sets rules for everyone on the team, on top of the personal settings: which review rules apply and how strictly, whether read-only is enforced, which write actions are blocked, whether and where Ask Tailor may send data, custom rules and risks accepted for the whole team. Exactly one policy is active at a time.

Edition
Partner, Team
Where
Settings › “Team policy” card; Policy Studio in the “More” menu › “Security & governance”
Sources
browser management (no signature), file or HTTPS URL (signed)
Format
JSON, version: 1
Signature
Ed25519 over the canonical JSON

Where the policy comes from

SourceIn the “Team policy” cardCondition
IT browser management (policy key)Source: IT browser policyApplies without a signature, cannot be removed in the panel, always takes precedence (Rollout in the company).
FileSource: FileSigned only. Loaded once and kept in the browser profile.
HTTPS URLSource: URLSigned only and https only. The host permission is requested for this address only; the file is loaded without cookies.

You load a file or URL under Settings › Team policy › Load a signed policy: Choose file …, or enter an address in the Policy URL field and click Load. Remove takes it out again.

Team policy card with “Acme – Integration Standards · Source: File · signed · loaded … · valid until …”, below it Read-only enforced, Blocked actions iflow.deploy, variable.delete, datastore.delete, AI allowed only via https://ai.acme.example/ with masking required, Minimum score 70; the Policy Studio block with “Edit in Policy Studio” and “New policy” and the Load a signed policy section
The “Team policy” card with an invented, signed policy.
  1. Name, source, signature, load time and expiry.
  2. What the policy does.
  3. Edit in Policy Studio.

When a policy is active, the card shows its name, the source, · signed, · loaded … and · valid until …, and below that what it does: Read-only enforced, Disabled rules: …, Severity: …, Naming standard: …, Blocked actions: …, AI: …, Custom rules: … and Minimum score: …. Without a policy it says “No team policy active.”

How it combines with your own settings

  • Severity, blocks, naming and read-only: the policy wins. With readOnly: "enforced" the Read-only switch is locked.
  • Disabled rules: those from the policy and your own add up. Rules switched off by the policy appear greyed out in the settings.
  • Accepted risks: acceptances from the policy apply to everyone in the review, marked “Accepted via the team policy – change it there.” (Review).
  • Blocked write actions end with “The team policy blocks “…”.” and an entry blocked in the audit log (Settings and audit log).

The policy fields

FieldMeaning
versionMust be 1.
nameRequired; shown in the “Team policy” card.
issuedAt, expiresAtIssue and expiry date. After expiresAt the policy is rejected.
rules.disabled, rules.severitySwitch review rules off (e.g. "STD-03") or re-rate them: critical, high, medium, info.
namingBinding naming standard for rule STD-01 and the live check when creating artifacts.
readOnlyenforced (switch locked) or default (preset only).
blockedActionsIDs of blocked write actions, such as trace.enable or iflow.deploy; ["*"] blocks all.
aiallowed (Ask Tailor allowed or blocked), endpoints (allowed URL prefixes, https only), requireMasking (masking before sending is mandatory).
webhooksallowed and endpoints (https URLs with a path) for the error watcher’s messages to Teams, Slack or Jira.
customRulesCustom review rules (see below).
cpilintRules taken over from a CPILint rule file (IDs CPL-…) including exemptions.
minScoreMinimum score; the review shows “Team policy: minimum score … reached” or “… not reached”.
acceptancesAccepted risks per iFlow ID: a list of ruleId, comment (required) and optionally location.
testGatemode (off, warn, confirm), minScore (0–100), requireSuite, maxSuiteAgeDays, blockOnCritical. Overrides the local test gate setting.

An example with invented values:

{
  "version": 1,
  "name": "Acme – Integration Standards",
  "issuedAt": "2026-11-01",
  "expiresAt": "2027-10-31",
  "readOnly": "default",
  "rules": { "disabled": ["STD-03"], "severity": { "SEC-02": "critical" } },
  "blockedActions": ["trace.enable"],
  "ai": { "allowed": true, "endpoints": ["https://ai.acme.example/"], "requireMasking": true },
  "webhooks": { "allowed": true, "endpoints": ["https://hooks.acme.example/cpi/"] },
  "minScore": 70,
  "testGate": { "mode": "confirm", "requireSuite": true, "maxSuiteAgeDays": 7, "blockOnCritical": true }
}

Custom rules

Custom rules have IDs of the form X-… (capital letters, digits, hyphen) and run in the review like the built-in ones. Each has title, severity, message and fix, optionally category and rationale. message can use the placeholders name, type, id and value, each in double curly braces. There are two kinds:

  • jsonlogic – a condition over the iFlow’s elements (scope: "element") or the whole iFlow (scope: "iflow"), with when (which elements) and violation (when it is a finding). Every element provides id, name, type, kind, inErrorHandler, properties and iflow. A fixed set of operators is allowed (comparisons, and/or, in, startsWith, match, lower and more); code is never executed.
  • xpath – an XPath expression on the raw .iflw file; every match is a finding.
{
  "id": "X-01", "kind": "jsonlogic", "title": "No HTTP without TLS", "severity": "high", "scope": "element",
  "when": { "==": [{ "var": "kind" }, "adapter"] },
  "violation": { "startsWith": [{ "lower": [{ "var": "properties.address" }] }, "http://"] },
  "message": "Adapter calls an unencrypted address",
  "fix": "Use https or go through the Cloud Connector with TLS"
}

In Policy Studio you write such rules with a form in the Custom rules step (+ Condition rule, + XPath rule, From template) and check them with Live-Test on the open iFlow.

Policy Studio

Policy Studio (More menu › Security & governance, or Team policy card › Open Policy Studio) builds a policy without JSON. The draft is saved locally.

  1. Start: pick a template – Blank, Production (strict), Development team or Review gate – or begin with Load active policy, Use my settings or Open file ….
  2. General: Name, Issued on, Valid until (optional), read-only Default or Enforced, Minimum health score.
  3. Rules: switch rules on and off and re-rate them; only changed shows your deviations.
  4. Naming: set the binding naming standard.
  5. Write actions: block single actions or Block all write actions.
  6. AI: Allowed, Blocked or Not set; allowed endpoints and Masking before sending is mandatory.
  7. Add Custom rules and Accepted risks.
  8. Result & export: Download policy.json, create ready-made files for browser management under Distribute, or take the signing command with Copy command.
Policy Studio with the status valid, the step bar Start, General, Rules, Naming, Write actions, AI, Custom rules, Accepted risks and Result & export, the note “Active policy “Acme – Integration Standards” loaded.”, the General step with Name, Issued on, Valid until, Read-only Enforced and Minimum health score 70 and the card “What this policy does”
The Policy Studio with the loaded Acme policy in the “General” step.

At the top, the studio shows whether the policy is valid or how many problems it has. The Trial run card uses Test on “…” to calculate how the health score of the open iFlow changes with the policy (“Health Score … → …”).

Signed policies

A policy from a file or URL must be signed, so that nobody can change it locally unnoticed. The file then has the form { "policy": { … }, "signature": "…", "kid": "…" }: an Ed25519 signature over the canonical JSON of the policy (sorted keys). Signing happens outside the browser with the script from the iFlowTailor repository:

node scripts/license/sign-policy.mjs --key <private.jwk> --policy policy.json > policy.signed.json

iFlowTailor checks the signature against the public keys built into the extension (the same key list as for licences). The private key never belongs in a repository or in the browser.

When a policy is rejected

The card then shows “Policy (…) rejected: …” with the reason:

MessageCause
“Policy is not signed”File or URL without signature.
“Invalid signature or unknown key”The policy was changed after signing, or the extension does not know the key.
“Policy expired on …”expiresAt is in the past.
“Unknown policy version”, “Policy without name”, “AI endpoint … must use https” …A field is invalid; the message names it.
“https only”, “Access to the host not allowed”, “File is not JSON: …”Error while loading from a URL or file.

See also

Sources on this page

The superscript numbers in the text point here. Tap one to see the source right where it is used; all sources of this website are listed on one page.

  1. 1

    Team policies and custom rules ↑Product · iFlowTailor product documentation, Enterprise rollout and Security Whitepaper, section 5 · checked on 2026-11-04

  2. 2

    Distribution via browser policy ↑Product · iFlowTailor product documentation, Enterprise rollout · checked on 2026-11-04

Frequently asked

Short answers.

Does a team policy have to be signed?
Only if it is loaded as a file or from a URL. From IT browser management it applies without a signature and cannot be removed in the panel.
Can I use several policies at once?
No. Exactly one policy is active at a time; a policy from browser management takes precedence over file and URL.
How do I build a policy without JSON?
With Policy Studio in the More menu › Security & governance: pick a template, go through the steps, test on the open iFlow and export.
Do custom rules execute code?
No. JSONLogic rules use a fixed set of operators without eval; XPath rules run on the .iflw file.

Your question isn’t here? Talk to me: +43 664 1964199 office@clouddna.at Demo on your tenant

Contact

Bring your hardest iFlow.

In 30 minutes we open it together on your tenant: health score, findings with fixes, errors by cause, dependencies. No slides. I will get back to you within one working day.

Martin KochManaging Director, CloudDNAI read every request myself and reply personally.