<?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>question Ranger tagsync with file source in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239008#M200819</link>
    <description>&lt;P&gt;Hi there! I'm try to deploy Apache Ranger ranger-tagsync module without Apache Atlas.&lt;/P&gt;&lt;P&gt;I'm enable option "TAG_SOURCE_FILE_ENABLED = true" but can't understand the way of creating needed tags.json file.&lt;/P&gt;&lt;P&gt;In my plan, my own deamon will simply generate this file for tagging hive-columns giving tag-based policies opportunity masking this columns for usergroups.&lt;/P&gt;&lt;P&gt;Mostly i'am follow next article:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://community.hortonworks.com/articles/135895/how-to-mask-columns-in-hive-with-atlas-and-ranger.html" target="_blank"&gt;https://community.hortonworks.com/articles/135895/how-to-mask-columns-in-hive-with-atlas-and-ranger.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but it's a problem to create working file-prototype.&lt;/P&gt;&lt;P&gt;I'am need worked examples of this file or Atlas REST output with same actions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 19:14:13 GMT</pubDate>
    <dc:creator>fullhouse</dc:creator>
    <dc:date>2019-04-24T19:14:13Z</dc:date>
    <item>
      <title>Ranger tagsync with file source</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239008#M200819</link>
      <description>&lt;P&gt;Hi there! I'm try to deploy Apache Ranger ranger-tagsync module without Apache Atlas.&lt;/P&gt;&lt;P&gt;I'm enable option "TAG_SOURCE_FILE_ENABLED = true" but can't understand the way of creating needed tags.json file.&lt;/P&gt;&lt;P&gt;In my plan, my own deamon will simply generate this file for tagging hive-columns giving tag-based policies opportunity masking this columns for usergroups.&lt;/P&gt;&lt;P&gt;Mostly i'am follow next article:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://community.hortonworks.com/articles/135895/how-to-mask-columns-in-hive-with-atlas-and-ranger.html" target="_blank"&gt;https://community.hortonworks.com/articles/135895/how-to-mask-columns-in-hive-with-atlas-and-ranger.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but it's a problem to create working file-prototype.&lt;/P&gt;&lt;P&gt;I'am need worked examples of this file or Atlas REST output with same actions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 19:14:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239008#M200819</guid>
      <dc:creator>fullhouse</dc:creator>
      <dc:date>2019-04-24T19:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger tagsync with file source</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239009#M200820</link>
      <description>&lt;P&gt;&lt;A rel="user" href="#"&gt;@Konstantin Tsypin&lt;/A&gt; Your message was misposted in the &lt;EM&gt;Community Help&lt;/EM&gt; track previously. That track is for questions and answers about how to use the community website. Your question was moived to the &lt;EM&gt;Security&lt;/EM&gt; track on Sun Apr 28 2019.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 07:21:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239009#M200820</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2019-04-29T07:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger tagsync with file source</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239010#M200821</link>
      <description>&lt;P&gt;For the futures.&lt;/P&gt;&lt;P&gt;Far along time i'm create correct view of tagsync source json file.&lt;/P&gt;&lt;P&gt;Work example of HIVE-service tagfile&lt;/P&gt;&lt;P&gt; At this example, database "default" , table "personal data", &lt;STRONG&gt;column "address"&lt;/STRONG&gt; mark with PII tag; database "default" , table "personal data", &lt;STRONG&gt;column "phone"&lt;/STRONG&gt; mark with PAD tag :&lt;/P&gt;&lt;PRE&gt;   {
     "op": "add_or_update",
     "serviceName": "AUTH_HIVE",
     "tagVersion": 3,
     "tagDefinitions": {
     "1":{"id":1, "guid":"tagdef-1", "name":"PAD", "attributeDefs":[], "owner":0},
     "2":{"id":2, "guid":"tagdef-2", "name":"PII", "attributeDefs":[], "owner":0}
     },
     "tags": {
       "1": {
         "type": "PAD",
         "attributes": {},
         "id": 1,
         "guid": "tag-pad-1-guid"
       },
      "2": {
         "type": "PII",
         "attributes": {},
         "id": 2,
         "guid": "tag-pii-2-guid"
       }
     },
     "serviceResources": [
       {
         "serviceName": "AUTH_HIVE",
         "resourceElements": {
           "database": { "values": [ "default" ] },
           "table": { "values": [ "personal_data" ] },
           "column": { "values": [ "address" ] }
         },
         "id": 1,
         "guid": "employee.personal.address-guid"
       },
       {
         "serviceName": "AUTH_HIVE",
         "resourceElements": {
           "database": { "values": [ "default" ] },
           "table": { "values": [ "personal_data" ] },
           "column": { "values": [ "phone" ] }
         },
         "id": 2,
         "guid": "employee.personal.phone-guid"
       }
     ],
     "resourceToTagIds": {
       "1": [ 1 ],
       "2": [ 2 ]
     }
   }&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Work example for HBASE-service&lt;/P&gt;&lt;P&gt;hbase table "weblog" with column-family "user_profile" is hiding :&lt;/P&gt;&lt;PRE&gt;   {
     "op": "add_or_update",
     "serviceName": "AUTH_HBASE",
     "tagVersion": 3,
     "tagDefinitions": {
     "1":{"id":1, "guid":"tagdef-hb1", "name":"PII", "attributeDefs":[], "owner":0}
     },
     "tags": {
       "1": {
         "type": "PII",
         "attributes": {},
         "id": 1,
         "guid": "tag-pii-hb1-guid"
       }
     },
     "serviceResources": [
       {
         "serviceName": "AUTH_HBASE",
         "resourceElements": {
           "table": { "values": [ "default:weblog" ] },
           "column-family": { "values": [ "user_profile" ] }
         },
         "id": 1,
         "guid": "weblog.user.profile-guid"
       }
     ],
     "resourceToTagIds": {
       "1": [ 1 ]
     }
   }&lt;/PRE&gt;&lt;P&gt;Ask your questions&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 19:17:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-tagsync-with-file-source/m-p/239010#M200821</guid>
      <dc:creator>fullhouse</dc:creator>
      <dc:date>2019-06-26T19:17:27Z</dc:date>
    </item>
  </channel>
</rss>

