naming-standard.json
Config/naming-standard.json defines how Harbor Onboard builds and checks safe
names. The shipped values are rendered on
Safe naming standard / RBAC map.
Edit it in the console: Standards (under Settings & Admin). The editor has a length-budget bar for each segment, validates before saving, can Preview impact on the safes already in your register, keeps a backup and records the change in the change history. Only admins can save.
Fields
Section titled “Fields”| Field | Meaning |
|---|---|
separator |
The character between segments. Shipped: -. |
maxTotalLength |
The longest name allowed. Shipped: 28, CyberArk’s limit. This total is the binding rule for both formats. |
organisation |
The fixed ORG segment, for example AB. |
enforceAllowedValues |
false (shipped): allowedValues are examples, and any letters-and-digits value that fits a segment’s length is accepted. true: only the listed values are accepted. |
segmentOrder |
The order of the segments of shared and service safe names, for example ["ORG","APP","TECH","SUB","ACT","SFT","MGD","ENV"]. |
segments |
One entry per segment after ORG (see below). |
safeTypeMap |
Every safe type, with the letters it derives (see below). |
personal |
The separate format of personal safes (see below). |
A segment
Section titled “A segment”{ "key": "APP", "name": "Application", "required": true, "source": "input", "min": 3, "max": 5, "allowedValues": ["PAS", "INV"] }| Field | Meaning |
|---|---|
key |
The segment’s key in segmentOrder. |
name |
The label the console shows. |
required |
Must have a value. |
source |
input: the operator enters it. auto: derived from the safe type (derivedFrom: "safeType"). |
min, max / length |
The length budget. The budgets are guidance; all maximums cannot be used at once within 28 characters. |
allowedValues |
Example values, offered as choices; enforced only with enforceAllowedValues. |
Safe types
Section titled “Safe types”"safeTypeMap": { "shared-managed": { "SFT": "I", "MGD": "M", "description": "Shared interactive accounts with CPM rotation" }, "personal": { "template": "personal", "description": "Individual safe" }}SFT and MGD are the letters the safe type writes into the name; operators never
type them. A type with "template": "personal" uses the personal format. The
shipped types are shared-managed, shared-unmanaged, svc-managed,
svc-unmanaged and personal.
personal and shared-managed produce the same I-M letters, so a name alone
reads as shared-managed; a personal safe is recognised by its register entry.
The personal format
Section titled “The personal format”"personal": { "segmentOrder": ["IND", "LOC", "SAM"], "segments": [ { "key": "IND", "source": "fixed", "value": "I", "length": 1 }, { "key": "LOC", "source": "cpm", "min": 2, "max": 4, "allowedValues": ["AZR", "AWS"] }, { "key": "SAM", "source": "input", "min": 1, "max": 20, "charset": "sam" } ]}A personal safe is named I-<CPM location>-<sAMAccountName>, with no organisation
prefix. The location comes from the managing CPM chosen at creation (each CPM in
the profile’s cpms list carries one). The account name keeps its case and may
contain dots, hyphens and underscores.
Not part of the name
Section titled “Not part of the name”The unique ID (for example AB01) is not a segment. It is generated per safe
and stored in the register and in the safe’s description, as the link to your
CMDB.
Check a name
Section titled “Check a name”Test-PAMNamingStandard -Name 'AB-PAS-SRV-WIN-DA-I-M-P'Test-PAMNamingStandard -App PAS -Technology SRV -SubType WIN -AccountType DA -SafeType shared-managed -Environment P -ShowBudgetOr Validate / Build in the console.
Names outside the standard
Section titled “Names outside the standard”A safe that cannot follow the standard can still be created or accepted as a
governed exception, with a mandatory reason that is recorded and shown on
every compliance report: New-PAMSafe -Name '<name>' -SafeType <type> -ExceptionReason '<reason>',
or Approve-PAMSafeException for a safe that already exists.
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
