Set up your organisation
The control plane holds your organisation: its licence, its projects, who may do what, and who from outside may come in. You do all of this on the Organisation page, in two rows of tabs: the first row names the groups, the second the pages of the group that is open, each with one form and its own save button.
| Group | Its pages |
|---|---|
| Licence and agreements | Licence, Agreements |
| People, roles and access | People, Roles, Access grants, Signing in, Notifications, Members’ command lines |
| Projects | the projects |
| Brand | your logo and colours beside Fistron’s, see Your brand in Fistron |
| Usage and audit | Usage, Audit trail, Team summaries |
The address names both (/organisation#people/roles), so a link opens the
page; an address with the page only (/organisation#roles) opens it too.
A person who may see one page only sees no tabs, and a group of which a
person sees one page is named as that page. A page of a list says how many
it holds on its tab: People the organisation’s people, Roles the
mappings of groups to roles, Access grants the grants (“People (12)”).
Before you start
- An account with the role Admin in the organisation. Your first admin
account is created together with your organisation; on
app.fistron.ioFistron creates it and shows its temporary password once. - Your identity provider’s groups for the people who will use Fistron.
- The Organisation page is shown to admins and auditors. Auditors see the licence and the audit trail only.
Sign in
- Open your control plane’s address.
- Check Keep me signed in to stay signed in on this device for as long as your organisation allows (not on a shared computer).
- Click Sign in with your organisation. You come back to the same page afterwards.
- If your control plane has the bootstrap admin switched on, you can instead enter the Password and click Sign in as bootstrap admin. Use it only for the first setup or when the identity provider is down; every such sign-in is recorded.
The masthead then shows your name and organisation, a project selector and Sign out. Signing out also ends your identity provider’s session when the control plane knows how. Another project chosen in the selector opens the same page of that project, with the same tab (from a document or a work of the project left, the page that lists them). From the organisation’s dashboard or Fištrónek’s chat it opens the project’s own dashboard or chat; from a page of the administration with no project, its documents. The selector always names the project whose page is shown.
When your session ends (its time is up, or you were away longer than your organisation allows), the next click shows the sign-in page with “Your session ended: sign in again”; after signing in you are back on the same page. What you had typed and not saved is not kept.
The administration
Administration, the button at the top beside Your API tokens, opens the administration’s pages: the organisation’s (Organisation, Agents, Model endpoints, Platform access and the others an admin has) and the project’s settings (Models, Schedules, Analysis sources, Sharing, Configuration, Documents). While one of them is shown, the menu is theirs; Back to work returns to the page you left, of the project chosen since when you changed it. A person without one of those pages has no button.
Set up your organisation, step by step
Get started (an admin’s, under Administration) opens Set up your organisation: it leads through the organisation’s setup so that each feature asks for less later:
- the platforms and the access to them (Platform access);
- the projects (Organisation);
- the CI, found through the platforms’ access (Jenkins in a project’s Configuration);
- the agents (Agents);
- the models (Model endpoints);
- the settings of all the repositories (Repository settings).
Each step says what it sets, what it unlocks and where it stands, and opens its page. Next step and Back move between the steps, Check again reads where the setup stands. The wizard is one way through, never the only one: every page is in the navigation, to set at any time.
In the step Projects, Find your repositories lists the repositories a platform’s access shows and groups them into projects:
- Set a platform’s access with at least one repository and create a first project with an agent that serves it.
- Choose the Platform and whose agents read it (Read by the agents of), then click Find the repositories. The agent lists what the access shows: on GitHub the repositories the organisation’s App is installed on, on GitLab the projects its token’s user is a member of.
- Tick the repositories Fistron reads. For each, choose its project: one of yours, or a new project named after its owner or itself.
- Click Keep with the count of the repositories. New projects are created, each project gets its repositories (one in another project moves), and the platform’s access reads them too. The Projects table under Organisation shows each project’s repositories.
In the step CI, Find your repositories’ CI keeps each grouped repository’s CI, so that the project’s forms offer it instead of asking:
- Choose the project in The repositories of and click Find the CI. One of its agents reads, for each repository, GitHub’s workflows (bots’ and housekeeping ones left out), a GitLab project’s jobs of its default branch’s newest pipeline and the Jenkins jobs named after the repository.
- The main workflow (the one with the most runs on pull requests), the pipeline’s jobs and the Jenkins jobs are ticked; change what is not the repository’s CI.
- Click Keep the CI of with the count of the repositories. The forms
of the project’s work and schedules then offer the repositories, and,
for the repository named, its workflows and jobs (
history-collect’s Repository and Workflow, a Jenkins job with the platformjenkins).
One search reads 20 repositories of each platform, those without their CI kept first; search again for the rest.
Set how long people stay signed in
- Open Organisation, People, roles and access, then Signing in (an admin).
- Set A session lasts (hours) and Signed out after unused (minutes); an empty field is your installation’s, shown in grey.
- For Keep me signed in: Kept signed in for (days) (at most what your installation allows, at most 30) and Kept signed in, signed out after unused (days). Uncheck Offer “Keep me signed in” on the sign-in page to sign everyone in for the session’s hours only.
- Click Save the sign-in policy. It applies from each person’s next sign-in; every change is in the audit trail.
Set how your members’ command lines sign in
A member signs their command line in with fistron licence login --control-plane <your control plane's address> and confirms the code on
your control plane; their command line then holds your organisation’s
licence and its settings (Your licences).
- Open Organisation, People, roles and access, then Members’ command lines (an admin).
- Set A command line’s sign-in lasts (days) (30 by default): then the member signs in again. An account disabled in your identity provider cannot, so its command line stops refreshing.
- Set The licence is used without a refresh for (days) (7 by default): how long a command line goes on with your licence when it cannot reach your control plane, counted from its last refresh.
- Check Members’ local runs on the organisation’s code come here when you want them; a member may turn it off for themselves.
- Click Save the settings of command lines. Every change is in the audit trail, and so is every command line signed in and out.
On your organisation’s code (a working copy of a repository of your projects, and its forks) a member’s command line then uses your settings:
- Your models for members’ command lines (Model endpoints, Members’ command lines may use it), never their own.
- Fistron’s settings of the organisation and of the repository (the review rules, the change policy, the quarantine…), when the member may read them: a viewer’s role in the organisation or in any project. Without it, the member’s command line reads the repository’s own files.
- The data-flow policy of the repository’s project: the stricter of it and the member’s own.
With local runs taken, the documents a member’s command writes there (a log’s analysis, a review, a CI history) are stored in the repository’s project as that member’s upload, when their role in the project uploads documents (engineer and above). Each is in the audit trail (member.run). Fištrónek’s conversations, problem reports and Fistron Memory’s records are never sent, and a member’s personal history (Become a developer, the learning path) stays on their machine.
Raise the fewest people a team’s summary is shown from
Your team’s growth and the Agile Transformation’s measured signals are for a team, never a person, and only from five people, so that no one can be told apart. Your organisation may want more:
- Open Organisation and go to Team summaries (an admin).
- Set Shown from (people): five or more, never fewer; empty is five.
- Click Save the team summaries. The next summaries take it: Your team’s growth shows nothing from fewer people, and the Agile Transformation’s signals are withheld for a smaller team. Every change is in the audit trail.
Check the licence
Every page shows the organisation’s plan at the top, beside the organisation’s name, to everyone: Team, Startup Pilot, Business or Enterprise, or a Pilot with the days it has left. A licence issued before the plans shows the plan whose features hold all of its own, or Paid.
-
Open Organisation.
-
Under Licence, read:
- Plan: Pilot, Team, Startup Pilot, Business or Enterprise (Pilot or Paid for a licence issued before the plans). Startup Pilot is a Team licence of the programme Fistron for Startups: everything in Team, for its term;
- Licensee and Expires;
- Projects: how many are used, of how many;
- Active committers: how many changed your code in the newest month counted, of how many the licence covers, and when it was counted.
- Lines of code: your code’s lines, of how many the licence covers (by default 50,000 per active committer).
-
The table What the plan includes lists every feature by its name: Included, or Not included. A licence issued before the quality health audit or your own brand were features has them by its plan, and the table says so. As an admin, choose Ask for it beside a feature you want. On Fistron’s hosted control plane, Fistron gets your ask and gets back to you.
On a control plane of your own (on-premises or without internet access), nobody of Fistron’s passes the ask on, so Ask for it opens the request ready for you to send. It names the feature (its name and identifier), your licence’s id, the licensee, the plan and the versions your installation runs; add what you need the feature for. Then:
- Send by e-mail opens your e-mail client with the request to support@fistron.io;
- Open the contact form opens fistron.io’s contact form with the purpose “Our licence: a feature our plan does not include” chosen and the request as the message;
- without internet access where you are, copy the request or choose Download the request (a text file), and send it from a computer that has it, by e-mail or through the contact form.
The row then says the request is prepared, and Open the request shows it again. Fistron answers by e-mail.
An operation your plan does not include is shown as “not in your plan” and cannot be started: in every form that starts work, and on the pages that start it themselves (proposing a test on Test plan, answering a review on Tests, Assess now and the remediation on Compliance, Verify on Repairs), with the reason and a link to this page.
The overview warns you 30 days before the licence ends: “Your pilot ends in N days” for a Pilot. When a Pilot ends, its documents are deleted: buy a licence before it ends to keep them. When the organisation has more projects than the licence covers, licensed work runs only in its first projects up to the limit.
On Fistron’s hosted control plane, Fistron installs the licence for your organisation. If the page says No licence is installed or that the licence is not valid, start a pilot or ask Fistron for a licence.
On a control plane of your own (on-premises or without internet access), you install the licence Fistron sends you, a renewal or another plan: Install a licence under the plan’s table. Choose the file or paste its text, then Install the licence. It is verified there, without internet access; a licence that is not valid or has ended is not installed, and the one installed stays, as the page says. A Pilot in a paid licence’s place deletes the documents when it ends: tick that you want it. When your installation’s licence comes from a Kubernetes Secret, the page shows Renew the licence instead, with the command that replaces the Secret. fistron-install and the Secret’s ways are in install-on-premises.md.
A control plane on your own infrastructure (on-premises or without
internet access) comes with Enterprise, a pilot agreed with Fistron or the
add-on self-hosted. When the licence has none, the page says so as a
warning, never a stop: ask Fistron for it with Ask for it beside “Your
own control plane”.
Buy Team from your Pilot
On Fistron’s hosted control plane, a Pilot becomes Team by card, with its projects, people and settings:
- Open Organisation, Licence. As an admin, the card Fistron Team shows below the plan.
- Give the Active committers to pay for (at least 3; the number counted last is filled in) and Monthly or Yearly. The card shows what it costs: the price per active committer times them, for example 3 active committers × EUR 25 = EUR 75 a month, or EUR 720 a year; 10: EUR 250 a month or EUR 2,400 a year. Currency: Paddle charges CZK in Czechia, USD in the United States and EUR everywhere else; your browser’s country is chosen, change it to see another. The prices are without the tax: Paddle adds your country’s at the checkout.
- The e-mail for the invoices. Invite code: when an Individual of your team invited you, their code (filled in when the Pilot was asked for with it): the months of Individual they paid, at most 3, come off the first invoice, once.
- Click Continue to payment: Paddle, Fistron’s reseller, shows the price with your country’s tax and takes the card.
- Paddle brings you back to Licence: the control plane fetches the Team licence and installs it. If Paddle has not told Fistron yet, the control plane fetches it within the hour by itself.
Each month the control plane counts the active committers (below) and sends the count:
- Monthly: the next month’s payment is for them, more or fewer, at least 3.
- Yearly: more than you paid for this year are charged at once, for the rest of the year; fewer are not refunded, and the renewal is for them, at least 3.
The card then shows how Team is paid: Next payment (its amount, day and active committers, without the tax), Paid for now (a yearly Team’s committers until the year’s end) and Counted last. When Paddle declines the charge of committers added, the subscription stays for those paid and the card says why; Fistron does not try again by itself, as each try would charge the card. Change the card in Paddle’s customer portal, then click Send the count again.
The first licence lasts 16 days (the 14 days in which you can ask for a refund, and two more) and is then renewed to the end of the period paid; each renewal reaches the control plane by itself. Invoices, the card and cancelling are in Paddle’s customer portal, linked from the card and from the e-mail. Team for an installation of your own, or by invoice, is bought through the contact form.
Count the active committers
The price follows your active committers: the people with a commit that is not a merge in the last 90 days, bots and service accounts left out (pricing). You set nothing up: when an agent that counts starts, the control plane gives each project it serves the schedule Active committers, once a month, and the first count runs at once; a project created later gets it too when an agent serves every project. The agent counts in the repositories it reads. Only counts and keyed hashes reach the control plane, never a name or an address, so a person in several projects is counted once. More active committers than the licence covers is a warning, never a stop: Fistron settles it at the yearly true-up.
The schedule is the system’s, not the project’s
(ADR 0183):
the licence rests on the count, so a person of the project can Run now
but never pause, change or delete it, nor add another schedule of
committers-count. Active committers under Licence says when the
newest count was made, in how many projects the system counts, when it ran
last and runs next; Count now (admins) counts in every project at once.
A project an agent serves without a schedule of the count yet gets it first,
so the licence can be checked the day the agent starts, not a month later;
Nothing to count says that no agent of the organisation counts yet. A
project given to an agent on Agents gets its schedule at once. A count
older than two months is a warning: check that the projects’ agents run.
The same count gives the lines of code: the tracked files of code at the default branch’s head, without blank lines and comments (recognised by each file’s language), vendored and generated code, translations and data left out. Forks of the same code (the same first commit) count once, by the largest of them, also across projects. More lines than the licence covers is a warning, never a stop, like the active committers.
Without a control plane, count them yourself; nothing is sent anywhere:
fistron committers ~/src/shop ~/src/api # local checkouts, or https URLs
fistron committers ~/src/shop --plan business # the yearly price of one plan
fistron committers ~/src/shop --no-lines # the active committers only
With Fistron’s core installed it also gives the yearly price of each plan from the same counts: the active committers’ price, the started blocks of 100,000 lines above those included, and the plan’s minimum (Team has none, but prices at least 3 active committers).
Create a project
A project holds one repository’s documents, work and schedules.
- Open Organisation and go to Projects.
- Under New project, enter:
- Slug: lower-case letters, digits and
-, for examplepayments. It appears in the project’s URLs and in the agent’s configuration. - Name: for example
Payments.
- Slug: lower-case letters, digits and
- Click Create project.
Archive or delete a project
A project made by mistake or no longer needed is archived or deleted on Organisation › Projects.
- Archive
hides it: it leaves the project switcher and Get started, its schedules do not run, no work is started and no document is stored in it, and its documents are still read. The licence does not count it. It is listed under Archived projects, where Restore brings it back as it was. - Delete
… first says what goes with it: its documents, schedules, sharing grants and bound repositories, and the agents that serve it alone. Tick I understand that it is deleted for good on that day and click Delete. It is archived at once and deleted 30 days later by the retention job, with everything that refers to it. Until then Restore brings it back.
The audit trail records each archive, restore and deletion, and keeps them
after the project is gone. The API offers the same:
POST /api/v1/projects/{id}/archive, POST /api/v1/projects/{id}/restore,
GET /api/v1/projects/{id}/deletion (what goes) and
DELETE /api/v1/projects/{id}.
Bind a project’s repositories
You bind each repository to the project whose work looks in it, for example Why your last run failed. With hybrid, your agent reads your platform with its own token; in the cloud, Fistron’s agent reads what the organisation’s Platform access holds. Either way, the repositories the agents read are offered here.
- Open Organisation and go to Projects.
- In the project’s row, click Bind repositories.
- Choose the Platform. Under What your agents read, tick the repositories. Each one says which agent reads it: as the agent’s configuration names it, or through Platform access for an agent that accepts the organisation’s platform access.
- To add a repository no agent reads, enter it under Another
repository, for example
acme/payments. Saving asks you to confirm it: it may be a typo. - Click Save. The form closes, says what it saved, and the row shows the project’s repositories. Each repository’s project below says under Read by who reads each one.
Move a project’s settings to another installation
From a pilot to your own installation, or between two: a project’s schedules (the Daily CI review’s among them), its models by role and what it shares go as one file, without a secret.
- In the installation you leave, open Organisation, Projects, and
under A project’s settings in a file choose The project and click
Export its settings. The file is
<slug>-settings.json. - In the new one, create the project, choose it under The project, choose the file under Settings to import and click Import them into it.
The import adds each setting as its page would save it, and lists what it did: a schedule the project has by that name is kept; a model endpoint the new installation does not have, or a project to share with that it does not have, is refused with the reason, to set on that page. The system’s own schedules are not in the file, nor are keys, tokens, agents or people: those are the new installation’s.
Move the whole organisation to another installation
The whole organisation goes as one file too: its roles (the groups’ and each person’s own), its agents’ configuration made in Fistron, and each project’s settings (as above), configuration, waivers (the known failures), verification logs and the Test plan’s map. Use it to move from a pilot to your own installation, or to keep it beside a backup.
- In the installation you leave, open Organisation, Projects, and
under The whole organisation in a file click Export the
organisation. The file is
<organisation>-organisation.json. What could not be read is listed under it. - In the new one, create the projects with the same slugs and set up the agents with the same names, then choose the file under An organisation’s file to import and click Import it here.
The import goes project by project, then the roles, then the agents, each part as its page would save it, and lists what it did. A project or an agent of the file that the new installation does not have is named and left out; a person’s own role is given only to someone who signed in there before. No key, token or secret is in the file: an agent’s configuration names its secrets, which you seal in the new installation.
Give people roles
People hold roles through the groups your identity provider names when they sign in.
- Open Organisation and go to Roles.
- Under Map a group, enter the Group as your identity provider
names it, for example
qe-team. - Choose the Role: Viewer, Engineer, Manager, Admin, Auditor or Management. What the chosen role may do is said under the list.
- Under Where, choose The whole organisation or one project.
- Click Map.
A mapping applies at once. A change of someone’s groups in the identity provider applies at their next sign-in. To take a role away, click Remove in its row.
A role can also be given to one person, beside their groups’ roles: when your identity provider’s groups are not yours to change (Google Workspace without Keycloak, a provider another team runs), or when one person needs more than their group.
- The person signs in once, so that Fistron knows them by the subject your identity provider gives them.
- Under A role for one person, choose the Person among those who signed in, Their role and Their role where (the whole organisation or one project), and click Give the role.
It counts from the person’s next request, beside their groups’ roles, and People lists it with the others. Roles given to people lists every one; Remove takes it back. The audit trail records each.
Your sign-in’s groups lists the groups your own sign-in named, as Fistron received them, and which hold a role: Map it fills the group in the form. When it says Your sign-in named no group, the identity provider sends no groups claim (install-identity-provider.md).
Viewer, Engineer, Manager and Admin follow the people Fistron is for, and each adds to the one before (ADR 0124):
| Role | Adds |
|---|---|
| Viewer | reads; for leadership and customers who read reports |
| Engineer | the everyday work: runs operations, uploads documents, decides proposals, assesses compliance, chooses models |
| Manager | steers a team or the organisation: Agile Transformation’s targets, schedules, the reviewers of proposed tests, usage, withdrawing findings, validation programmes; for a project or delivery manager or a team lead |
| Admin | the configuration: projects, roles, people, grants, tokens, agents, model endpoints, platform access, licence |
| Auditor | reads documents and the audit trail, records findings |
| Management | approves policies, risk decisions and results |
Add a person
On a control plane that manages accounts, an admin adds a colleague
without your identity provider: app.fistron.io, and an installation of
your own with the Keycloak fistron-install --with-keycloak installs, or
with your Keycloak’s admin API
(install-identity-provider.md),
whose every person is then the organisation’s. With another identity
provider, People says that it adds people instead of the form: add the
person and their groups there, and map the groups to roles here
(Roles).
On a control plane that manages accounts:
- Map a group to the role the person should have (above), for example
uyuni-testersto Engineer in one project, or use an existing group such as your admin group. - Open Organisation and go to People.
- Enter the person’s E-mail, optionally their First name and Last name, and choose the Group.
- Click Add.
A new account gets a temporary password, shown only once. Copy it and give it to the person yourself; they open the control plane, click Sign in with your organisation, sign in with their e-mail and the temporary password, and set their own password. An e-mail that already has an account of your organisation is only added to the group; an account of another organisation is refused (ask whoever operates the control plane).
To take a role away, remove the group’s mapping under Roles.
See and manage the organisation’s people
Organisation › People counts them first, at a glance: the people with a ring of them by their account’s state, the active ones, those not signed in yet and those under an access grant. Then it lists who is in the organisation: each person’s groups and the roles they give, the account’s state, the last sign-in and their API tokens (each person makes and revokes their own under Your API tokens, where an admin also revokes anyone’s and makes automation tokens: Create an API token). On a control plane that manages accounts it lists every member of your organisation, also those who never signed in (Not signed in yet, with a password to change until they set their own); after them anyone else who signed in before but is no longer a member. With your own identity provider it lists the people who signed in, with the groups of their last sign-in. People of other organisations are listed apart, under Under an access grant.
On a control plane that manages accounts, an admin also changes a person:
- Choose another group in the person’s row and click Move: the person is in that group and leaves the organisation’s other mapped groups. The new roles apply at their next sign-in.
- Click New password for a one-time password, shown only once, which they replace at their next sign-in.
- Click Remove, then Remove with the person’s name: the person leaves the organisation and its groups and is signed out; the account itself stays.
Nobody changes their own account here (another admin does), and the group and the password of an account that is also another organisation’s are changed only by whoever operates the control plane.
Switch the bootstrap admin off
An installation of your own has a bootstrap admin: it signs in with the installation’s password, before your identity provider works. Once your admins sign in through the identity provider, switch it off:
- Sign in through your identity provider as an admin (the bootstrap admin does not switch itself off).
- Open Organisation › People and click Switch the bootstrap admin off.
It signs in no more, its sessions end and its API tokens are refused. The
page says who switched it off and when; Switch it on again undoes it.
When no admin can sign in through the identity provider any more, whoever
operates the control plane switches it on in the cluster:
fistron-control-plane tenant bootstrap-admin <organisation> on.
Let someone from another organisation in
An external auditor, or anyone outside your organisation, comes in only through an access grant.
- Open Organisation and go to Access grants.
- Under Grant access, enter:
- E-mail of the person;
- Role: Auditor, Viewer or Engineer;
- Projects: every project or one;
- Framework profile: every profile or one (for an auditor);
- Days: how long the grant holds, 1 to 366;
- Reason.
- Click Grant.
The grant shows not signed in yet until the person signs in for the first time with that e-mail, verified by the identity provider. They sign in from your control plane’s Overview: under Another organisation they enter your organisation’s short name and click Sign in there.
Every request under a grant is in the audit trail. Click Revoke to end a grant at once. A person under a grant never manages agents or model endpoints, and never creates schedules.
Read the usage
- Open Organisation and go to Usage (a manager or an admin of the organisation).
- Choose a Month (UTC). The table shows work finished, bytes of documents stored and sign-ins.
- Click Export … as JSON Lines for the month’s events. Every export is an audit event.
Export the audit trail
- Open Organisation and go to Audit trail (an admin or an auditor of the organisation).
- Choose a Month (UTC) and click Export the audit trail of the month. The file has one event per line, oldest first: what was done, by whom (with the person’s name beside their id where Fistron knows it) and when.
- The export is an audit event too. For another period, the API takes
any times:
GET /api/v1/audit?since=...&until=....
Troubleshooting
| You see | Do |
|---|---|
| Sign-in is not configured | The control plane has no identity provider and no bootstrap admin: ask whoever operates it. |
| No projects: “Your roles name no project of this organisation yet” | An admin maps one of your groups to a role in a project, or in the whole organisation. |
| The Organisation page is missing from the navigation | You are neither admin nor auditor of the organisation. |
| Agents or Model endpoints is missing although you are an admin | You signed in under an access grant; these are never managed under a grant. |
| People answers that the control plane does not manage accounts | Your organisation signs in with its own identity provider: add the person there and map their group under Roles. |
| A new mapping seems to have no effect | Group changes in the identity provider apply at the next sign-in: sign out and in again. |
For the views and their permissions in detail, see ui.md.