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

[Cloud Security] [Alerts] Fix alerts telemetry collector #164757

Merged
merged 4 commits into from
Aug 26, 2023

Conversation

opauloh
Copy link
Contributor

@opauloh opauloh commented Aug 24, 2023

Summary

It potentially closes https://github.com/elastic/security-team/issues/7411

Fixing Telemetry collector for detection rules created within the Cloud Security Posture Findings page. Also, it changes to only send posture-type data when it contains alert data.

Important to note that for 8.10 we are only collecting Rule telemetry for Rules that generated Alerts

image

image

@opauloh opauloh added bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.10.0 v8.11.0 labels Aug 24, 2023
@opauloh opauloh requested a review from a team as a code owner August 24, 2023 16:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@opauloh opauloh requested a review from maxcold August 24, 2023 16:57
Copy link
Contributor

@maxcold maxcold left a comment

Choose a reason for hiding this comment

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

lgtm, one small comment

@opauloh opauloh enabled auto-merge (squash) August 25, 2023 20:55
@opauloh
Copy link
Contributor Author

opauloh commented Aug 26, 2023

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #59 / Monitoring app Elasticsearch node detail Active Nodes "after all" hook for "should show node summary of data node with 4 indices and 4 shards"
  • [job] [logs] FTR Configs #59 / Monitoring app Elasticsearch node detail Active Nodes "before all" hook for "should show node summary of master node with 20 indices and 38 shards"

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.10

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 26, 2023
kibanamachine added a commit that referenced this pull request Aug 26, 2023
) (#164913)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Cloud Security] [Alerts] Fix alerts telemetry collector
(#164757)](#164757)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Paulo
Henrique","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-26T04:25:52Z","message":"[Cloud
Security] [Alerts] Fix alerts telemetry collector
(#164757)","sha":"d18ef2f9797787b481345694b512dd56f40c0b48","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Cloud
Security","backport:prev-minor","v8.10.0","v8.11.0"],"number":164757,"url":"https://github.com/elastic/kibana/pull/164757","mergeCommit":{"message":"[Cloud
Security] [Alerts] Fix alerts telemetry collector
(#164757)","sha":"d18ef2f9797787b481345694b512dd56f40c0b48"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164757","number":164757,"mergeCommit":{"message":"[Cloud
Security] [Alerts] Fix alerts telemetry collector
(#164757)","sha":"d18ef2f9797787b481345694b512dd56f40c0b48"}}]}]
BACKPORT-->

Co-authored-by: Paulo Henrique <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v8.10.0 v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants