Skip to content

[BUG] Weak Validation for Ingest Pipeline Name #17766

@owaiskazi19

Description

@owaiskazi19

Describe the bug

 PUT /_ingest/pipeline/nfudvmyrxvubzuhgzmqvsykecpoufbewpagbfbdadugmdwwoaefbpjvtonhryupjtjdzfweuawfgcncbdjtyjnmayvoqmwrwxuomvcbgftryrsa 

{
  "description": "A Semantic ingest pipeline",
  "processors": [
    {
      "text_embedding": {
        "model_id": "ceb3f0e8-e66c-4edd-8293-94503cf9c7c5",
        "field_map": {
          "text": "passage_embedding"
        }
      }
    }
  ]
}	

Response: HTTP/1.1 200 OK
{"acknowledged":true}

Related component

No response

To Reproduce

  1. Create an ingest pipeline with 50 chars. See description
  2. See the response as 200

Expected behavior

  1. There should be a limit on chars (Around 15 chars)

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions