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

[GCP] Convert some dashboards to lens #7014

Merged
merged 5 commits into from Jul 19, 2023
Merged

Conversation

P1llus
Copy link
Member

@P1llus P1llus commented Jul 19, 2023

What does this PR do?

Converts the Audit, VPCFlow and Firewall related dashboards to lens, format or layout did not change. The audit dashboard had a duplicate dashboard, removed one of them.
Also removed the tags that should not be exported, must have been from an earlier mistake.

Most visualizations was already lens, removed some markdown using TVSB, and changing up the filters on the rest.

Bumped format_version to 2.7.0 and fixes event.type/category for firewall/audit/vpcflow.

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.

@elasticmachine
Copy link

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

@elasticmachine
Copy link

elasticmachine commented Jul 19, 2023

💚 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: 2023-07-19T18:59:04.578+0000

  • Duration: 19 min 12 sec

Test stats 🧪

Test Results
Failed 0
Passed 58
Skipped 0
Total 58

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

Copy link
Contributor

@kcreddy kcreddy left a comment

Choose a reason for hiding this comment

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

@P1llus
Copy link
Member Author

P1llus commented Jul 19, 2023

LGTM 👍🏼

CI looks to be complaining about array type on following fields. Probably need to change to flattened https://github.com/P1llus/integrations/blob/package_gcp_lens/packages/gcp/data_stream/audit/fields/fields.yml#L21 https://github.com/P1llus/integrations/blob/package_gcp_lens/packages/gcp/data_stream/audit/fields/fields.yml#L100 https://github.com/P1llus/integrations/blob/package_gcp_lens/packages/gcp/data_stream/firewall/fields/fields.yml#L34

Thanks!
Yeah almost, the sub-fields are defined, so nested is better than flattened in this case, the type "array" does not exist, even though I have seen it been defined that way in multiple places.

@elasticmachine
Copy link

elasticmachine commented Jul 19, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (6/6) 💚
Files 100.0% (6/6) 💚 10.526
Classes 100.0% (6/6) 💚 10.526
Methods 89.623% (95/106) 👍 4.859
Lines 96.0% (1464/1525) 👍 10.331
Conditionals 100.0% (0/0) 💚

@P1llus P1llus merged commit d6b0497 into elastic:main Jul 19, 2023
4 checks passed
@elasticmachine
Copy link

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

gizas pushed a commit that referenced this pull request Sep 5, 2023
* elastic-package format

* changelog and manifest

* changelog entry

* changing array to nested fields

* change event.category/type to array for audit/firewall/vpcflow
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:GCP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants