diff --git a/x-pack/osquerybeat/dev-tools/packaging/packages.yml b/x-pack/osquerybeat/dev-tools/packaging/packages.yml index 1e8c67f1b6f9..74e1162bb5a9 100644 --- a/x-pack/osquerybeat/dev-tools/packaging/packages.yml +++ b/x-pack/osquerybeat/dev-tools/packaging/packages.yml @@ -91,6 +91,14 @@ specs: source: build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}} - os: darwin + arch: amd64 + types: [tgz] + spec: + <<: *unix_binary_spec + <<: *elastic_license_for_binaries + + - os: darwin + arch: arm64 types: [tgz] spec: <<: *unix_binary_spec diff --git a/x-pack/osquerybeat/internal/distro/distro.go b/x-pack/osquerybeat/internal/distro/distro.go index 6fd071048474..e3ac226bc3b2 100644 --- a/x-pack/osquerybeat/internal/distro/distro.go +++ b/x-pack/osquerybeat/internal/distro/distro.go @@ -138,6 +138,7 @@ var specs = map[OSArch]Spec{ {"linux", "amd64"}: {"_1.linux_x86_64.tar.gz", osqueryDistroLinuxSHA256, true}, {"linux", "arm64"}: {"_1.linux_aarch64.tar.gz", osqueryDistroLinuxARMSHA256, true}, {"darwin", "amd64"}: {osqueryPkgExt, osqueryDistroDarwinSHA256, false}, + {"darwin", "arm64"}: {osqueryPkgExt, osqueryDistroDarwinSHA256, false}, {"windows", "amd64"}: {osqueryMSIExt, osqueryDistroWindowsSHA256, false}, }