Access reviews and ticket-gated access
Two controls that keep access honest: periodic reviews in which reviewers confirm or remove every live grant, and tickets from ServiceNow, Jira or your own service that must back a grant, are re-checked every 5 minutes and receive a work note for each session.
How the two fit together
A grant says who may reach which resource. An access review asks, on a schedule, whether each grant is still needed. A ticket asks, at the moment of the grant and every 5 minutes afterwards, whether there is still a change or incident that justifies it. Use reviews for standing access and tickets for access that exists because of a piece of work; they work together, and a review can clear any grant that was made before a resource started asking for tickets.
Access reviews
Starting a review
Open Operate → Access reviews and choose + New review. The review starts at once and lists every live grant in scope: active, approved (or not needing approval) and not yet ended. For each one it shows who has it, since when, who granted it and when the person last used it.
| Field | Values | Meaning |
|---|---|---|
| Name | Up to 80 characters; default “Access review · Q4 2026” | Shown in the list, mails and audit log. |
| Resources | All resources, or Choose | Scope. A review of a few sensitive resources is quicker to finish than a review of everything. |
| Reviewers have | 7 / 14 / 30 days | Time from opening to the due date. |
| Repeat | Only this time, Every 3 months, Every 6 months, Every year | When a review closes, the next one is scheduled that many months after this one opened, with the same settings. |
| Grants nobody decides on by the due date | Remove them, or Keep, and flag in the report | The rule for silence, explained below. |
What reviewers decide
Admins and operators review. Select one or many rows (the filters To decide, Unused, Directory and Decided help) and use Decide on the selected grants.
- Keep: the grant stays as it is.
- Revoke: the grant is ended when the review closes.
- Limit until a future date: the grant is given that end date, if it is earlier than the one it has. Use it for “still needed for the migration, but only until 15 December”.
- Remove from group: the only choice besides Keep for a directory grant. It marks the person for removal from the directory group; you do that in your directory.
Decisions are saved as you click and can be cleared; nothing changes for anyone until the review closes. The Last used column is the newest allowed access to that resource in the audit log; a grant unused for 90 days or more, or never used, is flagged (Unused 90+ days) and is the first candidate for Revoke. Nobody decides on their own access: those rows say another reviewer must decide.
Closing, and what happens on revoke
A review closes when someone chooses Close and apply, or by itself at its due date: the job that runs every hour closes whatever is past due, so a review can close up to an hour late. Closing applies every decision:
- Revoked grants end immediately, the person’s open sessions on that resource are cut by the live-session recheck within about a minute, and the grant keeps the reason
review:<id>. The person can request access again; nothing is deleted. - Limited grants get their new end date. Kept grants are untouched.
- Grants nobody decided on follow the review’s rule. With Remove them they become Revoked (no answer), with two exceptions that are only flagged as No answer: directory-group grants and the reviewers’ own grants (admins and operators). With Keep, and flag in the report nothing changes and the report lists them as not reviewed.
- A grant that ended or was removed while the review was open is reported as Ended before close and not touched.
Cancel review (asks to confirm) ends it with no access changed. Export CSV downloads one line per grant with the columns user, email, role, resource, granted, granted_by, ends, source (grant or directory group), last_used, decision, limit_to, decided_by, decided_at and outcome: the evidence an auditor asks for. Anyone who can read the console, Auditors included, can open and export a review; deciding, closing and cancelling need Admin or Operator.
Reminders
When a review opens with at least one grant, every active Admin and Operator gets an e-mail (if Platform → Email is configured, see Identity), a bell notification (Access review open) and a push on the mobile app. A week and a day before the due date the same people are reminded, but only while grants are still undecided. Closing raises Access review closed with the counts. The Access reviews sidebar entry shows how many grants wait for a decision.
Ticket-gated access
What a resource can ask for
Every resource has one of three rules. The workspace sets a default under Platform → Ticketing and each resource can differ in the Resources table on the same page.
| Rule | Effect |
|---|---|
| No ticket | Grants need no ticket. A ticket may still be typed and is then kept on the grant. |
| Ticket required | Every request and every admin grant must name a ticket. An approver still decides. |
| Approved ticket is enough | As above, but a ticket that is approved in the ticket system opens access at once, with no human approver. Needs ServiceNow, Jira or an HTTPS endpoint; with “Ticket numbers only” it behaves as Ticket required. |
A new rule applies to new requests and grants. Existing grants without a ticket keep working until they end; the Resources table shows how many live grants have a ticket and how many do not, and an access review can clear the rest.
Connecting a ticket system
Only Admins can open Platform → Ticketing. Choose the system, fill in the fields below, set States that allow access, and use Look up with a real ticket number and an e-mail in For before you save: it shows the ticket, its state, approval, window and assignee, and whether that person could get access with it. Credentials are stored encrypted; leaving the password field empty keeps the saved one as long as the system kind and address are unchanged.
ServiceNow
| Field | Example | Notes |
|---|---|---|
| Instance | https://acme.service-now.com | Root of the instance; a path after the host is kept. |
| User | captivo.integration | An integration account. It needs read access to the chosen tables and write access to work notes (the itil role covers both). |
| Password | •••••••• | Basic authentication. Required. |
| Look numbers up in | Change requests CHG…, Incidents INC… | Choose at least one of: Change requests (CHG), Incidents (INC), Change tasks (CTASK), Requested items (RITM), Catalog tasks (SCTASK), Problems (PRB). A number is looked up in the table its prefix names, if enabled; other numbers are tried in every enabled table. |
| States that allow access | Implement, Scheduled | Default: New, Assess, Authorize, Scheduled, Implement, In Progress, On Hold. Names are compared as ServiceNow displays them, ignoring case. |
Captivo reads the ticket's number, short description, state, approval (approved, rejected or requested), start and end date, and the assignee's e-mail. An approval of “rejected” always refuses the ticket; “requested” means not approved yet; tickets with no approval at all count as valid but never as approved, so under “Approved ticket is enough” they still wait for a person. start_date and end_date become the change window.
Jira Service Management
| Field | Example | Notes |
|---|---|---|
| Site | https://acme.atlassian.net | Jira Cloud site address. |
| Account e-mail | itsm-bot@acme.example | The Atlassian account that owns the token. Required. |
| API token | •••••••• | Required. Used with the account e-mail. |
| Window start field / Window end field | customfield_10015 / customfield_10016 | Optional. The ids of the custom date fields that hold the change window. Without them the ticket has no window. |
| States that allow access | In Progress, Implementing | Default: Open, Planning, Awaiting approval, Awaiting implementation, Implementing, In Progress, Work in progress, Pending, Waiting for support. |
Tickets are identified by their key, which must look like OPS-123. Approval comes from the Service Management approvals on the request: all approvers approved means approved, any decline refuses the ticket, and an issue without approvals is valid but never approved. With the assignee check on, the account must be able to see the assignee’s e-mail.
HTTPS endpoint (your own service)
For BMC Remedy, Freshservice, a spreadsheet or any system without a built-in integration. Set Endpoint URL (the full URL, for example https://itsm.example.com/captivo) and, optionally, a Bearer token sent as Authorization: Bearer …. States and assignee rules are decided by your service: it answers “valid” or not. Captivo sends a POST for each check:
POST /captivo
Authorization: Bearer <token>
Content-Type: application/json
{ "event": "ticket.check", "ticket": "CHG0030001",
"user": { "email": "vendor@acme.example", "name": "Ana Vendor" },
"resource": { "id": "clx...", "name": "db01.corp.example" },
"workspace": "acme" }
200 OK
{ "valid": true, "approved": true,
"state": "Implement", "title": "Patch CRM database",
"startsAt": "2026-11-26T20:00:00Z", "endsAt": "2026-11-26T23:00:00Z",
"assignee": "vendor@acme.example", "url": "https://itsm.example.com/CHG0030001" }
# unknown ticket: HTTP 404, or 200 { "found": false }
# refused: 200 { "valid": false, "reason": "Change is cancelled" }Only valid (a boolean) is required; omit it and the answer is treated as unreadable. reason is shown to the person when valid is false. For work notes Captivo posts { "event": "ticket.note", "ticket": "CHG0030001", "kind": "open" | "close", "text": "…" } to the same URL and expects a 2xx.
Settings every system shares
- Only the person it is assigned to (off by default): the ticket’s assignee must be the person asking, compared by e-mail. It stops someone using a colleague’s change number.
- Add work notes to the ticket (on by default): see below.
- Ticket numbers only: no system. People type a number; it is kept on the grant, in the audit log and on recordings, but nothing checks it, so approvers do.
What happens when someone asks
- The request dialog (or the admin’s grant dialog) shows a Ticket field. On a resource that needs one, nothing can be submitted without it. A number is tidied first (ServiceNow and Jira numbers are upper-cased; a Jira key must look like OPS-123; other numbers may use letters, digits and . _ : / # -, up to 64 characters).
- The ticket is looked up (8 seconds at most). It must exist, be in an allowed state, be assigned to the person if that check is on, not be rejected, and its window must not be over. Otherwise the request is refused with the reason, for example The ticket is “Closed”, a state that doesn’t allow access.
- The requested times are fitted into the ticket’s window: access starts no earlier than the window opens and ends no later than it closes. If the window ends before the access would start, the request is refused.
- Under Approved ticket is enough, an approved ticket opens the access at once. In every other case an approver decides, and sees the ticket and its state.
- If the ticket system does not answer, nothing is opened by a ticket. A request waits for an approver; the approver’s click checks the ticket again, blocks the approval if the system now refuses it, and approves (noting that the ticket could not be checked) if it is still silent. An admin creating a grant is offered You can still grant it; the grant and the log then say it wasn’t checked.
The 5-minute recheck
Every 5 minutes the tickets behind live grants are asked again, up to 100 tickets per workspace per pass, least recently checked first. Then:
- A ticket that was closed, cancelled, rejected, moved out of an allowed state, reassigned (with the assignee check on) or whose window ended ends its grants (reason
ticket:state,ticket:window_overand so on). Open sessions are cut within about a minute. A request still waiting is denied instead. The bell shows Ticket closed access. - A window that moved earlier moves the grant’s end with it. A window that moved later does not extend the grant.
- A request waiting on a resource set to Approved ticket is enough opens as soon as its ticket is approved (Ticket approved access).
- An outage ends nothing. If the ticket system does not answer, no grant is opened or ended because of it, so a ServiceNow maintenance window cannot lock every vendor out. A wrong password or an unreachable address stops the pass at once. The Ticketing page then shows Not answering with the reason; it shows Answering with a time when it works.
Work notes written back
With work notes on, when a session under a ticketed grant opens and closes, Captivo adds a note to the ticket (a work note in ServiceNow, an internal comment in Jira, a ticket.note call to your endpoint). For example:
Captivo Access: Ana Vendor (vendor@acme.example) opened a session to db01.corp.example at 2026-11-26 20:04 UTC. Recordings: https://acme.cloud.captivo.io/admin/recordings?q=CHG0030001
Captivo Access: Ana Vendor (vendor@acme.example) closed the session to db01.corp.example at 2026-11-26 21:19 UTC after 75m.The recordings link appears only where sessions are recorded; sessions with your own SSH or Remote Desktop client or through a TCP tunnel are marked “(not recorded)” and carry no link. A web app opens a session per page load, so an “opened” note is written at most once per grant per 30 minutes. Notes are queued with the audit entry and sent by the same 5-minute job; a note that fails is retried with growing delays (up to 6 hours) and given up after 8 attempts. The Ticketing page shows how many notes were added this week and how many are not sent yet. The ticket number is also on the grant, in the audit log, and on recordings: search Recordings for it.
More on recordings in Recording and monitoring.
Worked examples
A ServiceNow change number before any grant
- In ServiceNow create an integration user
captivo.integrationwith the itil role. - In Platform → Ticketing choose ServiceNow: Instance
https://acme.service-now.com, Usercaptivo.integration, the password, and tick Change requests. Leave the default states. Set Resources ask for, by default to Approved ticket is enough. - Click Look up with
CHG0030001and Forvendor@acme.example. A green line says that person could get access with it, “at once” if it is approved. Save. - The vendor requests access to db01.corp.example and types
chg0030001. Captivo upper-cases it, finds the change in state Implement with an end_date of 23:00 UTC, fits the request to that window and, because the change is approved, opens the access without anyone clicking. The audit log shows Approved access request … ticket CHG0030001 is approved in ServiceNow. - At 23:00, or earlier if someone closes the change, the next 5-minute pass ends the grant. The change’s work notes show who connected and for how long.
A quarterly review of production databases
Start + New review named “Production databases · Q4 2026”, Resources → Choose (your three database resources), Reviewers have 14 days, Repeat Every 3 months, silence → Remove them. Reviewers filter by Unused, mark the stale vendor grants Revoke, mark a contractor still on the migration Limit until 15 December, and Keep the rest. Two weeks later the hourly job closes the review; the vendors’ unused grants end, and the next review is already scheduled for January. Export the CSV for your auditor.
What the audit log shows
| Action | Summary (example) |
|---|---|
| review.create | Created access review "Production databases · Q4 2026" (quarterly) |
| review.decide | Marked 4 grants "revoke" in access review "…" |
| grant.revoke | Revoked Ana Vendor's access to db01.corp.example (access review "…", no decision when it closed) |
| review.close / review.cancel | Closed access review "…": 31 grants, 5 revoked, 24 kept |
| grant.approve (system) | Approved access request …: ticket CHG0030001 is approved in ServiceNow |
| grant.revoke (system) | Revoked Ana Vendor's access to db01.corp.example: The ticket is "Closed", a state that doesn't allow access. (ticket CHG0030001) |
| grant.deny (system) | Denied access request …: … (ticket CHG0030001) |
| grant.update (system) | Moved the end of … to ticket CHG0030001's window |
| grant.create | Created access grant … for ticket CHG0030001 (not checked: the ticket system did not answer) |
Entries made by the job carry the actor “system”, so the log shows that a review or a ticket, not a person, ended the access.
Limits and defaults
- One ticket per grant. A grant over several resources shares one number, and the ticket is checked without a single resource in mind.
- A ticket lookup waits 8 seconds. The recheck covers 100 tickets per workspace per 5-minute pass.
- Review due dates are 7, 14 or 30 days; up to 2,000 rows take one decision at a time; the review job runs hourly.
- Listing states: up to 30. Jira field ids look like customfield_10015.
- Not available: creating tickets from Access, showing tickets in the mobile app, and reaching an internal ticket system through a connector.
Common problems
| Symptom | Cause and fix |
|---|---|
| Ticketing shows Not answering: “refused the account (HTTP 401)” | Wrong user, password or token, or the account lacks rights. Re-enter the secret and Save; use Look up to confirm. |
| “private network, which Captivo Access Cloud can't reach” | On Cloud the ticket system must be reachable from the internet. Publish it behind a firewall rule for Captivo, or use the HTTPS endpoint kind in front of it. |
| “The saved password or token can't be read; enter it again.” | The encryption key changed since it was saved (typical after moving a self-hosted server). Enter the secret again. |
| A valid ticket is refused with “a state that doesn't allow access” | Your workflow uses other state names. Add them under States that allow access exactly as the system displays them. |
| “has no ticket with that number” | For ServiceNow the number’s table may not be ticked in Look numbers up in, or the account cannot read it. |
| Access ended early | The ticket was closed or its window moved earlier; read the grant’s revoke reason (ticket:…) and the audit entry. |
| Notes missing on the ticket | Check that Add work notes to the ticket is on and the account may write notes; “N not sent yet” on the Ticketing page means retries are pending. |
| A review did not remove a grant | It was a directory-group grant, one of the reviewers’ own, or the review is set to Keep. Directory grants end by removing the person from the group. |
| No reminder mails | Email is not set up; see Identity. The bell notification still appears. |
See also vendor access and grants and policies.