Switch FMA manifest retrieval to use Cloudflare R2 bucket (#43012)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
* Switched Fleet-maintained apps serving location from GitHub to https://maintained-apps.fleetdm.com/manifests. If you limit outbound Fleet server traffic, make sure it can access the new FMA manifests location.
|
||||
@@ -29,7 +29,7 @@ type AppsList struct {
|
||||
Apps []appListing `json:"apps"`
|
||||
}
|
||||
|
||||
const fmaOutputsBase = "https://raw.githubusercontent.com/fleetdm/fleet/refs/heads/main/ee/maintained-apps/outputs"
|
||||
const fmaOutputsBase = "https://maintained-apps.fleetdm.com/manifests"
|
||||
|
||||
// Refresh fetches the latest information about maintained apps from FMA's
|
||||
// apps list on GitHub and updates the Fleet database with the new information.
|
||||
|
||||
@@ -14127,7 +14127,7 @@ func (s *integrationEnterpriseTestSuite) TestBatchSetSoftwareInstallers() {
|
||||
defer manifestServer.Close()
|
||||
mockTransport = &mockRoundTripper{
|
||||
mockServer: manifestServer.URL,
|
||||
origBaseURL: "https://raw.githubusercontent.com",
|
||||
origBaseURL: "https://maintained-apps.fleetdm.com",
|
||||
next: http.DefaultTransport,
|
||||
}
|
||||
http.DefaultTransport = mockTransport
|
||||
@@ -20632,7 +20632,7 @@ func (s *integrationEnterpriseTestSuite) TestUpgradeCodesFromMaintainedApps() {
|
||||
|
||||
mockTransport := &mockRoundTripper{
|
||||
mockServer: manifestServer.URL,
|
||||
origBaseURL: "https://raw.githubusercontent.com",
|
||||
origBaseURL: "https://maintained-apps.fleetdm.com",
|
||||
next: http.DefaultTransport,
|
||||
}
|
||||
http.DefaultTransport = mockTransport
|
||||
|
||||
Reference in New Issue
Block a user