Get-PASPTARiskEvent

Get-PASPTARiskEvent

SYNOPSIS

Output all PTA Risk Events

SYNTAX

13.2 (Default)

Get-PASPTARiskEvent [[-type] <String>] [[-status] <String>] [[-sort] <String>] [[-size] <Int32>]
 [<CommonParameters>]

14.0

Get-PASPTARiskEvent [[-type] <String>] [[-status] <String>] [-FromTime <DateTime>] [-ToTime <DateTime>]
 [[-sort] <String>] [[-size] <Int32>] [<CommonParameters>]

DESCRIPTION

Output details of all PTA Risk Events, or those matching the criteria specified.

Requires minimum version of 13.2

EXAMPLES

Example 1

Get-PASPTARiskEvent -type RISK_UNCONSTRAINED_DELEGATION -status OPEN

Get all open risk events related to unconstrained delegation.

PARAMETERS

-type

Return only the risk events of a specific type, using the type name

Valid values:

RISK_UNCONSTRAINED_DELEGATION

RISK_RISKY_SPN

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-status

Return only open or closed risk events

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-sort

Sort the events you are searching for

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-size

The maximum number of returned events in a given page.

If not specified, the server limits the results to 100.

The maximum number that can be specified is 1000.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-FromTime

Filter by start time of a detection time window

Requires 14.0

Type: DateTime
Parameter Sets: 14.0
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ToTime

Filter by end time of a detection time window

Requires 14.0

Type: DateTime
Parameter Sets: 14.0
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

https://pspas.pspete.dev/commands/Get-PASPTARiskEvent

https://docs.cyberark.com/PAS/Latest/en/Content/WebServices/GetRiskEvents.htm