|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcSecurityTrace
NAME
Get-NcSecurityTrace
SYNOPSIS
Get permission tracing results for the cluster.
SYNTAX
Get-NcSecurityTrace [-Node <String[]>] [-Vserver <String[]>] [-SeqNum <UInt6
4[]>] [-Attributes <SecurityTraceResultsLogs>] [-VserverContext <String>] [-
Controller <NcController[]>] [<CommonParameters>]
Get-NcSecurityTrace -Template [-VserverContext <String>] [-Controller <NcCon
troller[]>] [<CommonParameters>]
Get-NcSecurityTrace -Query <SecurityTraceResultsLogs> [-Attributes <Security
TraceResultsLogs>] [-VserverContext <String>] [-Controller <NcController[]>]
[<CommonParameters>]
DESCRIPTION
Get permission tracing results for the cluster.
PARAMETERS
-Node <String[]>
One or more cluster nodes on which the permission tracing event occurred
. Data ONTAP wildcards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
One or more vservers on which the permission tracing event occurred. Da
ta ONTAP wildcards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SeqNum <UInt64[]>
One or more sequence numbers of the permission tracing event. Data ONTA
P wildcards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <SecurityTraceResultsLogs>
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-NcSecurityTrace -Template" to get the initially empty SecurityTrace
FilterAttributes object. If not specified, all data is returned for eac
h 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 <SecurityTraceResultsLogs>
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-NcSecurityTrace -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.SecurityTraceResultsLogs
NOTES
Category: sectrace
API: security-trace-result-show
Family: cluster,vserver
-------------- Example 1 --------------
C:\PS>Get-NcSecurityTrace
Get all of the security trace results.
ClientIp : 10.61.169.73
Index : 1
Keytime : 1372359223
KeytimeDT : 6/27/2013 2:53:43 PM
NcController : 10.63.165.62
Node : sfp-cmode-02-01
Path : /hello.txt
Result : Access is allowed because the CIFS user is owner, inherite
d ACE grants requested access while
setting the attributes.
SecurityStyle : security_ntfs_sd
Seqnum : 1
UserName : RTPRRE\Administrator
Vserver : beam01
IndexSpecified : True
SeqnumSpecified : True
ClientIp : 10.61.169.73
Index : 1
Keytime : 1372359104
KeytimeDT : 6/27/2013 2:51:44 PM
NcController : 10.63.165.62
Node : sfp-cmode-02-01
Path : /hello.txt
Result : Access is allowed because the CIFS user is owner, inherite
d ACE grants requested access while
setting the attributes.
SecurityStyle : security_ntfs_sd
Seqnum : 0
UserName : RTPRRE\Administrator
Vserver : beam01
IndexSpecified : True
SeqnumSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcSecurityTrace -Template
$q.Keytime = ">1372359200"
Get-NcSecurityTrace -Query $q
Get all of the security trace results that occurred after the given time.
Path Index Seqnum UserName Ke
yTimeDT Vserver
---- ----- ------ -------- --
------- -------
/hello.txt 1 1 RTPRRE\Administrator 6/
27/2013 2:53:43 PM beam01
RELATED LINKS
Remove-NcSecurityTrace
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|