@probo/skills 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -27,7 +27,9 @@ List entries for a campaign. Primary data source for this command.
|
|
|
27
27
|
| `size` | Page size; use `50` per batch |
|
|
28
28
|
| `cursor` | Resume pagination; store in notes file as `last_cursor` |
|
|
29
29
|
|
|
30
|
-
Returns `entries[]` and `next_cursor`.
|
|
30
|
+
Returns `entries[]` and `next_cursor`. Each entry includes `source_name` and
|
|
31
|
+
nullable `connector_id`; use these fields to identify the source tool. Never
|
|
32
|
+
infer the tool from account IDs, roles, email patterns, or other entry data.
|
|
31
33
|
|
|
32
34
|
### `getAccessReviewStatistics`
|
|
33
35
|
|
|
@@ -72,6 +74,7 @@ Do not call unless the user explicitly asks for campaign setup:
|
|
|
72
74
|
|
|
73
75
|
| Field | Review use |
|
|
74
76
|
| --- | --- |
|
|
77
|
+
| `source_name`, `connector_id` | Authoritative source tool; do not infer it from account data |
|
|
75
78
|
| `email`, `full_name` | Identity |
|
|
76
79
|
| `roles`, `job_title` | Access level |
|
|
77
80
|
| `is_admin` | Heightened scrutiny |
|
|
@@ -8,13 +8,12 @@ varies by environment (there may be more than one Probo server, e.g. US and EU).
|
|
|
8
8
|
|
|
9
9
|
1. **Resolve the organization** — `listOrganizations`, match by name, keep the `id`.
|
|
10
10
|
2. **Resolve the compliance portal** — `getCompliancePortal` with `organization_id`. Keep
|
|
11
|
-
`compliance_portal.id`; every group call
|
|
12
|
-
|
|
13
|
-
3. **Read what already exists** — `listCommitmentGroups` with the `trust_center_id`, and
|
|
11
|
+
`compliance_portal.id`; every group call takes it as the `compliance_portal_id` argument.
|
|
12
|
+
3. **Read what already exists** — `listCommitmentGroups` with the `compliance_portal_id`, and
|
|
14
13
|
`listCommitments` with a `group_id`. Do this so you reuse the existing group instead of duplicating it.
|
|
15
14
|
Order by `{field: "RANK", direction: "ASC"}`.
|
|
16
15
|
4. **Create the single group** — all commitments live under one group titled "Security at <company name>".
|
|
17
|
-
If it does not exist yet, `addCommitmentGroup` with `
|
|
16
|
+
If it does not exist yet, `addCommitmentGroup` with `compliance_portal_id`, `title`, `description`; if it (or
|
|
18
17
|
any other group) already exists, reuse it. Capture the returned `commitment_group.id`. You need it to
|
|
19
18
|
attach commitments.
|
|
20
19
|
5. **Add commitments** — `addCommitment` with `group_id`, `icon`, `eyebrow`, `title`, `description`. These
|