-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Namespace section in Fleet Agent Policies should disallow special characters #95075
Comments
Pinging @elastic/fleet (Team:Fleet) |
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
I am surprised that Do we have access to the exact error reported? For reference, we implemented namespace validation in #75381 and #78522. |
Does this help?
|
@michalpristas Can you chime in here from the agent side? I am surprised that |
i checked the code and i see that |
@michalpristas understood that the error is coming from Endpoint, but it seems ES is sending the error to Endpoint which it is reflecting back. @ferullo is the above your understanding? |
can this be a mapping issue? @ruflin could you chime in here? |
good point @michalpristas @jen-huang mentioned something similar yesterday. I was thinking that it could be the same mapping issue as this: https://github.com/elastic/endpoint-dev/issues/8640 |
@kevinlog that is right. That log message is Endpoint logging a response from Elasticsearch when Endpoint tried to write data. |
Hi, can I get a re-review on the priority of this? @jen-huang @ruflin @kevinlog - shall we target 7.14 for it? |
Hi @EricDavisX Build details:
Steps followed:
Screenshots: Thanks |
Based on @EricDavisX test, looks like it's working now. I actually this this problem was related to an earlier issue with namespaces and wasn't directly related to the special characters. I am OK to close this one out @jen-huang thanks! |
Bug Conversion
Thanks! |
Kibana version:
7.11
Elasticsearch version:
7.11
Describe the bug:
While triaging a customer issue, we discovered that they were trying to stream Security Endpoint data to an index with a namespace that contained special characters, i.e. a name like
endpoint+security
. When the Endpoint tried to stream data to ES, ES rejected the index name due to the namespace with special characters.Steps to reproduce:
endpoint+security
Expected behavior:
Creating the indices should work correctly and data should stream correctly to ES.
Since special characters aren't allowed by ES in the index names, we should restrict them during Agent Policy creation in Fleet.
Screenshots (if relevant):

This should be disallowed:
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: