added other FW exceptions to push-json.py, made panfwservices1.txt working (again)
This commit is contained in:
parent
fc5c1888d1
commit
5f0eb2bc4c
@ -4,7 +4,7 @@
|
|||||||
"size": "LARGE",
|
"size": "LARGE",
|
||||||
"segments": [
|
"segments": [
|
||||||
1636,
|
1636,
|
||||||
1673,
|
1637,
|
||||||
1638
|
1638
|
||||||
],
|
],
|
||||||
"billingTags": [
|
"billingTags": [
|
||||||
@ -15,26 +15,16 @@
|
|||||||
"maxInstanceCount": "1",
|
"maxInstanceCount": "1",
|
||||||
"minInstanceCount": "1",
|
"minInstanceCount": "1",
|
||||||
"licenseType": "PAY_AS_YOU_GO",
|
"licenseType": "PAY_AS_YOU_GO",
|
||||||
"version": "9.1.3",
|
"version": "10.0.6",
|
||||||
"tunnelProtocol": "IPSEC",
|
"tunnelProtocol": "IPSEC",
|
||||||
"type": "VM-300",
|
"type": "VM-300",
|
||||||
"credentialId": "",
|
"credentialId": "",
|
||||||
"bundle": "PAN_VM_300_BUNDLE_1",
|
"bundle": "VM_SERIES_BUNDLE_2",
|
||||||
"instances": [
|
"instances": [
|
||||||
{
|
{
|
||||||
"name": "PAN-US-instance-1",
|
"name": "PAN-US-instance-1",
|
||||||
"hostName": "PAN-US-instance-1",
|
"hostName": "PAN-US-instance-1",
|
||||||
"credentialId": ""
|
"credentialId": ""
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"segmentOptions": {
|
|
||||||
"1636": {
|
|
||||||
"segmentId": 1,
|
|
||||||
"zonesToGroups": {
|
|
||||||
"DEFAULT": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
15
push-json.py
15
push-json.py
@ -87,29 +87,30 @@ headers = {'Content-Type': "application/json"}
|
|||||||
url_exceptions = {
|
url_exceptions = {
|
||||||
"saas": "internet",
|
"saas": "internet",
|
||||||
"pan": "panfw",
|
"pan": "panfw",
|
||||||
"ftntfwservices": "ftnt-fw-services",
|
|
||||||
"chkpfwservices": "chkp-fw-services",
|
"chkpfwservices": "chkp-fw-services",
|
||||||
"ocivcnconnectors": "oci-vcn-connectors",
|
|
||||||
"ftntfwservices": "ftnt-fw-services",
|
"ftntfwservices": "ftnt-fw-services",
|
||||||
|
"ocivcnconnectors": "oci-vcn-connectors",
|
||||||
"remoteaccessconnectors": "alkira-remote-access-connector-templates"
|
"remoteaccessconnectors": "alkira-remote-access-connector-templates"
|
||||||
}
|
}
|
||||||
|
|
||||||
# URL Exceptions creating credentials
|
# URL Exceptions creating credentials
|
||||||
service_credentials = {
|
service_credentials = {
|
||||||
"panfwservices": "pan",
|
"chkpfwservices": "chkp-fw",
|
||||||
"ftntfwservices": "ftntfw",
|
"ftntfwservices": "ftntfw",
|
||||||
"chkpfwservices": "chkp-fw"
|
"panfwservices": "pan"
|
||||||
}
|
}
|
||||||
|
|
||||||
# URL Exceptions creating instance credentials
|
# URL Exceptions creating instance credentials
|
||||||
service_instance_credentials = {
|
service_instance_credentials = {
|
||||||
"ftntfwservices": "ftntfw-",
|
"chkpfwservices": "chkp-fw-",
|
||||||
"chkpfwservices": "chkp-fw-"
|
"ftntfwservices": "ftntfw-"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Global CIDR
|
# Global CIDR
|
||||||
service_global_cidr = [
|
service_global_cidr = [
|
||||||
"chkpfwservices"
|
"chkpfwservices",
|
||||||
|
"ftntfwservices",
|
||||||
|
"panfwservices"
|
||||||
]
|
]
|
||||||
|
|
||||||
# Credential Types
|
# Credential Types
|
||||||
|
Loading…
Reference in New Issue
Block a user