<?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 Re: User Auditing: Has user x accessed a specific web application in SAS Viya in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787094#M23577</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can &lt;SPAN&gt;Extract list of audit records from SAS Infrastructure Data Server using REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Audit-your-SAS-Viya-platform-with-REST/ta-p/634015" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Audit-your-SAS-Viya-platform-with-REST/ta-p/634015&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you don't want to use REST API, use a sql connection to your sas viya posgres data base.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Charif&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 13:15:09 GMT</pubDate>
    <dc:creator>rifcha</dc:creator>
    <dc:date>2021-12-22T13:15:09Z</dc:date>
    <item>
      <title>User Auditing: Has user x accessed a specific web application in SAS Viya</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787086#M23575</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to investigate whether a specific user is accessing a specific SAS Viya 3.5 web application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find out if a user for example "224744" is accessing a specific web application like SAS Model Studio or SAS StudioV.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the CLI command I can get some information on audit records, but not no where precisely indicating that the web application was accessed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use a command like this:&lt;/P&gt;&lt;P&gt;/sas-admin audit list --user-id 224744 --sort-by timeStamp --limit "100000"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get results similar to the following:&lt;/P&gt;&lt;P&gt;ID Time Stamp Action State User ID Application URI&lt;BR /&gt;af5792bd-3d52-4692-971f-894710b86a2e 2021-12-14T23:52:25.374Z SessionDestroyed success 224744 SASLogon&lt;BR /&gt;4f91408b-01cb-41e3-8fb8-b861299e0ff0 2021-12-15T06:33:42.450Z login failure 224744 SASLogon&lt;BR /&gt;94e38c00-4ec4-4d9a-8a27-9a638183b158 2021-12-15T08:17:09.653Z login success 224744 SASLogon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but nowhere does it indicate which web application is being accessed. Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 12:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787086#M23575</guid>
      <dc:creator>JessLund</dc:creator>
      <dc:date>2021-12-22T12:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: User Auditing: Has user x accessed a specific web application in SAS Viya</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787094#M23577</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can &lt;SPAN&gt;Extract list of audit records from SAS Infrastructure Data Server using REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Audit-your-SAS-Viya-platform-with-REST/ta-p/634015" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Audit-your-SAS-Viya-platform-with-REST/ta-p/634015&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you don't want to use REST API, use a sql connection to your sas viya posgres data base.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Charif&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 13:15:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787094#M23577</guid>
      <dc:creator>rifcha</dc:creator>
      <dc:date>2021-12-22T13:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: User Auditing: Has user x accessed a specific web application in SAS Viya</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787105#M23578</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/353315"&gt;@JessLund&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only application that creates "login" action audit records is SASLogon.&amp;nbsp; All logins to applications like SAS Visual Analytics, SAS Environment Manager, SAS Model Manager, etc go through SASLogon.&amp;nbsp; The audit records do not distinguish between different applications that a user might access, therefor, you will not find audit records for the login action for individual web applications - only SASLogon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way you could achieve determining who logged in a specific application would be look into the specific application logs.&amp;nbsp; We do not provide a mechanism to do this, but you could script it.&amp;nbsp; For example.&amp;nbsp; If you login to SASDrive, in the sasdrive log you will see an entry like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 09:53:25.109 &amp;nbsp;INFO 20804 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag &amp;nbsp;&amp;nbsp;: &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="cs49605867"&gt;sasadm&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="csB052D576"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="cs99F15B07"&gt;e36d1efe&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="csB052D576"&gt;) [a5679971ca1377ac] &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="cs112EEB07"&gt;SASDrive&lt;/SPAN&gt; &lt;SPAN class="csB0BF5B07"&gt;ApplicationSwitcher&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="csB052D576"&gt; enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where &lt;STRONG&gt;sasdm&lt;/STRONG&gt; is the user ID&lt;/P&gt;
