Skip to content

Latest commit

 

History

History
127 lines (96 loc) · 2.27 KB

Get-DuoAdminLog.md

File metadata and controls

127 lines (96 loc) · 2.27 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Get-DuoAdminLog

SYNOPSIS

Administrator Logs

SYNTAX

None (Default)

Get-DuoAdminLog [<CommonParameters>]

UnixTime

Get-DuoAdminLog [-MinTime <String>] [<CommonParameters>]

DateTime

Get-DuoAdminLog [-StartDate <String>] [<CommonParameters>]

Days

Get-DuoAdminLog [-Days <Int32>] [<CommonParameters>]

Hours

Get-DuoAdminLog [-Hours <Int32>] [<CommonParameters>]

DESCRIPTION

Returns a list of administrator log events. Only the 1000 earliest events will be returned; you may need to call this multiple times with mintime to page through the entire log. Requires "Grant read log" API permission.

EXAMPLES

EXAMPLE 1

Get-DuoAdminLog

PARAMETERS

-MinTime

Limit report to events after this Unix timestamp.

Type: String
Parameter Sets: UnixTime
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StartDate

{{ Fill StartDate Description }}

Type: String
Parameter Sets: DateTime
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Days

{{ Fill Days Description }}

Type: Int32
Parameter Sets: Days
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Hours

{{ Fill Hours Description }}

Type: Int32
Parameter Sets: Hours
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
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

We recommend requesting logs no more than once per minute.

RELATED LINKS

https://duo.com/docs/adminapi#administrator-logs