<?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: Track changes in SAS metadata in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/627671#M18294</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26102"&gt;@ANLYNG&lt;/a&gt;&amp;nbsp; - The first thing to realise is that your current metadata repository only includes current data - there is no history kept. To get history you would have to read repository backups. For example if you read yesterdays backup and compared it to today's then you would know what has changed since yesterday only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second thing to realise is the metadata repository data model is horribly complicated and consists of variable level data hierarchies depending on the attributes you are trying to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to track metadata changes you would have to read the daily metadata backups for the period you want to track changes then try and line up the data between the versions. So unless there is a tool or utility for doing this already (and I'm not aware of any) then this would be extremely complicated and very time-consuming. IMO it is a cure worse than the disease...&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 21:04:20 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2020-02-26T21:04:20Z</dc:date>
    <item>
      <title>Track changes in SAS metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/627471#M18286</link>
      <description>&lt;P&gt;Do you have an example/code for reading alle changes for all objects in metadata?? I would like to have all informations , whats has been changes , when og by who? Is it possible on SAS 9.4 M&amp;amp; out of the box and with SAS code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there is build-in macros as&amp;nbsp;%MDUEXTR and&amp;nbsp;%mdsecds and the following snippet (se below) but I want more variables eg. user, timestamp etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="clearfix"&gt;&lt;DIV&gt;&lt;DIV class="one-sidebar"&gt;&lt;DIV class="site-content"&gt;&lt;DIV class="single-entry-content"&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; All_Metadata_Object_types (&lt;/SPAN&gt;&lt;SPAN&gt;keep&lt;/SPAN&gt;&lt;SPAN&gt;=id name PublicType ApplicablePermissions desc); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;length&lt;/SPAN&gt;&lt;SPAN&gt; id $&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;20&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; name PublicType $&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;70&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; _uri ApplicablePermissions desc $&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;256&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_nobj=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_n=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;call&lt;/SPAN&gt;&lt;SPAN&gt; missing(id, _uri, name, PublicType, ApplicablePermissions ,desc);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;do&lt;/SPAN&gt; &lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(_n le _nobj); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_nobj=metadata_getnobj(&lt;/SPAN&gt;&lt;SPAN&gt;“omsobj:TypeDefinition?@Id contains ‘.'”&lt;/SPAN&gt;&lt;SPAN&gt;,_n,_uri);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_rc=metadata_getattr(_uri,&lt;/SPAN&gt;&lt;SPAN&gt;“Id”&lt;/SPAN&gt;&lt;SPAN&gt;,id); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_rc=metadata_getattr(_uri,&lt;/SPAN&gt;&lt;SPAN&gt;“Name”&lt;/SPAN&gt;&lt;SPAN&gt;,name); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_rc=metadata_getattr(_uri,&lt;/SPAN&gt;&lt;SPAN&gt;“PublicType”&lt;/SPAN&gt;&lt;SPAN&gt;,PublicType); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_rc=metadata_getattr(_uri,&lt;/SPAN&gt;&lt;SPAN&gt;“ApplicablePermissions”&lt;/SPAN&gt;&lt;SPAN&gt;,ApplicablePermissions); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_rc=metadata_getattr(_uri,&lt;/SPAN&gt;&lt;SPAN&gt;“Desc”&lt;/SPAN&gt;&lt;SPAN&gt;,Desc); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;output&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_n=_n+&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;end&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/627471#M18286</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2020-02-26T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Track changes in SAS metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/627671#M18294</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26102"&gt;@ANLYNG&lt;/a&gt;&amp;nbsp; - The first thing to realise is that your current metadata repository only includes current data - there is no history kept. To get history you would have to read repository backups. For example if you read yesterdays backup and compared it to today's then you would know what has changed since yesterday only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second thing to realise is the metadata repository data model is horribly complicated and consists of variable level data hierarchies depending on the attributes you are trying to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to track metadata changes you would have to read the daily metadata backups for the period you want to track changes then try and line up the data between the versions. So unless there is a tool or utility for doing this already (and I'm not aware of any) then this would be extremely complicated and very time-consuming. IMO it is a cure worse than the disease...&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 21:04:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/627671#M18294</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-02-26T21:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Track changes in SAS metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/628754#M18362</link>
      <description>&lt;P&gt;There is no such thing as a (re-usable) audit trail of metadata changes over time. However, you can enable such a change capture database&amp;nbsp; - at least for high level objects (ACE, ACT, User, Group) with SAS Environment Manager Service Framework Architecture reports. See for instance the Audit Reports (log forensic) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/rnd/emi/SASEnvMgr/EVSAF/SAS_Environment_Manager_Service_Architecture_Quickstart_9.4M5.pdf" target="_blank"&gt;https://support.sas.com/rnd/emi/SASEnvMgr/EVSAF/SAS_Environment_Manager_Service_Architecture_Quickstart_9.4M5.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/rnd/emi/SASEnvMgr/EVSAF/Report_Center_Report_Listings.pdf" target="_blank"&gt;https://support.sas.com/rnd/emi/SASEnvMgr/EVSAF/Report_Center_Report_Listings.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This summary list is not 100% up to date with latest M6 release.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 13:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/628754#M18362</guid>
      <dc:creator>ronan</dc:creator>
      <dc:date>2020-03-02T13:25:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: Track changes in SAS metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/628759#M18363</link>
      <description>&lt;P&gt;We did something similar. &lt;BR /&gt;We create a "snapshot" each Weekend and compare it with the "snapshot" of the last week. &lt;BR /&gt;Pretty easy via a cronjob.&lt;BR /&gt;&lt;BR /&gt;We use the Batch interface of the Metacoda Security Plugin.&lt;/P&gt;
&lt;P&gt;The plugin creates a report, that lists every (wished) difference. &lt;BR /&gt;For example Objects, that got a new ACT, new Users, deleted Users, Capabilities per User that are gone or new,... &lt;BR /&gt;&lt;BR /&gt;Looks like this:&lt;/P&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="colheader number"&gt;#&lt;/TH&gt;
&lt;TH class="colheader"&gt;Test&lt;/TH&gt;
&lt;TH class="colheader"&gt;Reason&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR class="even"&gt;
&lt;TH class="number"&gt;1&lt;/TH&gt;
&lt;TD class="nowrap"&gt;ACTs/ACT('Server ACT - TS Server')/PermissionPattern/Group('BI Web Services Users')/permissions&lt;/TD&gt;
&lt;TD&gt;Mismatched permission pattern found. Expected &amp;lt;"MCM unspecified"&amp;gt; but got &amp;lt;"+MCM"&amp;gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="odd"&gt;
&lt;TH class="number"&gt;2&lt;/TH&gt;
&lt;TD class="nowrap"&gt;ACTs/ACT('Private User Folder ACT')/Objects/complete&lt;/TD&gt;
&lt;TD&gt;The test specifies a COMPLETE set of protected objects for the Access Control Template (ACT) 'Private User Folder ACT'. The test has failed because the ACT was actually found to be applied to an additional 3 unspecified objects. Additional test failures will occur for each unspecified object.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;I am pretty sure &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18432"&gt;@PaulHomes&lt;/a&gt;&amp;nbsp;or &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750"&gt;@MichelleHomes&lt;/a&gt;&amp;nbsp;can help you. &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 13:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/628759#M18363</guid>
      <dc:creator>DanielKaiser</dc:creator>
      <dc:date>2020-03-02T13:47:52Z</dc:date>
    </item>
    <item>
      <title>Betreff: Track changes in SAS metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/628923#M18376</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/21072"&gt;@DanielKaiser&lt;/a&gt; for describing how the Metacoda Security Plug-ins with the Metacoda Metadata Testing Framework helps to ensure the integrity of your SAS security implementation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26102"&gt;@ANLYNG&lt;/a&gt; if you are wanting to monitor SAS metadata security over time the Metacoda Metadata Testing Framework may also help you. Please read &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18432"&gt;@PaulHomes&lt;/a&gt;' blog post which references his SAS Global Forum paper on the topic &lt;A href="https://platformadmin.com/blogs/paul/2014/03/sas-metadata-security-testing/" target="_blank" rel="noopener"&gt;https://platformadmin.com/blogs/paul/2014/03/sas-metadata-security-testing/&lt;/A&gt; We also provide 30 day free evaluations where you can try it out in your own environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1540"&gt;@ronan&lt;/a&gt; mentioned you may also want to look at the Audit reports within Environment Manager.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 21:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Track-changes-in-SAS-metadata/m-p/628923#M18376</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2020-03-02T21:01:20Z</dc:date>
    </item>
  </channel>
</rss>