&lt;P&gt;Where &lt;STRONG&gt;e36d1efe&lt;/STRONG&gt; is a unique value to the session (This value will remain constant when switching between applications)&lt;/P&gt;
&lt;P&gt;Where &lt;STRONG&gt;SASDrive&lt;/STRONG&gt; is the application&lt;/P&gt;
&lt;P&gt;Where &lt;STRONG&gt;ApplicationSwitcher&lt;/STRONG&gt; is the key phrase that indicates the application was accessed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of note, if you login to an application, you will actually see the ApplicationSwitcher message printed 4 times.&amp;nbsp; So the line I gave above was actually in my log 4 times for a single login.&amp;nbsp; Like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 09:53:25.109 &amp;nbsp;INFO 20804 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag &amp;nbsp;&amp;nbsp;: sasadm(e36d1efe) [a5679971ca1377ac] SASDrive ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 09:53:25.114 &amp;nbsp;INFO 20804 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag &amp;nbsp;&amp;nbsp;: sasadm(e36d1efe) [a5679971ca1377ac] SASDrive ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 09:53:28.482 &amp;nbsp;INFO 20804 --- [0-auto-1-exec-4] c.s.commons.html.taglib.ApplicationTag &amp;nbsp;&amp;nbsp;: sasadm(e36d1efe) [7818738e2d5da009] SASDrive ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 09:53:28.482 &amp;nbsp;INFO 20804 --- [0-auto-1-exec-4] c.s.commons.html.taglib.ApplicationTag &amp;nbsp;&amp;nbsp;: sasadm(e36d1efe) [7818738e2d5da009] SASDrive ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you login to an application, and then use the "application switcher" the ApplicationSwitcher line will only be printed twice.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So here is an example of user &lt;STRONG&gt;sasadm&lt;/STRONG&gt; logging into SAS Environment Manager, switching to SAS StudioV, switching to SAS Data Explorer and then switching to SAS Visual Analytics, all without logging out and keeping the same session;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;Login to SAS Environment Manager URL directly (message printed in environmentmanager log 4 times for a single login):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:38:31.554&amp;nbsp; INFO 10089 --- [-auto-1-exec-10] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [add2246c77a710df] envmgrapp ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:38:31.554&amp;nbsp; INFO 10089 --- [-auto-1-exec-10] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [add2246c77a710df] envmgrapp ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:38:33.839&amp;nbsp; INFO 10089 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [3a1086d7283a18dc] envmgrapp ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:38:33.839&amp;nbsp; INFO 10089 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [3a1086d7283a18dc] envmgrapp ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csCE72B627"&gt;Switch to sasstudioV (message printed twice in sasstudioV log for switching to application)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:38:53.165&amp;nbsp; INFO 25935 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [bfe0f54373b86a4a] sasstudiov ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:38:53.166&amp;nbsp; INFO 25935 --- [0-auto-1-exec-3] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [bfe0f54373b86a4a] sasstudiov ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csCE72B627"&gt;Switch to dataExplorer (message printed twice in dataExplorer log for switching to application)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:39:05.244&amp;nbsp; INFO 25886 --- [0-auto-1-exec-4] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [e39caea24cd4c1a8] data_explorer_ui ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:39:05.244&amp;nbsp; INFO 25886 --- [0-auto-1-exec-4] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [e39caea24cd4c1a8] data_explorer_ui ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csCE72B627"&gt;Switch to VA (message printed twice in sasvisualanalytics log for switching to application&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:39:22.404&amp;nbsp; INFO 25503 --- [0-auto-1-exec-5] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [ef18eacc6d3ca1b0] VANextLogon ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB052D576"&gt;2021-11-05 11:39:22.408&amp;nbsp; INFO 25503 --- [0-auto-1-exec-5] c.s.commons.html.taglib.ApplicationTag&amp;nbsp;&amp;nbsp; : sasadm(&lt;/SPAN&gt;&lt;SPAN class="csB0BF5B07"&gt;555db3b6&lt;/SPAN&gt;&lt;SPAN class="csB052D576"&gt;) [ef18eacc6d3ca1b0] VANextLogon ApplicationSwitcher enabled=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-Auditing-Has-user-x-accessed-a-specific-web-application-in/m-p/787105#M23578</guid>
      <dc:creator>ronf_sas</dc:creator>
      <dc:date>2021-12-22T14:12:31Z</dc:date>
    </item>
  </channel>
</rss>

