Skip to content

Support for osquery 5.22.1#789

Merged
javuto merged 1 commit intomainfrom
osquery-5.22.1
Mar 31, 2026
Merged

Support for osquery 5.22.1#789
javuto merged 1 commit intomainfrom
osquery-5.22.1

Conversation

@javuto
Copy link
Copy Markdown
Collaborator

@javuto javuto commented Mar 31, 2026

@javuto javuto requested a review from Copilot March 31, 2026 09:08
@javuto javuto added the osquery osquery related issues label Mar 31, 2026
@javuto javuto merged commit fb873f8 into main Mar 31, 2026
57 checks passed
@javuto javuto deleted the osquery-5.22.1 branch March 31, 2026 09:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s pinned/default osquery version to 5.22.1 across build tooling, deployment configs, CI workflows, and the Go version constants used by osctrl components.

Changes:

  • Bump OsqueryVersion constant (and related tests) from 5.21.05.22.1.
  • Update deployment/configuration defaults (YAML configs, provision script, Dockerfile arg default, CI env, .env.example) to 5.22.1.
  • Refresh tool documentation/examples and the fake_news_go version list to reference 5.22.1.

Reviewed changes

Copilot reviewed 16 out of 17 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tools/README.md Updates example commands to use osquery 5.22.1 artifacts.
tools/fake_news_go/fake_news.go Updates simulated osquery versions list to include 5.22.1.
tools/build-osctrl-pkg.sh Updates usage example to 5.22.1.
tools/build-osctrl-deb.sh Updates usage example to 5.22.1.
pkg/version/version.go Bumps OsqueryVersion constant to 5.22.1.
pkg/version/version_test.go Updates expected osquery version values in tests.
deploy/provision.sh Updates provision default OSQUERY_VERSION to 5.22.1.
deploy/docker/dockerfiles/Dockerfile-osquery Updates default OSQUERY_VERSION build arg to 5.22.1.
deploy/config/tls.yml Updates configured osquery version + tables file path to 5.22.1.
deploy/config/api.yml Updates configured osquery version + tables file path to 5.22.1.
deploy/config/admin.yml Updates configured osquery version + tables file path to 5.22.1.
deploy/cicd/deb/generate-deb-package.sh Updates default OSQUERY_VERSION used during DEB generation to 5.22.1.
.github/workflows/create_tagged_releases.yml Updates CI env OSQUERY_VERSION to 5.22.1.
.github/workflows/build_and_test_pr.yml Updates CI env OSQUERY_VERSION to 5.22.1.
.github/workflows/build_and_test_main_merge.yml Updates CI env OSQUERY_VERSION to 5.22.1.
.env.example Updates example OSQUERY_VERSION to 5.22.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 5 to 9
OSCTRL_USER="${VARIABLE:-osctrl}"
OSCTRL_GROUP="${VARIABLE:-osctrl}"
WORKING_DIR="${VARIABLE:-/opt/osctrl}"
OSQUERY_VERSION="${VARIABLE:-5.21.0}"
OSQUERY_VERSION="${VARIABLE:-5.22.1}"
OSCTRL_VERSION="${VARIABLE:-0.0.0}"
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the DEB packaging flow, the installed osquery tables file name doesn't match the default/configured tablesFile path. deploy/config/*.yml (and pkg/config/flags.go default) point to ./data/<version>.json, but this script later copies the schema to /opt/osctrl/data/osquery-<version>.json. This will cause osctrl-admin to fail at startup when it tries to open the tables file. Align the filename (either copy to <version>.json or update the packaged config to reference osquery-<version>.json).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

osquery osquery related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants