From aeb0f4101e25f967860ecc105a69068852b0fa3d Mon Sep 17 00:00:00 2001 From: Zachary Wasserman Date: Mon, 25 May 2020 10:16:24 -0700 Subject: [PATCH] Update test Docker container versions Previously these test Docker containers used https://github.com/kolide/docker-osquery, which no longer seems to be maintained and has very old osquery versions (2.7.0). Migrate to using containers from the new https://github.com/dactivllc/docker-osquery project. This brings Fleet to testing with current (4.3.0) osquery on an expanded set of operating systems. --- tools/osquery/docker-compose.yml | 49 ++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/tools/osquery/docker-compose.yml b/tools/osquery/docker-compose.yml index 72e1ad01a..bb097d547 100644 --- a/tools/osquery/docker-compose.yml +++ b/tools/osquery/docker-compose.yml @@ -3,7 +3,7 @@ version: '2' services: ubuntu14-osquery: - image: "kolide/osquery:${KOLIDE_OSQUERY_VERSION}" + image: "dactiv/osquery:4.3.0-ubuntu14.04" volumes: - ./kolide.crt:/etc/osquery/kolide.crt - ./example_osquery.flags:/etc/osquery/osquery.flags @@ -16,7 +16,7 @@ services: soft: 1000000000 ubuntu16-osquery: - image: "kolide/ubuntu16-osquery:${KOLIDE_OSQUERY_VERSION}" + image: "dactiv/osquery:4.3.0-ubuntu16.04" volumes: - ./kolide.crt:/etc/osquery/kolide.crt - ./example_osquery.flags:/etc/osquery/osquery.flags @@ -28,8 +28,21 @@ services: hard: 1000000000 soft: 1000000000 - centos7-osquery: - image: "kolide/centos7-osquery:${KOLIDE_OSQUERY_VERSION}" + ubuntu18-osquery: + image: "dactiv/osquery:4.3.0-ubuntu18.04" + volumes: + - ./kolide.crt:/etc/osquery/kolide.crt + - ./example_osquery.flags:/etc/osquery/osquery.flags + environment: + ENROLL_SECRET: "${ENROLL_SECRET}" + command: osqueryd --flagfile=/etc/osquery/osquery.flags + ulimits: + core: + hard: 1000000000 + soft: 1000000000 + + ubuntu20-osquery: + image: "dactiv/osquery:4.3.0-ubuntu20.04" volumes: - ./kolide.crt:/etc/osquery/kolide.crt - ./example_osquery.flags:/etc/osquery/osquery.flags @@ -42,7 +55,33 @@ services: soft: 1000000000 centos6-osquery: - image: "kolide/centos6-osquery:${KOLIDE_OSQUERY_VERSION}" + image: "dactiv/osquery:4.3.0-centos6" + volumes: + - ./kolide.crt:/etc/osquery/kolide.crt + - ./example_osquery.flags:/etc/osquery/osquery.flags + environment: + ENROLL_SECRET: "${ENROLL_SECRET}" + command: osqueryd --flagfile=/etc/osquery/osquery.flags + ulimits: + core: + hard: 1000000000 + soft: 1000000000 + + centos7-osquery: + image: "dactiv/osquery:4.3.0-centos7" + volumes: + - ./kolide.crt:/etc/osquery/kolide.crt + - ./example_osquery.flags:/etc/osquery/osquery.flags + environment: + ENROLL_SECRET: "${ENROLL_SECRET}" + command: osqueryd --flagfile=/etc/osquery/osquery.flags + ulimits: + core: + hard: 1000000000 + soft: 1000000000 + + centos8-osquery: + image: "dactiv/osquery:4.3.0-centos8" volumes: - ./kolide.crt:/etc/osquery/kolide.crt - ./example_osquery.flags:/etc/osquery/osquery.flags