Create Cloud Function ZIP
Before deploying the Cyware Intel Exchange integration, create a ZIP file containing the Cloud Function code and required modules. This ZIP will be used for both automatic and manual deployment.
Steps
To create a ZIP of the cloud function, follow these steps:
Download the common directory from the Git repository.
Download the ingestion script from the Git repository.
Create a ZIP with the following folder structure:
├── README.md ├── common │ ├── __init__.py │ ├── auth.py │ ├── auth_test.py │ ├── env_constants.py │ ├── ingest.py │ ├── ingest_test.py │ ├── ingest_v1.py │ ├── ingest_v1_test.py │ ├── status.py │ ├── utils.py │ └── utils_test.py ├── constant.py ├── exception_handler.py ├── exception_handler_test.py ├── main.py ├── main_test.py ├── requirements.txt ├── utility.py ├── utility_test.py ├── cyware_client.py └── cyware_client_test.py
The ZIP file is now ready and can be used for automatic or manual deployment of the Cloud function.