Get-TSTMGMTLogsAudit

List of Management Platform events that occurred within an interface

Written by Ines

Last published at: December 19th, 2022

Lists events occurring within the Management Platform pertaining to Thinscale User activity.

 SYNTAX

Delete

Get-TSTMGMTLogsAudit

[-User <User>] [-UserIds <guid[]>] [-MaxResults <int>] [-Start <datetime>] [-End <datetime>] [-Types <LogMessageTypeAudit[]>] [-Interface <guid>] [-Timeout <int>]


 DESCRIPTION

Audit of events triggered by Thinscale Users within the Thinscale Console. To review events triggered by a specific user or several specific users, please use the -User or -UserIds parameter.

 

EXAMPLES

1. Retrieve all logs for user John using UserId parameter

Get-TSTMGMTLogsAudit -UserIds 2bb5f9bb-39cf-4d5b-bc4d-8dfb06963c77

 

 

PARAMETERS

 

-User

Filters all results connected to one username.

Type: ThinScale.Management.DataObjects.User
Required: No
Accept Pipeline Input: Yes

 

-UserIds

Retrieves filtered results based on ObjectIds of one or more users.

Type: GUID
Required: No
Accept Pipeline Input: Yes

 

-MaxResults

A maximum number of latest results by date and time.

Type: Int
Required: No
Accept Pipeline Input: No

 

-Start

The date and time of the Access Policy results used when you want to specify a starting date to show results from that point onwards in time.

Type: DateTime 
Required: No
Accept Pipeline Input: No

 

-End

The date and time of the Access Policy results used when you want to specify an ending date to show results until that point in time.

Type: DateTime 
Required: No
Accept Pipeline Input: No

 

-Types

A comma delimited list of audit log types to get results for.

Type: Int
Required: No
Accept Pipeline Input: No

 

-Force

If multiple objects are found with the same name, the first retrieved will be used otherwise the call will fail

Type: SwitchParameter
Required: No
Accept Pipeline Input: No

 

-Interface

The interface ID returned by a previously successful call to Connect-TSTMGMTServer. This parameter is only required if you are connected to 2 or more Management Platform instances at the same time. If this parameter is not specified the connection to the last successful call to Connect-TSTMgmtServer will be used.

Type: Guid
 
Required: No
Accept Pipeline Input: No

 

-Timeout

The time allowed in milliseconds for the call to complete before it is deemed to have timed out and is aborted

Type: Int32
Required: No
Accept Pipeline Input: No

 

INPUTS

ThinScale.Management.DataObjects.User

 

OUTPUTS

ThinScale.Management.DataObjects.String