Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…c#229932)

Fixes elastic#226801

## Summary
**Bugfix**: Validation for some inputs in the package policy editor was
broken. This PR fixes the missing validation for required `text` and
`password` type inputs.

### Testing
Tested with a specific integration but it's valid for all other
integrations that have similar required inputs of type `text`

- Add integration Office 365 (`o365`)
- Check required variables `Directory (tenant) ID` and `Batch Interval`
- Try to add values to them and then remove them. When the text boxes
are empty they should be read and show "is required" error

<img width="1641" height="1588" alt="Screenshot 2025-07-30 at 11 38 04"
src="https://github.com/user-attachments/assets/3e94a277-c034-4984-ade8-38afd57d64c6"
/>

### Checklist

Check the PR satisfies following conditions.
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit e44869e)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Aug 5, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) August 5, 2025 09:48
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Aug 5, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibanamachine kibanamachine merged commit 8a7540a into elastic:9.1 Aug 5, 2025
18 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #46 / discover/group3 discover request counts data view mode should send 3 requests (documents + chart + other bucket) when changing to a breakdown field with an other bucket

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 2.1MB 2.1MB +16.0B

cc @criamico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Fleet Team label for Observability Data Collection Fleet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants