The web interface for visitors
Show anonymous visitors a read-only web interface of your public projects, packages and their security facts at the Bastion's address.
On this page
Nobody signs in, nothing on the pages changes anything, and no page view reaches the main installation. The main installation builds the public content as a public catalogue, and each replica serves its pages from its own copy.
Switch it on
- Who
endpoints:write- Where
- main installation, Admin area › Bastions, the card's first rows
- Check that the Bastion made contact and that its base URL is in
server.additional_base_urls(Settings on the main installation). - Read What becomes public, the public remotes above all.
- Switch Web interface on, and Documentation if visitors should read READMEs and package documentation. The row says "Last built 3 minutes ago" (example), or one line of why nothing was built.
- Open the Bastion's address. It leads to
/ui/en/or/ui/de/by the browser's language.
Hide repositories under Details shows the projects and their packages without the repositories that hold them; commands still
name a repository's key, since clients need it. Switch it off the same way: within seconds the pages answer not found,
robots.txt disallows everything, and the copies are deleted.
What becomes public
The catalogue holds exactly what a visitor without a session reads on the main installation: the Public repositories of Public projects (Public content). It shows all of it, and nothing more. While the main installation admits no request without a credential, the catalogue is empty and the card says why.
| A visitor reads | Left out, whatever the level |
|---|---|
| Projects that hold something public, with their names and descriptions | Owners, members, sizes |
| Public repositories of every class; a remote shows what its cache holds | A remote's upstream address, unless it is a well-known public registry |
| Each version: description, licences, tags, dependencies, files with SHA-256, an image's platforms and layers | Who published, uploaded or released it |
| The malware scan and the signatures | Your own trust anchors' titles, the scanner's engine |
| The vulnerability grade and open findings | Dismissed and resolved findings, triage notes, who triaged |
| With Documentation: READMEs and documentation where the Wiki visibility is Public, a Debian package's changelog | Download counts |
| Public files, and Set up client on the Bastion's address without a token | The main installation's addresses: every one is written as the Bastion's |
Warning
A public remote repository shows what your builds pulled: every package and version its cache holds, also in the sitemap for search engines. If that must not be public, keep the remote Internal and publish through a public local or virtual repository.
What visitors see
A visitor opens the start's Projects, a project's Repositories and Packages, a package's versions with their grade, and a version's tabs README or Documentation, Vulnerabilities, Files, Signatures and Details. Install, Pull or Download gives each client's commands on the Bastion's address, and Set up client the steps without a sign-in line or publish step. With Hide repositories a project opens on its packages. Times are in the installation's Default time format (Admin area › Settings › General).
Each page ends with As of and the age of the replica's copy. Older than
bastion.gui.stale_after, a band says "This information is from <date and time>. Newer
information is not available right now." The pages read newer information by themselves.
How current the pages are
The main installation builds five seconds after a change. A narrowing (a repository made private, a version deleted) makes each replica read at once, a new version reaches it at its next round. While the Bastion cannot reach the main installation, it serves its last copy, a repository made private included; downloads are still decided by the main installation.
Kept or lost across a restart
| Cache | The copy survives a new pod |
|---|---|
config.bastion.cache.backend: bucket |
Yes, one copy for every replica |
cacheVolume.type: persistent |
Yes, per pod |
cacheVolume.type: ephemeral (default) or emptyDir |
No |
A replica without a copy answers Not available right now (503, Retry-After: 30) until it has read the catalogue, seconds while
the main installation answers. A replica on an ephemeral volume that restarts during an outage shows it until the connection returns.
Without a bucket or Valkey, secrets.signingKey is optional; without it whoever can write the volume can change what the replica
shows.
The catalogue takes a share of the cache, bastion.gui.max_bytes, reserved whether or not
the interface is on. Nothing evicts it: above its share it stays whole and QuaderBastionCatalogueOverBound fires. The default holds
about 290,000 public versions (derived from a measurement of about 15 KiB per version).
Search engines
Every page answers a crawler with its title, canonical address and text, on the Bastion's base URL. While the interface is on, a
replica serves /sitemap.xml and this robots.txt; while it is off, Disallow: /.
User-agent: *
Disallow: /ui/data/*vulnerabilit
Disallow: /api/
Disallow: /files/
Disallow: /v2/
Sitemap: https://packages.example.com/sitemap.xml
The vulnerabilities never enter a search result. A page made private answers not found at once, but a search engine keeps it until its next visit: use its removal tool. Page requests count in the class Pages of the web interface, never against the package clients' misses.
Imprint and privacy notice
The footer links Imprint and Privacy notice when the Bastion's chart has a text: config.ui.legal.imprint.en, .de,
config.ui.legal.privacy.en, .de, Markdown up to 64 KiB each (the texts).
They are this Bastion's values, never the main installation's, and you answer for what they say.