elastic / elastic/fleet-server

User is able to create agent tags with more than 20 characters through enroll command.

Open
#3,101 7 comments 0 reactions 0 assignees View on GitHub
bug good first issue impact:low Team:Elastic-Agent-Control-Plane
Dominant language
Go
Stars
113
Forks
117
Avg merge
1d 16h
Merged PRs (30d)
112

Description

**Kibana version:** 8.4 BC-2 Kibana cloud environment

**Host OS and Browser version:** All, All

**Build details:**
```
VERSION: 8.4.0
BUILD: 55166
COMMIT: 9e9e0d6a685cbc2858a85a357f93dcb76259fdee
```

**Preconditions:**
1. 8.4 BC2 Kibana cloud environment should be available.

**Steps to reproduce:**
1. Login to Kibana environment.
2. Install an agent with say --tag= `abcabcabcabcabcabcabcabcabcabc1234567890` (More than 20 characters.)
3. Observe user is able to create tag with more than 20 characters.

**Expected Result:**
As per PR https://github.com/elastic/kibana/pull/136019#issue-1299131578 it is expected that tag name should be limited to 20 characters.

**Screenshots:**
![1](https://user-images.githubusercontent.com/77374876/183354160-cd7cd0f0-f9b1-49b3-8ee0-4534bd7c9796.jpg)
![2](https://user-images.githubusercontent.com/77374876/183354166-68434341-c26c-4e30-8f05-6d18b1a45897.JPG)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.