-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[D4C] added orchestrator/cloud/container/process fields to prebuilt rules telemetry #157524
[D4C] added orchestrator/cloud/container/process fields to prebuilt rules telemetry #157524
Conversation
…ummer/kibana into d4c_telemetry_whitelist_additions
Can we also add: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌔 🚀 ✨ LGTM ✨ 🚀 🌔
Will release an OOB Kibana artifact tomorrow.
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
…ules telemetry (elastic#157524) ## Summary Adds the following list of fields to the prebuilt_rules_alerts.ts telemetry whitelist. | Field | Example | | ----- | --------- | orchestrator.namespace | default orchestrator.resource.parent.type | 'DaemonSet', 'ReplicaSet' etc... orchestrator.resource.type | pod container.id | nginx_1 container.image.name | nginx container.image.tag | latest cloud.availability_zone | us-east-1c cloud.provider | aws cloud.region | 'us-east-1' cloud_defend.matched_selectors | ['interactiveSessions'] cloud_defend.package_policy_id | '4c9cbba0-c812-11ed-a8dd-91ec403e4f03' cloud_defend.package_policy_revision | 2 cloud_defend.hook_point | ['tracepoint__sched_process_fork','tracepoint__sched_process_exec', 'kprobe__taskstats_exit'] process.entry_leader:* | Contains many of the same fields as process.* | process.session_leader:* | Contains many of the same fields as process.* | process.interactive | true/false | process.start | date | process.end | date | process.exit_code | 0 | --------- Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com> (cherry picked from commit 19b9a1d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…uilt rules telemetry (#157524) (#158040) # Backport This will backport the following commits from `main` to `8.8`: - [[D4C] added orchestrator/cloud/container/process fields to prebuilt rules telemetry (#157524)](#157524) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Karl Godard","email":"karl.godard@elastic.co"},"sourceCommit":{"committedDate":"2023-05-17T22:42:31Z","message":"[D4C] added orchestrator/cloud/container/process fields to prebuilt rules telemetry (#157524)\n\n## Summary\r\n\r\nAdds the following list of fields to the prebuilt_rules_alerts.ts\r\ntelemetry whitelist.\r\n\r\n| Field | Example |\r\n| ----- | --------- |\r\norchestrator.namespace | default\r\norchestrator.resource.parent.type | 'DaemonSet', 'ReplicaSet' etc...\r\norchestrator.resource.type | pod\r\ncontainer.id | nginx_1\r\ncontainer.image.name | nginx\r\ncontainer.image.tag | latest\r\ncloud.availability_zone | us-east-1c\r\ncloud.provider | aws\r\ncloud.region | 'us-east-1'\r\ncloud_defend.matched_selectors | ['interactiveSessions']\r\ncloud_defend.package_policy_id | '4c9cbba0-c812-11ed-a8dd-91ec403e4f03'\r\ncloud_defend.package_policy_revision | 2\r\ncloud_defend.hook_point |\r\n['tracepoint__sched_process_fork','tracepoint__sched_process_exec',\r\n'kprobe__taskstats_exit']\r\nprocess.entry_leader:* | Contains many of the same fields as process.* |\r\nprocess.session_leader:* | Contains many of the same fields as process.*\r\n|\r\nprocess.interactive | true/false |\r\nprocess.start | date |\r\nprocess.end | date |\r\nprocess.exit_code | 0 |\r\n\r\n---------\r\n\r\nCo-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>","sha":"19b9a1d1259fe124640ed9152212e3c761b82631","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team: Cloud Native Integrations","v8.9.0","v8.8.1"],"number":157524,"url":"https://github.com/elastic/kibana/pull/157524","mergeCommit":{"message":"[D4C] added orchestrator/cloud/container/process fields to prebuilt rules telemetry (#157524)\n\n## Summary\r\n\r\nAdds the following list of fields to the prebuilt_rules_alerts.ts\r\ntelemetry whitelist.\r\n\r\n| Field | Example |\r\n| ----- | --------- |\r\norchestrator.namespace | default\r\norchestrator.resource.parent.type | 'DaemonSet', 'ReplicaSet' etc...\r\norchestrator.resource.type | pod\r\ncontainer.id | nginx_1\r\ncontainer.image.name | nginx\r\ncontainer.image.tag | latest\r\ncloud.availability_zone | us-east-1c\r\ncloud.provider | aws\r\ncloud.region | 'us-east-1'\r\ncloud_defend.matched_selectors | ['interactiveSessions']\r\ncloud_defend.package_policy_id | '4c9cbba0-c812-11ed-a8dd-91ec403e4f03'\r\ncloud_defend.package_policy_revision | 2\r\ncloud_defend.hook_point |\r\n['tracepoint__sched_process_fork','tracepoint__sched_process_exec',\r\n'kprobe__taskstats_exit']\r\nprocess.entry_leader:* | Contains many of the same fields as process.* |\r\nprocess.session_leader:* | Contains many of the same fields as process.*\r\n|\r\nprocess.interactive | true/false |\r\nprocess.start | date |\r\nprocess.end | date |\r\nprocess.exit_code | 0 |\r\n\r\n---------\r\n\r\nCo-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>","sha":"19b9a1d1259fe124640ed9152212e3c761b82631"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157524","number":157524,"mergeCommit":{"message":"[D4C] added orchestrator/cloud/container/process fields to prebuilt rules telemetry (#157524)\n\n## Summary\r\n\r\nAdds the following list of fields to the prebuilt_rules_alerts.ts\r\ntelemetry whitelist.\r\n\r\n| Field | Example |\r\n| ----- | --------- |\r\norchestrator.namespace | default\r\norchestrator.resource.parent.type | 'DaemonSet', 'ReplicaSet' etc...\r\norchestrator.resource.type | pod\r\ncontainer.id | nginx_1\r\ncontainer.image.name | nginx\r\ncontainer.image.tag | latest\r\ncloud.availability_zone | us-east-1c\r\ncloud.provider | aws\r\ncloud.region | 'us-east-1'\r\ncloud_defend.matched_selectors | ['interactiveSessions']\r\ncloud_defend.package_policy_id | '4c9cbba0-c812-11ed-a8dd-91ec403e4f03'\r\ncloud_defend.package_policy_revision | 2\r\ncloud_defend.hook_point |\r\n['tracepoint__sched_process_fork','tracepoint__sched_process_exec',\r\n'kprobe__taskstats_exit']\r\nprocess.entry_leader:* | Contains many of the same fields as process.* |\r\nprocess.session_leader:* | Contains many of the same fields as process.*\r\n|\r\nprocess.interactive | true/false |\r\nprocess.start | date |\r\nprocess.end | date |\r\nprocess.exit_code | 0 |\r\n\r\n---------\r\n\r\nCo-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>","sha":"19b9a1d1259fe124640ed9152212e3c761b82631"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Karl Godard <karl.godard@elastic.co>
Summary
Adds the following list of fields to the prebuilt_rules_alerts.ts telemetry whitelist.