Add open webui collection
Collection for Open WebUI using docker instance.
Hey 👋🏻
Thank you for opening a pull request!
Could we have some test lines to add these to the test files to ensure we dont accidentally break it in future!
Hi Laurence, Thanks for quick response. Did you mean test logs? Or add this to some test folder? I created branches for all the new collections as you suggested last time.
Hi Laurence, Thanks for quick response. Did you mean test logs? Or add this to some test folder? I created branches for all the new collections as you suggested last time.
if you paste the logs here I can add them to tests.
Example log for Open-WebUI Auth error :
authenticate_user [email protected] INFO: 1.2.3.4:0 - "POST /api/v1/auths/signin HTTP/1.1" 400 Bad Request
Note : IP : 1.2.3.4
It works on the IP but I haven't managed to use this for the user enumeration as it's 2 line error log. Hope can improve on that.
There's also some audit logs which you can enable via ENABLE_AUDIT_LOGS=true docker environment variable which writes to /path/to/container/volume/audit.log and an example is
{
"id": "ed8a1fd3-88eb-4758-84b0-abba6ed217fb",
"timestamp": 1740869185,
"user": {
"id": "b26d0ab4-116b-4024-bb2a-80e86dfc903f",
"name": "First Last",
"email": "[email protected]",
"role": "admin"
},
"audit_level": "REQUEST_RESPONSE",
"verb": "POST",
"request_uri": "https://example.com/api/v1/users/user/settings/update",
"response_status_code": 200,
"source_ip": "IP_V6_ADDRESS/IPV4_ADDRESS",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0",
"request_object": "{\"ui\":{\"version\":\"0.5.18\",\"notifications\":{\"webhook_url\":\"\"},\"directConnections\":{\"OPENAI_API_BASE_URLS\":[],\"OPENAI_API_KEYS\":[],\"OPENAI_API_CONFIGS\":{}},\"models\":[\"deepseek-r1:14b\"]}}",
"response_object": "{\"ui\":{\"version\":\"0.5.18\",\"notifications\":{\"webhook_url\":\"\"},\"directConnections\":{\"OPENAI_API_BASE_URLS\":[],\"OPENAI_API_KEYS\":[],\"OPENAI_API_CONFIGS\":{}},\"models\":[\"deepseek-r1:14b\"]}}",
"extra": {}
}
Not sure if these can also be considered for parsing.
I don't think the audit log can parse as it continues too many lines and the information here about authentication can parse in the docker logs already.