table cf column securitypolicy list
Displays the list of security policies associated with a field in a HPE Ezmeral Data Fabric Database JSON table.
Permissions Required
To run this command, your user ID must have the following permissions:
adminaccessperm
on the table
NOTE
The mapr
user is not treated as a superuser.
HPE Ezmeral Data Fabric Database does not allow the mapr
user to
run this command unless that user is given the relevant permission or permissions with
access-control expressions.Syntax
- CLI
-
maprcli table cf column securitypolicy list -path <path> -cfname <column family name> -column <JSON table field>
- REST
-
http[s]://<host>:<port>/rest/table/cf/column/securitypolicy/list?path=<path>&cfname=<name>&column=<JSON-table-field>
Parameters
Parameter |
Description |
---|---|
path |
The path to the table.
|
cfname |
The name of the column family. |
column | The JSON table field. |
Example
This example lists the security policies associated with the sales
field
in the default
column family of the JSON table jtable
.
- CLI
-
maprcli table cf column securitypolicy list -path /my.cluster.com/volume1/jtable -cfname default -column sales
- REST
-
https://r1n1.sj.us:8443/rest/table/cf/securitypolicy/list?path=%2Fmy.cluster.com%2Fvolume1%2Fjtable' &cfname=default &column=sales
Example Output
{
"timestamp":1539674179277,
"timeofday":"2018-10-16 12:16:19.277 GMT-0700 AM",
"status":"OK",
"total":1,
"data":[
{
"securitypolicy":["Sales"]
}
]
}