Skip to content

[Enhancement] [Tenable SC] Make enhancement in connector with best practices implementation - #4573

Merged
P1llus merged 3 commits into
elastic:mainfrom
vinit-chauhan:package-tenable-sc-1.5.1
Nov 18, 2022
Merged

[Enhancement] [Tenable SC] Make enhancement in connector with best practices implementation#4573
P1llus merged 3 commits into
elastic:mainfrom
vinit-chauhan:package-tenable-sc-1.5.1

Conversation

@vinit-chauhan

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

Copy link
Copy Markdown
Contributor

Type of change

  • Enhancement

What does this PR do?

Make enhancement in Tenable SC 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.hosts field in datastream
8 Verify MAC address should be separated by dash and value should be an array and MAC address should be valid. MAC address is in uppercase form
9 Verify format of title of dashboard
10 Verify Datastream Dashboard
11 Verify filters in visualizations
12 Verify visualizations in different browser
13 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/tenable_sc 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 November 7, 2022 10:44
@elasticmachine

Copy link
Copy Markdown

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

@elasticmachine

elasticmachine commented Nov 7, 2022

Copy link
Copy Markdown

🚀 Benchmarks report

Package tenable_sc 👍(0) 💚(0) 💔(3)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
asset 2645.5 2207.51 -437.99 (-16.56%) 💔
plugin 3184.71 2262.44 -922.27 (-28.96%) 💔
vulnerability 1886.79 1366.12 -520.67 (-27.6%) 💔

To see the full report comment with /test benchmark fullreport

@elasticmachine

elasticmachine commented Nov 7, 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-11-11T08:13:33.480+0000

  • Duration: 17 min 33 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

elasticmachine commented Nov 7, 2022

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (3/3) 💚
Files 100.0% (3/3) 💚 2.53
Classes 100.0% (3/3) 💚 2.53
Methods 97.727% (43/44) 👍 6.399
Lines 96.174% (1106/1150) 👍 4.478
Conditionals 100.0% (0/0) 💚
Comment thread packages/tenable_sc/changelog.yml Outdated
@@ -1,50 +1,55 @@
# newer versions go on top
- version: "1.5.0"
- version: '1.5.1'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Bump to 1.6.0

Comment thread packages/tenable_sc/changelog.yml Outdated
type: enhancement
link: https://github.com/elastic/integrations/pull/4285
- version: "1.4.1"
- version: '1.4.1'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Double quotes instead of single

value: '{{{json.macAddress}}}'
allow_duplicates: false
- rename:
ignore_failure: true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please remove ignore_failure in ingest pipeline

Comment thread packages/tenable_sc/manifest.yml Outdated
title: Tenable.sc
# The version must be updated in the pipeline as well. Until elastic/kibana#121310 is implemented we will have to manually sync these.
version: "1.5.0"
version: '1.5.1'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Needs double quotes and 1.6.0

@P1llus
P1llus merged commit acf8805 into elastic:main Nov 18, 2022
@vinit-chauhan
vinit-chauhan deleted the package-tenable-sc-1.5.1 branch April 1, 2026 23:57
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
…actices implementation (elastic#4573)

* Update Aggregation visualizations to Lens, Add an on_failure processor to the convert and date processors

* Update changelog entry

* change as per the review comment
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:tenable_sc Tenable Security Center

3 participants