Torii user guide — contents

Docs · Torii

The console

The console is the web application at torii.minatolabs.com. This page covers signing in and out, what you see when you cannot get in, and every screen, with what each one shows today.

What the console is

Two pages at torii.minatolabs.com are public: the home page, which describes Torii, and the page for requesting the agent's source code at /agent-source. Every other page, including any address that does not exist, needs you to be signed in.

  • One console, one organisation. The console serves a single organisation. A session for any other organisation is refused.
  • Your browser only talks to the console. The console's server makes every call to the Torii API on your behalf, with its own credential and your session, so no API credential ever reaches your browser.
  • Your role still decides. You can do only what both your role and the console's credential allow. Organisations and roles explains how.
  • It never shows a guess. When a screen cannot get its data, it says so instead of showing an empty table. See Messages instead of data.

Signing in

Torii has no accounts of its own. You sign in with your minatolabs account, and Torii never sees or stores your password.

  1. Open a console page directly, for example torii.minatolabs.com/runtime.
  2. Torii sends you to the minatolabs sign-in page at accounts.minatolabs.com. Sign in there.
  3. You come back to the page you asked for. If that page cannot be returned to, you land on Runtime.
  • Your email address must be verified in your minatolabs account.
  • You must already belong to an organisation in Torii. Torii does not create an account the first time you sign in. Today minatolabs links your minatolabs account to an organisation and gives you a role.
  • A session lasts up to 12 hours. After that you are sent to sign in again.
  • A session belongs to one organisation. If you belong to more than one, you are signed in to the one you joined first.
  • A sign-in left unfinished expires. If you take more than 10 minutes at the minatolabs sign-in page, start again from a console page.

When you cannot get in

If the sign-in itself is refused, the browser shows a short message in a plain data format rather than a page, for example:

A refused sign-in
{"error":"no_account","detail":"There is no Torii account linked to this identity. An existing member must invite you."}
What you seeWhat it meansWhat to do
no_accountThere is no Torii account linked to this identity. An existing member must invite you.Your minatolabs account is not linked to Torii. There is no invitation feature yet; ask minatolabs.
no_organisationThis account is not a member of any organisation. An existing member must invite you.Your account is linked but belongs to no organisation. Ask minatolabs.
email_not_verifiedVerify your email address with the identity provider first.Verify the address in your minatolabs account, then sign in again.
account_requires_operator_reviewThe email address held by the identity provider no longer matches the one linked to this account. An operator must resolve this before sign-in can continue.Your minatolabs address changed after you were linked. Only minatolabs can resolve it.
authentication_failedThe sign-in did not complete, for example because the return page was reloaded or the attempt expired.Start again from a console page.
identity_unavailableSign-in is temporarily unavailable. Please try again shortly.Wait and try again.
rate_limitedToo many sign-in requests arrived in the last minute.Wait a minute and try again.

If you are signed in but the console cannot let you in, it answers with one of two plain messages instead of the console:

MessageWhat it means
This console belongs to a different organisationYou are signed in, but to another organisation. Signing in again will not change that. Ask an administrator of this organisation for access.
Sign-in could not be checkedThe console could not confirm your session, so it shows nothing rather than show it to the wrong person. Try again in a moment.

Once you are in, a screen whose data your role may not read shows You don't have access to this in place of the data.

Signing out

  1. Open the account menu: your avatar at the right of the top bar.
  2. Choose Sign out.

Torii ends your session on its side, then sends your browser to the minatolabs sign-out page when it is available, or back to the Torii home page. The session is ended even if the minatolabs sign-in service is down at that moment.

The frame around every page

PartWhat it does
SidebarThe torii wordmark, which opens Exposure; then Exposure, Findings, Runtime, Supply chain and Health; then Scans and Policy; and Settings at the bottom.
Organisation nameAt the left of the top bar. It opens a list with your one organisation. It reads Not connected if the console cannot reach the Torii service.
Search vulnerabilities, repositories, hosts…Opens the command palette. The ⌘K hint shows the shortcut.
Health chipAlways visible. It shows the worst state on the Health page, with the number of components that are silent or not reporting, and opens Health.
NotificationsA bell button. There are no notifications yet, and it does nothing.
Account menuYour name and email address; Theme (System, Light, Dark or OLED); Compact density or Comfortable density; and Sign out. Theme and density are remembered in your browser.
BreadcrumbsUnder the top bar, showing where you are.
Skip to contentThe first thing the keyboard reaches. It moves focus to the page content.

The command palette

Press ⌘K or choose the search box. The palette lists every page in the sidebar, and two groups of commands:

GroupCommandWhere it goes
Jump toVulnerability id…Findings
Jump toRepository…Supply chain
Jump toHost…Runtime
ActionsRun a scanScans
ActionsOpen a saved filterFindings
ActionsInvite a teammateA members page that does not exist yet

