Skip to content

fix(filebeat): prevent panic in dissect processor with invalid field name #5851

fix(filebeat): prevent panic in dissect processor with invalid field name

fix(filebeat): prevent panic in dissect processor with invalid field name #5851

name: packetbeat-macos-unit-tests
env:
BEAT: "packetbeat"
on:
workflow_dispatch:
pull_request:
paths:
- packetbeat/**
# OSS
- go.mod
- dev-tools/**
- libbeat/**
# Workflow
- .github/workflows/packetbeat-macos-unit-tests.yml
- .github/actions/unit-test/action.yml
push:
branches:
- main
paths:
- packetbeat/**
# OSS
- go.mod
- dev-tools/**
- libbeat/**
# Workflow
- .github/workflows/packetbeat-macos-unit-tests.yml
- .github/actions/unit-test/action.yml
permissions:
contents: read
## Concurrency only allowed in the main branch.
## So old builds running for old commits within the same Pull Request are cancelled
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
unit-tests:
name: Unit tests ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-15-intel, macos-15]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/unit-test
with:
beat: ${{ env.BEAT }}