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

zentralopensource / zentral / 44370333695
92%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 06:40PM UTC
Jobs 1
Files 1069
Run time 1min
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

18 Nov 2026 06:11PM UTC coverage: 91.61% (+0.01%) from 91.6%
44370333695

push

github

np5
MDM: only an authenticated device sends a heartbeat

The MDM request events are machine heartbeats. A request that Zentral
refused before it authenticated the device was a heartbeat too, and the
machine with the serial number that the device sent looked recently seen.

- MDMRequestEvent does not have the "heartbeat" class tag now. A class
  tag cannot be removed from one event, because EventMetadata.all_tags
  adds the class tags again, also after deserialization.
- build_from_machine_request_payloads and post_machine_request_payloads
  take a tags argument, given to EventMetadata, as AuditEvent already
  does with the app label. These tags are serialized and kept.
- MDMView.dispatch adds the "heartbeat" tag to its events after it has
  verified the CN, the enrollment session and the meta business unit.
  A request from an authenticated device is a heartbeat, also when
  Zentral refuses it later. A refused request keeps the serial number of
  the client certificate.
- The ES/OpenSearch heartbeat aggregation gave its event type buckets a
  size equal to the number of classes with the "heartbeat" class tag. It
  uses the number of event types now, like the event type aggregation.
- In phase 3 of an OTA enrollment, the signing certificate authenticates
  the device. When the serial number of the payload is not the serial
  number of the certificate, the event has the serial number of the
  certificate.

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

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

12 existing lines in 1 file now uncovered.

55819 of 60931 relevant lines covered (91.61%)

0.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
96.5
0.23% zentral/core/events/base.py
Jobs
ID Job ID Ran Files Coverage
1 44370333695.1 18 Nov 2026 06:40PM UTC 1069
91.61
GitHub Action Run
Source Files on build 44370333695
  • Tree
  • List 1069
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44370333695
  • 54a85f83 on github
  • Prev Build on main (#44365474492)
  • Next Build on main (#44380222530)
  • 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