diff --git a/.github/workflows/generate-osqueryd-targets.yml b/.github/workflows/generate-osqueryd-targets.yml index 4230df8c2c..964ff8a6fd 100644 --- a/.github/workflows/generate-osqueryd-targets.yml +++ b/.github/workflows/generate-osqueryd-targets.yml @@ -14,7 +14,7 @@ on: workflow_dispatch: env: - OSQUERY_VERSION: 5.2.3 + OSQUERY_VERSION: 5.3.0 permissions: contents: read @@ -44,7 +44,7 @@ jobs: - name: Download and extract osqueryd for linux run: | - curl -L https://pkg.osquery.io/linux/osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz --output osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz + curl -L https://github.com/osquery/osquery/releases/download/${{ env.OSQUERY_VERSION }}/osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz --output osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz tar xf osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz chmod +x ./opt/osquery/bin/osqueryd ./opt/osquery/bin/osqueryd --version @@ -64,7 +64,7 @@ jobs: - name: Download osquery msi for Windows shell: bash run: | - curl -L https://pkg.osquery.io/windows/osquery-${{ env.OSQUERY_VERSION }}.msi --output osquery-${{ env.OSQUERY_VERSION }}.msi + curl -L https://github.com/osquery/osquery/releases/download/${{ env.OSQUERY_VERSION }}/osquery-${{ env.OSQUERY_VERSION }}.msi --output osquery-${{ env.OSQUERY_VERSION }}.msi - name: Extract osqueryd.exe for Windows shell: cmd @@ -76,4 +76,4 @@ jobs: uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v2 with: name: osqueryd.exe - path: C:\temp\osquery\osqueryd\osqueryd.exe \ No newline at end of file + path: C:\temp\osquery\osqueryd\osqueryd.exe diff --git a/Makefile b/Makefile index 3cf2e5b648..4d56a65b12 100644 --- a/Makefile +++ b/Makefile @@ -294,7 +294,7 @@ ifneq ($(shell uname), Darwin) @exit 1 endif $(eval TMP_DIR := $(shell mktemp -d)) - curl -L https://pkg.osquery.io/darwin/osquery-$(version).pkg --output $(TMP_DIR)/osquery-$(version).pkg + curl -L https://github.com/osquery/osquery/releases/download/$(version)/osquery-$(version).pkg --output $(TMP_DIR)/osquery-$(version).pkg pkgutil --expand $(TMP_DIR)/osquery-$(version).pkg $(TMP_DIR)/osquery_pkg_expanded rm -rf $(TMP_DIR)/osquery_pkg_payload_expanded mkdir -p $(TMP_DIR)/osquery_pkg_payload_expanded