- create output CSV file to be used in Tenant UI "import policy"
- Works only with the Profile "All"
This code will create an example Internet Security Policy that follows CIPA Compliance requirements using the Ericom Security platform. Ericom Web Security will perform filtering and protection. The cipa_categories.csv file is used as an input file and can be modified with additional Ericom Web Security categories based on current CIPA requirements.
Note: The full category list can be seen in the Ericom tenant portal. You can also call the API endpoint. See Ericom API for more details. Reference endpoint /api/v1/policies/categories/names.
- Access to ZTAdmin portal
- Ericom Security API key
- Python3
git clone git clone https://github.com/JeffGiroux/ericom-cipa-compliance.git
cd ericom-cipa-compliance
pip3 install -r requirements.txt
-
Update cipa_categories.csv as needed using current CIPA requirements.
-
Execute python command.
Syntax:
python3 create_cipa_policy.py <Tenant ID> <API Key> </folder/Output-CSV-file>
Example:
python3 create_cipa_policy.py 555-444-333-222-111 keyAAABBBCCC ./output.csv
Authenticating and retrieving token...
Creating CIPA policy...
Updating Default policy...
Done!
- View results
Example Output in CSV file:
{TBD -- sample-json-output}