viewpolicy show

Prev Next

This command displays details of a specific view policy or the protocol auditing configuration in the view policy.

Usage
viewpolicy show --id ID
               [--audit] 
Required Parameters

--id ID

Specifies which view policy to show, by its ID (integer).

Options

--audit

Shows the protocol auditing configuration.

Example

This example displays details of the default view policy.

vcli: admin> viewpolicy show --id 3
+------------------------------------------------+---------------------+
| ID                                             | 3                   |
| Name                                           | s3_default_policy   |
| Cluster                                        | vast-cluster-1      |
| Atime-frequency                                | None                |
| NFS-read-write                                 | ['*']               |
| NFS-read-only                                  | []                  |
| SMB-read-write                                 | ['*']               |
| SMB-read-only                                  | []                  |
| S3-read-write                                  | ['*']               |
| S3-read-only                                   | []                  |
| NFS-trash-access                               | []                  |
| Auth-source                                    | RPC                 |
| NFS-POSIX-ACL                                  | No                  |
| NFS-return-open-permissions                    | False               |
| NFS-no-squash                                  | []                  |
| NFS-root-squash                                | ['*']               |
| NFS-all-squash                                 | []                  |
| Default file permissions                       | 644                 |
| Default folder permissions                     | 755                 |
| Gid-inheritance                                | LINUX               |
| Flavor                                         | S3_NATIVE           |
| Path-length                                    | NPL                 |
| Allowed-characters                             | NPL                 |
| Use-32bit-fileid                               | False               |
| Expose-id-in-fsid                              | False               |
| VIP Pools                                      | []                  |
| Nfs-minimal-protection-level                   | SYSTEM              |
| Apple sid                                      | True                |
| Remote-mapping                                 | {}                  |
| Created time                                   | 2023-01-18 07:54:41 |
| Accessible .snapshot Folder In Subdirectories  | True                |
| Visible .snapshot Folder In SMB Subdirectories | False               |
| Tenant-id                                      | 1                   |
| Enforce use of TLS certificate                 | False               |
+------------------------------------------------+---------------------+