Skip to content

Commit 1cf69c5

Browse files
authored
Merge pull request #656 from jmpsec/osquery-5.17.0
Adding support for osquery `5.17.0`
2 parents b62b250 + 38b4d63 commit 1cf69c5

File tree

15 files changed

+27902
-18
lines changed

15 files changed

+27902
-18
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OSCTRL_VERSION=0.4.4
2-
OSQUERY_VERSION=5.16.0
2+
OSQUERY_VERSION=5.17.0
33
NGINX_VERSION=1.21.6-alpine
44
POSTGRES_VERSION=13.5-alpine
55
POSTGRES_DB_NAME=osctrl

.github/actions/build/dpkg/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
GOOS: ${{ inputs.go_os }}
4545
GOARCH: ${{ inputs.go_arch }}
4646
COMMIT_SHA: ${{ inputs.commit_sha }}
47-
OSQUERY_VESION: ${{ inputs.osquery_version }}
47+
OSQUERY_VERSION: ${{ inputs.osquery_version }}
4848
OSCTRL_VERSION: ${{ inputs.commit_sha }}
4949

5050
- name: Create DEB package contents for tagged version

.github/workflows/build_and_test_main_merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
env:
1212
GOLANG_VERSION: 1.24.3
13-
OSQUERY_VERSION: 5.16.0
13+
OSQUERY_VERSION: 5.17.0
1414

1515
jobs:
1616
build_and_test:

.github/workflows/build_and_test_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request]
66

77
env:
88
GOLANG_VERSION: 1.24.3
9-
OSQUERY_VERSION: 5.16.0
9+
OSQUERY_VERSION: 5.17.0
1010

1111
jobs:
1212
build_and_test:

.github/workflows/create_tagged_releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
env:
1313
GOLANG_VERSION: 1.24.3
14-
OSQUERY_VERSION: 5.16.0
14+
OSQUERY_VERSION: 5.17.0
1515

1616
jobs:
1717
build_and_test:

deploy/cicd/deb/generate-deb-package.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
OSCTRL_USER="${VARIABLE:-osctrl}"
66
OSCTRL_GROUP="${VARIABLE:-osctrl}"
77
WORKING_DIR="${VARIABLE:-/etc/osctrl}"
8-
OSQUERY_VESION="${VARIABLE:-5.16.0}"
8+
OSQUERY_VERSION="${VARIABLE:-5.17.0}"
99
OSCTRL_VERSION="${VARIABLE:-0.0.0}"
1010

1111
###################################### Init DEB contents ######################################
@@ -74,7 +74,7 @@ then
7474
--carved /var/osctrl/carves \\
7575
--templates /usr/share/osctrl/tmpl_admin \\
7676
--static /usr/share/osctrl/static \\
77-
--osquery-tables /etc/osctrl/osctrl-admin/osquery-${OSQUERY_VESION}.json"
77+
--osquery-tables /etc/osctrl/osctrl-admin/osquery-${OSQUERY_VERSION}.json"
7878
EXECSTART+=${ADMIN_ARGS}
7979
fi
8080

@@ -130,11 +130,11 @@ then
130130
cp -r cmd/admin/static "${DEB_DIR}/usr/share/osctrl/static"
131131

132132
# Copy osquery schema
133-
cp deploy/osquery/data/${OSQUERY_VESION}.json "${DEB_DIR}/etc/osctrl/osctrl-admin/osquery-${OSQUERY_VESION}.json"
133+
cp deploy/osquery/data/${OSQUERY_VERSION}.json "${DEB_DIR}/etc/osctrl/osctrl-admin/osquery-${OSQUERY_VERSION}.json"
134134

135135
# Define conffiles
136136
echo "/etc/osctrl/osctrl-admin/jwt.json" >> "${DEB_DIR}/DEBIAN/conffiles"
137-
echo "/etc/osctrl/osctrl-admin/osquery-${OSQUERY_VESION}.json" >> "${DEB_DIR}/DEBIAN/conffiles"
137+
echo "/etc/osctrl/osctrl-admin/osquery-${OSQUERY_VERSION}.json" >> "${DEB_DIR}/DEBIAN/conffiles"
138138

139139
fi
140140

deploy/docker/conf/dev/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OSCTRL_VERSION=0.4.4
2-
OSQUERY_VERSION=5.16.0
2+
OSQUERY_VERSION=5.17.0
33
NGINX_VERSION=1.21.6-alpine
44
POSTGRES_VERSION=13.5-alpine
55
POSTGRES_DB_NAME=osctrl

deploy/docker/dockerfiles/Dockerfile-osquery

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG OSCTRL_VERSION
22
FROM jmpsec/osctrl-cli:v${OSCTRL_VERSION}
33

4-
ARG OSQUERY_VERSION=5.16.0
4+
ARG OSQUERY_VERSION=5.17.0
55

66
USER root
77

0 commit comments

Comments
 (0)