Skip to content

Software: support Azure Blob StorageΒ #54774

Description

@marko-lisica

Goal

User story
As an IT admin,
I want to host my software packages (apps and bootstrap package) on Azure Blob Storage
so that I don't need to setup additional object storage because Azure isn't S3-compatible.

Changes

Product

  • UI changes: No changes
  • CLI (fleetctl) usage changes: No changes
  • YAML changes: No changes
  • REST API changes: No changes
  • Fleet's agent (fleetd) changes: No changes
  • Fleet server configuration changes: [Docs] Software: support Azure Blob StorageΒ #54785
  • Exposed, public API endpoint changes: No changes
  • fleetdm.com changes: No changes
  • GitOps mode UI changes: No changes
  • GitOps generation changes: No changes
  • Activity changes: No changes
  • Permissions changes: No changes
  • Changes to paid features or tiers: Software and bootstrap package features are premium features.
  • My device and fleetdm.com/better changes: No changes
  • Usage statistics: No changes
  • Compatibility: No changes
  • Other reference documentation changes: No changes
  • First draft of test plan added
  • Once shipped, requester has been notified
  • Once shipped, dogfooding issue has been filed. No need to dogfood, because we don't uze Azure.

Engineering

  • Test plan is finalized
  • Contributor API changes: No changes
  • Feature guide changes: No changes. The new server settings are documented in [Docs] Software: support Azure Blob StorageΒ #54785.
  • Database schema migrations: No changes
  • Load testing: Not required. Azure is opt-in, and the load test environment runs on S3.
  • Pre-QA load test: Not required
  • Load testing/osquery-perf improvements: None

ℹ️ Β Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".

Risk assessment

  • Requires testing in a hosted environment: No. QA needs a real Azure Storage account so hosts can download from signed URLs.
  • Requires load testing: No
  • Risk level: Low

Test plan

Make sure to go through the list and consider all events that might be related to this story, so we catch edge cases earlier.

Core flow

  • Configure Fleet with an Azure Storage account, account key, and container (no S3 settings). Server starts and logs "using Azure Blob software installer store" (plus bootstrap package, software title icon, and org logo stores).
  • Add a custom package (.pkg, .msi, .deb) in the UI. The blob appears in the container, and the package installs on a host.
  • Add a Fleet-maintained app and a script-only package. Both are stored in the container and install successfully.
  • Add software with fleetctl gitops (packages + Fleet-maintained apps across 2 fleets). All installers land in the container and install on hosts.
  • Upload a bootstrap package and enroll a macOS host via ADE. The bootstrap package installs.
  • Add a custom software icon and an org logo. Both are stored in the container and render in the UI and Fleet Desktop self-service.
  • Install from Fleet Desktop self-service with signed URLs off. Download goes through Fleet.
  • Turn signed URLs on and repeat installer, in-house app (.ipa), and bootstrap package installs. Hosts download from a SAS URL (*.blob.core.windows.net/...?sig=...), and the install succeeds.
  • Delete software in the UI and remove it from GitOps YAML. After the cleanup cron runs, unused blobs are deleted from the container, and blobs still used by another fleet are kept.

Edge cases

  • TODO

Supplemental testing

Testing notes

Confirmation

  1. Engineer: Added comment to user story confirming successful completion of test plan (include any special setup, test data, or configuration used during development/testing if applicable).
  2. QA: Added comment to user story confirming successful completion of test plan.
  3. QA: Determined whether this story needs Playwright automation.
    • Needs automation: Yes / No
    • If yes, filed a follow-up issue in the :help-qa project with status "Needs automation":

