<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Keep logs of login attempts in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145163#M38502</link>
    <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;We run Alfresco v7.0.0 using docker deployment (from &lt;A href="https://www.npmjs.com/package/generator-alfresco-docker-installer" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.npmjs.com/package/generator-alfresco-docker-installer&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;We wish to access any logs that regard login attempts of our users, since we try to track failed logins as well as the reason of failure. We have set the following options in our docker-compose.yml:&lt;/P&gt;&lt;PRE&gt;-Daudit.enabled=true
-Daudit.alfresco-access.enabled=true
-Daudit.alfresco-access.sub-actions.enabled=false&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;However, we are still unable to find any additional information regarding login attempts in our logs. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Could anyone please let us know where such logs can be found for docker deployments?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 13:29:29 GMT</pubDate>
    <dc:creator>Evgenia_Patsoni</dc:creator>
    <dc:date>2022-04-04T13:29:29Z</dc:date>
    <item>
      <title>Keep logs of login attempts</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145163#M38502</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;We run Alfresco v7.0.0 using docker deployment (from &lt;A href="https://www.npmjs.com/package/generator-alfresco-docker-installer" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.npmjs.com/package/generator-alfresco-docker-installer&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;We wish to access any logs that regard login attempts of our users, since we try to track failed logins as well as the reason of failure. We have set the following options in our docker-compose.yml:&lt;/P&gt;&lt;PRE&gt;-Daudit.enabled=true
-Daudit.alfresco-access.enabled=true
-Daudit.alfresco-access.sub-actions.enabled=false&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;However, we are still unable to find any additional information regarding login attempts in our logs. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Could anyone please let us know where such logs can be found for docker deployments?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:29:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145163#M38502</guid>
      <dc:creator>Evgenia_Patsoni</dc:creator>
      <dc:date>2022-04-04T13:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Keep logs of login attempts</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145164#M38503</link>
      <description>&lt;P&gt;Take a look at this post:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/audit-only-user-logins/m-p/305771/highlight/true#M23543" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/audit-only-user-logins/m-p/305771/highlight/true#M23543&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:55:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145164#M38503</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-04-04T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Keep logs of login attempts</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145165#M38504</link>
      <description>&lt;P&gt;Hello Abhinav,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;However even while searching for a specific login request (without the filter) we don't seem to find anything related.&lt;BR /&gt;Maybe we are searching in the wrong log files?&lt;/P&gt;&lt;P&gt;Currently we are searching inside `localhost_access_log.txt`&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 14:10:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145165#M38504</guid>
      <dc:creator>Evgenia_Patsoni</dc:creator>
      <dc:date>2022-04-04T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Keep logs of login attempts</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145166#M38505</link>
      <description>&lt;P&gt;You are looking at the web application log. Audit logs are not written in any log file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use services or rest apis in order to work with those logs.&lt;/P&gt;
&lt;P&gt;Take a look at these docs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/develop/rest-api-guide/audit-apps/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/develop/rest-api-guide/audit-apps/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/admin/audit/#enableauditing" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/admin/audit/#enableauditing&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the first link, there are rest apis to work with audits. for example, if you have enabled the audit, access this API will give following type of response:&lt;/P&gt;
&lt;P&gt;HTTP GET:&amp;nbsp;&lt;SPAN&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications/alfresco-access/audit-entries?include=values&amp;amp;alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications/alfresco-access/audit-entries?include=values&amp;amp;alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;"entries": [
			{
				"entry": {
					"createdAt": "2022-04-04T17:17:12.680+0000",
					"values": {
						"/alfresco-access/&lt;STRONG&gt;loginFailure&lt;/STRONG&gt;/user": "admin"
					},
					"auditApplicationId": "alfresco-access",
					"id": 1
				}
			},
			{
				"entry": {
					"createdAt": "2022-04-04T17:17:18.570+0000",
					"createdByUser": {
						"id": "admin",
						"displayName": "Administrator"
					},
					"values": {
						"/alfresco-access/&lt;STRONG&gt;login&lt;/STRONG&gt;/user": "admin"
					},
					"auditApplicationId": "alfresco-access",
					"id": 2
				},
.....
			]&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Explore the docs for more info on working with audit.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 17:03:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145166#M38505</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-04-04T17:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Keep logs of login attempts</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145167#M38506</link>
      <description>&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;I had already used the API calls you mentioned, but simply knowing that a user made a failed login attempt doesn't help at the moment. I wish to know the reason of failure as well.&lt;/P&gt;&lt;P&gt;It seems that Alfresco does not provide this information atm.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 07:45:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145167#M38506</guid>
      <dc:creator>Evgenia_Patsoni</dc:creator>
      <dc:date>2022-04-05T07:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Keep logs of login attempts</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145168#M38507</link>
      <description>&lt;P&gt;yes, alfresco doesn't provide those details out of the box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You were reffering to log files, that's why i shared the api documentation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:31:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/keep-logs-of-login-attempts/m-p/145168#M38507</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-04-05T14:31:14Z</dc:date>
    </item>
  </channel>
</rss>

