Skip to content

[Trend Micro Vision One] Add drop processor for empty events - #4767

Merged
P1llus merged 2 commits into
elastic:mainfrom
vinit-chauhan:package-trend-micro-vision-one-0.2.2
Dec 13, 2022
Merged

[Trend Micro Vision One] Add drop processor for empty events#4767
P1llus merged 2 commits into
elastic:mainfrom
vinit-chauhan:package-trend-micro-vision-one-0.2.2

Conversation

@vinit-chauhan

Copy link
Copy Markdown
Contributor

Type of change

  • Bug

What does this PR do?

If there are no events for the Trend Micro Vision One API endpoint, then it returns an empty data array, and the ingest pipeline processor returns processor failures because of this.

Its better to drop the empty event rather than storing ingest failures.

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.

How to test this PR locally

  • Clone integrations repo.
  • Install elastic package locally.
  • Start elastic stack using elastic-package.
  • Move to integrations/packages/trend_micro_vision_one directory.
  • Run the following command to run tests.

elastic-package test

Related issues

Screenshots

image
image
image
image

@vinit-chauhan
vinit-chauhan requested a review from a team as a code owner December 6, 2022 12:58
@vinit-chauhan vinit-chauhan added bug Something isn't working, use only for issues Team:Security-External Integrations labels Dec 6, 2022
@elasticmachine

Copy link
Copy Markdown

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@elasticmachine

elasticmachine commented Dec 6, 2022

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-12-06T13:34:53.134+0000

  • Duration: 15 min 58 sec

Test stats 🧪

Test Results
Failed 0
Passed 19
Skipped 0
Total 19

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (3/3) 💚
Files 100.0% (3/3) 💚
Classes 100.0% (3/3) 💚
Methods 95.652% (44/46) 👎 -4.348
Lines 95.184% (1502/1578) 👎 -0.155
Conditionals 100.0% (0/0) 💚
@P1llus
P1llus merged commit 62df9cb into elastic:main Dec 13, 2022
@elasticmachine

Copy link
Copy Markdown

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

@vinit-chauhan
vinit-chauhan deleted the package-trend-micro-vision-one-0.2.2 branch April 1, 2026 23:56
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
…#4767)

* Add drop processor for empty events

* Update changelog entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working, use only for issues

4 participants