Activity

  1. added
    story
    #g-auto-patching
    on Oct 5, 2026
  2. added this to the 4.95.0 milestone on Oct 5, 2026
  3. self-assigned this
    on Oct 5, 2026
  4. moved this from 🦒 Drafting to πŸ₯ Ready for review in β€οΈβ€πŸ©Ή #g-auto-patchingon Oct 15, 2026
  5. added a commit that references this issue on Oct 16, 2026
    a66bf6b
  6. moved this from πŸ₯ Ready for review to βœ”οΈAwaiting QA in β€οΈβ€πŸ©Ή #g-auto-patchingon Oct 16, 2026
  7. Brajim20 commented on Nov 2, 2026

    @Brajim20
    Member

    QA Pass with notes on main (e41c3c3) and 4.95.0-rc (rev 3d53444, 9ed13a3): Azure Blob Storage via Azurite on a dedicated server with osquery-perf hosts (macOS, Windows, Ubuntu), plus a real Azure Storage account (*.blob.core.windows.net) for the signed-URL row. Rows 3 and 5 passed on 2026-11-09 on a real fleetd host and a real ADE Mac. Row 8 passed on 2026-11-11 on real Azure for installers, an in-house app (.ipa) and a bootstrap package. Misconfigured storage error tracked in #57329.

    Core flow

    • Configure Fleet with an Azure Storage account, account key, and container (no S3 settings). Server starts and logs "using Azure Blob software installer store" (plus bootstrap package, software title icon, and org logo stores). All 4 store lines logged (Azurite account). Both backends set, an empty key or a malformed key each stop startup with a clear error.
    • Add a custom package (.pkg, .msi, .deb) in the UI. The blob appears in the container, and the package installs on a host. .pkg added in the UI, .msi and .deb through the API; each stored as software-installers/<sha256>. Installed on osquery-perf macOS, Windows and Ubuntu hosts (real orbit download, installer not executed).
    • Add a Fleet-maintained app and a script-only package. Both are stored in the container and install successfully. FMAs (Itsycal, Notepad++ 7 MB) stored and installed. Script-only package stored as software-installers/<sha256> and installed on a real fleetd 1.63.0 Ubuntu host (4.95.0-rc.2611090105, rev 3a8a674): script output returned, side effect present, downloaded through Fleet.
    • Add software with fleetctl gitops (packages + Fleet-maintained apps across 2 fleets). All installers land in the container and install on hosts. Fleets b (existing) + c (created by GitOps); identical installers share one blob; installs pass.
    • Upload a bootstrap package and enroll a macOS host via ADE. The bootstrap package installs. Signed Installomator-10.9.pkg stored as bootstrap-packages/<sha256>; Mac mini erased and re-enrolled via ADE (4.95.0-rc.2611090105, rev 3a8a674, Azurite): InstallEnterpriseApplication acknowledged, downloaded through Fleet, bootstrap status Installed, receipt com.scriptingosx.Installomator on the device.
    • Add a custom software icon and an org logo. Both are stored in the container and render in the UI and Fleet Desktop self-service. Stored as software-title-icons/<sha256> and org-logos/{light,dark}; served bytes match the uploads. Rendered on the title page, the nav, and the My device self-service page that Fleet Desktop opens (osquery-perf host).
    • Install from Fleet Desktop self-service with signed URLs off. Download goes through Fleet. Via the Fleet Desktop device API on an osquery-perf host: installed, self_service: true, downloaded through Fleet.
    • Turn signed URLs on and repeat installer, in-house app (.ipa), and bootstrap package installs. Hosts download from a SAS URL (*.blob.core.windows.net/...?sig=...), and the install succeeds. Real Azure (fleetqa54774.blob.core.windows.net, SAS sv=2026-12-06, sp=r); every download below came from Azure with 0 downloads through Fleet, confirmed in the Azure access log. Installer: .deb installed twice on a real fleetd Ubuntu host (4.95.0-rc.2611092007, rev 3d53444); no signature β†’ 409, tampered signature β†’ 403. In-house app (4.95.0-rc.2611102234, rev 9ed13a3): ad hoc .ipa installed on a real iPhone (iOS 27.2.1) through MDM; the manifest points to the SAS URL, the iPhone fetched the full file (GetBlob SASSuccess 200), and Fleet shows it installed. Bootstrap (same build): Mac mini erased and re-enrolled via ADE; it fetched the full package from the SAS URL (GetBlob SASSuccess 200), and bootstrap status is Installed. Earlier on Azurite: .pkg, .msi, .deb and FMA installed from SAS URLs.
    • Delete software in the UI and remove it from GitOps YAML. After the cleanup cron runs, unused blobs are deleted from the container, and blobs still used by another fleet are kept. Deleted in UI, API and GitOps: unused blob removed by the cleanup cron; blob still used by 3 fleets kept.

    Edge cases

    Issues found

    Issue Origin Severity
    #57329 This story (unreleased) Low: misconfigured storage shows the raw Azure SDK error on upload
    Docs #54785: Azure key names (azure_software_installers_* β†’ cloud_storage_azure_files_*) This story (docs) Low: fixed in #57704
    Image Image Image
  8. marko-lisica commented on Nov 5, 2026

    @marko-lisica
    MemberAuthor

    Docs #54785: first heading azure_software_installers_account_name and two mentions of azure_software_installers_container should be cloud_storage_azure_files_* (@marko-lisica)

    @Brajim20 fixed this here: #57704

  9. moved this from βœ”οΈAwaiting QA to βœ… Ready for release in β€οΈβ€πŸ©Ή #g-auto-patchingon Nov 11, 2026
  10. 1 remaining item

  11. moved this from πŸ“¨ Inbox to βœ… πŸŽ‰ Confirm and celebrate in πŸ¦’πŸ“¨πŸŽ‰ Product design intake & outtakeon Nov 17, 2026
  12. added and removed
    :product
    on Nov 17, 2026
  13. added
    :help-customers
    on Nov 17, 2026
  14. moved this from πŸ“¨ New requests to 🐣 In progress in 🌦️ :help-customerson Nov 17, 2026
  15. moved this from 🐣 In progress to 🍳 Needs follow-up in 🌦️ :help-customerson Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

#g-auto-patching:help-customerscustomer-ampellastory

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions