Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from original #1

Merged
merged 381 commits into from
Sep 9, 2020
Merged

Update from original #1

merged 381 commits into from
Sep 9, 2020

Conversation

punisherVX
Copy link

What does this PR do?

Why is it important?

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

vjsamuel and others added 30 commits July 22, 2020 17:15
* Add topic about stopping Elastic Agent

* Add systemctl stop command

* Add kill command

* Add missing colon
The Elasticsearch user_agent processor was updated in elastic/elasticsearch#59697
* Update crowdstrike module
* remove skip

* close properly

* changelog

* space
When using light modules, host parser is called twice. First by the actual implementation
of the metricset, and second after adding the configuration defined in the light module
manifest. Second call might be missing data as the original host is modified after the first
call, causing problems.

This change disables host parser in the registration created for light modules, and makes
only the "second call" inside the factory.

It also removes previous fix for URLs as it shouldn't be needed anymore.
When the fields.yml file is constructed it is done by appending files together and adding some indenting.
In the case of Filebeat, a fileset's fields.yml is appended with an indent of 8 spaces to the module's fields.yml.
This generally allows for all of the filesets fields to become children of the module.

The problem we had was that the new filesets added in #19713 expected that their fields would be root fields
(not children to the module namespace). In cases where the module already existed and had declared
a module namespace field in its fields.yml this resulted in unexpectedly namespaced fieldset fields
(e.g. microsoft.rsa.* instead of rsa.*).

The size of the x-pack/filebeat index-pattern is still large (915885 bytes), but not so large that it goes beyond the Kibana
request payload limit.

Fixes #19965
* Improve stop to be more relaxed.

* Add changelog.
Won't be shipping this fileset as the product is EOL.
* Ignore cylance.protect timestamps while testing

* Update generated
* prevent closing closed

* changelog
The number of docvalue fields in Filebeat went beyond 100 and Discover was not loading.
I added settings.index.max_docvalue_fields_search=200 to the default index template.
In Filebeat there are about 117 fields now.

Fixes #20215
* refactor(packet beat): Improve support for 100-continue

* test(packetbeat): 100-continue only generate one event without error

* test(packetbeat): 100-continue only generate one event without error

* Update packetbeat/protos/http/http.go

Co-authored-by: Adrian Serrano <adrisr83@gmail.com>

* delete unused string

* Fix format issue

Co-authored-by: Marc Guasch <marc.guasch@elastic.co>
Co-authored-by: Adrian Serrano <adrisr83@gmail.com>
[Ingest Manager] Prepare packaging for endpoint and asc files (#20186)
…ertain webhooks that is not able to set content-headers at all. Still defaults to application/json (#20232)
* Fix install service script.

* Add changelog.

* Register as a Windows service and fix issue with reader closer.

* Fix install service script.

* Add changelog.
Fixes auditd module syscall table for ppc64 and ppc64le. elastic/go-libaudit#72
jalvz and others added 29 commits September 3, 2020 15:44
When starting beats as a service, the PID will be owned by the user that manages the service. This would be root in most cases. Users tend to run tests as non-root, running beats directly (./metricbeat) on the command line. Without the shared_credential_file path the beat checks for credentials under the user's home directory. When starting beats as a service, the home directory of the user managing the service (typically root) is different than what was being used in testing and development, which can be hard to figure out.
- "ignore_empty_value" option for the set processor only works on
Elasticsearch >= 7.9.0.  This change removes that option and replaces
it with an if statement if pipeline is loaded on an earlier version of
elasticsearch.
* Add mappings for x509 fields in kerberos

* Add changelog entry

* Do gsub in place
* mofidy doc

* fix

* generate json

* changelog

* fields

* test

* update fields
* feat: configure retries on tests

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>

* Update Jenkinsfile

Co-authored-by: cachedout <mike.place@elastic.co>
* fix: skip default checkout

* fix: skip default checkout

* fix: force ubuntu-18 nodes

* fix: use master for the default checkout
)

* mofidy doc

* rewrite

* fix

* temp

* tests

* work

* changelog

* fit tests

* update dashboards
Solve python deprecation warnings, and make python tests to
fail if deprecated code is added.

Changes here:
* Add error::DeprecationWarning to pytest's filterwarnings (so tests
  fail if use deprecated code).
* Add pytest.ini to the list of files that trigger all CI builds.
* Refactor tests to don't require deprecated assertDictContainsSubset.
* Update autopep8 to latest version, and run it once with -a (aggresive).
* Solve some other deprecation warnings not solved automatically by
  autopep8 -a.
* Flaky TestConfigurableService disable test

* update skipnow to skipf

Co-authored-by: Michal Pristas <michal.pristas@gmail.com>
)

* Map x509 ecs fields for fortinet fw fileset

* Remove wrongly mapped field and bump ecs version
* Map x509 fields in santa module

* Bump ecs version
* Map x509 for suricata/eve fileset

* Fix not_before condition and bump ecs version
* Update api-keys.asciidoc - API key prerequisites

Add references to required privileges within the API key examples

* Update libbeat/docs/security/api-keys.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
* Sanitize event.host

* Update CHANGELOG

* Fix: enable host parser
Kafka metricsets based on Jolokia require a different configuration to
the native metricsets. Disable the Jolokia ones by default,  if someone
wants to use them, they need to explicitly enable and configure them.
Reference configuration contains information about this.
* Refactor Boolexp to Eql.

* Connect new Eql to specs and input emitter.

* Fix compare with null.

* Fix notice and go.mod.
@punisherVX punisherVX merged commit 4750fc3 into pensando:master Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.