Just-in-Time Access
Just-in-time access gives a person access to a destination for a limited time, after someone else has approved it. A technician asks for one destination, says for how long and why, a member of an approver group decides, and the access ends by itself when the time is over.
In short
Mark a policy Requires approval. Its sources can then request time-limited access to its destinations, and an approver decides. The access is for that person and that destination only, and it ends by itself. A report lists what they reached. To set it up, see Give a Contractor Temporary Access.
Why
Permanent access for people who need a system once in a while, such as external technicians, auditors or on-call engineers, is access that nobody reviews. With just-in-time access they have no access by default, you decide per request, and the access disappears without anyone having to remember to remove it. Every step is logged, and afterwards you see which addresses the person reached.
It works for every kind of destination a Policy can name: Assets, Virtual Assets, Subnets, Machine Groups and the Portals of Agentless Access, through the tunnel as well as in the browser.
The model
Access on approval starts with an ordinary policy marked Requires approval. Such a policy grants nothing by itself:
- Its Sources (User Groups) say who may ask for access.
- Its Destinations say what may be asked for.
- Its Conditions apply to the access once it is granted, for example an operating system condition or allowed origins. If the policy has time conditions of its own, an approval grants only the time inside them.
- The Approver groups are the User Groups whose members decide.
- The Longest approval is the longest time an approval may grant, from 5 minutes to 7 days. It has no default: you choose it for every policy that requires approval.
When an approver approves a request, the technician gets access to exactly the requested destination, for the approved time and only for themselves. Nobody else in the source groups gains anything. The access follows the technician like any user-based access: it applies while they are signed in on their Client.
The setup, step by step, is in the guide Give a Contractor Temporary Access. The fields are in Policies.
Lifecycle
-
Request. Technicians and approvers do not need administrator rights. They open a self-service page of the Admin Console and sign in with their usual identity provider login. A technician chooses a destination, the start and the duration (at most the policy's longest approval) and gives a reason. See My access.
-
Decision. Every member of an approver group is told by email, and optionally in a Teams, Slack or Google Chat channel. An approver approves, optionally with a shorter or later window and a note, or denies with a note. See My access and Access requests.
-
Active. The access starts at the approved time. The technician is told when it starts, and 10 minutes before it ends.
- End. The access ends when the time is over, or earlier. Tunnel connections to the destination are removed within about a minute, and a browser session on a portal stops working.
A request is pending, approved, active, denied, cancelled, expired or ended. A pending request stays valid until the end of the time it asks for; an approver can still approve it after its start has passed, and the access then starts at the approval and ends as requested. If nobody decides in time, the request is withdrawn on its own (cancelled), the technician is told and can ask again.
More time
While a request is approved or active, the technician can ask for more time, with a reason that the approvers see. Each extension adds at least 5 minutes and at most the policy's longest approval. An approved extension takes effect without a gap. The report covers the access up to its final end.
Ending early
The technician, an approver or an administrator can end active access at any time, and withdraw an approved request before its time starts. When someone other than the technician ends it, the technician's devices are signed out and sign in again without the access.
The access also ends by itself when the policy it was granted under changes: when the policy is deleted or disabled, no longer requires approval, no longer names the destination, or the technician leaves its source groups. It ends too when the policy's Conditions change or its Longest approval is lowered below the access, so that a restriction added after the approval applies at once. Renaming the policy or changing its approver group ends nothing.
Who decides
Nobody can decide their own request or extension, also when they are in the approver group. An approver group whose members also ask for access needs at least two people. Administrators see all requests on the Access requests page, but decide only if they are in the approver group.
Where people are told
- Email to the technician and to the approvers at every step.
- A chat channel (Teams, Slack or Google Chat), set up under Settings, gets a message when a request or an extension waits and when it was decided. The Approve and Deny buttons in the channel decide nothing by themselves: they open the request in the console, which asks the approver to sign in and then to confirm. So a forwarded message or a link preview never decides a request. See Settings.
- The agent and the app show a notification of the device; a click opens My Access. On iOS and Android, the app has an Approvals page where approvers decide a request after confirming with the phone's screen lock. See My Access.
Report
A few minutes after the access has ended, the report goes out by email, and it can be opened from the request: who asked, why, who approved, when the access started and ended, the sign-ins and other events of the technician during that time, and every address the technician's device reached through the destination's gateway, with protocol, port, first and last access and the number of connections. Traffic volumes are not part of the report. The email lists the 30 most used addresses and the first 30 events; the request in the console lists all of them.
Who gets the email is set in Settings > General > Access report email: the approver group of the policy (except the technician), and up to 50 more recipients, for example an audit mailbox. The report always stays on the request, and the events reach the event log, whatever the email setting.
Events
Every step of a request, and every address reached during a granted access, is an event in the event log (event class Just-in-time access under Insights > Events), and a forwarder delivers them to your SIEM. See jit_access for the events and their fields, and Wazuh for the rules.
Sign-ins on the self-service page, and everything done in that session, carry
the session type jit_self_service rather than command_console. That keeps the
technicians' sign-ins apart from the administrators'.
Limits
- Longest approval: 5 minutes to 7 days. Recurring requests (the same hours on chosen days) can span at most 180 days.
- A technician has at most one open request per destination, and one extension waits for a decision at a time.
- All Users cannot be the approver group.
- If another policy already gives the same people the same access without approval, that access stays, and a request adds nothing. The policy form warns about it.
- The report lists the addresses reached only for assets whose agent reports network activity: Linux and Windows agents with access tracking enabled. For other destinations the request works, but the report has no addresses.
- External technicians need a user in your tenant.
- Notifications in the agent and app arrive only while the agent runs. The agent notices a decision usually within two minutes. Pages and notifications for portals need a current agent on the gateway.





