Skip to content

43885: MLAPR migration + UUID capture - #44244

Merged
JordanMontgomery merged 13 commits into
mainfrom
JM-43885
Apr 29, 2026
Merged

43885: MLAPR migration + UUID capture#44244
JordanMontgomery merged 13 commits into
mainfrom
JM-43885

Conversation

@JordanMontgomery

@JordanMontgomery JordanMontgomery commented Apr 27, 2026

Copy link
Copy Markdown
Member

Related issue: Resolves #43885

Adds a migration and code to capture the value of the fleet managed admin account if one exists. Changes file added for entire feature

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.

  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirects, and untrusted data interpolated into shell scripts/commands is validated against shell metacharacters.

  • Timeouts are implemented and retries are limited to avoid infinite loops

Testing

Database migrations

  • Checked schema for all modified table for columns that will auto-update timestamps during migration.
  • Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects.
  • Ensured the correct collation is explicitly set for character columns (COLLATE utf8mb4_unicode_ci).

Summary by CodeRabbit

  • New Features

    • Automatic password rotation for managed local admin accounts on macOS, triggered after viewing activity.
    • Provisioning now captures and persists the managed admin account identifier (UUID) to support rotation and prevents that account from being stored as a regular user.
    • Hosts will request a best-effort recheck when the managed admin identifier is not yet available.
  • Chores

    • Database schema updated to store rotation scheduling and pending credential state.
  • Tests

    • Added tests covering UUID capture, conditional updates, migration, and ingest behavior.

@codecov

codecov Bot commented Apr 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 70.42254% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.79%. Comparing base (4334017) to head (078369f).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
server/service/apple_mdm.go 21.42% 7 Missing and 4 partials ⚠️
...428125634_AddManagedLocalAccountRotationColumns.go 75.00% 3 Missing and 1 partial ⚠️
server/datastore/mysql/managed_local_account.go 85.00% 2 Missing and 1 partial ⚠️
server/service/osquery_utils/queries.go 84.21% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #44244      +/-   ##
==========================================
+ Coverage   66.78%   66.79%   +0.01%     
==========================================
  Files        2632     2633       +1     
  Lines      211581   211574       -7     
  Branches     9424     9400      -24     
==========================================
+ Hits       141304   141326      +22     
+ Misses      57446    57414      -32     
- Partials    12831    12834       +3     
Flag Coverage Δ
backend 68.56% <70.42%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JordanMontgomery
JordanMontgomery marked this pull request as ready for review April 28, 2026 12:57
Copilot AI review requested due to automatic review settings April 28, 2026 12:57
@JordanMontgomery
JordanMontgomery requested a review from a team as a code owner April 28, 2026 12:57

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@coderabbitai

coderabbitai Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f47762d2-6361-47f5-b447-ce9d200a568e

📥 Commits

Reviewing files that changed from the base of the PR and between a310b9c and 078369f.

📒 Files selected for processing (4)
  • server/fleet/datastore.go
  • server/mock/datastore_mock.go
  • server/service/apple_mdm.go
  • server/service/integration_mdm_test.go
✅ Files skipped from review due to trivial changes (1)
  • server/service/integration_mdm_test.go

Walkthrough

Adds schema and logic to enable managed local admin password rotation and capture the managed account UUID: a migration adds account_uuid, auto_rotate_at, pending_encrypted_password, pending_command_uuid, and initiated_by_fleet plus an index; datastore APIs GetManagedLocalAccountUUID / SetManagedLocalAccountUUID are added; osquery user ingestion captures and conditionally persists the managed account UUID; AccountConfiguration handling requests a host refetch when the UUID is missing; unit and integration tests exercise these paths.

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 13.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main changes: adding a migration for managed local account password rotation and UUID capture functionality.
Description check ✅ Passed The PR description is mostly complete, addressing the required migration columns, UUID capture logic, datastore methods, refetch logic, and comprehensive testing.
Linked Issues check ✅ Passed All primary coding requirements from issue #43885 are met: migration with new columns [43885], UUID capture from osquery [43885], datastore methods for Get/Set UUID [43885], and refetch logic on AccountConfiguration ack [43885].
Out of Scope Changes check ✅ Passed All changes are directly aligned with the migration and UUID capture objectives; no extraneous modifications were introduced.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch JM-43885

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
server/service/integration_mdm_test.go (1)

