diff options
| author | AlectoTheFirst <126573706+AlectoTheFirst@users.noreply.github.com> | 2026-02-19 08:23:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-19 08:23:00 +0100 |
| commit | 598c7a4ffd7c8dae3e3a9fa6b381949a62f625af (patch) | |
| tree | 630a81a620cdbf46f02b6118d9d2aa3e276166df /interface-definitions/include | |
| parent | c386550aa8dd07026eba25bf40323c8d2439b6e2 (diff) | |
| download | vyos-1x-598c7a4ffd7c8dae3e3a9fa6b381949a62f625af.tar.gz vyos-1x-598c7a4ffd7c8dae3e3a9fa6b381949a62f625af.zip | |
T6868: Monitoring Loki Basic Authentication Password Length Limit Increase
Grafana Cloud token consist of several components that are put into a json structure, base64 encoded and have also a prefix.
Contents of the Token:
Name of the Token (max 255)
Organization (currently 7 digits)
Secret (fixed 24)
Region (longest currently 20)
That beeing said, the length can easily exceed 255 chars. They dont expect the Password to be longer than 500 chars. I propose to simply set 512.
Diffstat (limited to 'interface-definitions/include')
| -rw-r--r-- | interface-definitions/include/generic-password.xml.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/generic-password.xml.i b/interface-definitions/include/generic-password.xml.i index 76d5f12d8..0048e5173 100644 --- a/interface-definitions/include/generic-password.xml.i +++ b/interface-definitions/include/generic-password.xml.i @@ -7,9 +7,9 @@ <description>Password</description> </valueHelp> <constraint> - <regex>[[:ascii:]]{1,128}</regex> + <regex>[[:ascii:]]{1,512}</regex> </constraint> - <constraintErrorMessage>Password is limited to ASCII characters only, with a total length of 128</constraintErrorMessage> + <constraintErrorMessage>Password is limited to ASCII characters only, with a total length of 512</constraintErrorMessage> </properties> </leafNode> <!-- include end --> |