Exposure and Findings

Exposure is meant to show the findings that are in your code and running on your hosts at once, the short list a single-plane scanner cannot give you. Findings is meant to show every finding from both planes, as the queue you work down.

Today both show This data is not available yet, with a Check system health button, because the Torii service does not serve findings to the console.

Runtime

The hosts running your software, and whether their agents are still reporting. The table has the columns Host, Operating system, Agent, Last seen and Enrolled. With no hosts it shows No hosts enrolled.

Today every host shows Not reporting in the Agent column and No success recorded under Last seen, because nothing records a report from an agent yet. The two planes explains the four statuses.

Below the table, File-integrity events and authentication failures says that these are not shown, because the service has no route for them. Hosts are added from Settings, not from this page; see Enrolling a host.

Supply chain

The components you depend on, and which of them carry known vulnerabilities. Today it shows Connected repositories, with the columns Repository, Provider, Default branch and Connected, or No repositories connected.

The chart of components with the most findings is left out while no findings are served. A last section, Component history and SBOM comparison, says these are not shown because the service keeps no scan history yet.

Health

What Torii can currently see, and what has gone quiet. Four cards at the top count the components that are Silent, Not reporting, Delayed and Healthy. The table below has the columns Component, State, Last success and What this means, where the last column says what that component being silent would mean for you. The page is never served from a cache.

RowWhere its state comes from
Control planeHealthy if the console can reach the Torii service; Silent if it cannot.
One row per host, or Host agentsEach host's last report. With no hosts, one row reads No hosts enrolled yet.
One row per source connectionWhen the connection was made, and whether it was suspended or removed.
Scanner last successNot reported by the service yet.
Correlation jobNot reported by the service yet.
Vulnerability database freshnessNot reported by the service yet.

Because the last three rows always read Not reporting today, the health chip in the top bar never shows Healthy. That is the page working as designed: it does not claim what it cannot check.

Scans and Policy

Scans

Meant for scan history and manual runs. Today it shows Scan history is not available yet, because the service does not serve scan records.

Policy

How Torii decides what to report and what to act on. One card exists, Secret verification, marked Enabled or Disabled. It gives a short summary of what verification does, and under What this sends, and where the full disclosure and the list of destinations. The last line shows the disclosure version and when the setting was last changed, or never changed.

The card has no switch. To change the setting, use the API; see Data handling and licences.

Settings

Your organisation, its connections, and who can reach them. The cards appear in this order.

Organisation

Name, Slug, Plan, Repository limit, Host limit, Seat limit and Retention in days. The limits are shown, not enforced; see Plans and limits.

Hosts

The Add host button, and a table of enrolled hosts with the columns Host, Operating system, Agent (the start of the agent id Torii assigned) and Enrolled. Enrolling a host walks through Add host.

Sources

The Connect GitHub button, and a table of installations with the columns Account, Provider, Repositories and Connected, and a Manage repositories button on each row. Today the card also says that the live GitHub connection is awaiting the app. Adding assets has the steps and what is not live.

API tokens

The Create token button, if your role can create one, and the list of tokens with Revoke buttons, if your role can see and revoke them. API tokens has the steps.

Cloud accounts

The Connect account button, and a table with the columns Provider, Account, Role and Connected. With none connected, the card says that Torii connects by role assumption and never stores a long-lived cloud key.

Verified domains

The Add domain button, a note that verification by DNS lookup is not live yet, and a table with the columns Domain, Method, Added and State. Every domain's state is Unverified today.

Open-source licences

A short statement of the licence policy and a View attributions link to the Open-source licences page, which describes the rules Torii follows. Data handling and licences says what is and is not published.

Not built yet

The last card lists the sections that are planned and have nothing behind them, rather than linking to empty screens: Members and roles, Notifications, Policy and noise budget, Export, Retention and deletion and Billing.

Get started

A checklist page at /onboarding. It is not in the sidebar; open it by its address. It has four steps, each marked Done from the real state of your organisation rather than from a stored checkbox:

StepMarked done whenButton
Connect a sourceA source installation exists.Connect a source, which opens Settings
Run the first scanAt least one repository is connected.View scans
Enrol a hostAt least one host is enrolled.Enrol a host, which opens Runtime
Work your first findingsFindings exist.Open findings

Messages instead of data

When a screen cannot get its data it shows one of these, never an empty table or a zero:

TitleWhat it means
This data is not available yetThe Torii service does not serve this view yet. Nothing is hidden; there is no data behind it.
You don't have access to thisYour role does not include permission to read this data. Ask an administrator if you think it should.
Could not reach the control planeThe console could not reach the Torii service. This is not the same as having nothing to report.
This console is out of step with the control planeThe data came back in a shape this version of the console does not understand, so it shows nothing rather than show it wrong.
No source connected yetThe console itself is not connected to a Torii service. The button opens Get started.