Skip to main content

TIPCommon Library Installation

  • April 17, 2023
  • 8 replies
  • 230 views

Forum|alt.badge.img

How can I install TIPCommon Library in a custom integration ?

8 replies

Forum|alt.badge.img+1
  • New Member
  • April 30, 2023

Hi Alan, Here is my recommendation

1. You can look at one of the commercial integrations in the Marketplace -> Download Trend Vision integration for example that has the required TIP Common library version. The latest is 1.0.12.

2. Export the integration via the IDE to your local computer

3. Open the dependencies folder and locate the TIP Common package

4. Navigate to the integration you wanted to add this dependency to, press the configuration icon

5. On the script dependencies section in the Configuration , press the '+' icon to add a dependency

6. Add the TIP Common package

7. The end result should look like this:



Forum|alt.badge.img+2
  • Bronze 2
  • April 9, 2024

I add TIPCommon-1.1.5.2-py2.py3-none-any.whl but I cannot save

it error occured.


f3rz
Staff
Forum|alt.badge.img+10
  • Staff
  • April 9, 2024

Hi @thida TIPCommon library has prerequisites that's needs to be installed together with it. 
Therefore, I would recommend you to:

1. Find newest updated integration in Marketplace;
2. Install it from Marketplace;
3. Export it using IDE;
4. Unzip and find folder with all dependencies (.whl files)
5. Import all of them to your custom integration 

Hard way would be to figure out which dependencies are necessary and which not. 


Forum|alt.badge.img+2
  • Bronze 2
  • April 10, 2024

Thanks a lot,I could added "TIPCommon" in script dependencies successfully.😊


samryanturner
Forum|alt.badge.img+7

Are you able to tell us what dependencies it requires? Trying to keep things as lean as possible in our environment.


f3rz
Staff
Forum|alt.badge.img+10
  • Staff
  • September 18, 2024

Are you able to tell us what dependencies it requires? Trying to keep things as lean as possible in our environment.


Here's an example for TIPCommon 2.0.1:

Requires-Dist: google-api-python-client Requires-Dist: google-auth Requires-Dist: google-auth-httplib2 Requires-Dist: httpx Requires-Dist: pycryptodome Requires-Dist: requests

 You can find it by renaming TIPCommon with specific version from .whl to .zip, unzipping it and checking METADATA file in TIPCommon-version.dist-info (for example: TIPCommon-2.0.1.dist-info/METADATA)


samryanturner
Forum|alt.badge.img+7

Here's an example for TIPCommon 2.0.1:

Requires-Dist: google-api-python-client Requires-Dist: google-auth Requires-Dist: google-auth-httplib2 Requires-Dist: httpx Requires-Dist: pycryptodome Requires-Dist: requests

 You can find it by renaming TIPCommon with specific version from .whl to .zip, unzipping it and checking METADATA file in TIPCommon-version.dist-info (for example: TIPCommon-2.0.1.dist-info/METADATA)


Awesome thank you!


vanitharaj1208
Forum|alt.badge.img+14

Hi All,

I’m trying to follow the steps from this post to add dependencies via Chronicle SOAR → Script → Libraries → Script Dependencies:
 

What I’m doing

  • In a custom script ,upload .whl files under Script Dependencies.

  • Example wheels I tried:

    • google_api_python_client-2.161.0-py2.py3-none-any.whl

    • google_auth-2.38.0-py2.py3-none-any.whl

    • (I also tried others like google_auth_httplib2, requests, httpx, etc.)

Issue
When I click Save, I get a generic popup:

“An error has occurred. When reporting the issue to SecOps support, provide the identifier: xxxxxxxxxxxxx …”

There’s no detailed error in the UI, so I can’t tell which dependency is causing it or whether it’s a compatibility issue.

Questions

  1. Is there a known limitation on which wheel types are supported ?

  2. Do Script Dependencies require uploading all transitive dependencies (e.g., google-api-python-client requirements) in the exact order?

  3. Where can I find the detailed install/log output for the library installation failure ?

  4. Is there a recommended approach for dependencies like google-api-python-client / google-auth