diff --git a/vendor/github.com/elastic/beats/.github/ISSUE_TEMPLATE.md b/vendor/github.com/elastic/beats/.github/ISSUE_TEMPLATE.md index 94bb8777..055a6d37 100644 --- a/vendor/github.com/elastic/beats/.github/ISSUE_TEMPLATE.md +++ b/vendor/github.com/elastic/beats/.github/ISSUE_TEMPLATE.md @@ -8,4 +8,5 @@ See https://www.elastic.co/community/security for more information. For confirmed bugs, please report: - Version: - Operating System: +- Discuss Forum URL: - Steps to Reproduce: diff --git a/vendor/github.com/elastic/beats/.gitignore b/vendor/github.com/elastic/beats/.gitignore index 56e3cccf..5781a1e4 100644 --- a/vendor/github.com/elastic/beats/.gitignore +++ b/vendor/github.com/elastic/beats/.gitignore @@ -8,6 +8,7 @@ /*/fields.yml /*/*.template*.json **/html_docs +/*/_meta/kibana.generated # Files .DS_Store diff --git a/vendor/github.com/elastic/beats/.go-version b/vendor/github.com/elastic/beats/.go-version index d615fd0c..7b4d9a4f 100644 --- a/vendor/github.com/elastic/beats/.go-version +++ b/vendor/github.com/elastic/beats/.go-version @@ -1 +1 @@ -1.9.4 +1.10.6 diff --git a/vendor/github.com/elastic/beats/.travis.yml b/vendor/github.com/elastic/beats/.travis.yml index 8328ae78..16e74081 100644 --- a/vendor/github.com/elastic/beats/.travis.yml +++ b/vendor/github.com/elastic/beats/.travis.yml @@ -14,6 +14,7 @@ env: - GOX_FLAGS="-arch amd64" - DOCKER_COMPOSE_VERSION=1.11.1 - GO_VERSION="$(cat .go-version)" + # Newer versions of minikube fail on travis, see: https://github.com/kubernetes/minikube/issues/2704 - TRAVIS_MINIKUBE_VERSION=v0.25.2 jobs: @@ -98,6 +99,23 @@ jobs: go: $GO_VERSION stage: test + # Journalbeat + - os: linux + env: TARGETS="-C journalbeat testsuite" + go: $GO_VERSION + stage: test + + # Functionbeat + - os: linux + env: TARGETS="-C x-pack/functionbeat testsuite" + go: $GO_VERSION + stage: test + + - os: osx + env: TARGETS="TEST_ENVIRONMENT=0 -C x-pack/functionbeat testsuite" + go: $GO_VERSION + stage: test + # Generators - os: linux env: TARGETS="-C generator/metricbeat test" @@ -108,19 +126,13 @@ jobs: go: $GO_VERSION stage: test + # Docs + - os: linux + env: TARGETS="docs" + go: $GO_VERSION + stage: test + # Kubernetes - - os: linux - install: deploy/kubernetes/.travis/setup.sh - env: - - TARGETS="-C deploy/kubernetes test" - - TRAVIS_K8S_VERSION=v1.6.4 - stage: test - - os: linux - install: deploy/kubernetes/.travis/setup.sh - env: - - TARGETS="-C deploy/kubernetes test" - - TRAVIS_K8S_VERSION=v1.7.5 - stage: test - os: linux install: deploy/kubernetes/.travis/setup.sh env: @@ -139,12 +151,23 @@ jobs: - TARGETS="-C deploy/kubernetes test" - TRAVIS_K8S_VERSION=v1.10.0 stage: test + # TODO include 1.11 once minikube supports it + #- os: linux + # install: deploy/kubernetes/.travis/setup.sh + # env: + # - TARGETS="-C deploy/kubernetes test" + # - TRAVIS_K8S_VERSION=v1.11.0 + # stage: test addons: apt: + update: true packages: - python-virtualenv - libpcap-dev + - xsltproc + - libxml2-utils + - libsystemd-journal-dev before_install: - python --version @@ -155,6 +178,8 @@ before_install: - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin + - if [ $TRAVIS_OS_NAME = osx ]; then pip install virtualenv; fi + # Skips installations step install: true diff --git a/vendor/github.com/elastic/beats/CHANGELOG-developer.asciidoc b/vendor/github.com/elastic/beats/CHANGELOG-developer.asciidoc index 8a670158..5e07694a 100644 --- a/vendor/github.com/elastic/beats/CHANGELOG-developer.asciidoc +++ b/vendor/github.com/elastic/beats/CHANGELOG-developer.asciidoc @@ -21,9 +21,43 @@ The list below covers the major changes between 6.3.0 and master only. - The beat.Pipeline is now passed to cfgfile.RunnerFactory. Beats using libbeat for module reloading or autodiscovery need to be adapted. {pull}7018[7017] - Moving of TLS helper functions and structs from `output/tls` to `tlscommon`. {pull}7054[7054] +- Port fields.yml collector to Golang {pull}6911[6911] +- Dashboards under _meta/kibana are expected to be decoded. See https://github.com/elastic/beats/pull/7224 for a conversion script. {pull}7265[7265] +- Constructor `(github.com/elastic/beats/libbeat/output/codec/json).New` expects a new `escapeHTML` parameter. {pull}7445[7445] +- Packaging has been refactored and updates are required. See the PR for migration details. {pull}7388[7388] +- `make fields` has been modified to use Mage (https://magefile.org/) in an effort to make + the building a Beat more cross-platform friendly (e.g. Windows). This requires that your Beat + has a magefile.go with a fields target. The `FIELDS_FILE_PATH` make variable is no longer + used because the value is specified in magefile.go. {pull}7670[7670] +- Renamed `-beat-name` CLI option used in `kibana_index_pattern.go` to `-beat` for consistency with other scripts in `dev-tools/cmd`. {pull}8615[8615] ==== Bugfixes - Fix permissions of generated Filebeat filesets. {pull}7140[7140] +- Collect fields from _meta/fields.yml too. {pull}8397[8397] +- Fix issue on asset generation that could lead to different results in Windows. {pull}8464[8464] ==== Added + +- Libbeat provides a global registry for beats developer that allow to register and retrieve plugin. {pull}7392[7392] +- Added more options to control required and optional fields in schema.Apply(), error returned is a plain nil if no error happened {pull}7335[7335] +- Packaging on MacOS now produces a .dmg file containing an installer (.pkg) and uninstaller for the Beat. {pull}7481[7481] +- Added mage targets `goTestUnit` and `goTestIntegration` for executing + 'go test'. This captures the log to a file, summarizes the result, produces a + coverage profile (.cov), and produces an HTML coverage report. See + `mage -h goTestUnit`. {pull}7766[7766] +- Beats packaging now build non-oss binaries from code located in the x-pack folder. {issue}7783[7783] +- New function `AddTagsWithKey` is added, so `common.MapStr` can be enriched with tags with an arbitrary key. {pull}7991[7991] +- Libbeat provides a new function `cmd.GenRootCmdWithSettings` that should be preferred over deprecated functions + `cmd.GenRootCmd`, `cmd.GenRootCmdWithRunFlags`, and `cmd.GenRootCmdWithIndexPrefixWithRunFlags`. {pull}7850[7850] +- Set current year in generator templates. {pull}8396[8396] +- You can now override default settings of libbeat by using instance.Settings. {pull}8449[8449] +- Add `-space-id` option to `export_dashboards.go` script to support Kibana Spaces {pull}7942[7942] +- Add `-name` option to `asset.go` script to explicitly name the asset rather than using its filename. {pull}8693[8693] +- Add `-out` option to `kibana_index_pattern.go` to control the output dir to make it possible to write the generated output to `build/kibana` instead of `_meta/kibana.generated` (but the output dir remains unchanged at this point). {pull}8615[8615] +- Add `module_fields.go` for generated `fields.go` files for modules. {pull}8615[8615] +- Add `mage.GenerateModuleReferenceConfig` for generating reference config files that include configuration sections from the module directory. {pull}8615[8615] +- Add `mage.GenerateFieldsGo` for generating fields.go files. {pull}8615[8615] +- Add `mage.KibanaDashboards` for collecting Kibana dashboards and generating index patterns. {pull}8615[8615] +- Allow to disable config resolver using the `Settings.DisableConfigResolver` field when initializing libbeat. {pull}8769[8769] +- Add `mage.AddPlatforms` to allow to specify dependent platforms when building a beat. {pull}8889[8889] diff --git a/vendor/github.com/elastic/beats/CHANGELOG.asciidoc b/vendor/github.com/elastic/beats/CHANGELOG.asciidoc index 4db21a60..c6fc36a7 100644 --- a/vendor/github.com/elastic/beats/CHANGELOG.asciidoc +++ b/vendor/github.com/elastic/beats/CHANGELOG.asciidoc @@ -7,7 +7,7 @@ // Template, add newest changes here === Beats version HEAD -https://github.com/elastic/beats/compare/v6.3.2...6.3[Check the HEAD diff] +https://github.com/elastic/beats/compare/v6.5.3...6.5[Check the HEAD diff] ==== Breaking changes @@ -19,28 +19,41 @@ https://github.com/elastic/beats/compare/v6.3.2...6.3[Check the HEAD diff] *Heartbeat* +*Journalbeat* + *Metricbeat* *Packetbeat* *Winlogbeat* +*Functionbeat* + ==== Bugfixes *Affecting all Beats* +- Update Golang to 1.10.6. {pull}9563[9563] + *Auditbeat* *Filebeat* +- Fix saved objects in filebeat haproxy dashboard. {pull}9417[9417] +- Fixed a memory leak when harvesters are closed. {pull}7820[7820] + *Heartbeat* +*Journalbeat* + *Metricbeat* *Packetbeat* *Winlogbeat* +*Functionbeat* + ==== Added *Affecting all Beats* @@ -49,14 +62,22 @@ https://github.com/elastic/beats/compare/v6.3.2...6.3[Check the HEAD diff] *Filebeat* +- Added support on Traefik for Common Log Format and Combined Log Format mixed which is the default Traefik format {issue}8015[8015] {issue}6111[6111] {pull}8768[8768]. + *Heartbeat* +*Journalbeat* + *Metricbeat* *Packetbeat* *Winlogbeat* +*Heartbeat* + +*Functionbeat* + ==== Deprecated *Affecting all Beats* @@ -65,45 +86,472 @@ https://github.com/elastic/beats/compare/v6.3.2...6.3[Check the HEAD diff] *Heartbeat* -*Metricbeat* +*Journalbeat* *Packetbeat* *Winlogbeat* +*Functionbeat* + ==== Known Issue //////////////////////////////////////////////////////////// -[[release-notes-6.3.2]] -=== Beats version 6.3.2 -https://github.com/elastic/beats/compare/v6.3.1...v6.3.2[View commits] +[[release-notes-6.5.3]] +=== Beats version 6.5.3 +https://github.com/elastic/beats/compare/v6.5.2...v6.5.3[View commits] ==== Bugfixes *Affecting all Beats* -- Fix registry duplicates and log resending on upgrade. {issue}7634[7634] -- Fix default value for logging.files.keepfiles. It was being set to 0 and now - it's set to the documented value of 7. {issue}7494[7494] -- Retain compatibility with older Docker server versions. {issue}7542[7542] +- Log events at the debug level when dropped by encoding problems. {pull}9251[9251] + +*Filebeat* + +- Correctly parse `December` or `Dec` in the Syslog input. {pull}9349[9349] +- Don't generate incomplete configurations when logs collection is disabled by hints. {pull}9305[9305] +- Stop runners disabled by hints after previously being started. {pull}9305[9305] +- Fix installation of haproxy dashboard. {issue}9307[9307] {pull}9313[9313] + +[[release-notes-6.5.2]] +=== Beats version 6.5.2 +https://github.com/elastic/beats/compare/v6.5.1...v6.5.2[View commits] + +==== Bugfixes + +*Affecting all Beats* + +- Propagate Sync error when running SafeFileRotate. {pull}9069[9069] *Metricbeat* -- Fix missing hosts config option in Ceph module. {pull}7596[7596] -- Ensure metadata updates don't replace existing pod metrics. {pull}7573[7573] +- Fix panic on docker healthcheck collection on dockers without healthchecks. {pull}9171[9171] +- Fix issue preventing diskio metrics collection for idle disks. {issue}9124[9124] {pull}9125[9125] + +[[release-notes-6.5.1]] +=== Beats version 6.5.1 +https://github.com/elastic/beats/compare/v6.5.0...v6.5.1[View commits] + +==== Bugfixes + +*Affecting all Beats* +- Fix windows binaries not having an enroll command. {issue}9096[9096] {pull}8836[8836] + +*Journalbeat* +- Fix journalbeat sometimes hanging if output is unavailable. {pull}9106[9106] + +*Metricbeat* +- Fix race condition when enriching events with kubernetes metadata. {issue}9055[9055] {issue}9067[9067] ==== Added +*Journalbeat* +- Add minimal kibana dashboard. {pull}9106[9106] + +[[release-notes-6.5.0]] +=== Beats version 6.5.0 +https://github.com/elastic/beats/compare/v6.4.0...v6.5.0[View commits] + +==== Bugfixes + +*Affecting all Beats* + +- Fixed `add_host_metadata` not initializing correctly on Windows. {issue}7715[7715] +- Fixed missing file unlock in spool file on Windows, so file can be reopened and locked. {pull}7859[7859] +- Fix spool file opening/creation failing due to file locking on Windows. {pull}7859[7859] +- Fix size of maximum mmaped read area in spool file on Windows. {pull}7859[7859] +- Fix potential data loss on OS X in spool file by using fcntl with F_FULLFSYNC. {pull}7859[7859] +- Improve fsync on linux, by assuming the kernel resets error flags of failed writes. {pull}7859[7859] +- Remove unix-like permission checks on Windows, so files can be opened. {issue}7849[7849] +- Replace index patterns in TSVB visualizations. {pull}7929[7929] +- Deregister pipeline loader callback when inputsRunner is stopped. {pull}[7893][7893] +- Add backoff support to x-pack monitoring outputs. {issue}7966[7966] +- Removed execute permissions systemd unit file. {pull}7873[7873] +- Fix a race condition with the `add_host_metadata` and the event serialization. {pull}8223[8223] {pull}8653[8653] +- Enforce that data used by k8s or docker doesn't use any reference. {pull}8240[8240] +- Switch to different UUID lib due to to non-random generated UUIDs. {pull}8485[8485] +- Fix race condition when publishing monitoring data. {pull}8646[8646] +- Fix bug in loading dashboards from zip file. {issue}8051[8051] +- Fix in-cluster kubernetes configuration on IPv6. {pull}8754[8754] +- The export config subcommand should not display real value for field reference. {pull}8769[8769] +- The setup command will not fail if no dashboard is available to import. {pull}8977[8977] +- Fix central management configurations reload when a configuration is removed in Kibana. {issue}9010[9010] + +*Auditbeat* + +- Fixed a crash in the file_integrity module under Linux. {issue}7753[7753] +- Fixed the RPM by designating the config file as configuration data in the RPM spec. {issue}8075[8075] +- Fixed a concurrent map write panic in the auditd module. {pull}8158[8158] +- Fixed a data race in the file_integrity module. {issue}8009[8009] +- Fixed a deadlock in the file_integrity module. {pull}8027[8027] + +*Filebeat* + +- Fix date format in Mongodb Ingest pipeline. {pull}7974[7974] +- Fixed a docker input error due to the offset update bug in partial log join.{pull}8177[8177] +- Update CRI format to support partial/full tags. {pull}8265[8265] +- Fix some errors happening when stopping syslog input. {pull}8347[8347] +- Fix RFC3339 timezone and nanoseconds parsing with the syslog input. {pull}8346[8346] +- Mark the TCP and UDP input as GA. {pull}8125[8125] +- Support multiline logs in logstash/log fileset of Filebeat. {pull}8562[8562] + +*Heartbeat* + +- Fixed bug where HTTP responses with larger bodies would incorrectly report connection errors. {pull}8660[8660] + *Metricbeat* -- Add support for bearer token files to HTTP helper. {pull}7527[7527] +- Fix golang.heap.gc.cpu_fraction type from long to float in Golang module. {pull}7789[7789] +- Fixed the RPM by designating the modules.d config files as configuration data in the RPM spec. {issue}8075[8075] +- Fixed the location of the modules.d dir in Deb and RPM packages. {issue}8104[8104] +- Add docker diskio stats on Windows. {issue}6815[6815] {pull}8126[8126] +- Fix incorrect type conversion of average response time in Haproxy dashboards {pull}8404[8404] +- Added io disk read and write times to system module {issue}8473[8473] {pull}8508[8508] +- Avoid mapping issues in kubernetes module. {pull}8487[8487] +- Recover metrics for old apache versions removed by mistake on #6450. {pull}7871[7871] +- Fix dropwizard module parsing of metric names. {issue}8365[8365] {pull}6385[8385] +- Fix issue that would prevent kafka module to find a proper broker when port is not set {pull}8613[8613] +- Fix range colors in multiple visualizations. {issue}8633[8633] {pull}8634[8634] +- Fix incorrect header parsing on http metricbeat module {issue}8564[8564] {pull}8585[8585] +- Fixed a panic when the kvm module cannot establish a connection to libvirtd. {issue}7792[7792]. +- Add missing namespace field in http server metricset {pull}7890[7890] *Packetbeat* -- Updated the TLS protocol parser with new cipher suites added to TLS 1.3. {issue}7455[7455] +- Fixed a seccomp related error where the `fcntl64` syscall was not permitted + on 32-bit Linux and the sniffer failed to start. {issue}7839[7839] +- Added missing `cmdline` and `client_cmdline` fields to index template. {pull}8258[8258] +==== Added + +*Affecting all Beats* + +- Added time-based log rotation. {pull}8349[8349] +- Add backoff on error support to redis output. {pull}7781[7781] +- Allow for cloud-id to specify a custom port. This makes cloud-id work in ECE contexts. {pull}7887[7887] +- Add support to grow or shrink an existing spool file between restarts. {pull}7859[7859] +- Make kubernetes autodiscover ignore events with empty container IDs {pull}7971[7971] +- Implement CheckConfig in RunnerFactory to make autodiscover check configs {pull}7961[7961] +- Add DNS processor with support for performing reverse lookups on IP addresses. {issue}7770[7770] +- Support for Kafka 2.0.0 in kafka output {pull}8399[8399] +- Add setting `setup.kibana.space.id` to support Kibana Spaces {pull}7942[7942] +- Better tracking of number of open file descriptors. {pull}7986[7986] +- Report number of open file handles on Windows. {pull}8329[8329] +- Added the `add_process_metadata` processor to enrich events with process information. {pull}6789[6789] +- Add Beats Central Management {pull}8559[8559] +- Report configured queue type. {pull}8091[8091] +- Enable `host` and `cloud` metadata processors by default. {pull}8596[8596] + +*Filebeat* + +- Add tag "truncated" to "log.flags" if incoming line is longer than configured limit. {pull}7991[7991] +- Add haproxy module. {pull}8014[8014] +- Add tag "multiline" to "log.flags" if event consists of multiple lines. {pull}7997[7997] +- Release `docker` input as GA. {pull}8328[8328] +- Keep unparsed user agent information in user_agent.original. {pull}7823[7832] +- Added default and TCP parsing formats to HAproxy module {issue}8311[8311] {pull}8637[8637] +- Add Suricata IDS/IDP/NSM module. {issue}8153[8153] {pull}8693[8693] +- Support for Kafka 2.0.0 {pull}8853[8853] + +*Heartbeat* + +- Heartbeat is marked as GA. +- Add automatic config file reloading. {pull}8023[8023] +- Added autodiscovery support {pull}8415[8415] +- Added support for extra TLS/x509 metadata. {pull}7944[7944] +- Added stats and state metrics for number of monitors and endpoints started. {pull}8621[8621] + +*Journalbeat* + +- Add journalbeat. {pull}8703[8703] + +*Metricbeat* + +- Add `replstatus` metricset to MongoDB module {pull}7604[7604] +- Add experimental socket summary metricset to system module {pull}6782[6782] +- Move common kafka fields (broker, topic and partition.id) to the module level to facilitate events correlation {pull}7767[7767] +- Add fields for memory fragmentation, memory allocator stats, copy on write, master-slave status, and active defragmentation to `info` metricset of Redis module. {pull}7695[7695] +- Increase ignore_above for system.process.cmdline to 2048. {pull}8101[8100] +- Add support to renamed fields planned for redis 5.0. {pull}8167[8167] +- Allow TCP helper to support delimiters and graphite module to accept multiple metrics in a single payload. {pull}8278[8278] +- Added 'died' PID state to process_system metricset on system module {pull}8275[8275] +- Add `metrics` metricset to MongoDB module. {pull}7611[7611] +- Added `ccr` metricset to Elasticsearch module. {pull}8335[8335] +- Support for Kafka 2.0.0 {pull}8399[8399] +- Added support for query params in configuration {issue}8286[8286] {pull}8292[8292] +- Add container image for docker metricsets. {issue}8214[8214] {pull}8438[8438] +- Precalculate composed id fields for kafka dashboards. {pull}8504[8504] +- Add support for `full` status page output for php-fpm module as a separate metricset called `process`. {pull}8394[8394] +- Add Kafka dashboard. {pull}8457[8457] +- Release Kafka module as GA. {pull}8854[8854] + +*Packetbeat* + +- Added DHCP protocol support. {pull}7647[7647] + +*Functionbeat* + +- Initial version of Functionbeat. {pull}8678[8678] + +==== Deprecated + +*Heartbeat* + +- watch.poll_file is now deprecated and superceded by automatic config file reloading. + +*Metricbeat* + +- Redis `info` `replication.master_offset` has been deprecated in favor of `replication.master.offset`.{pull}7695[7695] +- Redis `info` clients fields `longest_output_list` and `biggest_input_buf` have been renamed to `max_output_buffer` and `max_input_buffer` based on the names they will have in Redis 5.0, both fields will coexist during a time with the same value {pull}8167[8167]. +- Move common kafka fields (broker, topic and partition.id) to the module level {pull}7767[7767]. + + + +[[release-notes-6.4.3]] +=== Beats version 6.4.3 +https://github.com/elastic/beats/compare/v6.4.2...v6.4.3[View commits] + +==== Bugfixes + +*Affecting all Beats* + +- Fix a race condition with the `add_host_metadata` and the event serialization. {pull}8223[8223] {pull}8653[8653] +- Fix race condition when publishing monitoring data. {pull}8646[8646] +- Fix bug in loading dashboards from zip file. {issue}8051[8051] +- The export config subcommand should not display real value for field reference. {pull}8769[8769] + +*Filebeat* + +- Fix typo in Filebeat IIS Kibana visualization. {pull}8604[8604] + +*Metricbeat* + +- Recover metrics for old Apache versions removed by mistake on #6450. {pull}7871[7871] +- Avoid mapping issues in Kubernetes module. {pull}8487[8487] +- Fixed a panic when the KVM module cannot establish a connection to libvirtd. {issue}7792[7792] + + +[[release-notes-6.4.2]] +=== Beats version 6.4.2 +https://github.com/elastic/beats/compare/v6.4.1...v6.4.2[View commits] + +==== Bugfixes + +*Filebeat* + +- Fix some errors happening when stopping syslog input. {pull}8347[8347] +- Fix RFC3339 timezone and nanoseconds parsing with the syslog input. {pull}8346[8346] + +*Metricbeat* + +- Fix incorrect type conversion of average response time in Haproxy dashboards {pull}8404[8404] +- Fix dropwizard module parsing of metric names. {issue}8365[8365] {pull}6385[8385] + +[[release-notes-6.4.1]] +=== Beats version 6.4.1 +https://github.com/elastic/beats/compare/v6.4.0...v6.4.1[View commits] + +==== Bugfixes + +*Affecting all Beats* + +- Add backoff support to x-pack monitoring outputs. {issue}7966[7966] +- Removed execute permissions systemd unit file. {pull}7873[7873] +- Fix a race condition with the `add_host_metadata` and the event serialization. {pull}8223[8223] +- Enforce that data used by k8s or docker doesn't use any reference. {pull}8240[8240] +- Implement CheckConfig in RunnerFactory to make autodiscover check configs {pull}7961[7961] +- Make kubernetes autodiscover ignore events with empty container IDs {pull}7971[7971] + +*Auditbeat* + +- Fixed a concurrent map write panic in the auditd module. {pull}8158[8158] +- Fixed the RPM by designating the config file as configuration data in the RPM spec. {issue}8075[8075] + +*Filebeat* + +- Fixed a docker input error due to the offset update bug in partial log join.{pull}8177[8177] +- Update CRI format to support partial/full tags. {pull}8265[8265] + +*Metricbeat* + +- Fixed the location of the modules.d dir in Deb and RPM packages. {issue}8104[8104] +- Fixed the RPM by designating the modules.d config files as configuration data in the RPM spec. {issue}8075[8075] +- Fix golang.heap.gc.cpu_fraction type from long to float in Golang module. {pull}7789[7789] + +*Packetbeat* + +- Added missing `cmdline` and `client_cmdline` fields to index template. {pull}8258[8258] + +[[release-notes-6.4.0]] +=== Beats version 6.4.0 +https://github.com/elastic/beats/compare/v6.3.1...v6.4.0[View commits] + +==== Known issue + +Due to a packaging mistake, the `modules.d` configuration directory is +installed in the wrong path in the Metricbeat DEB and RPM packages. This issue +results in an empty list when you run `metricbeat modules list` and failures +when you try to enable or disable modules. To work around this issue, run the +following command: + +[source,sh] +----------- +sudo cp -r /usr/share/metricbeat/modules.d /etc/metricbeat/ +----------- + +This issue affects all new installations on DEB and RPM. Upgrades will run, but +use old configurations defined in the `modules.d` directory from the previous +installation. + +The issue will be fixed in the 6.4.1 release. + +==== Breaking changes + +*Affecting all Beats* + +- Set default kafka version to 1.0.0 in kafka output. Older versions are still supported by configuring the `version` setting. Minimally supported version is 0.11 (older versions might work, but are untested). {pull}7025[7025] + +*Heartbeat* + +- Rename http.response.status to http.response.status_code to align with ECS. {pull}7274[7274] +- Remove `type` field as not needed. {pull}7307[7307] + +*Metricbeat* + +- Fixed typo in values for `state_container` `status.phase`, from `terminate` to `terminated`. {pull}6916[6916] +- RabbitMQ management plugin path is now configured at the module level instead of having to do it in each of the metricsets. New `management_path_prefix` option should be used now {pull}7074[7074] +- RabbitMQ node metricset only collects metrics of the instance it connects to, `node.collect: cluster` can be used to collect all nodes as before. {issue}6556[6556] {pull}6971[6971] +- Change http/server metricset to put events by default under http.server and prefix config options with server.. {pull}7100[7100] +- Disable dedotting in docker module configuration. This will change the out-of-the-box behaviour, but not the one of already configured instances. {pull}7485[7485] +- Fix typo in etcd/self metricset fields from *.bandwithrate to *.bandwidthrate. {pull}7456[7456] +- Changed the definition of the `system.cpu.total.pct` and `system.cpu.total.norm.cou` fields to exclude the IOWait time. {pull}7691[7691] + +==== Bugfixes + +*Affecting all Beats* + +- Error out on invalid Autodiscover template conditions settings. {pull}7200[7200] +- Allow to override the `ignore_above` option when defining new field with the type keyword. {pull}7238[7238] +- Fix a panic on the Dissect processor when we have data remaining after the last delimiter. {pull}7449[7449] +- When we fail to build a Kubernetes' indexer or matcher we produce a warning but we don't add them to the execution. {pull}7466[7466] +- Fix default value for logging.files.keepfiles. It was being set to 0 and now + it's set to the documented value of 7. {issue}7494[7494] +- Retain compatibility with older Docker server versions. {issue}7542[7542] +- Fix errors unpacking configs modified via CLI by ignoring `-E key=value` pairs with missing value. {pull}7599[7599] + +*Auditbeat* + +- Allow `auditbeat setup` to run without requiring elevated privileges for the audit client. {issue}7111[7111] +- Fix goroutine leak that occurred when the auditd module was stopped. {pull}7163[7163] + +*Filebeat* + +- Fix a data race between stopping and starting of the harvesters. {issue}#6879[6879] +- Fix an issue when parsing ISO8601 dates with timezone definition {issue}7367[7367] +- Fix Grok pattern of MongoDB module. {pull}7568[7568] +- Fix registry duplicates and log resending on upgrade. {issue}7634[7634] + +*Metricbeat* + +- Fix Windows service metricset when using a 32-bit binary on a 64-bit OS. {pull}7294[7294] +- Do not report Metricbeat container host as hostname in Kubernetes deployment. {issue}7199[7199] +- Ensure metadata updates don't replace existing pod metrics. {pull}7573[7573] +- Fix kubernetes pct fields reporting. {pull}7677[7677] +- Add support for new `kube_node_status_condition` in Kubernetes `state_node`. {pull}7699[7699] + +==== Added + +*Affecting all Beats* + +- Add dissect processor. {pull}6925[6925] +- Add IP-addresses and MAC-addresses to add_host_metadata. {pull}6878[6878] +- Added a seccomp (secure computing) filter on Linux that whitelists the + necessary system calls used by each Beat. {issue}5213[5213] +- Ship fields.yml as part of the binary {pull}4834[4834] +- Added options to dev-tools/cmd/dashboards/export_dashboard.go: -indexPattern to include index-pattern in output, -quiet to be quiet. {pull}7101[7101] +- Add Indexer indexing by pod uid. Enable pod uid metadata gathering in add_kubernetes_metadata. Extended Matcher log_path matching to support volume mounts {pull}7072[7072] +- Add default_fields to Elasticsearch template when connecting to Elasticsearch >= 7.0. {pull}7015[7015] +- Add support for loading a template.json file directly instead of using fields.yml. {pull}7039[7039] +- Add support for keyword multifields in field.yml. {pull}7131[7131] +- Add experimental Jolokia Discovery autodiscover provider. {pull}7141[7141] +- Add owner object info to Kubernetes metadata. {pull}7231[7231] +- Add Beat export dashboard command. {pull}7239[7239] +- Add support for docker autodiscover to monitor containers on host network {pull}6708[6708] +- Add ability to define input configuration as stringified JSON for autodiscover. {pull}7372[7372] +- Add processor definition support for hints builder {pull}7386[7386] +- Add support to disable html escaping in outputs. {pull}7445[7445] +- Refactor error handing in schema.Apply(). {pull}7335[7335] +- Add additional types to Kubernetes metadata {pull}7457[7457] +- Add module state reporting for Beats Monitoring. {pull}7075[7075] +- Release the `rename` processor as GA. {pull}7656[7656] +- Add support for Openstack Nova in `add_cloud_metadata` processor. {pull}7663[7663] + +*Auditbeat* + +- Added XXH64 hash option for file integrity checks. {pull}7311[7311] +- Added the `show auditd-rules` and `show auditd-status` commands to show kernel rules and status. {pull}7114[7114] +- Add Kubernetes specs for auditbeat file integrity monitoring {pull}7642[7642] + +*Filebeat* + +- Add Kibana module with log fileset. {pull}7052[7052] +- Support MySQL 5.7.19 by mysql/slowlog {pull}6969[6969] +- Correctly join partial log lines when using `docker` input. {pull}6967[6967] +- Add support for TLS with client authentication to the TCP input {pull}7056[7056] +- Converted part of pipeline from treafik/access metricSet to dissect to improve efficiency. {pull}7209[7209] +- Add GC fileset to the Elasticsearch module. {pull}7305[7305] +- Add Audit log fileset to the Elasticsearch module. {pull}7365[7365] +- Add Slow log fileset to the Elasticsearch module. {pull}7473[7473] +- Add deprecation fileset to the Elasticsearch module. {pull}7474[7474] +- Add `convert_timezone` option to Kafka module to convert dates to UTC. {issue}7546[7546] {pull}7578[7578] +- Add patterns for kafka 1.1 logs. {pull}7608[7608] +- Move debug messages in tcp input source {pull}7712[7712] + +*Metricbeat* + +- Add experimental Elasticsearch index metricset. {pull}6881[6881] +- Add dashboards and visualizations for haproxy metrics. {pull}6934[6934] +- Add Jolokia agent in proxy mode. {pull}6475[6475] +- Add message rates to the RabbitMQ queue metricset {issue}6442[6442] {pull}6606[6606] +- Add exchanges metricset to the RabbitMQ module {issue}6442[6442] {pull}6607[6607] +- Add Elasticsearch index_summary metricset. {pull}6918[6918] +- Add shard metricset to Elasticsearch module. {pull}7006[7006] +- Add apiserver metricset to Kubernetes module. {pull}7059[7059] +- Add maxmemory to redis info metricset. {pull}7127[7127] +- Set guest as default user in RabbitMQ module. {pull}7107[7107] +- Add postgresql statement metricset. {issue}7048[7048] {pull}7060[7060] +- Update `state_container` metricset to support latest `kube-state-metrics` version. {pull}7216[7216] +- Add TLS support to MongoDB module. {pull}7401[7401] +- Added Traefik module with health metricset. {pull}7413[7413] +- Add Elasticsearch ml_job metricsets. {pull}7196[7196] +- Add support for bearer token files to HTTP helper. {pull}7527[7527] +- Add Elasticsearch index recovery metricset. {pull}7225[7225] +- Add `locks`, `global_locks`, `oplatencies` and `process` fields to `status` metricset of MongoDB module. {pull}7613[7613] +- Run Kafka integration tests on version 1.1.0 {pull}7616[7616] +- Release raid and socket metricset from system module as GA. {pull}7658[7658] +- Release elasticsearch module and all its metricsets as beta. {pull}7662[7662] +- Release munin and traefik module as beta. {pull}7660[7660] +- Add envoyproxy module. {pull}7569[7569] +- Release prometheus collector metricset as GA. {pull}7660[7660] +- Add Elasticsearch `cluster_stats` metricset. {pull}7638[7638] +- Added `basepath` setting for HTTP-based metricsets {pull}7700[7700] + +*Packetbeat* + +- The process monitor now reports the command-line for all processes, under Linux and Windows. {pull}7135[7135] +- Updated the TLS protocol parser with new cipher suites added to TLS 1.3. {issue}7455[7455] +- Flows are enriched with process information using the process monitor. {pull}7507[7507] +- Added UDP support to process monitor. {pull}7571[7571] + +==== Deprecated + +*Metricbeat* + +- Kubernetes `state_container` `cpu.limit.nanocores` and `cpu.request.nanocores` have been +deprecated in favor of `cpu.*.cores`. {pull}6916[6916] [[release-notes-6.3.1]] === Beats version 6.3.1 @@ -194,6 +642,7 @@ https://github.com/elastic/beats/compare/v6.2.3...v6.3.0[View commits] - Fix map overwrite panics by cloning shared structs before doing the update. {pull}6947[6947] - Fix delays on autodiscovery events handling caused by blocking runner stops. {pull}7170[7170] - Do not emit Kubernetes autodiscover events for Pods without IP address. {pull}7235[7235] +- Fix self metrics when containerized {pull}6641[6641] *Auditbeat* @@ -208,7 +657,6 @@ https://github.com/elastic/beats/compare/v6.2.3...v6.3.0[View commits] - Commit registry writes to stable storage to avoid corrupt registry files. {pull}6877[6877] - Fix a parsing issue in the syslog input for RFC3339 timestamp and time with nanoseconds. {pull}7046[7046] - Fix an issue with an overflowing wait group when using the TCP input. {issue}7202[7202] -- Fix an issue when parsing ISO8601 dates with timezone definition {issue}7367[7367] *Heartbeat* @@ -362,7 +810,6 @@ https://github.com/elastic/beats/compare/v6.2.3...v6.3.0[View commits] - Use bookmarks to persist the last published event. {pull}6150[6150] - [[release-notes-6.2.3]] === Beats version 6.2.3 https://github.com/elastic/beats/compare/v6.2.2...v6.2.3[View commits] @@ -436,7 +883,7 @@ https://github.com/elastic/beats/compare/v6.1.3...v6.2.0[View commits] *Auditbeat* - Fixed an issue where the proctitle value was being truncated. {pull}6080[6080] -- Fixed an issue where values were incorrectly interpretted as hex data. {pull}6080[6080] +- Fixed an issue where values were incorrectly interpreted as hex data. {pull}6080[6080] - Fixed parsing of the `key` value when multiple keys are present. {pull}6080[6080] - Fix possible resource leak if file_integrity module is used with config reloading on Windows or Linux. {pull}6198[6198] @@ -475,7 +922,7 @@ https://github.com/elastic/beats/compare/v6.1.3...v6.2.0[View commits] - Use structured logging for the metrics that are periodically logged via the `logging.metrics` feature. {pull}5915[5915] - Improve Elasticsearch output metrics to count number of dropped and duplicate (if event ID is given) events. {pull}5811[5811] -- Add the abilility for the add_docker_metadata process to enrich based on process ID. {pull}6100[6100] +- Add the ability for the add_docker_metadata process to enrich based on process ID. {pull}6100[6100] - The `add_docker_metadata` and `add_kubernetes_metadata` processors are now GA, instead of Beta. {pull}6105[6105] - Update go-ucfg library to support top level key reference and cyclic key reference for the keystore {pull}6098[6098] @@ -501,7 +948,7 @@ https://github.com/elastic/beats/compare/v6.1.3...v6.2.0[View commits] - Update the MySQL dashboard to use the Time Series Visual Builder. {pull}5996[5996] - Add experimental uwsgi module. {pull}6006[6006] - Docker and Kubernetes modules are now GA, instead of Beta. {pull}6105[6105] -- Support haproxy stats gathering using http (additionaly to tcp socket). {pull}5819[5819] +- Support haproxy stats gathering using http (additionally to tcp socket). {pull}5819[5819] - Support to optionally 'de dot' keys in http/json metricset to prevent collisions. {pull}5957[5957] *Packetbeat* @@ -604,7 +1051,7 @@ https://github.com/elastic/beats/compare/v6.0.1...v6.1.0[View commits] *Affecting all Beats* -- Support dashboard loading without Elasticseach {pull}5653[5653] +- Support dashboard loading without Elasticsearch {pull}5653[5653] - Changed the hashbang used in the beat helper script from `/bin/bash` to `/usr/bin/env bash`. {pull}5051[5051] - Changed beat helper script to use `exec` when running the beat. {pull}5051[5051] - Fix reloader error message to only print on actual error {pull}5066[5066] @@ -845,7 +1292,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta1...v6.0.0-beta2[View commit - Added missing mongodb configuration file to the `modules.d` folder. {pull}4870[4870] - Fix wrong MySQL CRUD queries timelion visualization {pull}4857[4857] -- Add new metrics to CPU metricsset {pull}4969[4969] +- Add new metrics to CPU metricset {pull}4969[4969] *Packetbeat* @@ -1530,7 +1977,7 @@ https://github.com/elastic/beats/compare/v5.2.2...v5.3.0[View commits] - Add Filebeat modules for system, apache2, mysql, and nginx. {issue}3159[3159] - Add the `pipeline` config option at the prospector level, for configuring the Ingest Node pipeline ID. {pull}3433[3433] - Update regular expressions used for matching file names or lines (multiline, include/exclude functionality) to new matchers improving performance of simple string matches. {pull}3469[3469] -- The `symlinks` and `harverster_limit` settings are now GA, instead of experimental. {pull}3525[3525] +- The `symlinks` and `harvester_limit` settings are now GA, instead of experimental. {pull}3525[3525] - close_timeout is also applied when the output is blocking. {pull}3511[3511] - Improve handling of different path variants on Windows. {pull}3781[3781] - Add multiline.flush_pattern option, for specifying the 'end' of a multiline pattern {pull}4019[4019] @@ -1805,7 +2252,7 @@ The list below covers the changes between 5.0.0-rc1 and 5.0.0 GA only. - Fix high CPU usage on macOS when encountering processes with long command lines. {issue}2747[2747] - Fix high value of `system.memory.actual.free` and `system.memory.actual.used`. {issue}2653[2653] -- Change several `OpenProcess` calls on Windows to request the lowest possible access provilege. {issue}1897[1897] +- Change several `OpenProcess` calls on Windows to request the lowest possible access privilege. {issue}1897[1897] - Fix system.memory.actual.free high value on Windows. {issue}2653[2653] *Filebeat* @@ -2063,7 +2510,7 @@ https://github.com/elastic/beats/compare/v5.0.0-alpha3...v5.0.0-alpha4[View comm *Affecting all Beats* -- The topology_expire option of the Elasticserach output was removed. {pull}1907[1907] +- The topology_expire option of the Elasticsearch output was removed. {pull}1907[1907] *Filebeat* @@ -2560,7 +3007,7 @@ https://github.com/elastic/beats/compare/v1.0.1...v1.1.0[View commits] - Add multiline support for combining multiple related lines into one event. {issue}461[461] - Add `exclude_lines` and `include_lines` options for regexp based line filtering. {pull}430[430] - Add `exclude_files` configuration option. {pull}563[563] -- Add experimental option to enable filebeat publisher pipeline to operate asynchonrously {pull}782[782] +- Add experimental option to enable filebeat publisher pipeline to operate asynchronously {pull}782[782] *Winlogbeat* @@ -2601,7 +3048,7 @@ https://github.com/elastic/beats/compare/1.0.0-rc2...1.0.0[Check 1.0.0 diff] *Affecting all Beats* - Fix random panic on shutdown by calling shutdown handler only once. elastic/filebeat#204 -- Fix credentials are not send when pinging an elasticsearch host. elastic/fileabeat#287 +- Fix credentials are not send when pinging an elasticsearch host. elastic/filebeat#287 *Filebeat* diff --git a/vendor/github.com/elastic/beats/Makefile b/vendor/github.com/elastic/beats/Makefile index ea1f5beb..2783cbda 100644 --- a/vendor/github.com/elastic/beats/Makefile +++ b/vendor/github.com/elastic/beats/Makefile @@ -1,9 +1,8 @@ BUILD_DIR=$(CURDIR)/build COVERAGE_DIR=$(BUILD_DIR)/coverage -BEATS=packetbeat filebeat winlogbeat metricbeat heartbeat auditbeat +BEATS?=auditbeat filebeat heartbeat journalbeat metricbeat packetbeat winlogbeat x-pack/functionbeat PROJECTS=libbeat $(BEATS) PROJECTS_ENV=libbeat filebeat metricbeat -SNAPSHOT?=yes PYTHON_ENV?=$(BUILD_DIR)/python-env VIRTUALENV_PARAMS?= FIND=find . -type f -not -path "*/vendor/*" -not -path "*/build/*" -not -path "*/.git/*" @@ -12,6 +11,7 @@ GOLINT_REPO=github.com/golang/lint/golint REVIEWDOG=reviewdog REVIEWDOG_OPTIONS?=-diff "git diff master" REVIEWDOG_REPO=github.com/haya14busa/reviewdog/cmd/reviewdog +XPACK_SUFFIX=x-pack/ # Runs complete testsuites (unit, system, integration) for all beats with coverage and race detection. # Also it builds the docs and the generators @@ -62,6 +62,7 @@ clean: @rm -rf build @$(foreach var,$(PROJECTS),$(MAKE) -C $(var) clean || exit 1;) @$(MAKE) -C generator clean + @-mage -clean 2> /dev/null # Cleans up the vendor directory from unnecessary files # This should always be run after updating the dependencies @@ -71,25 +72,42 @@ clean-vendor: .PHONY: check check: python-env - @$(foreach var,$(PROJECTS),$(MAKE) -C $(var) check || exit 1;) + @$(foreach var,$(PROJECTS) dev-tools,$(MAKE) -C $(var) check || exit 1;) @# Checks also python files which are not part of the beats @$(FIND) -name *.py -exec $(PYTHON_ENV)/bin/autopep8 -d --max-line-length 120 {} \; | (! grep . -q) || (echo "Code differs from autopep8's style" && false) @# Validate that all updates were committed @$(MAKE) update + @$(MAKE) check-headers @git diff | cat @git update-index --refresh @git diff-index --exit-code HEAD -- +.PHONY: check-headers +check-headers: + @go get github.com/elastic/go-licenser + @go-licenser -d -exclude x-pack + @go-licenser -d -license Elastic x-pack + +.PHONY: add-headers +add-headers: + @go get github.com/elastic/go-licenser + @go-licenser -exclude x-pack + @go-licenser -license Elastic x-pack + # Corrects spelling errors .PHONY: misspell misspell: - go get github.com/client9/misspell + go get -u github.com/client9/misspell/cmd/misspell # Ignore Kibana files (.json) - $(FIND) -not -path "*.json" -name '*' -exec misspell -w {} \; + $(FIND) \ + -not -path "*.json" \ + -not -path "*.log" \ + -name '*' \ + -exec misspell -w {} \; .PHONY: fmt -fmt: python-env - @$(foreach var,$(PROJECTS),$(MAKE) -C $(var) fmt || exit 1;) +fmt: add-headers python-env + @$(foreach var,$(PROJECTS) dev-tools,$(MAKE) -C $(var) fmt || exit 1;) @# Cleans also python files which are not part of the beats @$(FIND) -name "*.py" -exec $(PYTHON_ENV)/bin/autopep8 --in-place --max-line-length 120 {} \; @@ -98,51 +116,12 @@ lint: @go get $(GOLINT_REPO) $(REVIEWDOG_REPO) $(REVIEWDOG) $(REVIEWDOG_OPTIONS) -# Collects all dashboards and generates dashboard folder for https://github.com/elastic/beats-dashboards/tree/master/dashboards -.PHONY: beats-dashboards -beats-dashboards: - @mkdir -p build/dashboards - @$(foreach var,$(BEATS),cp -r $(var)/_meta/kibana/ build/dashboards/$(var) || exit 1;) - # Builds the documents for each beat .PHONY: docs docs: @$(foreach var,$(PROJECTS),BUILD_DIR=${BUILD_DIR} $(MAKE) -C $(var) docs || exit 1;) sh ./script/build_docs.sh dev-guide github.com/elastic/beats/docs/devguide ${BUILD_DIR} -.PHONY: package-all -package-all: update beats-dashboards - @$(foreach var,$(BEATS),SNAPSHOT=$(SNAPSHOT) $(MAKE) -C $(var) package-all || exit 1;) - - @echo "Start building the dashboards package" - @mkdir -p build/upload/ - @BUILD_DIR=${BUILD_DIR} UPLOAD_DIR=${BUILD_DIR}/upload SNAPSHOT=$(SNAPSHOT) $(MAKE) -C dev-tools/packer package-dashboards ${BUILD_DIR}/upload/build_id.txt - @mv build/upload build/dashboards-upload - - @# Copy build files over to top build directory - @mkdir -p build/upload/ - @$(foreach var,$(BEATS),cp -r $(var)/build/upload/ build/upload/$(var) || exit 1;) - @cp -r build/dashboards-upload build/upload/dashboards - @# Run tests on the generated packages. - @go test ./dev-tools/package_test.go -files "${BUILD_DIR}/upload/*/*" - -# Upload nightly builds to S3 -.PHONY: upload-nightlies-s3 -upload-nightlies-s3: all - aws s3 cp --recursive --acl public-read build/upload s3://beats-nightlies - -# Run after building to sign packages and publish to APT and YUM repos. -.PHONY: package-upload -upload-package: - $(MAKE) -C dev-tools/packer deb-rpm-s3 - # You must export AWS_ACCESS_KEY= and export AWS_SECRET_KEY= - # before running this make target. - dev-tools/packer/docker/deb-rpm-s3/deb-rpm-s3.sh - -.PHONY: release-upload -upload-release: - aws s3 cp --recursive --acl public-read build/upload s3://download.elasticsearch.org/beats/ - .PHONY: notice notice: python-env @echo "Generating NOTICE" @@ -152,7 +131,7 @@ notice: python-env .PHONY: python-env python-env: @test -d $(PYTHON_ENV) || virtualenv $(VIRTUALENV_PARAMS) $(PYTHON_ENV) - @$(PYTHON_ENV)/bin/pip install -q --upgrade pip autopep8 six + @$(PYTHON_ENV)/bin/pip install -q --upgrade pip autopep8==1.3.5 six @# Work around pip bug. See: https://github.com/pypa/pip/issues/4464 @find $(PYTHON_ENV) -type d -name dist-packages -exec sh -c "echo dist-packages > {}.pth" ';' @@ -160,3 +139,40 @@ python-env: .PHONY: test-apm test-apm: sh ./script/test_apm.sh + +### Packaging targets #### + +# Builds a snapshot release. +.PHONY: snapshot +snapshot: + @$(MAKE) SNAPSHOT=true release + +# Builds a release. +.PHONY: release +release: beats-dashboards + @$(foreach var,$(BEATS),$(MAKE) -C $(var) release || exit 1;) + @$(foreach var,$(BEATS), \ + test -d $(var)/build/distributions && test -n "$$(ls $(var)/build/distributions)" || exit 0; \ + mkdir -p build/distributions/$(subst $(XPACK_SUFFIX),'',$(var)) && mv -f $(var)/build/distributions/* build/distributions/$(subst $(XPACK_SUFFIX),'',$(var))/ || exit 1;) + +# Builds a snapshot release. The Go version defined in .go-version will be +# installed and used for the build. +.PHONY: release-manager-snapshot +release-manager-snapshot: + @$(MAKE) SNAPSHOT=true release-manager-release + +# Builds a snapshot release. The Go version defined in .go-version will be +# installed and used for the build. +.PHONY: release-manager-release +release-manager-release: + ./dev-tools/run_with_go_ver $(MAKE) release + +# Installs the mage build tool from the vendor directory. +.PHONY: mage +mage: + @go install github.com/elastic/beats/vendor/github.com/magefile/mage + +# Collects dashboards from all Beats and generates a zip file distribution. +.PHONY: beats-dashboards +beats-dashboards: mage update + @mage packageBeatDashboards diff --git a/vendor/github.com/elastic/beats/NOTICE.txt b/vendor/github.com/elastic/beats/NOTICE.txt index 14b9f658..a2fc2041 100644 --- a/vendor/github.com/elastic/beats/NOTICE.txt +++ b/vendor/github.com/elastic/beats/NOTICE.txt @@ -116,11 +116,98 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- -Dependency: github.com/boltdb/bolt -Version: v1.3.1 -Revision: 2f1ce7a837dcb8da3ec595b1dac9d0632f0f99e8 +Dependency: github.com/aws/aws-lambda-go +Version: =v1.6.0 +Revision: 2d482ef09017ae953b1e8d5a6ddac5b696663a3c +License type (autodetected): Apache-2.0 +./vendor/github.com/aws/aws-lambda-go/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + + +-------------------------------------------------------------------- +Dependency: github.com/aws/aws-lambda-go +Version: =v1.6.0 +Revision: 2d482ef09017ae953b1e8d5a6ddac5b696663a3c License type (autodetected): MIT -./vendor/github.com/boltdb/bolt/LICENSE: +./vendor/github.com/aws/aws-lambda-go/LICENSE-LAMBDACODE: +-------------------------------------------------------------------- +MIT No Attribution + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +-------------------------------------------------------------------- +Dependency: github.com/aws/aws-sdk-go-v2 +Version: v2.0.0-preview.5 +Revision: d52522b5f4b95591ff6528d7c54923951aadf099 +License type (autodetected): Apache-2.0 +./vendor/github.com/aws/aws-sdk-go-v2/LICENSE.txt: +-------------------------------------------------------------------- +Apache License 2.0 + +-------NOTICE.txt----- +AWS SDK for Go +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright 2014-2015 Stripe, Inc. + +-------------------------------------------------------------------- +Dependency: github.com/awslabs/goformation +Revision: c5f655c41370a0bec733fa251fd2ecd4e3f0dfe3 +License type (autodetected): Apache-2.0 +./vendor/github.com/awslabs/goformation/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + +-------NOTICE----- +GoFormation +Copyright 2011-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +-------------------------------------------------------------------- +Dependency: github.com/bsm/sarama-cluster +Revision: 7e67d87a6b3f83fe08c096fd084691bd9dca112f +License type (autodetected): MIT +./vendor/github.com/bsm/sarama-cluster/LICENSE: +-------------------------------------------------------------------- +(The MIT License) + +Copyright (c) 2017 Black Square Media Ltd + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +-------------------------------------------------------------------- +Dependency: github.com/coreos/bbolt +Revision: af9db2027c98c61ecd8e17caa5bd265792b9b9a2 +License type (autodetected): MIT +./vendor/github.com/coreos/bbolt/LICENSE: -------------------------------------------------------------------- The MIT License (MIT) @@ -143,6 +230,37 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------- +Dependency: github.com/coreos/go-systemd +Version: v17 +Revision: 39ca1b05acc7ad1220e09f133283b8859a8b71ab +License type (autodetected): Apache-2.0 +./vendor/github.com/coreos/go-systemd/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + +-------NOTICE----- +CoreOS Project +Copyright 2018 CoreOS, Inc + +This product includes software developed at CoreOS, Inc. +(http://www.coreos.com/). + +-------------------------------------------------------------------- +Dependency: github.com/coreos/pkg +Revision: 97fdf19511ea361ae1c100dd393cc47f8dcfa1e1 +License type (autodetected): Apache-2.0 +./vendor/github.com/coreos/pkg/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + +-------NOTICE----- +CoreOS Project +Copyright 2014 CoreOS, Inc + +This product includes software developed at CoreOS, Inc. +(http://www.coreos.com/). + -------------------------------------------------------------------- Dependency: github.com/davecgh/go-spew Version: v1.1.0 @@ -373,8 +491,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- Dependency: github.com/elastic/go-libaudit -Version: v0.2.1 -Revision: 55225d06b15c74082f9a7af75aa4284dbe48d20a +Version: v0.4.0 +Revision: 39073a2988f718067d85d27a4d18b1b57de5d947 License type (autodetected): Apache-2.0 ./vendor/github.com/elastic/go-libaudit/LICENSE.txt: -------------------------------------------------------------------- @@ -396,10 +514,25 @@ License type (autodetected): Apache-2.0 Apache License 2.0 +-------------------------------------------------------------------- +Dependency: github.com/elastic/go-seccomp-bpf +Revision: 5bed103a93993f24c58dd267faaab582f2373e31 +License type (autodetected): Apache-2.0 +./vendor/github.com/elastic/go-seccomp-bpf/LICENSE.txt: +-------------------------------------------------------------------- +Apache License 2.0 + +-------NOTICE.txt----- +Elastic go-seccomp-bpf +Copyright 2018 Elasticsearch B.V. + +This product includes software developed at +Elasticsearch, B.V. (https://www.elastic.co/). + -------------------------------------------------------------------- Dependency: github.com/elastic/go-structform -Version: v0.0.3 -Revision: 0a66add879601f69f55663f4c913c72988218982 +Version: v0.0.5 +Revision: 1425975cf4eb470099fcf02cbe9389cf3a7028a3 License type (autodetected): Apache-2.0 ./vendor/github.com/elastic/go-structform/LICENSE: -------------------------------------------------------------------- @@ -408,7 +541,7 @@ Apache License 2.0 -------------------------------------------------------------------- Dependency: github.com/elastic/go-sysinfo -Revision: fda017eee28b7420d931e08c7361c1c17f516aa2 +Revision: 7b021494a9562d0c3f0422d49b9980709c5650e9 License type (autodetected): Apache-2.0 ./vendor/github.com/elastic/go-sysinfo/LICENSE.txt: -------------------------------------------------------------------- @@ -423,8 +556,8 @@ Elasticsearch, B.V. (https://www.elastic.co/). -------------------------------------------------------------------- Dependency: github.com/elastic/go-txfile -Version: v0.0.1 -Revision: 7e7e33cc236f30fff545f3ee2c35ada5b70b6b13 +Version: v0.0.3 +Revision: 389b527ad365f6fc6cf5fa7e0ba5a2294ad2f3ed License type (autodetected): Apache-2.0 ./vendor/github.com/elastic/go-txfile/LICENSE: -------------------------------------------------------------------- @@ -433,8 +566,8 @@ Apache License 2.0 -------------------------------------------------------------------- Dependency: github.com/elastic/go-ucfg -Version: v0.5.1 -Revision: 0ba28e36add27704e6b49a7ed8557989a8f4a635 +Version: v0.6.5 +Revision: 92d43887f91851c9936621665af7f796f4d03412 License type (autodetected): Apache-2.0 ./vendor/github.com/elastic/go-ucfg/LICENSE: -------------------------------------------------------------------- @@ -443,7 +576,8 @@ Apache License 2.0 -------------------------------------------------------------------- Dependency: github.com/elastic/go-windows -Revision: a730c8b4e08aef7e1ebb642928bf862996ad2383 +Version: 7b021494a9562d0c3f0422d49b9980709c5650e9 +Revision: bb1581babc04d5cb29a2bfa7a9ac6781c730c8dd License type (autodetected): Apache-2.0 ./vendor/github.com/elastic/go-windows/LICENSE.txt: -------------------------------------------------------------------- @@ -477,8 +611,8 @@ subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. -------------------------------------------------------------------- Dependency: github.com/ericchiang/k8s -Version: v1.0.0 -Revision: 5912993f00cb7c971aaa54529a06bd3eecd6c3d4 +Version: =v1.0.0/in-cluster-ipv6 +Revision: 33b346590d1dd4eaac217471671f736bcdab492d License type (autodetected): Apache-2.0 ./vendor/github.com/ericchiang/k8s/LICENSE: -------------------------------------------------------------------- @@ -515,7 +649,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- Dependency: github.com/fsnotify/fsevents -Revision: 70114c7d2e1e4d1ae5179b285d65ea21aae111cc +Revision: e1d381a4d27063baac2e9d3c5887ceb4ab059287 License type (autodetected): BSD-3-Clause ./vendor/github.com/fsnotify/fsevents/LICENSE: -------------------------------------------------------------------- @@ -648,6 +782,14 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +-------------------------------------------------------------------- +Dependency: github.com/go-ini/ini +License type (autodetected): Apache-2.0 +./vendor/github.com/go-ini/ini/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + + -------------------------------------------------------------------- Dependency: github.com/go-ole/go-ole Revision: de8695c8edbf8236f30d6e1376e20b198a028d42 @@ -1069,6 +1211,77 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------- +Dependency: github.com/gofrs/uuid +Version: 3.1.1 +Revision: 47cd1dca1a6e7f807d5a492bd7e7f41d0855b5a1 +License type (autodetected): MIT +./vendor/github.com/gofrs/uuid/LICENSE: +-------------------------------------------------------------------- +Copyright (C) 2013-2018 by Maxim Bublis + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +-------------------------------------------------------------------- +Dependency: github.com/gogo/protobuf +Revision: 636bf0302bc95575d69441b25a2603156ffdddf1 +License type (autodetected): BSD-3-Clause +./metricbeat/vendor/github.com/gogo/protobuf/LICENSE: +-------------------------------------------------------------------- +Protocol Buffers for Go with Gadgets + +Copyright (c) 2013, The GoGo Authors. All rights reserved. +http://github.com/gogo/protobuf + +Go support for Protocol Buffers - Google's data interchange format + +Copyright 2010 The Go Authors. All rights reserved. +https://github.com/golang/protobuf + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + -------------------------------------------------------------------- Dependency: github.com/golang/protobuf Revision: 2bba0603135d7d7f5cb73b2125beeda19c09f4ef @@ -1231,6 +1444,41 @@ License type (autodetected): Apache-2.0 Apache License 2.0 +-------------------------------------------------------------------- +Dependency: github.com/imdario/mergo +Revision: 9f23e2d6bd2a77f959b2bf6acdbefd708a83a4a4 +License type (autodetected): BSD-3-Clause +./vendor/github.com/imdario/mergo/LICENSE: +-------------------------------------------------------------------- +Copyright (c) 2013 Dario Castañé. All rights reserved. +Copyright (c) 2012 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + -------------------------------------------------------------------- Dependency: github.com/inconshreveable/mousetrap Revision: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 @@ -1240,6 +1488,52 @@ License type (autodetected): Apache-2.0 Apache License 2.0 +-------------------------------------------------------------------- +Dependency: github.com/insomniacslk/dhcp +Revision: 633285ba52b2a67b98a3026eb87ee1a76ab60f3c +License type (autodetected): BSD-3-Clause +./vendor/github.com/insomniacslk/dhcp/LICENSE: +-------------------------------------------------------------------- +BSD 3-Clause License + +Copyright (c) 2018, Andrea Barberio +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- +Dependency: github.com/jmespath/go-jmespath +Version: 0.2.2 +Revision: 3433f3ea46d9f8019119e7dd41274e112a2359a9 +License type (autodetected): Apache-2.0 +./vendor/github.com/jmespath/go-jmespath/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + + -------------------------------------------------------------------- Dependency: github.com/joeshaw/multierror Revision: 69b34d4ec901851247ae7e77d33909caf9df99ed @@ -1268,6 +1562,33 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------- +Dependency: github.com/jstemmer/go-junit-report +Revision: 385fac0ced9acaae6dc5b39144194008ded00697 +License type (autodetected): MIT +./vendor/github.com/jstemmer/go-junit-report/LICENSE: +-------------------------------------------------------------------- +Copyright (c) 2012 Joel Stemmer + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + -------------------------------------------------------------------- Dependency: github.com/klauspost/compress Revision: 14c9a76e3c95e47f8ccce949bba2c1101a8b85e6 @@ -1366,6 +1687,16 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +-------------------------------------------------------------------- +Dependency: github.com/kubernetes/apimachinery +Version: kubernetes-1.11.1 +Revision: 103fd098999dc9c0c88536f5c9ad2e5da39373ae +License type (autodetected): Apache-2.0 +./metricbeat/vendor/github.com/kubernetes/apimachinery/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + + -------------------------------------------------------------------- Dependency: github.com/lib/pq Revision: 2704adc878c21e1329f46f6e56a1c387d788ff94 @@ -1381,6 +1712,15 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------- +Dependency: github.com/magefile/mage +Revision: 5e51f9ad1ed0886c5d06a8c46a09703cfc4d9034 +License type (autodetected): Apache-2.0 +./vendor/github.com/magefile/mage/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + + -------------------------------------------------------------------- Dependency: github.com/mattn/go-colorable Revision: 941b50ebc6efddf4c41c8e4537a5f68a4e686b24 @@ -1467,7 +1807,8 @@ SOFTWARE. -------------------------------------------------------------------- Dependency: github.com/miekg/dns -Revision: 5d001d020961ae1c184f9f8152fdc73810481677 +Version: v1.0.8 +Revision: 5a2b9fab83ff0f8bfc99684bd5f43a37abe560f1 License type (autodetected): BSD-3-Clause ./vendor/github.com/miekg/dns/LICENSE: -------------------------------------------------------------------- @@ -1560,6 +1901,15 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------- +Dependency: github.com/OneOfOne/xxhash +Revision: 74ace4fe5525ef62ce28d5093d6b0faaa6a575f3 +License type (autodetected): Apache-2.0 +./vendor/github.com/OneOfOne/xxhash/LICENSE: +-------------------------------------------------------------------- +Apache License 2.0 + + -------------------------------------------------------------------- Dependency: github.com/opencontainers/go-digest Revision: eaa60544f31ccf3b0653b1a118b76d33418ff41b @@ -1901,36 +2251,115 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- -Dependency: github.com/satori/go.uuid -Revision: 5bf94b69c6b68ee1b541973bb8e1144db23a194b -License type (autodetected): MIT -./vendor/github.com/satori/go.uuid/LICENSE: +Dependency: github.com/sanathkr/go-yaml +Version: v2 +Revision: ed9d249f429b3f5a69f80a7abef6bfce81fef894 +License type (autodetected): Apache-2.0 +./vendor/github.com/sanathkr/go-yaml/LICENSE: -------------------------------------------------------------------- -Copyright (C) 2013-2016 by Maxim Bublis +Apache License 2.0 -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. +-------------------------------------------------------------------- +Dependency: github.com/sanathkr/go-yaml +Version: v2 +Revision: ed9d249f429b3f5a69f80a7abef6bfce81fef894 +License type (autodetected): MIT +./vendor/github.com/sanathkr/go-yaml/LICENSE.libyaml: +-------------------------------------------------------------------- +The following files were ported to Go from C files of libyaml, and thus +are still covered by their original copyright and license: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apic.go + emitterc.go + parserc.go + readerc.go + scannerc.go + writerc.go + yamlh.go + yamlprivateh.go + +Copyright (c) 2006 Kirill Simonov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------- +Dependency: github.com/sanathkr/yaml +Revision: 0056894fa522748ca336761ffeeeb6bbae654d07 +License type (autodetected): MIT +./vendor/github.com/sanathkr/yaml/LICENSE: +-------------------------------------------------------------------- +The MIT License (MIT) + +Copyright (c) 2014 Sam Ghods + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +Copyright (c) 2012 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- Dependency: github.com/shirou/gopsutil -Version: v2.18.01 -Revision: c432be29ccce470088d07eea25b3ea7e68a8afbb +Version: v2.18.06 +Revision: 4a180b209f5f494e5923cfce81ea30ba23915877 License type (autodetected): BSD-3-Clause ./vendor/github.com/shirou/gopsutil/LICENSE: -------------------------------------------------------------------- @@ -1997,12 +2426,12 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- Dependency: github.com/Shopify/sarama -Version: v1.12/enh/offset-replica-id -Revision: c292021939f5aba53b3ffc2cb09c7aadb32a42df +Version: =v1.18.0/enh/offset-replica-id +Revision: 0143592836b090a1b481def4d902cfb3c5c05ae5 License type (autodetected): MIT ./vendor/github.com/Shopify/sarama/LICENSE: -------------------------------------------------------------------- -Copyright (c) 2013 Evan Huus +Copyright (c) 2013 Shopify Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -2124,14 +2553,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- Dependency: github.com/stretchr/objx +Revision: b8b73a35e9830ae509858c10dec5866b4d5c8bff License type (autodetected): MIT -./vendor/github.com/stretchr/objx/LICENSE.md: +./vendor/github.com/stretchr/objx/LICENSE: -------------------------------------------------------------------- -objx - by Mat Ryer and Tyler Bunnell - -The MIT License (MIT) +The MIT License Copyright (c) 2014 Stretchr, Inc. +Copyright (c) 2017-2018 objx contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -2153,8 +2582,8 @@ SOFTWARE. -------------------------------------------------------------------- Dependency: github.com/stretchr/testify -Version: v1.2.0 -Revision: b91bfb9ebec76498946beb6af7c0230c7cc7ba6c +Version: v1.2.2 +Revision: f35b8ab0b5a2cef36673838d662e249dd9c94686 License type (autodetected): MIT ./vendor/github.com/stretchr/testify/LICENSE: -------------------------------------------------------------------- @@ -2490,7 +2919,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- Dependency: golang.org/x/sys -Revision: 37707fdb30a5b38865cfb95e5aab41707daec7fd +Revision: 0ffbfd41fbef8ffcf9b62b0b0aa3a5873ed7a4fe License type (autodetected): BSD-3-Clause ./vendor/golang.org/x/sys/LICENSE: -------------------------------------------------------------------- @@ -2592,8 +3021,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- Dependency: golang.org/x/tools -Version: release-branch.go1.9 -Revision: 5d2fd3ccab986d52112bf301d47a819783339d0e +Version: release-branch.go1.10 +Revision: 156d532d4f67148ceab07c3b59ed7fa13bdbf00c License type (autodetected): BSD-3-Clause ./vendor/golang.org/x/tools/LICENSE: -------------------------------------------------------------------- @@ -2660,6 +3089,41 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +-------------------------------------------------------------------- +Dependency: gopkg.in/inf.v0 +Revision: d2d2541c53f18d2a059457998ce2876cc8e67cbf +License type (autodetected): BSD-3-Clause +./metricbeat/vendor/gopkg.in/inf.v0/LICENSE: +-------------------------------------------------------------------- +Copyright (c) 2012 Péter Surányi. Portions Copyright (c) 2009 The Go +Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + -------------------------------------------------------------------- Dependency: gopkg.in/mgo.v2 Revision: 3f83fa5005286a7fe593b055f0d7771a7dce4655 @@ -2761,40 +3225,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- Dependency: gopkg.in/yaml.v2 Revision: cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b -License type (autodetected): MIT -./vendor/gopkg.in/yaml.v2/LICENSE.libyaml: +License type (autodetected): Apache-2.0 +./vendor/gopkg.in/yaml.v2/LICENSE: -------------------------------------------------------------------- -The following files were ported to Go from C files of libyaml, and thus -are still covered by their original copyright and license: +Apache License 2.0 - apic.go - emitterc.go - parserc.go - readerc.go - scannerc.go - writerc.go - yamlh.go - yamlprivateh.go - -Copyright (c) 2006 Kirill Simonov - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -------------------------------------------------------------------- Dependency: gopkg.in/yaml.v2 diff --git a/vendor/github.com/elastic/beats/Vagrantfile b/vendor/github.com/elastic/beats/Vagrantfile index d36b2f74..310e5e09 100644 --- a/vendor/github.com/elastic/beats/Vagrantfile +++ b/vendor/github.com/elastic/beats/Vagrantfile @@ -11,7 +11,7 @@ # Usage and Features: # - Two users exist: Administrator and Vagrant. Both have the password: vagrant # - Use 'vagrant ssh' to open a Windows command prompt. -# - Use 'vagrant rdp' to open a Windows Remote Deskop session. Mac users must +# - Use 'vagrant rdp' to open a Windows Remote Desktop session. Mac users must # install the Microsoft Remote Desktop Client from the App Store. # - There is a desktop shortcut labeled "Beats Shell" that opens a command prompt # to C:\Gopath\src\github.com\elastic\beats where the code is mounted. @@ -26,6 +26,8 @@ # - Folder syncing doesn't work well. Consider copying the files into the box or # cloning the project inside the box. +GO_VERSION = File.read(File.join(File.dirname(__FILE__), ".go-version")).strip + # Provisioning for Windows PowerShell $winPsProvision = <