Repository navigation
Release v5.0.0 - #557
Merged
Merged
Release v5.0.0#557
Conversation
Warhammer4000
enabled auto-merge
November 20, 2026 04:17
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 16 minutes. View limit details
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging this PR tags
v5.0.0onmainand publishes the release with these notes fromCHANGELOG.md.Edit the notes by pushing to this branch before it merges.
Added
obj/project.assets.json,packages.lock.jsonandpackages.config; .NET global tools (~/.dotnet/tools/.store) asglobal; and the NuGet cache (~/.nuget/packages) as the newcachescope (downloaded, maybe run by a build, but not installed). The project scan skipsbinandpackagesnext to a.csproj/.slnand reads onlyproject.assets.jsoninobj.groupId:artifactId:gradle.lockfileandbuildscript-gradle.lockfile, the direct dependencies ofpom.xml(literal versions or${properties}from the same file; parent, BOM-managed and range versions aren't resolved), and the~/.m2/repository(or thelocalRepositoryin~/.m2/settings.xml) and Gradle module caches ascache.targetandbuildnext to apom.xml/build.gradlearen't walked.go.modrequirements (withreplaceapplied; local replacements left out) and the other modulesgo.sumsays were downloaded; the modules and Go version embedded ingo installbinaries in~/go/bin(read withdebug/buildinfo, never run), with the standard library reported asstdlib; and the module download cache ascache.Cargo.lockentries from crates.io (path, git and other registries left out),cargo installbinaries from~/.cargo/.crates2.json(or.crates.toml), and the crates.io download cache ascache.targetnext to aCargo.tomlisn't walked.GEMspecs ofGemfile.lock/gems.locked(platform suffixes dropped), and installed gems (user, rbenv, rvm, asdf, mise, system and Homebrew Ruby, RubyInstaller), read from the gemspec file names inspecifications/andspecifications/default/without running any Ruby.pubspec.lock(pub.dev packages),dart pub global activatepackages and the Pub cache;mix.lock(public Hex packages);Package.resolvedv1–v3 (pins with a version, named by repository URL);renv.lock(CRAN and Posit Package Manager packages) and installed R libraries (DESCRIPTIONwithRepository: CRAN). The walk skipsbuildnext topubspec.yaml,depsand_buildnext tomix.exs,Podsnext to aPodfile, andrenv/library.agent_get_package_settings(ecosystems). A server without the list gets npm, PyPI and Composer only, as before, so an older server never rejects a snapshot; roots of ecosystems the server doesn't accept aren't read.bun.lock(Bun 1.2+; the binarybun.lockbcan't be read without Bun and is counted in the log instead), Bun global installs, pnpm global installs (their links are followed only inside pnpm's own store) and Node versions installed with asdf or mise.pdm.lockand PEP 751pylock.toml/pylock.*.tomllockfiles.requirements*.txtthat isn't fully pinned), the project scan reads thesite-packagesof its.venv,venvorenvfolder, if that folder has apyvenv.cfg, and reports them asprojectpackages located at the virtualenv. Nothing else in the virtualenv is walked.-tags readonly,make readonly) that only reports (Read-only build: compile out script execution, device actions and DLP blocking #547). It has no script execution (console scripts, inline bodies, artifacts) and no device actions (device-reboot,firewall-enable/-disable,local-admin-add/-remove,admin-password-rotate,mdm-sync,mdm-unenroll). DLP detects and reports every match as monitored but never blocks, warns, prompts or redirects uploads. YARA,notify-userandmdm-enrollare off in it for now. The code is left out of the binary, so no setting or server reply can turn it back on, and such tasks fail with "not available in this read-only build". The inventory carriesbuild_flavor(fullorreadonly) andbuild_features(the features compiled in:scripts,device_actions,dlp_enforcement,yara,notify_user,mdm_enroll;[]in the read-only build), and the read-only build doesn't advertise the capabilities it lacks.sentinelgo-readonly-<os>-<arch>binaries, signed, in SHA256SUMS, with SBOMs and attestations (Read-only build: publish both builds per release and follow the server's flavor on update #548).install.shandinstall.battake--readonlyto install it.flavoringet_latest_agent_releaseother than the running build's is installed at the same version too, watched by the update health check, so the console can move a device between the full and the read-only build in either direction. A release row whose asset isn't the build it names is refused, and a read-only agent never takes the full build from a server that doesn't sendflavoryet.sentinelgo-readonly-windows-amd64.msiandsentinelgo-readonly-darwin-universal.pkg, the generic installers built from the read-only binaries, for deploying read-only agents with a third-party tool (Intune, GPO, Jamf…). They are signed, inSHA256SUMSand attested like the full ones; the package is notarized when the release keys are set. Both builds' MSIs share the UpgradeCode, and both packages the identifiercom.sentinelgo.agent, so installing one build's installer replaces the other at the same or a newer version. Enrolling with them needs a deployment token from the server (Compliance-OS#1082).sentinelgo-installers.jsonlists every build's installers underflavors, keyed by build (full,readonly); the top-levelmsiandpkgstill describe the full build.build_flavorandbuild_features, so the server can refuse a token issued for another build.sentinelgo -versionprints aBuild flavor:line.Changed
mdm-enroll(profile method) guides the user through approving the enrollment profile (mdm-enroll on macOS: guided profile approval (active user, open Device Management, Enroll now, fresh profile) #545). The agent waits up to 10 minutes, within the task's deadline, for the console user to be at the Mac (recent input, screen unlocked), and fails withuser_idle_timeoutif they never are. It fetches a new profile for every presentation; the once-a-day limit is gone andforceis no longer needed. It opens System Settings at Device Management (Profiles on macOS 12 and earlier) and shows a dialog that says what to click. Until the Mac is enrolled, its user is offered an Enroll now dialog every 4 hours while they're at the Mac, which presents a new profile on the spot.Fixed
install.shre-runs itself under sudo with the command it was given;./install.sh uninstall(orupdate,fix-service) run as a normal user used to re-run asinstall(Read-only build: publish both builds per release and follow the server's flavor on update #548).