Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] [Carbon Black Cloud] Make enhancement in connector with best practices implementation #4635

Merged
merged 4 commits into from
Nov 18, 2022

Conversation

vinit-chauhan
Copy link
Contributor

@vinit-chauhan vinit-chauhan commented Nov 14, 2022

Type of change

  • Enhancement

What does this PR do?

Make enhancement in Carbon Black Cloud connector with listed best practices.

Sr. NO. Best Practices
1 Verify best practices test cases are executed
2 Verify all automated tests
3 Verify the cursor value
4 Verify that the data is ingested in kibana for in interval
5 Verify all fields are correctly mapped for all Data streams
6 Verify related.ip field in datastream
7 Verify related.hash field in datastream
8 Verify related.hosts field in datastream
9 Verify related.user field in datastream
10 Verify network.transport is in lowercase form
11 Verify format of title of dashboard
12 Verify Datastream Dashboard
13 Verify filters in visualizations
14 Verify visualizations in different browser
15 Verify README file

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/carbon_black_cloud directory.
  • Run the following command to run tests.

elastic-package test

Related issues

Screenshots

image
image

…r to the convert and date processors and update the pagination termination condition
@vinit-chauhan vinit-chauhan requested a review from a team as a code owner November 14, 2022 09:58
@elasticmachine
Copy link

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

@elasticmachine
Copy link

elasticmachine commented Nov 14, 2022

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

elasticmachine commented Nov 14, 2022

💚 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-11-16T09:54:32.200+0000

  • Duration: 16 min 15 sec

Test stats 🧪

Test Results
Failed 0
Passed 33
Skipped 0
Total 33

🤖 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

elasticmachine commented Nov 14, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (5/5) 💚
Files 100.0% (5/5) 💚 2.53
Classes 100.0% (5/5) 💚 2.53
Methods 95.312% (61/64) 👍 4.414
Lines 92.666% (1630/1759) 👍 0.97
Conditionals 100.0% (0/0) 💚

@@ -83,23 +122,17 @@ processors:
- grok:
field: host.hostname
patterns:
- '^(%{DATA:user.domain})\\(%{GREEDYDATA:host.hostname})$'
- "^(%{DATA:user.domain})\\\\(%{GREEDYDATA:host.hostname})$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change doesn't seem like a win.

@@ -2,16 +2,14 @@
title: Cloud
group: 2
description: Fields related to the cloud or infrastructure the events are coming from.
footnote: 'Examples: If Metricbeat is running on an EC2 host and fetches data from its host, the cloud info contains the data about this machine. If Metricbeat runs on a remote machine outside the cloud and fetches data from a service running in the cloud, the field contains cloud data from the machine the service is running on.'
footnote: "Examples: If Metricbeat is running on an EC2 host and fetches data from its host, the cloud info contains the data about this machine. If Metricbeat runs on a remote machine outside the cloud and fetches data from a service running in the cloud, the field contains cloud data from the machine the service is running on."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the rationale for the change here and below?

@P1llus P1llus merged commit 3ff9584 into elastic:main Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:carbon_black_cloud VMware Carbon Black Cloud
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants