From bd42d2c384b803c5260e70cc7d066d40335e81d0 Mon Sep 17 00:00:00 2001 From: Aleksandr Maus Date: Wed, 14 Apr 2021 09:11:27 -0400 Subject: [PATCH] Update Osquerybeat spec to get it downloading from the correct artifactory path --- x-pack/elastic-agent/pkg/agent/program/supported.go | 2 +- x-pack/elastic-agent/spec/osquerybeat.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/elastic-agent/pkg/agent/program/supported.go b/x-pack/elastic-agent/pkg/agent/program/supported.go index a893c7858cb..9909f9eafe3 100644 --- a/x-pack/elastic-agent/pkg/agent/program/supported.go +++ b/x-pack/elastic-agent/pkg/agent/program/supported.go @@ -25,7 +25,7 @@ func init() { // spec/metricbeat.yml // spec/osquerybeat.yml // spec/packetbeat.yml - unpacked := packer.MustUnpack("eJzkWll3sziavp+fUbc9C0ucbuacvjBOs4WQz/iLJHSHJBtsC0zFGBvmzH+fIzYDdvIt1VU1c+YiJ4kQ0ivpXZ7nEf/1yzFb0/8Is+Tfjuv3Yv3+72XCf/nPX0hi5PjrIVoC3XOBx2mKOY2yHYHLR9s0zmQlVxg5Ckb2c4AcKYQ4DtS7z1JaHSJY2rm/so/2wskDOIuxAnIMZ5KbgFMAnSOGS41ZjozrPh/1lQtsvmnrhXwOoPfuQnzEEEj29hzZW9mofyej+U/YNKQAaBWzHB5Aubqdz2GL1JGJCarX6BDZCykKFO28BppEZO0YIk9q2ueRvdAzZoL8dasnxASczft2iVSHKISzM0N+tdjOm3ZTOyHFK0iCjyH0pNetfiKKdhbP3ZWeB2j+2Pe19JiZ0aNtNmu6tg9ta9sWUkQTkBMVc6TkfP318Hx91vyECpi9bvU4UDxOVW8TID2r+y5/apwSI72gqZ+RhA775LblcAI1BQPtHaP9dT3dj1mPGwWQcZIun+t3TJytje5MpEfbyrV2T5IQXiSMnA1LjCODw3XrFYYXHqh+QXf39rqZh1n8jPs16koALzJGLyO73JUeU1PqbSGWz+nuunaqgCOGnkRU52bfb+ZtxisY8s8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ICeY7D3EOL3cNn8fSAKE9ijviZR+8Pvx9V7dQ/pqf6ZQVCtprfJJVVNGSN39n83yv2NslZTBDjNeE8vt8ziJeFa63mm1lSb7iORYf+M+Ksfj4xRVU7SgK8G5HJ7Ozwo4j2KAdropnVQs4VdW6LMUmLxhhIKVIqRKyHFTAXNuUJ5jef8dMUbZ/o71Y70vrb4HgV+miXGkfjHfQeYi70TWTqJ4EwSLMe1i4rBWfORl5eKfonmGL9qjsESmkqKb9Ah2vKI7lb3NIs34bwKkCa0yhb0peDMuqZVtAjasP4KrRJ9bvp+SqsaTljJZssNv4lWNVcL3ttbe8XwOa2a9v2QVrGPaFWjl2D0oW7xp9wN0O6sej30K1dRf4SG8L9CK2jKyH//v/8JAAD//7tkww8=") SupportedMap = make(map[string]Spec) for f, v := range unpacked { diff --git a/x-pack/elastic-agent/spec/osquerybeat.yml b/x-pack/elastic-agent/spec/osquerybeat.yml index 8a7dd8b3538..f92574128a2 100644 --- a/x-pack/elastic-agent/spec/osquerybeat.yml +++ b/x-pack/elastic-agent/spec/osquerybeat.yml @@ -1,6 +1,7 @@ name: Osquerybeat cmd: osquerybeat args: ["-E", "setup.ilm.enabled=false", "-E", "setup.template.enabled=false", "-E", "management.mode=x-pack-fleet", "-E", "management.enabled=true", "-E", "logging.level=debug"] +artifact: beats/osquerybeat action_input_types: - osquery