- Overview
- Users
- Managing Models and Releases
- Uploading Artifacts
- Creating a Model
- Completing the Model
- Creating a Release
- Uploading Files
- Uploading Images
- Using a Model
- Requesting Access
- Personal Access Tokens
- Using a a Pushed Docker Image
- Downloading files
- Reviews
- Reviewing Releases and Access Requests
- Reviewing a Release
- Reviewing an Access Request
- Reviewed Releases and Access Requests
- Releases
- Access Requests
- Programmatically using Bailo
- Authentication
- Open API
- Webhooks
- Python Client
- Administration
- Getting Started
- App Configuration
- Microservices
- File Scanners
- Helm
- Basic Usage
- Configuration
- Isolated Environments
- Schema
- Create a Schema
- Upload a Schema
- Migrations
- Bailo v0.4
- Bailo v2.0
- DataBase Scripts
File Scanners
Within Bailo, it is possible to optionally deploy file scanners which are designed to help manage any potential risk of files being uploaded with potentially malicious contents. We provide two file scanners by default: ClamAV and ModelScan.
ClamAV
We use the docker image with a custom connector to communicate with ClamAV using clamscan.
ClamAV® is an open-source antivirus engine for detecting trojans, viruses, malware & other malicious threats.
ModelScan
We have a dockerised REST API to programmatically interact with ModelScan via a custom connector.
ModelScan is an open source project from Protect AI that scans models to determine if they contain unsafe code. It is the first model scanning tool to support multiple model formats. ModelScan currently supports: H5, Pickle, and SavedModel formats. This protects you when using PyTorch, TensorFlow, Keras, Sklearn, XGBoost, with more on the way.
Minimal Configuration
Name | Description | Value |
---|---|---|
connectors.fileScanners.kinds | A list of the file scanner names to enable | [] |
connectors.fileScanners.retryDelayInMinutes | Number of minutes between scans on a given file | 60 |
connectors.fileScanners.maxInitRetries | Number of times the microservice is attempted to be reached before failing at startup | 5 |
connectors.fileScanners.initRetryDelay | Delay between successive microservice pings in milliseconds | 5000 |
Copyright © Crown Copyright 2025.