-
Notifications
You must be signed in to change notification settings - Fork 81
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
User is able to create agent tags with more than 20 characters through enroll command. #3101
Comments
@manishgupta-qasource Please review. |
Secondary review for this ticket is Done |
Hi Team, We have revalidated this issue on latest 8.10.0 SNAPSHOT kibana cloud environment and found it still reproducible. Observations:
Build details: Please let us know if anything else is required from our end. Thanks! |
As this sanitize is done at Kibana level, should be assigned to Fleet Team @jen-huang / @kpollich |
@pierrehilbert tags are supplied at the enrolment. Not sure Elastic Agent prevents you from using more than 20chars.. The only option for Kibana would be to truncate these tags then.. |
Yes, that's the part of the code @juliaElastic wrote and @amolnater-qasource mentioned. |
I'm moving this to fleet server. The sanitization code referenced is on Kibana send when tags are added/modified through UI, not adding during enrollment. We should have same set of sanitization on fleet server. |
Kibana version: 8.4 BC-2 Kibana cloud environment
Host OS and Browser version: All, All
Build details:
Preconditions:
Steps to reproduce:
abcabcabcabcabcabcabcabcabcabc1234567890
(More than 20 characters.)Expected Result:
As per PR elastic/kibana#136019 (comment) it is expected that tag name should be limited to 20 characters.
Screenshots:
The text was updated successfully, but these errors were encountered: