added other FW exceptions to push-json.py, made panfwservices1.txt working (again)

This commit is contained in:
mischa 2022-07-08 22:16:16 +02:00
parent fc5c1888d1
commit 5f0eb2bc4c
2 changed files with 12 additions and 21 deletions

View File

@ -4,7 +4,7 @@
"size": "LARGE",
"segments": [
1636,
1673,
1637,
1638
],
"billingTags": [
@ -15,26 +15,16 @@
"maxInstanceCount": "1",
"minInstanceCount": "1",
"licenseType": "PAY_AS_YOU_GO",
"version": "9.1.3",
"version": "10.0.6",
"tunnelProtocol": "IPSEC",
"type": "VM-300",
"credentialId": "",
"bundle": "PAN_VM_300_BUNDLE_1",
"bundle": "VM_SERIES_BUNDLE_2",
"instances": [
{
"name": "PAN-US-instance-1",
"hostName": "PAN-US-instance-1",
"credentialId": ""
}
],
"segmentOptions": {
"1636": {
"segmentId": 1,
"zonesToGroups": {
"DEFAULT": [
"Users"
]
}
}
}
]
}

View File

@ -87,29 +87,30 @@ headers = {'Content-Type': "application/json"}
url_exceptions = {
"saas": "internet",
"pan": "panfw",
"ftntfwservices": "ftnt-fw-services",
"chkpfwservices": "chkp-fw-services",
"ocivcnconnectors": "oci-vcn-connectors",
"ftntfwservices": "ftnt-fw-services",
"ocivcnconnectors": "oci-vcn-connectors",
"remoteaccessconnectors": "alkira-remote-access-connector-templates"
}
# URL Exceptions creating credentials
service_credentials = {
"panfwservices": "pan",
"chkpfwservices": "chkp-fw",
"ftntfwservices": "ftntfw",
"chkpfwservices": "chkp-fw"
"panfwservices": "pan"
}
# URL Exceptions creating instance credentials
service_instance_credentials = {
"ftntfwservices": "ftntfw-",
"chkpfwservices": "chkp-fw-"
"chkpfwservices": "chkp-fw-",
"ftntfwservices": "ftntfw-"
}
# Global CIDR
service_global_cidr = [
"chkpfwservices"
"chkpfwservices",
"ftntfwservices",
"panfwservices"
]
# Credential Types