vserver security file-directory policy task show

Contributors

Display policy tasks

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver security file-directory policy task show command displays information about all the task entries in the Vserver. The command output depends on the parameter or parameters specified with the command. If you do not specify any parameters, the command displays the following information about all task entries:

  • Vserver name

  • Policy name

  • Task entries

The vserver security file-directory policy task show command is not supported for Vservers with Infinite Volume.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command only displays the fields that you specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all entries.

[-vserver <vserver name>] - Vserver

If you specify this parameter, the command displays information only tasks associated with the specified Vserver.

[-policy-name <Security policy name>] - Policy Name

If you specify this parameter, the command displays information only about tasks associated with the specified security policy.

[-index-num <integer>] - Position

If you specify this parameter, the command displays information only about tasks assigned the index number that you specify.

[-path <text>] - Path

If you specify this parameter, the command displays information only about tasks applied to the specified path.

[-security-type {ntfs|nfsv4}] - Security Type

If you specify this parameter, the command displays information only about tasks associated with the specified security type.

Note The nfsv4 security descriptor type is not supported in this release.
[-ntfs-mode {propagate|ignore|replace}] - NTFS Propagation Mode

If you specify this parameter, the command displays information only about tasks configured with the NTFS propagation mode that you specify.

[-ntfs-sd <ntfs sd name>,…​] - NTFS Security Descriptor Name

If you specify this parameter, the command displays information only about the policy tasks associated with the NTFS security descriptor that you specify.

[-access-control {file-directory|slag}] - Access Control Level

If you specify this parameter, the command displays information only about tasks associated to the access control.

Examples

The following example displays policy task entries for a policy named “policy1” on Vserver vs1.

cluster1::> vserver security file-directory policy task show -vserver vs1 -policy-name policy1
Vserver: vs1
                  Policy: policy1
Index  File/Folder  Access           Security  NTFS       NTFS Security
                         Path         Control          Type      Mode       Descriptor Name
                  -----  -----------  ---------------  --------  ---------- ---------------
                  1      /1           file-directory   ntfs      propagate  sd1, sd2
                  2      /2           file-directory   ntfs      ignore     -
2 entries were displayed.