Skip to content

Update input types and vars to support runtime config - #3968

Merged
uri-weisman merged 8 commits into
elastic:mainfrom
uri-weisman:runtime_config
Aug 14, 2022
Merged

Update input types and vars to support runtime config#3968
uri-weisman merged 8 commits into
elastic:mainfrom
uri-weisman:runtime_config

Conversation

@uri-weisman

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

Copy link
Copy Markdown
Contributor

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

elasticmachine commented Aug 8, 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-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

elasticmachine commented Aug 8, 2022

Copy link
Copy Markdown

🌐 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

@eyalkraft eyalkraft left a comment

Copy link
Copy Markdown
Contributor

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

@uri-weisman
uri-weisman requested a review from eyalkraft August 8, 2022 13:46

@eyalkraft eyalkraft left a comment

Copy link
Copy Markdown
Contributor

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

- name: runtimeCfg
type: yaml
title: Rules Activation Yaml
title: Rules Activation

@kfirpeled kfirpeled Aug 14, 2022

Copy link
Copy Markdown
Contributor

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
Comment thread packages/cloud_security_posture/manifest.yml Outdated
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
Copy Markdown
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
Copy Markdown
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
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
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 Cloud Security team [elastic/cloud-security-posture]

6 participants