Skip to content

Fix missing null checks in array guard conditions across cel-based packages #18799

Description

@ritalwar

In Cel-based integrations, an issue has been observed as detailed here, where guard conditions like has(x.f) && size(x.f) != 0 do not handle cases where the field is null, which can lead to runtime failures.

It appears some of our packages are also affected, as listed below:

Integration Data stream
Mongodb_atlas 1. Disk
2. Hardware
3. Mongod_audit
4. Mongod_database
5. Process
O365_metrics Teams_call_quality
Ess_billing Billing

These should be reviewed and updated to include a null check (e.g., x.f != null) where appropriate.

Metadata

Metadata

Assignees

Labels

Team:Obs-InfraObsObservability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions