diff --git a/ee/maintained-apps/ingesters/homebrew/external_refs/cisco_jabber_version_transformer.go b/ee/maintained-apps/ingesters/homebrew/external_refs/cisco_jabber_version_transformer.go new file mode 100644 index 0000000000..6a9736f025 --- /dev/null +++ b/ee/maintained-apps/ingesters/homebrew/external_refs/cisco_jabber_version_transformer.go @@ -0,0 +1,12 @@ +package externalrefs + +import ( + maintained_apps "github.com/fleetdm/fleet/v4/ee/maintained-apps" +) + +// CiscoJabberVersionTransformer sets the version to "15.2.0" which matches what osquery reports. +// Homebrew reports a build number (e.g., "20251027035315") instead of the app version (e.g., "15.2.0"). +func CiscoJabberVersionTransformer(app *maintained_apps.FMAManifestApp) (*maintained_apps.FMAManifestApp, error) { + app.Version = "15.2.0" + return app, nil +} diff --git a/ee/maintained-apps/ingesters/homebrew/external_refs/main.go b/ee/maintained-apps/ingesters/homebrew/external_refs/main.go index bed1cfaf92..1b8265bba0 100644 --- a/ee/maintained-apps/ingesters/homebrew/external_refs/main.go +++ b/ee/maintained-apps/ingesters/homebrew/external_refs/main.go @@ -28,14 +28,6 @@ func ChromePKGInstaller(app *maintained_apps.FMAManifestApp) (*maintained_apps.F return app, nil } -// CiscoJabberVersionTransformer sets the version to "latest" so that the validation -// extracts the actual app version from the PKG file, which matches what osquery reports. -// Homebrew reports a build number (e.g., "20251027035315") instead of the app version (e.g., "15.1.2"). -func CiscoJabberVersionTransformer(app *maintained_apps.FMAManifestApp) (*maintained_apps.FMAManifestApp, error) { - app.Version = "latest" - return app, nil -} - func EnrichManifest(app *maintained_apps.FMAManifestApp) { // Enrich the app manifest with additional metadata if enrichers, ok := Funcs[app.Slug]; ok { diff --git a/ee/maintained-apps/outputs/cisco-jabber/darwin.json b/ee/maintained-apps/outputs/cisco-jabber/darwin.json index 13cf7f2fe7..8928aafbb1 100644 --- a/ee/maintained-apps/outputs/cisco-jabber/darwin.json +++ b/ee/maintained-apps/outputs/cisco-jabber/darwin.json @@ -1,7 +1,7 @@ { "versions": [ { - "version": "latest", + "version": "15.2.0", "queries": { "exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.cisco.jabber';" },