Excluded scopes for api key test
parent
832318fab1
commit
d86414febb
|
@ -56,7 +56,9 @@ deployer() {
|
||||||
if [ "$type" = 'keytest' ]; then
|
if [ "$type" = 'keytest' ]; then
|
||||||
_debug "**** Testing saved API Key ****"
|
_debug "**** Testing saved API Key ****"
|
||||||
_H1="Content-Type: application/x-www-form-urlencoded"
|
_H1="Content-Type: application/x-www-form-urlencoded"
|
||||||
content="type=commit&key=$_panos_key&action=partial&cmd=<commit><partial><admin><member>acmekeytest</member></admin></partial></commit>"
|
#Exclude all scopes for the empty commit
|
||||||
|
_exclude_scope="<policy-and-objects>exclude</policy-and-objects><device-and-network>exclude</device-and-network><shared-object>exclude</shared-object>"
|
||||||
|
content="type=commit&key=$_panos_key&cmd=<commit><partial>$_exclude_scope<admin><member>acmekeytest</member></admin></partial></commit>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate API Key
|
# Generate API Key
|
||||||
|
|
Loading…
Reference in New Issue