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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
381 commits
Select commit Hold shift + click to select a range
b9a00da
Move file metrics to dataset endpoint (#19977)
vjsamuel Jul 22, 2020
f9a5f2e
Fix typo in documentation (#20141)
kaiyan-sheng Jul 22, 2020
2025662
Enable and fix Journalbeat integration tests (#20140)
kvch Jul 22, 2020
40174bc
docs: Update ESS and Elasticsearch output documentation (#20074)
bmorelli25 Jul 22, 2020
c1055c6
Collect cloud.instance.name in ec2 metricset (#20077)
kaiyan-sheng Jul 22, 2020
5c3944f
[docs] Add topic about stopping Elastic Agent (#19971)
dedemorton Jul 22, 2020
3238961
Update Filebeat module golden log files (#20168)
andrewkroh Jul 22, 2020
00e14b4
[docs] Add x-pack role to relevant metricsets (#20167)
dedemorton Jul 23, 2020
5e9a3a5
[Filebeat] Update crowdstrike module (#20138)
Jul 23, 2020
fe79a07
[Ingest Manager] Fix failing unit tests on windows (#20127)
michalpristas Jul 23, 2020
7579d51
[CI] fix null string with contains (#20182)
v1v Jul 23, 2020
6c82292
Call host parser only once when building light metricsets (#20149)
jsoriano Jul 23, 2020
b561047
Fix terminating pod autodiscover issue (#20084)
ChrsMark Jul 23, 2020
ea7c05f
Fix fileset field prefixing (#20170)
andrewkroh Jul 23, 2020
3811728
[Elastic Agent] Improve GRPC stop to be more relaxed. (#20118)
blakerouse Jul 23, 2020
390a86d
Remove f5/firepass rsa2elk fileset (#20160)
adriansr Jul 23, 2020
3e138b3
[docs] Indicate that SYSTEM user is required on Windows to use Endpoi…
dedemorton Jul 23, 2020
96a3666
[CI] remove codecov step (#20102)
v1v Jul 23, 2020
ddf8c02
[Filebeat] Ignore cylance.protect timestamps while testing (#20207)
andrewkroh Jul 23, 2020
e9ff950
Testing: Ignore timestamp from cylance/protect dataset (#20211)
adriansr Jul 23, 2020
9dc4877
[Metricbeat] Use MySQL Host Parser in Query metricset (#20191)
sayden Jul 23, 2020
96fa64d
[Ingest Manager] Prevent closing closed reader (#20214)
michalpristas Jul 23, 2020
e95a905
Increase index.max_docvalue_fields_search to 200 (#20218)
andrewkroh Jul 23, 2020
41bc8c6
[Packetbeat] HTTP: Improve support for 100-continue #15830 (#19349)
OhBonsai Jul 27, 2020
1dc3294
[Ingest Manager] Prepare packaging for endpoint and asc files (#20186)
michalpristas Jul 27, 2020
e01ab42
fix: use a fixed worker type for tests (#20130)
kuisathaverat Jul 27, 2020
98a423d
adding possibility to override content-type checks, it was breaking c…
P1llus Jul 27, 2020
d199ecf
[CI] fix apm-beats-update.groovy pipeline with missing stages (#20238)
v1v Jul 27, 2020
3bacbfd
[Elastic Agent] Fix Windows powershell install service script (#20203)
blakerouse Jul 27, 2020
401b4ea
Update to go-libaudit v2.0.1 (#20052)
andrewkroh Jul 28, 2020
9f99091
Elastic agent on k8s (#19727)
ChrsMark Jul 28, 2020
5a37193
[Elastic Agent] Add ability to re-exec agent (#20111)
blakerouse Jul 28, 2020
e278101
[Ingest Manager] Fix docker build for agent (#20268)
michalpristas Jul 28, 2020
6dab14c
[Elastic Agent] Fix service application stop timeout issue (#20256)
blakerouse Jul 28, 2020
59ddf55
fixed (#20269)
michalpristas Jul 28, 2020
55399a4
[JJBB] Pipeline 2.0 for monorepos (#20272)
v1v Jul 28, 2020
ac688ca
Cisco ASA: Fix message 106100 (#20245)
adriansr Jul 28, 2020
e9f8f17
[Elastic Agent] Add basic protocol to control Elastic Agent. (#20146)
blakerouse Jul 28, 2020
b1e4db0
fix: update the display name of the multibranch job (#20265)
kuisathaverat Jul 28, 2020
9c14a8a
[docs] Rename release highlights to what's new (#20255)
dedemorton Jul 28, 2020
24d0b20
[docs] Fix Windows download link for agent (#20258)
dedemorton Jul 28, 2020
0659a12
[Filebeat] Updates to Suricata module (#20220)
andrewkroh Jul 29, 2020
855eef5
[CI] Change upstream reference (#20296)
v1v Jul 29, 2020
a218611
feat(ci): support storing artifacts for PRs in separate dirs (#20282)
mdelapenya Jul 29, 2020
fb52d26
docs: update changelog on master branch (#20259)
kuisathaverat Jul 29, 2020
06f05ca
Remove unnecessary restarts of metricsets while using Node autodiscov…
vjsamuel Jul 29, 2020
b797a7e
Infer types in Prometheus remote_write (#19944)
ChrsMark Jul 29, 2020
953d067
[Filebeat][Gsuite] Transform all dates to timestamp with processor (#…
marc-gr Jul 29, 2020
c2bb3f0
[Libbeat] Log debug message if the Kibana dashboard can not be import…
kvch Jul 29, 2020
78a762c
Update system tests dependency (#20287)
adriansr Jul 29, 2020
ea63f05
feat(ci): support building docker images for PRs (#20323)
mdelapenya Jul 29, 2020
36c8468
[Filebeat] Add export tests to x-pack/filebeat (#20156)
andrewkroh Jul 29, 2020
e64fa2d
Add ECK doc links to Heartbeat docs (#20284)
dedemorton Jul 29, 2020
fafb790
[CI] Update README.md with CI references (#20316)
v1v Jul 30, 2020
7a34167
[Autodiscovery] Ignore ErrInputNotFinished errors in autodiscover con…
ChrsMark Jul 30, 2020
6106a0e
Add an explicit system test for processes on unix systems (#20320)
jsoriano Jul 30, 2020
b1b7860
[Filebeat][Fortinet] Remove pre populated event.timezone (#20273)
marc-gr Jul 30, 2020
2abf87f
Auditbeat: Allow multiple instances by grouping kprobes by PID (#20325)
adriansr Jul 30, 2020
77a8472
[Elastic Agent] Add skeleton for client/server for agent control prot…
blakerouse Jul 30, 2020
3b4cdc2
Modify doc in app_insights metricset (#20185)
narph Jul 30, 2020
3e66a8a
[docs] Remove deprecated security roles (#20162)
dedemorton Jul 31, 2020
2ced454
Check expand_event_list_from_field when json in map[string]interface{…
kaiyan-sheng Jul 31, 2020
4bf6b59
Change licence of github.com/gorhill/cronexpr to Apache (#20351)
kvch Jul 31, 2020
936f005
Skip TestDockerStart (#20361)
Jul 31, 2020
88c19e8
Allow space or time sync character before timestamp on syslog message…
candlerb Jul 31, 2020
43bbf51
New multiline mode in Filebeat: while_pattern (#19662)
tufitko Jul 31, 2020
aaf3d7e
Prepare home directories for docker images in a different stage (#20356)
jsoriano Aug 3, 2020
77b3b07
[Elastic Agent] Improve version, restart, enroll CLI commands (#20359)
blakerouse Aug 3, 2020
b671339
Update Suricata dashboards (#20394)
andrewkroh Aug 3, 2020
778a92f
[Filebeat][SophosXG Module] Renaming module and fileset (#20396)
P1llus Aug 3, 2020
aaeead0
Support "cluster" scope in Metricbeat elasticsearch module (#18547)
ycombinator Aug 3, 2020
99191e9
add_process_metadata processor adds container id even if process meta…
jtinkus Aug 4, 2020
b356494
Group same timestamp metrics values in app_insights metricset (#20403)
narph Aug 4, 2020
8934bc5
Update container name for the azure filesets (#19899)
narph Aug 4, 2020
3a9ce71
Ensure install scripts only install if needed (#20349)
cachedout Aug 4, 2020
496e3c9
Makes `metrics` config option required in app_insights (#20406)
narph Aug 4, 2020
e48f5c8
Improve cgroup_regex docs with examples (#20425)
ChrsMark Aug 4, 2020
b1bd7b7
[Elastic Agent] Fix agent control socket path to always be less than …
blakerouse Aug 4, 2020
829c3b7
Add event.ingested to all Filebeat modules (#20386)
andrewkroh Aug 4, 2020
fc0e192
[Ingest Manager] Send datastreams fields (#20402)
michalpristas Aug 5, 2020
6a9a20e
[Filebeat][ATP Module]Setting user agent field required by the API (#…
P1llus Aug 5, 2020
3cc97ff
Remove pillow from testing requirements.txt (#20407)
jsoriano Aug 5, 2020
6d8acd0
Disable logging when pulling on python integration tests (#20397)
jsoriano Aug 5, 2020
945da26
Upgrade elasticsearch client library used in tests (#20405)
jsoriano Aug 5, 2020
44fc8e3
[docs] Promote ingest management to beta (#20295)
dedemorton Aug 6, 2020
adddc89
[CI][BUILD] fail if choco failed (#20343)
v1v Aug 6, 2020
f3fe010
[Filebeat][nosetests] Printing error message when test_modules.py ret…
P1llus Aug 6, 2020
5fdcb1c
[Filebeat] Fix Okta ingest pipeline (#20454)
Aug 6, 2020
a89d81f
Check if Filebeat log harvester tries to open named pipe (#20450)
kvch Aug 6, 2020
a6e2e24
Use pytest instead of nosetests (#16883)
jsoriano Aug 6, 2020
924c239
[Filebeat] Check types in googlecloud/audit field renames (#20465)
andrewkroh Aug 6, 2020
6fabb86
[Ingest Manager] Move to datastream instead of dataset (#20420)
michalpristas Aug 6, 2020
b153044
[Elastic Agent] Add support for synthetics inputs that run heartbeat …
blakerouse Aug 6, 2020
f512235
fixing typo in o365 input documentation (#20459)
P1llus Aug 6, 2020
902015c
[docs] Add Elastic Agent doc changes for 7.9 (#20437)
dedemorton Aug 7, 2020
7ec32e4
Fix cisco asa/ftd parsing of msgs 106102/106103 (#20469)
adriansr Aug 7, 2020
9ab9b97
Add leader election for autodiscover (#20281)
ChrsMark Aug 10, 2020
368d31b
Fix healthcheck in ES compose service (#20511)
jsoriano Aug 10, 2020
7913005
Improve validation check for Azure configuration (#20389)
leehinman Aug 10, 2020
6843c55
fix event.type have incorrect value in system/syslog (#20390)
leehinman Aug 10, 2020
8593c85
Fix versions in requirements.txt for python 3.5 and 3.9 (#20507)
jsoriano Aug 10, 2020
d4fb2bc
[Filebeat][http_endpoint input] Adds support for custom auth header n…
P1llus Aug 10, 2020
dec042c
Update vm_compute metricset with more info on guest metrics (#20448)
narph Aug 10, 2020
72da5a6
Add success cache minimum TTL for DNS responses (#18986)
ansell Aug 10, 2020
b48be52
Modified auditd ingest pipeline to handle node=hostname (#19659)
ipnerds Aug 10, 2020
091f66d
Fix typo in netflow module docs (#18992)
rruckley Aug 10, 2020
4d8354d
[Filebeat] Fix PANW field spelling "veredict" to "verdict" (#18808)
dainok Aug 10, 2020
6c0c3bf
Add panw.panos.endreason field (#18705)
dainok Aug 10, 2020
ba8533d
[CI] runbld project name (#20466)
v1v Aug 11, 2020
ba06909
chore(ci): use build step for checking if is PR (#20536)
mdelapenya Aug 11, 2020
a58ec5a
[JJBB] fix credentials with a service account (#20535)
v1v Aug 11, 2020
6892234
[ITs] change healthcheck for elasticsearch (#20514)
v1v Aug 11, 2020
8fccc74
[JJBB] fix credentials with a service account for golang-crossbuild (…
v1v Aug 11, 2020
562d29c
[CI] add more resilience (#20505)
v1v Aug 11, 2020
e7c0b1d
Fix fortinet.firewall.mem value to be interpreted as integer (#19335)
philippkahr Aug 11, 2020
0243f28
add warning log in aws and googlecloud module for API cost (#20523)
kaiyan-sheng Aug 11, 2020
0520635
Add missing inputs to filebeat spec (#20388)
Aug 11, 2020
5e96f47
Update Golang version to 1.14.7 (#20508)
kvch Aug 11, 2020
0041246
Add service resource in k8s cluster role (#20546)
ChrsMark Aug 11, 2020
a5b656d
fix typo in docs (#20541)
ChrsMark Aug 11, 2020
7b47f1f
[Packetbeat] Add "network" to event.category (#20392)
leehinman Aug 11, 2020
d036955
[Heartbeat] Add Magefile to X-Pack (#20549)
andrewvc Aug 11, 2020
ca4ad77
[Heartbeat] Fix packaging (#20566)
andrewkroh Aug 12, 2020
cf959bf
[ITs] Revert healthcheck for elasticsearchssl service to the previous…
v1v Aug 12, 2020
ab7e533
Fix Winlogbeat export index-pattern with migration.6_to_7.enabled (#2…
adriansr Aug 12, 2020
a8f9cc8
Fix ECS fields in Elastic Log Driver, change index prefix (#20522)
fearful-symmetry Aug 12, 2020
315a17e
Make implementing Close required by reader.Reader (#20455)
kvch Aug 13, 2020
3ed5051
Added browserbeat to the community beats documentation page. (#14396)
MelonSmasher Aug 13, 2020
dbd6e36
[CI] more parallel stages and less provisioned workers (#20569)
v1v Aug 13, 2020
a6d98d6
Stop Heartbeat monitor jobs on cancelation (#20570)
jsoriano Aug 13, 2020
0248e97
[docs] Fix minor typo (#20591)
dedemorton Aug 13, 2020
2ce0ab0
Change cluster_ip field from ip to keyword (#20571)
ChrsMark Aug 14, 2020
b5e0405
Use older version of github.com/dop251/goja_nodejs (#20586)
kvch Aug 14, 2020
7b7fb3b
Add k8s manifest leveraging leaderelection (#20512)
ChrsMark Aug 14, 2020
b03189f
Fix broken elements in the changelog for 7.9 (#20597)
kvch Aug 14, 2020
dac0534
[Filebeat] Fix event.outcome logic for azure/signinlogs fileset (#20254)
leehinman Aug 14, 2020
16ea8e2
Set event.outcome based on raw keyword value (#20564)
andrewkroh Aug 14, 2020
6244316
Remove event.category network_traffic from Packetbeat (#20556)
andrewkroh Aug 14, 2020
7bb31e6
Add replace_fields config option in add_host_metadata for replacing h…
kaiyan-sheng Aug 14, 2020
d496d5e
[docs] Update Elastic Agent command-line flags for 7.9 (#20533)
dedemorton Aug 15, 2020
e4baae6
Fix yaml warnings in python scripts and tests (#20606)
jsoriano Aug 16, 2020
e805494
[CI] Fix missing when for Journalbeat (#20626)
v1v Aug 17, 2020
75408aa
Update go-concert to v0.0.4 (#20590)
Aug 17, 2020
efa1fa9
Add missing changelog entry for #20540 (#20629)
adriansr Aug 17, 2020
154adf2
[docs] Update what's new for 7.9 (#20618)
dedemorton Aug 17, 2020
f2c4c0a
[docs] Add breaking changes for 7.9 (#20595)
dedemorton Aug 17, 2020
9dbb810
Fix healthz spelling in autodiscover-hints (#20640)
marc-sensenich Aug 18, 2020
3ef1811
[MetricBeat] resource tags map should be compatible with short or who…
kwinstonix Aug 18, 2020
54d2268
Add host inventory metrics to ec2 metricset (#20171)
kaiyan-sheng Aug 18, 2020
2f212da
[docs] Update Elastic Agent configuration docs for 7.9 (#20647)
dedemorton Aug 18, 2020
9e4d4f2
Add template for ssl config reference settings (#20357)
andrewkroh Aug 18, 2020
0038599
Run mage fmt update to fix heartbeat.reference.yml (#20681)
kaiyan-sheng Aug 19, 2020
73f8bea
testing: fix Kibana healthcheck (#20683)
axw Aug 19, 2020
0940e25
Clone value when copy fields in processors to avoid crash (#20500)
ianwoolf Aug 19, 2020
ea3dfcf
[Winlogbeat][Sysmon] Remove top level hash property from sysmon event…
marc-gr Aug 19, 2020
8848898
[Auditbeat] Change event.kind=error to event.kind=event to comply wit…
marc-gr Aug 19, 2020
5f42d21
[docs] Edit 7.9 release notes (#20619)
dedemorton Aug 19, 2020
38fc1ed
libbeat/kibana: add ClientConfig.Headers (#20580)
axw Aug 20, 2020
929e838
[Filebeat][httpjson] Convert httpjson input to a v2 input (#20226)
marc-gr Aug 20, 2020
0665527
[Metricbeat] Fix nesting of headings in Elasticsearch fields descript…
sayden Aug 20, 2020
98d3925
[Auditbeat] upgrade to go-libaudit 2.0.2 (#20695)
leehinman Aug 20, 2020
7de72d6
Sync with zeek package (#20696)
leehinman Aug 20, 2020
61eaf3b
Heartbeat: move configuration of common input setting to the runner f…
Aug 20, 2020
9610963
[docs] Add steps for making agent persistent on macos (#20700)
dedemorton Aug 20, 2020
cbb2f37
Add host inventory metrics to googlecloud compute metricset (#20391)
kaiyan-sheng Aug 20, 2020
6bf61cb
Add host inventory metrics to azure compute_vm metricset (#20641)
kaiyan-sheng Aug 20, 2020
aa6f5d7
Add FLEET_ENROLL_INSECURE env var to expose --insecure CLI option (#2…
ycombinator Aug 21, 2020
5050283
Add certificate TLS verification mode (#20293)
Aug 21, 2020
adeb6f3
Change disk and network metrics to use Sum statistic method (#20680)
kaiyan-sheng Aug 21, 2020
ff4d1c0
Pipeline client test log progress (#20366)
Aug 21, 2020
d2a0999
Fill cloud.account.name with accountID if account alias doesn't exist…
kaiyan-sheng Aug 23, 2020
03b2c14
Fix Agent tests for Heartbeat config (#20742)
andrewkroh Aug 23, 2020
6636a8c
Add event.ingested to all rsa2elk modules (#20714)
adriansr Aug 24, 2020
f06bcc5
Remove modules citrix, kaspersky, rapid7 and tenable (#20706)
adriansr Aug 24, 2020
e31794d
Build docker images based on Red Hat UBI (#20576)
jsoriano Aug 24, 2020
49e8024
windows/perfmon fix for `There is more data to return than will fit i…
narph Aug 24, 2020
3f025e1
[Filebeat][Cisco Module] Adding various smaller hotfixes related to g…
P1llus Aug 25, 2020
03748b3
Improve registry file migration performance (#20717)
Aug 25, 2020
94c4fe9
[docs] Update settings doc to indicate that they are configurable thr…
dedemorton Aug 25, 2020
2b3f7d5
Fix tests to use localhost. (#20776)
blakerouse Aug 25, 2020
930c5f1
[Elastic Agent] improve CI reporting (#20780)
ph Aug 25, 2020
8d77c1c
[Filebeat][auditd] Fix event types and categories to comply with ECS …
marc-gr Aug 26, 2020
fbaeefe
Request prometheus endpoints to be gzipped by default (#20766)
vjsamuel Aug 26, 2020
56f11f1
[Elastic Agent] Fix the changelog (#20787)
ph Aug 26, 2020
98c434a
Add paralelization_factor to Functionbeat Kinesis (#20727)
ravinaik1312 Aug 27, 2020
795c86f
Add missing country_name geo field in add host metadata (#20811)
jsoriano Aug 27, 2020
d34d1b6
Rename cloud.provider to `azure` instead of `az` in add_cloud_metadat…
narph Aug 27, 2020
24638aa
Update to latest version (#20801)
kaiyan-sheng Aug 27, 2020
ad7689c
Check host fields type before converting to common.MapStr (#20791)
kaiyan-sheng Aug 27, 2020
2053297
[Elastic Agent] Add initial composable providers (#20804)
blakerouse Aug 27, 2020
273ecae
[Build] Make mage-linux-amd64 statically compiled. (#20827)
ph Aug 27, 2020
9affefe
Remove duplicate ListGroupsForUsers in aws/cloudtrail (#20788)
leehinman Aug 27, 2020
7fbbdca
Update filebeat azure module documentation (#20815)
narph Aug 31, 2020
f295609
Fix path in hits docs (#20447)
jsoriano Aug 31, 2020
ef457ea
[ECS] Update ecs to 1.6.0 (#20792)
marc-gr Aug 31, 2020
1e05957
docs: update cipher suites (#20697)
bmorelli25 Aug 31, 2020
587d7f8
docs: Add `processor.event` info to Logstash output (#20721)
bmorelli25 Sep 1, 2020
42a53eb
Setup python paths in test runner configuration (#20832)
jsoriano Sep 1, 2020
345e045
Ensure kind cluster has RFC1123 compliant name (#20627)
jarpy Sep 1, 2020
3c7ca54
[Filebeat][Gsuite] Add note about admin in gsuite docs (#20855)
marc-gr Sep 1, 2020
0712468
[Filebeat][zeek] Add new x509 fields to zeek (#20867)
marc-gr Sep 1, 2020
2a0e099
Kubernetes state_daemonset metricset for Metricbeat (#20649)
jarpy Sep 1, 2020
ba0f03d
Bump kibana version to 7.9.0 in x-pack/metricbeat (#20899)
kaiyan-sheng Sep 1, 2020
b8a0e9c
Adding cborbeat to community beats (#20884)
toravir Sep 1, 2020
d6d29f0
docs: Update beats for APM (#20881)
bmorelli25 Sep 1, 2020
24fc444
Document how to set the ES host and Kibana URLs in Ingest Manager (#2…
dedemorton Sep 1, 2020
6d7213f
Improve docs of leaderelection configuration (#20601)
ChrsMark Sep 2, 2020
99fd545
Avoid generating incomplete configurations in autodiscover (#20898)
jsoriano Sep 2, 2020
13d20fe
Include python docs in devguide index (#20917)
jsoriano Sep 2, 2020
ed6f101
[Metricbeat] Add billing metricset into googlecloud module (#20812)
kaiyan-sheng Sep 2, 2020
1757cec
[packaging] Normalise GCP bucket folder structure (#20903)
v1v Sep 2, 2020
a2c7258
[Ingest Manager] Remove Success from fleet contract (#20449)
michalpristas Sep 2, 2020
35e6b60
[Autodiscover] Handle input-not-finished errors in config reload (#20…
ChrsMark Sep 2, 2020
997df18
[CI] fix regression with variable name (#20930)
v1v Sep 2, 2020
8fce110
[Filebeat][zeek] Map new x509 fields for ssl module (#20927)
marc-gr Sep 3, 2020
20b5709
[Ingest Manager] Align introspect-inspect naming in code (#20952)
michalpristas Sep 3, 2020
7b8cdfd
Skip flaky test on unix input (#20942)
jsoriano Sep 3, 2020
35645b0
[Ingest Manager] Print a message confirming shutdown (#20948)
michalpristas Sep 3, 2020
5486a21
[Ingest Manager] New agent structure (symlinks) (#20400)
michalpristas Sep 3, 2020
c0afa49
Only request wildcard expansion for hidden indices if supported (#20938)
ycombinator Sep 3, 2020
121f23b
[Elastic Agent] Add support for variable replacement from providers (…
blakerouse Sep 3, 2020
6adf80c
Check if tracer is active before starting a transaction (#20852)
jalvz Sep 3, 2020
e7f5553
[Metricbeat][test] Disable ec2 flaky test (#20959)
v1v Sep 3, 2020
cbed0d6
Clarify use for shared_credential_file (#20929)
kostasb Sep 3, 2020
9807eb1
Release Kubernetes state metricsets as GA (#20901)
jsoriano Sep 3, 2020
0032c0c
[Filebeat] backwards compatibility for set processor (#20908)
leehinman Sep 3, 2020
de5a419
[Filebeat][zeek] Add mappings for x509 fields in kerberos (#20958)
marc-gr Sep 4, 2020
7dec327
Skip flaky test for prometheus remote write (#20968)
jsoriano Sep 4, 2020
44e281f
Change version of unused dependencies in go.mod to support Go 1.13 (#…
kvch Sep 4, 2020
157c286
mode (#20986)
michalpristas Sep 4, 2020
65ddc49
Use go install to install tools from go modules (#20926)
jsoriano Sep 4, 2020
7ca9ebe
Update fields.yml in azure module (#20918)
narph Sep 7, 2020
3d677a1
docs: update changelog 7.9.1 (#20953)
kuisathaverat Sep 7, 2020
ee678da
ci: configure retries on tests (#20891)
kuisathaverat Sep 7, 2020
04fae01
[CI]fix: APM Beats Update job (#21005)
kuisathaverat Sep 7, 2020
f8c2477
Make compute_vm light metricset and add update cloud instance id (#20…
narph Sep 7, 2020
bed3964
Fix python deprecation warnings (#20603)
jsoriano Sep 7, 2020
55622f2
Flaky TestConfigurableService disable test (#20840)
ph Sep 7, 2020
6aa800c
Updating an error in config yml format of the docs for Sophos module …
P1llus Sep 7, 2020
840a4d3
Bump zeek kerberos/ssl/x509 ecs version (#21003)
marc-gr Sep 8, 2020
e11283e
[Filebeat][fortinet] Map x509 ecs fields for fortinet fw fileset (#20…
marc-gr Sep 8, 2020
f3e532c
[Filebeat][santa] Map x509 fields in santa module (#20976)
marc-gr Sep 8, 2020
70d6bde
[Filebeat][suricata] Map x509 for suricata/eve fileset (#20973)
marc-gr Sep 8, 2020
7326d5d
Update api-keys.asciidoc - API key prerequisites (#21026)
rwaight Sep 8, 2020
3ecf7e6
Sanitize event.host in Metricbeat (#21022)
mtojek Sep 9, 2020
bcb4e0c
Add container ECS fields in kubernetes metadata (#20984)
ChrsMark Sep 9, 2020
da2460d
Update apm agent (#21031)
jalvz Sep 9, 2020
cce29d4
Disable Kafka metricsets based on Jolokia (#20989)
jsoriano Sep 9, 2020
af91b5e
[Elastic Agent] Add support for EQL based conditions (#20994)
blakerouse Sep 9, 2020
8ff5f4f
Add changelog. (#21041)
blakerouse Sep 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .backportrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"upstream": "elastic/beats",
"branches": [{ "name": "7.8"}, { "name": "7.7"}, { "name": "7.x"}],
"branches": [{ "name": "7.9"}, { "name": "7.8"}, { "name": "7.7"}, { "name": "7.x"}],
"labels": ["backport"],
"autoAssign": true,
"prTitle": "Cherry-pick to {targetBranch}: {commitMessages}"
Expand Down
103 changes: 58 additions & 45 deletions .ci/apm-beats-update.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@Library('apm@current') _

pipeline {
agent none
agent { label 'master' }
environment {
REPO = 'apm-server'
BASE_DIR = "src/github.com/elastic/${env.REPO}"
Expand All @@ -27,62 +27,75 @@ pipeline {
}
triggers {
issueCommentTrigger('(?i).*/run\\s+(?:apm-beats-update\\W+)?.*')
upstream("Beats/beats-beats-mbp/${ env.JOB_BASE_NAME.startsWith('PR-') ? 'none' : env.JOB_BASE_NAME }")
upstream("Beats/beats/${ env.JOB_BASE_NAME.startsWith('PR-') ? 'none' : env.JOB_BASE_NAME }")
}
stages {
stage('Filter build') {
agent { label 'ubuntu && immutable' }
agent { label 'ubuntu-18 && immutable' }
when {
beforeAgent true
expression {
return isCommentTrigger() || isUserTrigger()
}
}
/**
Checkout the code and stash it, to use it on other stages.
*/
stage('Checkout') {
steps {
deleteDir()
gitCheckout(basedir: "${BEATS_DIR}", githubNotifyFirstTimeContributor: false)
script {
dir("${BEATS_DIR}"){
env.GO_VERSION = readFile(".go-version").trim()
def regexps =[
"^devtools/mage.*",
"^libbeat/scripts/Makefile",
]
env.BEATS_UPDATED = isGitRegionMatch(patterns: regexps)
// Skip all the stages except docs for PR's with asciidoc changes only
env.ONLY_DOCS = isGitRegionMatch(patterns: [ '.*\\.asciidoc' ], comparator: 'regexp', shouldMatchAll: true)
anyOf {
triggeredBy cause: "IssueCommentCause"
expression {
def ret = isUserTrigger() || isUpstreamTrigger()
if(!ret){
currentBuild.result = 'NOT_BUILT'
currentBuild.description = "The build has been skipped"
currentBuild.displayName = "#${BUILD_NUMBER}-(Skipped)"
echo("the build has been skipped due the trigger is a branch scan and the allow ones are manual, GitHub comment, and upstream job")
}
return ret
}
}
}
/**
updates beats updates the framework part and go parts of beats.
Then build and test.
Finally archive the results.
*/
stage('Update Beats') {
options { skipDefaultCheckout() }
when {
beforeAgent true
anyOf {
branch 'master'
branch "\\d+\\.\\d+"
branch "v\\d?"
tag "v\\d+\\.\\d+\\.\\d+*"
allOf {
expression { return env.BEATS_UPDATED != "false" || isCommentTrigger() }
changeRequest()
stages {
/**
Checkout the code and stash it, to use it on other stages.
*/
stage('Checkout') {
options { skipDefaultCheckout() }
steps {
deleteDir()
gitCheckout(basedir: "${BEATS_DIR}", githubNotifyFirstTimeContributor: false)
script {
dir("${BEATS_DIR}"){
env.GO_VERSION = readFile(".go-version").trim()
def regexps =[
"^devtools/mage.*",
"^libbeat/scripts/Makefile",
]
env.BEATS_UPDATED = isGitRegionMatch(patterns: regexps)
// Skip all the stages except docs for PR's with asciidoc changes only
env.ONLY_DOCS = isGitRegionMatch(patterns: [ '.*\\.asciidoc' ], comparator: 'regexp', shouldMatchAll: true)
}
}

}
}
steps {
withGithubNotify(context: 'Check Apm Server Beats Update') {
beatsUpdate()
/**
updates beats updates the framework part and go parts of beats.
Then build and test.
Finally archive the results.
*/
stage('Update Beats') {
options { skipDefaultCheckout() }
when {
beforeAgent true
anyOf {
branch 'master'
branch "\\d+\\.\\d+"
branch "v\\d?"
tag "v\\d+\\.\\d+\\.\\d+*"
allOf {
expression { return env.BEATS_UPDATED != "false" || isCommentTrigger() }
changeRequest()
}

}
}
steps {
withGithubNotify(context: 'Check Apm Server Beats Update') {
beatsUpdate()
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions .ci/jobs/apm-beats-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
discover-pr-forks-trust: 'permission'
discover-pr-origin: 'merge-current'
discover-tags: true
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*)'
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
disable-pr-notifications: true
notification-context: 'apm-beats-update'
repo: 'beats'
repo-owner: 'elastic'
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
credentials-id: github-app-beats-ci
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
Expand Down
59 changes: 59 additions & 0 deletions .ci/jobs/beats-mbp-2.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
- job:
name: Beats/beats-mbp-2.0
display-name: 'Beats (2.0)'
description: 'Beats Main Pipeline 2.0'
view: Beats
concurrent: true
project-type: multibranch
prune-dead-branches: true
days-to-keep: 30
script-path: '.ci/Jenkinsfile'
triggers: []
wrappers: []
scm:
- github:
branch-discovery: 'no-pr'
discover-pr-forks-strategy: 'merge-current'
discover-pr-forks-trust: 'permission'
discover-pr-origin: 'merge-current'
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
discover-tags: true
disable-pr-notifications: true
notification-context: "beats-ci-2.0"
repo: 'beats'
repo-owner: 'elastic'
credentials-id: github-app-beats-ci
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
- tags:
ignore-tags-older-than: -1
ignore-tags-newer-than: 365
- change-request:
ignore-target-only-changes: true
- named-branches:
- exact-name:
name: 'master'
case-sensitive: true
- regex-name:
regex: '7\.[x789]'
case-sensitive: true
- regex-name:
regex: '8\.\d+'
case-sensitive: true
clean:
after: true
before: true
prune: true
shallow-clone: true
depth: 3
do-not-fetch-tags: true
submodule:
disable: false
recursive: true
parent-credentials: true
timeout: 100
timeout: '15'
use-author: true
wipe-workspace: true
4 changes: 2 additions & 2 deletions .ci/jobs/beats-windows-mbp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
discover-tags: false
# Run MBP for the master branch and PRs
head-filter-regex: '(master|PR-.*)'
notification-context: 'beats-ci'
notification-context: 'beats-ci/windows'
repo: beats
repo-owner: elastic
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
credentials-id: github-app-beats-ci
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
Expand Down
12 changes: 4 additions & 8 deletions .ci/jobs/beats.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
- job:
name: Beats/beats
display-name: 'Beats (replacement)'
display-name: 'Beats'
description: 'Beats Main Pipeline'
view: Beats
concurrent: true
project-type: multibranch
prune-dead-branches: true
number-to-keep: 10
days-to-keep: 30
script-path: 'Jenkinsfile'
triggers: []
Expand All @@ -18,21 +17,18 @@
discover-pr-forks-strategy: 'merge-current'
discover-pr-forks-trust: 'permission'
discover-pr-origin: 'merge-current'
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*)'
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
discover-tags: true
notification-context: "beats-ci"
property-strategies:
all-branches:
- suppress-scm-triggering: true
repo: 'beats'
repo-owner: 'elastic'
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
credentials-id: github-app-beats-ci
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
- tags:
ignore-tags-older-than: -1
ignore-tags-newer-than: -1
ignore-tags-newer-than: 365
- change-request:
ignore-target-only-changes: true
- named-branches:
Expand Down
4 changes: 2 additions & 2 deletions .ci/jobs/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
discover-pr-forks-trust: 'permission'
discover-pr-origin: 'merge-current'
discover-tags: true
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*)'
head-filter-regex: '(master|7\.[x789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
disable-pr-notifications: true
notification-context: 'beats-packaging'
repo: 'beats'
repo-owner: 'elastic'
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
credentials-id: github-app-beats-ci
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
Expand Down
48 changes: 41 additions & 7 deletions .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pipeline {
triggers {
issueCommentTrigger('(?i)^\\/packag[ing|e]$')
// disable upstream trigger on a PR basis
upstream("Beats/beats-beats-mbp/${ env.JOB_BASE_NAME.startsWith('PR-') ? 'none' : env.JOB_BASE_NAME }")
upstream("Beats/beats/${ env.JOB_BASE_NAME.startsWith('PR-') ? 'none' : env.JOB_BASE_NAME }")
}
parameters {
booleanParam(name: 'macos', defaultValue: false, description: 'Allow macOS stages.')
Expand All @@ -37,8 +37,18 @@ pipeline {
agent { label 'ubuntu && immutable' }
when {
beforeAgent true
expression {
return isCommentTrigger() || isUserTrigger() || isUpstreamTrigger()
anyOf {
triggeredBy cause: "IssueCommentCause"
expression {
def ret = isUserTrigger() || isUpstreamTrigger()
if(!ret){
currentBuild.result = 'NOT_BUILT'
currentBuild.description = "The build has been skipped"
currentBuild.displayName = "#${BUILD_NUMBER}-(Skipped)"
echo("the build has been skipped due the trigger is a branch scan and the allow ones are manual, GitHub comment, and upstream job")
}
return ret
}
}
}
stages {
Expand Down Expand Up @@ -69,7 +79,7 @@ pipeline {
'x-pack/dockerlogbeat',
'x-pack/filebeat',
'x-pack/functionbeat',
// 'x-pack/heartbeat',
'x-pack/heartbeat',
// 'x-pack/journalbeat',
'x-pack/metricbeat',
// 'x-pack/packetbeat',
Expand Down Expand Up @@ -151,7 +161,6 @@ def pushCIDockerImages(){
} else if ("${env.BEATS_FOLDER}" == "filebeat") {
tagAndPush('filebeat-oss')
} else if ("${env.BEATS_FOLDER}" == "heartbeat"){
tagAndPush('heartbeat')
tagAndPush('heartbeat-oss')
} else if ("${env.BEATS_FOLDER}" == "journalbeat"){
tagAndPush('journalbeat')
Expand All @@ -167,6 +176,8 @@ def pushCIDockerImages(){
tagAndPush('elastic-agent')
} else if ("${env.BEATS_FOLDER}" == "x-pack/filebeat"){
tagAndPush('filebeat')
} else if ("${env.BEATS_FOLDER}" == "x-pack/heartbeat"){
tagAndPush('heartbeat')
} else if ("${env.BEATS_FOLDER}" == "x-pack/metricbeat"){
tagAndPush('metricbeat')
}
Expand All @@ -178,8 +189,14 @@ def tagAndPush(name){
if("${env.SNAPSHOT}" == "true"){
libbetaVer += "-SNAPSHOT"
}

def tagName = "${libbetaVer}"
if (isPR()) {
tagName = "pr-${env.CHANGE_ID}"
}

def oldName = "${DOCKER_REGISTRY}/beats/${name}:${libbetaVer}"
def newName = "${DOCKER_REGISTRY}/observability-ci/${name}:${libbetaVer}"
def newName = "${DOCKER_REGISTRY}/observability-ci/${name}:${tagName}"
def commitName = "${DOCKER_REGISTRY}/observability-ci/${name}:${env.GIT_BASE_COMMIT}"
dockerLogin(secret: "${DOCKERELASTIC_SECRET}", registry: "${DOCKER_REGISTRY}")
retry(3){
Expand Down Expand Up @@ -212,7 +229,12 @@ def withMacOSEnv(Closure body){
}

def publishPackages(baseDir){
googleStorageUpload(bucket: "gs://${JOB_GCS_BUCKET}/snapshots",
def bucketUri = "gs://${JOB_GCS_BUCKET}/snapshots"
if (isPR()) {
bucketUri = "gs://${JOB_GCS_BUCKET}/pull-requests/pr-${env.CHANGE_ID}"
}
def beatsFolderName = getBeatsName(baseDir)
googleStorageUpload(bucket: "${bucketUri}/${beatsFolderName}",
credentialsId: "${JOB_GCS_CREDENTIALS}",
pathPrefix: "${baseDir}/build/distributions/",
pattern: "${baseDir}/build/distributions/**/*",
Expand All @@ -221,6 +243,18 @@ def publishPackages(baseDir){
)
}

/**
* There is a specific folder structure in https://staging.elastic.co/ and https://artifacts.elastic.co/downloads/
* therefore the storage bucket in GCP should follow the same folder structure.
* This is required by https://github.com/elastic/beats-tester
* e.g.
* baseDir=name -> return name
* baseDir=name1/name2/name3-> return name2
*/
def getBeatsName(baseDir) {
return baseDir.replace('x-pack/', '')
}

def withBeatsEnv(Closure body) {
withMageEnv(){
withEnv([
Expand Down
Loading