• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zentralopensource / zentral / 35601526096
91%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2026 12:58PM UTC
Jobs 1
Files 1034
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Sep 2026 11:37AM UTC coverage: 90.857% (+0.03%) from 90.827%
35601526096

push

github

np5
santa: A list of the machines, and a page for each one

Santa > Machines gives one row for each machine, its current enrollment, with
filters on the configuration, the age of the last synchronization, the client
mode, the Santa version and the synchronization state. The filters apply to the
current rows only, so a stale row never puts a machine in a page.

The page of a machine answers "what does this machine get, and why". It gives
what the machine reported at its last preflight, the inputs of the scope -
serial number, primary user and tags - the client mode and the two path regexes
Zentral resolved for it, and its enrollments. For each scoped client mode and
each scoped path regex, it gives the field that decided and what became of the
entry: it wins, it loses to a narrower one, or the machine is out of its scope.

The mode and the patterns come from get_sync_server_config(), the method that
answers the preflight, so the page cannot disagree with what the machine gets.
It costs a second read of the entries: the page also reads them through
explain_for_machine(), which keeps the entries that are out and names the field
that put them out. The preflight does not pay for that second expression.

The existing viewEnrolledMachine PBAC action opens both pages. The tables only
give the entries the user may view, and the resolution still reads every entry,
so a user who may not view an entry sees the mode of the machine without its
name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

165 of 165 new or added lines in 7 files covered. (100.0%)

20 existing lines in 3 files now uncovered.

52521 of 57806 relevant lines covered (90.86%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
95.66
-0.03% zentral/contrib/santa/events/__init__.py
2
98.41
0.25% zentral/contrib/santa/models.py
1
96.77
4.77% zentral/contrib/santa/views/inventory.py
Jobs
ID Job ID Ran Files Coverage
1 35601526096.1 21 Sep 2026 12:58PM UTC 1034
90.86
GitHub Action Run
Source Files on build 35601526096
  • Tree
  • List 1034
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35601526096
  • 43b04722 on github
  • Prev Build on main (#35587029060)
  • Next Build on main (#35705517885)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc