- initial repository
- identify necessary API calls
This code will automate Service Provider onboarding for Ericom Security. The API endpoints for Ericom will be called to setup the tenant and traffic filtering policies.
- Access to ZTAdmin portal
- Ericom Security API key
- Python3
git clone https://github.com/JeffGiroux/ericom-sp-onboarding.git
cd ericom-sp-onboarding
pip3 install -r requirements.txt
-
TBD - Update variables
-
Execute python command.
Syntax:
python3 sp_onboard.py <Tenant ID> <API Key>
Example:
python3 sp_onboard.py 555-444-333-222-111 keyAAABBBCCC
Authenticating and retrieving token...
TBD...status "tenant onboarded"
Done!
- View results
TBD - validate tenant and policies in Ericom.
-
TBD - Update variables
-
Execute python command.
Syntax:
python3 sp_decommission.py <Tenant ID> <API Key>
Example:
python3 sp_decommission.py 555-444-333-222-111 keyAAABBBCCC
Authenticating and retrieving token...
TBD...status "tenant decommed"
Done!