View on GitHub

Palo Alto powershell

Download this project as a .zip file Download this project as a tar.gz file

Send-PaApiQuery

Synopsis

Formulate and send an api query to a PA firewall.

Syntax

Send-PaApiQuery [-Config] <String> -XPath <String> [-Element <String>] [-Member <String>] [-NewName <String>] [-CloneFrom <String>] [-MoveWhere <String>] [-MoveDestination <String>] [-PaConnection <String>] [<CommonParameters>]

Description

Formulate and send an api query to a PA firewall.

Parameters

-Config <String>

CONFIG#############################

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-XPath <String>

Required? true

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Member <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-CloneFrom <String>

========================CLONE=========================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-MoveWhere <String>

=========================MOVE=========================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-MoveDestination <String>

Required? false

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Report <String>

REPORT#############################

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ReportName <String>

Required? false

Requiredfalse
Positionnamed
Default Value0
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Period <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-EndTime <String>

Required? false

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-From <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-DlpPassword <String>

=========================DLP=========================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-CertificateName <String>

=====================CERTIFICATE=====================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-CertificateFormat <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-TsAction <String>

=====================TECH SUPPORT====================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Job <Decimal>

Required? false

Requiredtrue
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Import <String>

IMPORT#############################

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ImportFile <String>

Required? true

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ImportCertificateFormat <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ImportProfile <String>

====================RESPONSE PAGES====================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ImportWhere <String>

=====================CUSTOM LOGO======================#

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Log <String>

LOGS##############################

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-LogQuery <String>

Required? false

Requiredfalse
Positionnamed
Default Value0
Accept pipeline inputfalse
Accept wildcard charactersfalse

-SkipLogs <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-LogJob <Decimal>

Required? false

Requiredtrue
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Commit [<SwitchParameter>]

COMMIT#############################

Requiredtrue
Position1
Default ValueFalse
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Force [<SwitchParameter>]

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-PaConnection <String>

CONNECTION##########################

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse