blob: fe57135a44b9a9993c6e9f8663b9d684d8591880 [file] [log] [blame]
{
"op": "add_or_update",
"serviceName": "cl1_hive",
"tagVersion": 1,
"tagUpdateTime": "20150924-22:26:33.000-+0000",
"tagDefinitions": {
"1":{"id":1, "guid":"tagdef-1", "name":"PII", "attributeDefs":[], "owner":0},
"2":{"id":2, "guid":"tagdef-2", "name":"EXPIRES_ON", "attributeDefs":[{"name":"expiry_date", "type":"date"}], "owner":0},
"3":{"id":3, "guid":"tagdef-3", "name":"FINANCE", "attributeDefs":[], "owner":0},
"4":{"id":4, "guid":"tagdef-4", "name":"AUDIT", "attributeDefs":[], "owner":0}
},
"tags": {
"1":{"id":1, "guid":"tag-1", "type":"PII", "attributes":{}, "owner":0},
"2":{"id":2, "guid":"tag-2", "type":"EXPIRES_ON", "attributes":{"expiry_date":"2015/08/31"}, "owner":0},
"3":{"id":3, "guid":"tag-3", "type":"FINANCE", "attributes":{}, "owner":0},
"4":{"id":4, "guid":"tag-4", "type":"AUDIT", "attributes":{}, "owner":0}
},
"serviceResources": [
{
"id":1,
"guid":"resource-1",
"serviceName":"cl1_hive",
"resourceElements":{
"database":{"values":["hr"]},
"table":{"values":["employee"]},
"column":{"values":["ssn"]}
}
},
{
"id":2,
"guid":"resource-2",
"serviceName":"cl1_hive",
"resourceElements":{
"database":{"values":["finance"]},
"table":{"values":["tax_2010"]}
}
},
{
"id":3,
"guid":"resource-3",
"serviceName":"cl1_hive",
"resourceElements":{
"database":{"values":["finance"]},
"table":{"values":["tax_2010"]},
"column":{"values":["ssn"]}
}
}
],
"resourceToTagIds": {
"1":[1],
"2":[2],
"3":[3]
}
}