Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.2.1, 6.3.4
-
None
-
1
-
Severity 3 - Minor
-
0
-
Description
When uploading an attachment to a Confluence page anonymously, this information is stored in the user access log (if enabled):
2018-01-25 14:31:50,939 INFO [http-nio-8090-exec-12] [atlassian.confluence.util.AccessLogFilter] doFilter - POST http://BASEURL/pages/doattachfile.action
However, when using the API to add an attachment to a page anonymously, nothing is logged in access log. Call used to add the attachment (which is correctly added to the page):
curl -v -S -X POST -H "X-Atlassian-Token: nocheck" -F "file=@file2.txt" http://BASEURL/rest/api/content/65537/child/attachment
Expected behavior: Access log to store the information just like it does when using the UI.