-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Display unavailable ML jobs (#205483)
**Resolves: #202700 ## Summary This PR resolves an issue where an ML job referenced by a rule does not appear in the Rule Details, Upgrade flyout, or Rule Editing pages if the job is missing or not yet created. For example, if you had an ML rule with a single selected job and this job was not available, you would see a blank space instead of job name. ## Screenshots **Rule Details: Before** <img width="578" alt="Schermafbeelding 2025-01-03 om 13 20 32" src="https://github.com/user-attachments/assets/e8bc073f-0420-4888-8dd9-b4dc70fd0682" /> **Rule Details: After** <img width="578" alt="Schermafbeelding 2025-01-03 om 13 20 05" src="https://github.com/user-attachments/assets/bd4d0f91-8adf-45c5-8d31-b42ac483027b" /> **Rule Edit: Before** <img width="427" alt="Schermafbeelding 2025-01-03 om 13 21 21" src="https://github.com/user-attachments/assets/bffcb871-8cfc-4f50-8d19-c14b122c0be4" /> **Rule Edit: After** <img width="427" alt="Schermafbeelding 2025-01-03 om 13 21 09" src="https://github.com/user-attachments/assets/be8f60b9-17a6-48d2-978c-cfa63c426a08" /> **Upgrade flyout: Before** <img width="1066" alt="Schermafbeelding 2025-01-03 om 13 22 30" src="https://github.com/user-attachments/assets/553ff837-95cf-4670-91f1-dffb169ec505" /> **Upgrade flyout: After** <img width="1066" alt="Schermafbeelding 2025-01-03 om 13 21 55" src="https://github.com/user-attachments/assets/150cfb82-bc69-4aeb-a20a-03f54c7edc70" /> ## Testing You can test by removing an ML job referenced by a rule in `http://localhost:<port>/kbn/app/ml/jobs`.
- Loading branch information
1 parent
4eb9006
commit e04b200
Showing
8 changed files
with
86 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters