Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [SecuritySolution] Improve asset criticality bulk error when en…
…tities are duplicated (elastic#199651) (elastic#199968) # Backport This will backport the following commits from `main` to `8.x`: - [[SecuritySolution] Improve asset criticality bulk error when entities are duplicated (elastic#199651)](elastic#199651) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-13T10:22:44Z","message":"[SecuritySolution] Improve asset criticality bulk error when entities are duplicated (elastic#199651)\n\n## Summary\r\n\r\n* Improve asset criticality bulk error when entities are duplicated\r\n* It also fixes the server errors line to be '1' based.\r\n\r\n![Screenshot 2024-11-11 at 11 46\r\n31](https://github.com/user-attachments/assets/3fbf35fb-cd27-417a-bf53-41a197d1bbe9)\r\n\r\n### Performance\r\n\r\nTest parameters: file with +33k lines and ~1 MB size.\r\n* Before 6.24 seconds\r\n* After 6.46 seconds\r\n\r\nExecution time Increased ~0.22 seconds\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"02ac5fc90f08615d877befc05f9675838ade77b4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","Team: SecuritySolution","Theme: entity_analytics","Feature:Entity Analytics","Team:Entity Analytics","backport:version","v8.17.0"],"title":"[SecuritySolution] Improve asset criticality bulk error when entities are duplicated","number":199651,"url":"https://github.com/elastic/kibana/pull/199651","mergeCommit":{"message":"[SecuritySolution] Improve asset criticality bulk error when entities are duplicated (elastic#199651)\n\n## Summary\r\n\r\n* Improve asset criticality bulk error when entities are duplicated\r\n* It also fixes the server errors line to be '1' based.\r\n\r\n![Screenshot 2024-11-11 at 11 46\r\n31](https://github.com/user-attachments/assets/3fbf35fb-cd27-417a-bf53-41a197d1bbe9)\r\n\r\n### Performance\r\n\r\nTest parameters: file with +33k lines and ~1 MB size.\r\n* Before 6.24 seconds\r\n* After 6.46 seconds\r\n\r\nExecution time Increased ~0.22 seconds\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"02ac5fc90f08615d877befc05f9675838ade77b4"}},"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/199651","number":199651,"mergeCommit":{"message":"[SecuritySolution] Improve asset criticality bulk error when entities are duplicated (elastic#199651)\n\n## Summary\r\n\r\n* Improve asset criticality bulk error when entities are duplicated\r\n* It also fixes the server errors line to be '1' based.\r\n\r\n![Screenshot 2024-11-11 at 11 46\r\n31](https://github.com/user-attachments/assets/3fbf35fb-cd27-417a-bf53-41a197d1bbe9)\r\n\r\n### Performance\r\n\r\nTest parameters: file with +33k lines and ~1 MB size.\r\n* Before 6.24 seconds\r\n* After 6.46 seconds\r\n\r\nExecution time Increased ~0.22 seconds\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"02ac5fc90f08615d877befc05f9675838ade77b4"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Pablo Machado <[email protected]>
- Loading branch information