Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feature/heartbeat-p…
Browse files Browse the repository at this point in the history
…ackaging

* upstream/main: (109 commits)
  Add cap_net_raw requirements to heartbeat docs (elastic#32816)
  apply a quick hotfix for having main working properly (elastic#32934)
  action: checks for x-pack/libbeat and libbeat (elastic#32754)
  Update to Go 1.18 in go.mod. (elastic#32940)
  [heartbeat] disable browser code on windows via build tags (elastic#32939)
  action: checks for heartbeat and x-pack/heartbeat (elastic#32749)
  Make event acknowledgment asynchronous in shipper output (elastic#32785)
  [Automation] Update elastic stack version to 8.5.0-fedc3e60 for testing (elastic#32930)
  Preallocate memory to reduce GC load (elastic#32905)
  [Automation] Update elastic stack version to 8.5.0-440e0896 for testing (elastic#32919)
  Skip broken ceph tests. (elastic#32912)
  Use non-deprecated docker image for testing jolokia (elastic#32885)
  update ironbank image product name (elastic#32867)
  ci: pre-commit stage within Jenkins (elastic#32839)
  Fix a couple of bugs in the logic for how AWS metric periods are calculated (elastic#32724)
  [Filebeat] [httpjson] Add support for single string containing multiple relation-types in getRFC5988Link (elastic#32811)
  [Heartbeat] Update HB k8s template to use <Mi> metric (elastic#32801)
  action: checks for metricbeat and x-pack/metricbeat (elastic#32748)
  action: checks for filebeat and x-pack/filebeat (elastic#32746)
  allow for json/ndjson content type with charset (elastic#32767)
  ...
  • Loading branch information
v1v committed Sep 1, 2022
2 parents 52eff32 + 2aeefb9 commit a884d74
Show file tree
Hide file tree
Showing 496 changed files with 36,731 additions and 11,102 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ CHANGELOG*
/x-pack/elastic-agent/ @elastic/elastic-agent-control-plane
/x-pack/filebeat @elastic/elastic-agent-data-plane
/x-pack/filebeat/docs/ # Listed without an owner to avoid maintaining doc ownership for each input and module.
/x-pack/filebeat/input/awscloudwatch/ @elastic/obs-cloud-monitoring
/x-pack/filebeat/input/awss3/ @elastic/obs-cloud-monitoring
/x-pack/filebeat/input/gcppubsub/ @elastic/security-external-integrations
/x-pack/filebeat/input/http_endpoint/ @elastic/security-external-integrations
/x-pack/filebeat/input/httpjson/ @elastic/security-external-integrations
/x-pack/filebeat/input/lumberjack/ @elastic/security-external-integrations
/x-pack/filebeat/input/netflow/ @elastic/security-external-integrations
/x-pack/filebeat/input/o365audit/ @elastic/security-external-integrations
/x-pack/filebeat/module/ @elastic/integrations
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/check-audtibeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: check-auditbeat

on:
pull_request:
paths:
- '.github/workflows/check-auditbeat.yml'
- 'auditbeat/**'
- 'x-pack/auditbeat/**'

env:
BEAT_MODULE: 'auditbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
28 changes: 28 additions & 0 deletions .github/workflows/check-default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: check-default

on:
pull_request:
push:
branches:
- main
- 7.1*
- 8.*

permissions:
contents: read
pull-requests: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check-default
run: |
go install github.com/magefile/mage
make check-default
26 changes: 26 additions & 0 deletions .github/workflows/check-dev-tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: check-dev-tools

on:
pull_request:
paths:
- '.github/workflows/check-dev-tools.yml'
- 'dev-tools/**'
- 'libbeat/scripts/Makefile'

env:
BEAT_MODULE: 'dev-tools'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check
34 changes: 34 additions & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: check-docs

on:
pull_request:
paths:
- '.github/workflows/check-docs.yml'
- '**/*.asciidoc'
- '**/*.md'
- 'deploy/kubernetes/*-kubernetes.yaml'

permissions:
contents: read
pull-requests: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install libpcap-dev
run: sudo apt-get install -y libpcap-dev
- name: Install libsystemd-dev
run: sudo apt-get install -y libsystemd-dev
- name: Install librpm-dev
run: sudo apt-get install -y librpm-dev
- name: Run check
run: |
go install github.com/magefile/mage
make check
29 changes: 29 additions & 0 deletions .github/workflows/check-filebeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check-filebeat

on:
pull_request:
paths:
- '.github/workflows/check-filebeat.yml'
- 'filebeat/**'
- 'x-pack/filebeat/**'

env:
BEAT_MODULE: 'filebeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install libsystemd-dev
run: sudo apt-get install -y libsystemd-dev
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
27 changes: 27 additions & 0 deletions .github/workflows/check-heartbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: check-heartbeat

on:
pull_request:
paths:
- '.github/workflows/check-heartbeat.yml'
- 'heartbeat/**'
- 'x-pack/heartbeat/**'

env:
BEAT_MODULE: 'heartbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
29 changes: 29 additions & 0 deletions .github/workflows/check-libbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check-libbeat

on:
pull_request:
paths:
- '.github/workflows/check-packetbeat.yml'
- 'libbeat/**'
- 'x-pack/libbeat/**'

env:
BEAT_MODULE: 'libbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install libpcap-dev
run: sudo apt-get install -y libpcap-dev
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
27 changes: 27 additions & 0 deletions .github/workflows/check-metricbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: check-metricbeat

on:
pull_request:
paths:
- '.github/workflows/check-metricbeat.yml'
- 'metricbeat/**'
- 'x-pack/metricbeat/**'

env:
BEAT_MODULE: 'metricbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
29 changes: 29 additions & 0 deletions .github/workflows/check-packetbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check-packetbeat

on:
pull_request:
paths:
- '.github/workflows/check-packetbeat.yml'
- 'packetbeat/**'
- 'x-pack/packetbeat/**'

env:
BEAT_MODULE: 'packetbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install libpcap-dev
run: sudo apt-get install -y libpcap-dev
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
27 changes: 27 additions & 0 deletions .github/workflows/check-winlogbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: check-winlogbeat

on:
pull_request:
paths:
- '.github/workflows/check-winlogbeat.yml'
- 'winlogbeat/**'
- 'x-pack/winlogbeat/**'

env:
BEAT_MODULE: 'winlogbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
29 changes: 29 additions & 0 deletions .github/workflows/check-xpack-auditbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check-x-pack-auditbeat

on:
pull_request:
paths:
- '.github/workflows/check-xpack-auditbeat.yml'
- 'x-pack/auditbeat/**'
- 'auditbeat/**'

env:
BEAT_MODULE: 'x-pack/auditbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install librpm-dev
run: sudo apt-get install -y librpm-dev
- name: Run check/update
uses: magefile/mage-action@v2
with:
args: check update
workdir: "${{ env.BEAT_MODULE }}"
29 changes: 29 additions & 0 deletions .github/workflows/check-xpack-filebeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check-x-pack-filebeat

on:
pull_request:
paths:
- '.github/workflows/check-xpack-filebeat.yml'
- 'x-pack/filebeat/**'
- 'filebeat/**'

env:
BEAT_MODULE: 'x-pack/filebeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install libpcap-dev
run: sudo apt-get install -y libpcap-dev
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
27 changes: 27 additions & 0 deletions .github/workflows/check-xpack-functionbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: check-x-pack-functionbeat

on:
pull_request:
paths:
- '.github/workflows/check-xpack-functionbeat.yml'
- 'x-pack/functionbeat/**'
- 'functionbeat/**'

env:
BEAT_MODULE: 'x-pack/functionbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
Loading

0 comments on commit a884d74

Please sign in to comment.