Skip to main content

Configuring Patch Extend

Patch Extend is in Beta

Patch Extend is currently in beta and available for testing. We're actively refining the feature and building out comprehensive documentation. We recommend evaluating it in a test environment before deploying to production, and we welcome your feedback as we continue to improve!

Patch Extend feeds are configured under preference domain com.alectrona.patch, key PatchExtendFeeds (array of dictionaries).

Deploy that preference as a computer-level (device) configuration profile. Patch Agent and sudo patch … read computer / managed preferences—not a user profile created by double-clicking a .mobileconfig.

For a first end-to-end test, start with Getting Started and the downloadable unsigned file-feed profile.

Download:

Patch-Extend-Quickstart-Unsigned.mobileconfig

Upload it to your MDM as a computer configuration profile (or rebuild the same payload in Jamf). It points at /Library/Application Support/Alectrona/PatchExtend/quickstart-feed.json with RequireSignature set to false.

Jamf: Application & Custom Settings​

  1. Create a computer-level Application & Custom Settings payload (or upload the .mobileconfig above as a computer configuration profile). Do not scope this as a user-level profile.
  2. Preference domain: com.alectrona.patch.
  3. Include the PatchExtendFeeds key. Example fragment to paste into the domain payload (not a complete profile by itself):
<key>PatchExtendFeeds</key>
<array>
<dict>
<key>Type</key>
<string>file</string>
<key>URI</key>
<string>/Library/Application Support/Alectrona/PatchExtend/quickstart-feed.json</string>
<key>Priority</key>
<integer>1</integer>
<key>RequireSignature</key>
<false/>
</dict>
</array>
RequireSignature

RequireSignature must be present. For unsigned feeds, set it to false. Omitting the key causes the feed entry to fail to decode.

RequireSignature: false is supported for real deployments when the feed is under administrator control (file ownership/permissions, or a trusted HTTPS origin). Examples on this page use false for that reason. Keep local feed JSON write access administrator-controlled—see Host and secure feeds. Customer-facing feed signing tooling is not documented here yet, so do not treat unsigned as “testing only until you can sign.”

Key reference​

KeyRequiredDescription
TypeYesfile or web
URIYesAbsolute file path, or HTTPS URL for the feed JSON
PriorityNoLower wins when multiple feeds apply (client default when omitted is typically 100)
RequireSignatureYesBoolean. Use false for unsigned feeds (supported when the feed is admin-controlled)
AuthenticationNoFeed-host auth for web feeds (Type bearer or header, plus token / header name)
TTLSecondsNoOptional feed cache TTL (seconds). Present on the profile schema; do not assume a client default until your Patch build documents one
ScopeNoOptional include / exclude patterns for which app ids the feed applies to

Feed-level Authentication applies to downloading the feed JSON, not package media. See Host and secure feeds.

Example payloads​

Preference domain for all examples: com.alectrona.patch.

Unsigned local file feed (same shape as the quick-start profile):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PatchExtendFeeds</key>
<array>
<dict>
<key>Type</key>
<string>file</string>
<key>URI</key>
<string>/Library/Application Support/Alectrona/PatchExtend/quickstart-feed.json</string>
<key>Priority</key>
<integer>1</integer>
<key>RequireSignature</key>
<false/>
</dict>
</array>
</dict>
</plist>