23684-23709: Optional cleanup: extract duplicated row-read SQL into a helper.

The two account_uuid, updated_at reads are identical; pulling them into a small local helper would reduce repetition and keep assertions more readable.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@server/service/integration_mdm_test.go` around lines 23684 - 23709, Extract
the duplicated row-read into a small helper function (e.g.,
readManagedLocalAccountPasswordRow or fetchAccountUUIDAndUpdatedAt) that accepts
the context, data store (s.ds) or sqlx.ExtContext via mysql.ExecAdhocSQL, and
the mdmDevice.UUID/host ID, executes the SELECT account_uuid, updated_at FROM
host_managed_local_account_passwords WHERE host_uuid = ?, and returns (*string,
time.Time, error); then replace both inline mysql.ExecAdhocSQL blocks with calls
to this helper and update the subsequent assertions to use the helper's return
values. Ensure the helper is local to the test file and use existing symbols
submitUsersResult, mdmDevice.UUID, and mysql.ExecAdhocSQL to locate where to
call it.
server/service/osquery_utils/queries_test.go (1)

1924-1927: Use fleet.ManagedLocalAccountUsername instead of hardcoded "_fleetadmin" in test fixtures.

Using the shared constant here reduces drift risk if the managed username ever changes.

Suggested diff
-	baseRows := []map[string]string{
-		{"uid": "501", "username": "alice", "type": "standard", "groupname": "staff", "shell": "/bin/zsh", "uuid": "alice-uuid"},
-		{"uid": "502", "username": "_fleetadmin", "type": "standard", "groupname": "staff", "shell": "/bin/zsh", "uuid": "fleetadmin-uuid"},
-	}
+	baseRows := []map[string]string{
+		{"uid": "501", "username": "alice", "type": "standard", "groupname": "staff", "shell": "/bin/zsh", "uuid": "alice-uuid"},
+		{"uid": "502", "username": fleet.ManagedLocalAccountUsername, "type": "standard", "groupname": "staff", "shell": "/bin/zsh", "uuid": "fleetadmin-uuid"},
+	}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@server/service/osquery_utils/queries_test.go` around lines 1924 - 1927,
Replace the hardcoded managed username literal "_fleetadmin" in the test fixture
baseRows with the shared constant fleet.ManagedLocalAccountUsername in
server/service/osquery_utils/queries_test.go so the test uses the canonical
value; locate the baseRows slice (variable name baseRows) and substitute the
string for fleet.ManagedLocalAccountUsername to avoid drift if the managed
username changes.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@changes/37142-local-admin-password-rotation`:
- Line 1: The PR adds scheduling fields and helpers (auto_rotate_at in the
migration, MarkRecoveryLockPasswordViewed(), GetHostsForAutoRotation(),
pending_encrypted_password/pending_command_uuid) but no background executor to
perform rotations; either implement a cron/background worker that periodically
calls GetHostsForAutoRotation() and enqueues/executes the rotation flow
(processing pending_* columns and invoking the same rotation logic used for
manual rotations) or update the changes/37142-local-admin-password-rotation note
to state this PR only adds infrastructure (auto_rotate_at and scheduling) and
that the executor will be delivered separately, and if the executor already
exists under a different name/path, add a reference to that service/worker and
the function that triggers rotations.

In `@server/service/osquery_utils/queries.go`:
- Around line 982-989: The shared usersQueryStr currently includes the
`_fleetadmin` allowlist which leaks that service account into withCachedUsers;
remove the allowlist from the shared query and apply it only in the dedicated
host-users/detail query used by directIngestUsers. Concretely, split
usersQueryStr into two identifiers (e.g., cachedUsersQueryStr without the
"(username = '...ManagedLocalAccountUsername...')" clause and
detailUsersQueryStr that retains the allowlist), update withCachedUsers(...) to
use cachedUsersQueryStr, and ensure directIngestUsers (or the function that
builds the host detail query) uses detailUsersQueryStr so `_fleetadmin` stays
excluded from cached/shared user collections.

---

Nitpick comments:
In `@server/service/integration_mdm_test.go`:
- Around line 23684-23709: Extract the duplicated row-read into a small helper
function (e.g., readManagedLocalAccountPasswordRow or
fetchAccountUUIDAndUpdatedAt) that accepts the context, data store (s.ds) or
sqlx.ExtContext via mysql.ExecAdhocSQL, and the mdmDevice.UUID/host ID, executes
the SELECT account_uuid, updated_at FROM host_managed_local_account_passwords
WHERE host_uuid = ?, and returns (*string, time.Time, error); then replace both
inline mysql.ExecAdhocSQL blocks with calls to this helper and update the
subsequent assertions to use the helper's return values. Ensure the helper is
local to the test file and use existing symbols submitUsersResult,
mdmDevice.UUID, and mysql.ExecAdhocSQL to locate where to call it.

In `@server/service/osquery_utils/queries_test.go`:
- Around line 1924-1927: Replace the hardcoded managed username literal
"_fleetadmin" in the test fixture baseRows with the shared constant
fleet.ManagedLocalAccountUsername in
server/service/osquery_utils/queries_test.go so the test uses the canonical
value; locate the baseRows slice (variable name baseRows) and substitute the
string for fleet.ManagedLocalAccountUsername to avoid drift if the managed
username changes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 315a7189-57b1-4cf6-a8cd-f62ff709c777

📥 Commits

Reviewing files that changed from the base of the PR and between 2c609ae and d03dd5b.

⛔ Files ignored due to path filters (1)
  • docs/Contributing/product-groups/orchestration/understanding-host-vitals.md is excluded by !**/*.md
📒 Files selected for processing (13)
  • changes/37142-local-admin-password-rotation
  • server/datastore/mysql/managed_local_account.go
  • server/datastore/mysql/managed_local_account_test.go
  • server/datastore/mysql/migrations/tables/20260428125634_AddManagedLocalAccountRotationColumns.go
  • server/datastore/mysql/migrations/tables/20260428125634_AddManagedLocalAccountRotationColumns_test.go
  • server/datastore/mysql/schema.sql
  • server/fleet/apple_mdm.go
  • server/fleet/datastore.go
  • server/mock/datastore_mock.go
  • server/service/apple_mdm.go
  • server/service/integration_mdm_test.go
  • server/service/osquery_utils/queries.go
  • server/service/osquery_utils/queries_test.go

Comment thread changes/37142-local-admin-password-rotation
Comment on lines +982 to +989
// Usernames starting with an underscore are excluded (macOS system accounts),
// with the managed local admin (_fleetadmin) allowlisted so the ingest layer
// can capture its UUID for MDM rotation. The ingest layer is responsible for
// excluding _fleetadmin from host_users — see directIngestUsers.
const usersQueryStr = `WITH cached_groups AS (select * from groups)
SELECT uid, uuid, username, type, groupname, shell
FROM users LEFT JOIN cached_groups USING (gid)
WHERE type <> 'special' AND shell NOT LIKE '%/false' AND shell NOT LIKE '%/nologin' AND shell NOT LIKE '%/shutdown' AND shell NOT LIKE '%/halt' AND username NOT LIKE '%$' AND username NOT LIKE '\_%' ESCAPE '\' AND NOT (username = 'sync' AND shell ='/bin/sync' AND directory <> '')`
WHERE type <> 'special' AND shell NOT LIKE '%/false' AND shell NOT LIKE '%/nologin' AND shell NOT LIKE '%/shutdown' AND shell NOT LIKE '%/halt' AND username NOT LIKE '%$' AND (username NOT LIKE '\_%' ESCAPE '\' OR username = '` + fleet.ManagedLocalAccountUsername + `') AND NOT (username = 'sync' AND shell ='/bin/sync' AND directory <> '')`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Keep the _fleetadmin allowlist out of the shared usersQueryStr.

usersQueryStr is also the source for withCachedUsers(...) (Lines 991-993), so this change now pulls _fleetadmin into the user-scoped software queries too, not just directIngestUsers. That widens unrelated collection for a service account we still intentionally exclude from host_users. Please split the macOS host-users query from the shared cached-users query, or apply the allowlist only to the dedicated users detail query.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@server/service/osquery_utils/queries.go` around lines 982 - 989, The shared
usersQueryStr currently includes the `_fleetadmin` allowlist which leaks that
service account into withCachedUsers; remove the allowlist from the shared query
and apply it only in the dedicated host-users/detail query used by
directIngestUsers. Concretely, split usersQueryStr into two identifiers (e.g.,
cachedUsersQueryStr without the "(username =
'...ManagedLocalAccountUsername...')" clause and detailUsersQueryStr that
retains the allowlist), update withCachedUsers(...) to use cachedUsersQueryStr,
and ensure directIngestUsers (or the function that builds the host detail query)
uses detailUsersQueryStr so `_fleetadmin` stays excluded from cached/shared user
collections.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Implements the DB schema and ingestion plumbing needed to support managed local admin password rotation on macOS by adding rotation-state columns and capturing the managed admin account UUID (_fleetadmin) from osquery, with an MDM-driven refetch kickstart to shorten capture latency.

Changes:

  • Adds rotation-related columns (and index) to host_managed_local_account_passwords and regenerates schema.sql.
  • Captures _fleetadmin’s users.uuid during directIngestUsers and persists it via new datastore methods.
  • Requests a host refetch after AccountConfiguration ack when the managed local account exists but account_uuid is still NULL; adds unit/integration test coverage.

Reviewed changes

Copilot reviewed 12 out of 14 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
server/service/osquery_utils/queries.go Allowlists _fleetadmin in the users query and captures/persists its UUID during direct ingest.
server/service/osquery_utils/queries_test.go Adds unit tests covering managed-local-account UUID capture behavior and filtering from host_users.
server/service/apple_mdm.go Triggers a best-effort host refetch after AccountConfiguration ack when account_uuid is still NULL.
server/service/integration_mdm_test.go Extends managed local account integration test to validate refetch + UUID capture + idempotency.
server/fleet/datastore.go Adds datastore interface methods for get/set managed local account UUID.
server/fleet/apple_mdm.go Promotes _fleetadmin to fleet.ManagedLocalAccountUsername.
server/datastore/mysql/managed_local_account.go Clears account_uuid on managed-local-account upsert; implements Get/Set UUID methods.
server/datastore/mysql/managed_local_account_test.go Adds datastore tests for Get/Set UUID semantics.
server/mock/datastore_mock.go Extends mock datastore with Get/Set managed local account UUID methods.
server/datastore/mysql/migrations/tables/20260428125634_AddManagedLocalAccountRotationColumns.go Adds migration for rotation-state columns and auto_rotate_at index.
server/datastore/mysql/migrations/tables/20260428125634_AddManagedLocalAccountRotationColumns_test.go Verifies migration behavior on existing/new rows and presence of the new index.
server/datastore/mysql/schema.sql Updates schema snapshot for new managed-local-account columns/index.
docs/Contributing/product-groups/orchestration/understanding-host-vitals.md Updates documented cached-users query to reflect _fleetadmin allowlist.
changes/37142-local-admin-password-rotation Adds a user-visible changes entry for the feature.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread changes/37142-local-admin-password-rotation
Comment thread server/service/osquery_utils/queries_test.go
Comment thread server/service/osquery_utils/queries.go Outdated
Comment on lines +982 to +989
// Usernames starting with an underscore are excluded (macOS system accounts),
// with the managed local admin (_fleetadmin) allowlisted so the ingest layer
// can capture its UUID for MDM rotation. The ingest layer is responsible for
// excluding _fleetadmin from host_users — see directIngestUsers.
const usersQueryStr = `WITH cached_groups AS (select * from groups)
SELECT uid, uuid, username, type, groupname, shell
FROM users LEFT JOIN cached_groups USING (gid)
WHERE type <> 'special' AND shell NOT LIKE '%/false' AND shell NOT LIKE '%/nologin' AND shell NOT LIKE '%/shutdown' AND shell NOT LIKE '%/halt' AND username NOT LIKE '%$' AND username NOT LIKE '\_%' ESCAPE '\' AND NOT (username = 'sync' AND shell ='/bin/sync' AND directory <> '')`
WHERE type <> 'special' AND shell NOT LIKE '%/false' AND shell NOT LIKE '%/nologin' AND shell NOT LIKE '%/shutdown' AND shell NOT LIKE '%/halt' AND username NOT LIKE '%$' AND (username NOT LIKE '\_%' ESCAPE '\' OR username = '` + fleet.ManagedLocalAccountUsername + `') AND NOT (username = 'sync' AND shell ='/bin/sync' AND directory <> '')`

Copilot AI Apr 28, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usersQueryStr is reused by withCachedUsers(...), so allowlisting _fleetadmin here affects all queries that build a cached_users CTE (software queries, VSCode extensions, JetBrains plugins, python packages with users, etc.), not just the users detail query. If the goal is only to fetch the UUID for managed-local-account capture, consider splitting this into two query strings (one for users ingest that includes _fleetadmin, and a separate one for cached_users joins that keeps excluding underscore/system accounts) to avoid unintentionally including _fleetadmin-scoped data in other ingestions.

Copilot uses AI. Check for mistakes.

@MagnusHJensen MagnusHJensen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small comment, I'll run through the flow in a second

}

func (ds *Datastore) GetManagedLocalAccountUUID(ctx context.Context, hostUUID string) (*string, error) {
const stmt = `SELECT account_uuid FROM host_managed_local_account_passwords WHERE host_uuid = ?`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there ever a chance where we have more tha none managed local account for the same host UUID?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah we shouldn't. Likely a bug somewhere if we think we do

const stmt = `
UPDATE host_managed_local_account_passwords
SET account_uuid = ?
WHERE host_uuid = ? AND (account_uuid IS NULL OR account_uuid <> ?)`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just got bamboozled by the <> operator. 🤦‍♂️
I thought it was equal, but it's actually not equals, I guess it depends on the background how easy one understands that. I'll just do a quick advocation for !=, but that is only my personal preference.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it functionally matters much in modern SQL but I usually use <> out of habit as some older DBs I worked on didn't support or didn't fully support != but I am happy to change it. <> is the SQL standard form whereas != is one of those non-standard-but-everyone-supports-it things

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It definitely doesn't matter, so I'll leave it up to you what you think fits best.

@MagnusHJensen MagnusHJensen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be another local reference to the _fleetadmin here:

fleetAdminShortName = "_fleetadmin"

@MagnusHJensen

Copy link
Copy Markdown
Member

I see the new columns, and on a new enrollment (also for existing) it orbit eventually queries the managed account UUID.

Once the small comment above is addressed, ping for re-review and I'll approve.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JordanMontgomery

Copy link
Copy Markdown
Member Author

There seems to be another local reference to the _fleetadmin here:

fleetAdminShortName = "_fleetadmin"

Fixed

@sgress454 sgress454 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

host vitals docs matches new query 👍

@JordanMontgomery
JordanMontgomery merged commit 78c0b0c into main Apr 29, 2026
53 checks passed
@JordanMontgomery
JordanMontgomery deleted the JM-43885 branch April 29, 2026 15:14
@coderabbitai coderabbitai Bot mentioned this pull request May 5, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MLAPR: Migration & UUID capture

4 participants