|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcSecurityTraceFilter
NAME
Get-NcSecurityTraceFilter
SYNOPSIS
Get security trace filters.
SYNTAX
Get-NcSecurityTraceFilter [-Vserver <String[]>] [-Index <UInt64[]>] [-Window
sName <String[]>] [-UnixName <String[]>] [-Attributes <SecurityTraceFilterAt
tributes>] [-VserverContext <String>] [-Controller <NcController[]>] [<Commo
nParameters>]
Get-NcSecurityTraceFilter -Template [-VserverContext <String>] [-Controller
<NcController[]>] [<CommonParameters>]
Get-NcSecurityTraceFilter -Query <SecurityTraceFilterAttributes> [-Attribute
s <SecurityTraceFilterAttributes>] [-VserverContext <String>] [-Controller <
NcController[]>] [<CommonParameters>]
DESCRIPTION
Get security trace filters.
PARAMETERS
-Vserver <String[]>
Restrict results to the specified vserver(s). Data ONTAP wildcards are
permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Index <UInt64[]>
Index or indices for the filter. Data ONTAP wildcards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WindowsName <String[]>
One or more Windows user names that are traced. Data ONTAP wildcards ar
e permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-UnixName <String[]>
One or more Unix user names that are traced. Data ONTAP wildcards are p
ermitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <SecurityTraceFilterAttributes>
For improved scalability in large clusters, provide a SecurityTraceFilte
rAttributes object with various fields set to indicate which fields to r
eturn on all objects. Undesired fields should remain set to null. Use
"Get-NcSecurityTraceFilter -Template" to get the initially empty Securit
yTraceFilterAttributes object. If not specified, all data is returned f
or each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty SecurityTraceFilterAttributes object for use wit
h advanced queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <SecurityTraceFilterAttributes>
For advanced queries, provide a SecurityTraceFilterAttributes object wit
h various fields set to indicate which records to retrieve. Other field
s should remain set to null. Use "Get-NcSecurityTraceFilter -Template"
to get the initially empty SecurityTraceFilterAttributes object.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.Sectrace.SecurityTraceFilterAttributes
NOTES
Category: sectrace
API: security-trace-filter-get-iter
Family: cluster,vserver
-------------- Example 1 --------------
C:\PS>Get-NcSecurityTraceFilter
Get all of the security trace filters.
IsEnabled : True
ClientIp :
Enabled : enabled
Index : 1
NcController : 10.63.165.62
Path : hello.txt
TimeEnabled : 60
TraceAllow : True
UnixName :
Vserver : beam01
WindowsName :
IndexSpecified : True
TimeEnabledSpecified : True
TraceAllowSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcSecurityTraceFilter -Template
$q.Enabled = "enabled"
Get-NcSecurityTraceFilter -Query $q
Get all of the enabled security trace filters.
Path Index IsEnabled ClientIp Windo
wsName UnixName Vserver
---- ----- --------- -------- -----
------ -------- -------
hello.txt 1 True
beam01
RELATED LINKS
Set-NcSecurityTraceFilter
New-NcSecurityTraceFilter
Remove-NcSecurityTraceFilter
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|