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

Update input types and vars to support runtime config #3968

Merged
merged 8 commits into from
Aug 14, 2022

Conversation

uri-weisman
Copy link
Contributor

@uri-weisman uri-weisman commented Aug 8, 2022

What does this PR do?

  1. Update the dataYaml var to runtimeCfg
  2. Modify Cloudbeat's input types to make the Kibana plugin benchmark agnostic.

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@elasticmachine
Copy link

elasticmachine commented Aug 8, 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-08-14T14:37:57.629+0000

  • Duration: 16 min 7 sec

Test stats 🧪

Test Results
Failed 0
Passed 2
Skipped 0
Total 2

🤖 GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Aug 8, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚 2.863
Classes 100.0% (0/0) 💚 2.863
Methods 25.0% (1/4) 👎 -64.175
Lines 100.0% (0/0) 💚 9.357
Conditionals 100.0% (0/0) 💚

@uri-weisman uri-weisman marked this pull request as ready for review August 8, 2022 13:21
@uri-weisman uri-weisman requested a review from a team as a code owner August 8, 2022 13:21
Copy link
Contributor

@eyalkraft eyalkraft left a comment

Choose a reason for hiding this comment

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

let's

conditions:
  kibana.version: "^8.5.0"

So this won't break the current 8.4 release

Copy link
Contributor

@eyalkraft eyalkraft left a comment

Choose a reason for hiding this comment

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

Merge with the proper changes in Kibana & cloudbeat

type: yaml
title: Rules Activation Yaml
title: Rules Activation
Copy link
Contributor

@kfirpeled kfirpeled Aug 14, 2022

Choose a reason for hiding this comment

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

consider changing the title to Configuration used for evaluation or something similar that better describes this field

@andrewkroh andrewkroh added the Integration:cloud_security_posture Security Posture Management label Aug 14, 2022
uri-weisman and others added 2 commits August 14, 2022 17:30
Co-authored-by: eyalkraft <63912106+eyalkraft@users.noreply.github.com>
Comment on lines 2 to 14
- version: "0.0.27"
changes:
- description: Update input types and var name to support runtime config
type: enhancement
link: https://github.com/elastic/integrations/pull/3968
- version: "0.0.26"
changes:
- description: Version bump
type: enhancement
link: https://github.com/elastic/integrations/pull/3997
- description: Updates to KSPM Integration README
type: enhancement
link: https://github.com/elastic/integrations/pull/3964
Copy link
Contributor

Choose a reason for hiding this comment

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

Since 0.0.26 wasn't promoted yet we can unify it under it, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This pr introduces breaking changes so we want to promote version 0.26 to SNAPSHOT and only then merge this commit.
The Kibana version condition changed to ^8.5.0.

@uri-weisman uri-weisman merged commit f44afde into elastic:main Aug 14, 2022
@uri-weisman uri-weisman deleted the runtime_config branch August 14, 2022 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.5-candidate Integration:cloud_security_posture Security Posture Management Team:Cloud Security Label for the Cloud Security team [elastic/cloud-security-posture]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants