Configuring Patch Extend
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.
Complete test profile (recommended)​
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​
- Create a computer-level Application & Custom Settings payload (or upload the
.mobileconfigabove as a computer configuration profile). Do not scope this as a user-level profile. - Preference domain:
com.alectrona.patch. - Include the
PatchExtendFeedskey. 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 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​
| Key | Required | Description |
|---|---|---|
Type | Yes | file or web |
URI | Yes | Absolute file path, or HTTPS URL for the feed JSON |
Priority | No | Lower wins when multiple feeds apply (client default when omitted is typically 100) |
RequireSignature | Yes | Boolean. Use false for unsigned feeds (supported when the feed is admin-controlled) |
Authentication | No | Feed-host auth for web feeds (Type bearer or header, plus token / header name) |
TTLSeconds | No | Optional feed cache TTL (seconds). Present on the profile schema; do not assume a client default until your Patch build documents one |
Scope | No | Optional 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.
- Local file feed
- Web feed with bearer auth
- Web feed with header auth
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>
HTTPS feed with bearer authentication to the feed host (RequireSignature false):
<?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>web</string>
<key>URI</key>
<string>https://example.com/feeds/company.json</string>
<key>Priority</key>
<integer>1</integer>
<key>RequireSignature</key>
<false/>
<key>Authentication</key>
<dict>
<key>Type</key>
<string>bearer</string>
<key>Token</key>
<string>replace-with-your-token</string>
</dict>
</dict>
</array>
</dict>
</plist>
HTTPS feed with a custom header (RequireSignature false):
<?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>web</string>
<key>URI</key>
<string>https://example.com/feeds/company.json</string>
<key>Priority</key>
<integer>2</integer>
<key>RequireSignature</key>
<false/>
<key>Authentication</key>
<dict>
<key>Type</key>
<string>header</string>
<key>HeaderName</key>
<string>X-API-Key</string>
<key>Token</key>
<string>replace-with-your-token</string>
</dict>
</dict>
</array>
</dict>
</plist>