Hi @noorbasha534 ,
The best practice here is to install the libraries in init script and configure the cluster to run the script at start-up:
1. Create init script, for example:
#!/bin/bash
wget -P /databricks/jars/ https://repo1.maven.org/maven2/com/example/library/1.0.0/library-1.0.0.jar
2. Store init script in cloud storage
3. Configure clusters to use init script:
- In your cluster settings, under Advanced Options > Init Scripts, specify the path to your init script.
![filipniziol_1-1728156702550.png filipniziol_1-1728156702550.png](/t5/image/serverpage/image-id/11708iEC0F06B7ACE3172A/image-size/medium?v=v2&px=400)
- This ensures every time a cluster starts, it installs the approved libraries automatically.
4. Integrate with CI/CD Pipelines:
- Incorporate the deployment of init scripts into your CI/CD process. This way, any updates to libraries go through screening and vulnerability checks before being deployed.