Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcSecurityTraceFilter


NAME
Set-NcSecurityTraceFilter

SYNOPSIS
Modify settings of a Security trace entry.

SYNTAX
Set-NcSecurityTraceFilter [-Index] <Int64> [-ClientIp <String>] [-Path <Stri
ng>] [-WindowsName <String>] [-UnixName <String>] [-TraceAllow [<Boolean>]]
[-Enabled [<Boolean>]] [-TimeEnabled <Int64>] [-VserverContext <String>] [-C
ontroller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Modify settings of a Security trace entry.


PARAMETERS
-Index <Int64>
Index for the filter.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-ClientIp <String>
The IP address of the client.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Path <String>
Path to match.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WindowsName <String>
Windows user name to trace.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-UnixName <String>
Unix user name to trace.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-TraceAllow [<Boolean>]
The deny events are traced by default. If true, record trace results for
allow events as well.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Enabled [<Boolean>]
If true, the filter is enabled.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-TimeEnabled <Int64>
Timeout for this filter after which it would be disabled.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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

<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-modify
Family: vserver

-------------- Example 1 --------------

C:\PS>Set-NcSecurityTraceFilter -Index 1 -WindowsName EXAMPLE\user


Set the Windows user name for the security trace filter.


ClientIp :
Enabled : enabled
Index : 1
NcController : 10.63.165.62
Path :
TimeEnabled : 60
TraceAllow : False
UnixName :
Vserver : beam01
WindowsName : EXAMPLE\user
IndexSpecified : True
TimeEnabledSpecified : True
TraceAllowSpecified : True



RELATED LINKS
Get-NcSecurityTraceFilter
Remove-NcSecurityTraceFilter
New-NcSecurityTraceFilter







 Data ONTAP® PowerShell Toolkit