...
- CREATE
- UPDATE
- TRUNCATE
- DELETE
- ACCESS _READ
- ACCESS_WRITE
- ACCESS_READ_WRITE(sub types: READ, WRITE, BOTH, UNKNOWN)
- METADATA_CHANGE
Code Block |
---|
[ { "time": 1456956659469, "entityId": { "namespace": "ns1", "dataset": "ds1", "entity": "DATASET" }, "user": "cdap", "type": "METADATA_CHANGE", "change": { "additions": [ { "scope": "USER", "properties": { "key1": "value1" }, "tags": [ "tag1" ] } ], "deletions": [ { "scope": "SYSTEM", "properties": {}, "tags": [ "tag2" ] } ] } }, { "time": 1456956659470, "entityId": { "namespace": "ns1", "dataset": "ds1", "entity": "DATASET" }, "user": "cdap", "type": "CREATE" }, { "time": 1456956659471, "entityId": { "namespace": "ns1", "dataset": "ds1", "entity": "DATASET" }, "user": "cdap", "type": "ACCESS", "access": { "type": "READ", "entityId": { "namespace": "ns1", "application": "app1", "type": "Flow", "program": "flow1", "entity": "PROGRAM" } } } ] |
...