Skip to content

Conversation

chrisberkhout
Copy link
Contributor

@chrisberkhout chrisberkhout commented Feb 15, 2024

Proposed commit message

[jamf_compliance_reporter] Clean up null handling, other checks, scripting (#)

- Combine 'not null and is/not value' checks.
- Remove redundant null-safe operator.
- Add 'not null' check to 'not value' checks.
- Correct date conversion conditions to check source values.
- Add 'not null' check before .entrySet().
- Avoid trying to cast null to long/int.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Related issues

@chrisberkhout chrisberkhout added Team:Service-Integrations Label for the Observability Service Integrations team Integration:jamf_compliance_reporter Jamf Compliance Reporter bugfix Pull request that fixes a bug issue labels Feb 15, 2024
@chrisberkhout chrisberkhout self-assigned this Feb 15, 2024
@chrisberkhout chrisberkhout requested a review from a team as a code owner February 15, 2024 17:46
@chrisberkhout chrisberkhout changed the title [jamf_compliance_reporter] Clean up null handling, other checks and scripting [jamf_compliance_reporter] Clean up null handling, other checks, scripting Feb 15, 2024
@elasticmachine
Copy link

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

…h/ingest_pipeline/pipeline_app_metrics.yml

Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
@elasticmachine
Copy link

💚 Build Succeeded

History

cc @chrisberkhout

Copy link

@chrisberkhout chrisberkhout merged commit 1cfde6b into elastic:main Feb 22, 2024
@chrisberkhout chrisberkhout deleted the jamf_compliance_reporter-null-handling branch February 22, 2024 06:48
@elasticmachine
Copy link

Package jamf_compliance_reporter - 1.11.2 containing this change is available at https://epr.elastic.co/search?package=jamf_compliance_reporter

gizas pushed a commit that referenced this pull request Mar 13, 2024
…pting (#9179)

- Combine 'not null and is/not value' checks.
- Remove redundant null-safe operator.
- Add 'not null' check to 'not value' checks.
- Correct date conversion conditions to check source values.
- Add 'not null' check before .entrySet().
- Avoid trying to cast null to long/int.

---------

Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
qcorporation pushed a commit that referenced this pull request Feb 3, 2025
…pting (#9179)

- Combine 'not null and is/not value' checks.
- Remove redundant null-safe operator.
- Add 'not null' check to 'not value' checks.
- Correct date conversion conditions to check source values.
- Add 'not null' check before .entrySet().
- Avoid trying to cast null to long/int.

---------

Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
qcorporation pushed a commit that referenced this pull request Feb 4, 2025
…pting (#9179)

- Combine 'not null and is/not value' checks.
- Remove redundant null-safe operator.
- Add 'not null' check to 'not value' checks.
- Correct date conversion conditions to check source values.
- Add 'not null' check before .entrySet().
- Avoid trying to cast null to long/int.

---------

Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request that fixes a bug issue Integration:jamf_compliance_reporter Jamf Compliance Reporter Team:Service-Integrations Label for the Observability Service Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants