Skip to content

Commit

Permalink
[8.x] [Security solution] Update ebt fields script to new Vault policy (
Browse files Browse the repository at this point in the history
elastic#194458) (elastic#194468)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security solution] Update ebt fields script to new Vault policy
(elastic#194458)](elastic#194458)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-09-30T17:59:14Z","message":"[Security
solution] Update ebt fields script to new Vault policy
(elastic#194458)","sha":"c362ab8b920a0c34582ab046e8a3925e7a2d42fb","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","backport:prev-minor","v8.16.0"],"title":"[Security
solution] Update ebt fields script to new Vault
policy","number":194458,"url":"https://github.com/elastic/kibana/pull/194458","mergeCommit":{"message":"[Security
solution] Update ebt fields script to new Vault policy
(elastic#194458)","sha":"c362ab8b920a0c34582ab046e8a3925e7a2d42fb"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194458","number":194458,"mergeCommit":{"message":"[Security
solution] Update ebt fields script to new Vault policy
(elastic#194458)","sha":"c362ab8b920a0c34582ab046e8a3925e7a2d42fb"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
  • Loading branch information
kibanamachine and stephmilovic authored Sep 30, 2024
1 parent 47a52a9 commit 08d5c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you have further events to be included in the data views, please update the s

### Usage

1. Login with Vault (`vault login -method github`), ensure you have siem-team access. If you have never accessed Vault before, follow [these instructions](https://github.com/elastic/infra/blob/master/docs/vault/README.md)
1. Login with Vault (`vault login -method oidc`), ensure you have siem-team access. If you have never accessed Vault before, follow [these instructions](https://github.com/elastic/infra/blob/master/docs/vault/README.md)
2. cd into this directory
3. Run the script with the appropriate arguments. By default, the script will run for the `security-solution-ebt-kibana-browser` data view in the `securitysolution` space. If you want to run the script for the server data view, pass the `--telemetry_type` argument with the value `server`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { events as genAiEvents } from '@kbn/elastic-assistant-plugin/server/lib/

import { events as securityEvents } from '../../server/lib/telemetry/event_based/events';
import { telemetryEvents } from '../../public/common/lib/telemetry/events/telemetry_events';
// uncomment and add to run script, but do not commit as creates cirular dependency
// uncomment and add to run script, but do not commit as creates circular dependency
// import { telemetryEvents as serverlessEvents } from '@kbn/security-solution-serverless/server/telemetry/event_based_telemetry';

const logger = new ToolingLog({
Expand Down

0 comments on commit 08d5c08

Please sign in to comment.