Description
While trying to set the invalid pruneAge value, the error message is displaying the invalid range value (35791394.11666667).
root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=-1" {"errors":{"pruneAge":"The value must be in range from 0 to 35791394.11666667"}}
|
|
root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=35791394.11666667"
|
{"errors":{"pruneAge":"The value must be an integer"}}
|
|
root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=35791395"
|
{"errors":{"pruneAge":"The value must be in range from 0 to 35791394.11666667"}}
|