Scan file in batch

Using /file API

For scanning file we are using the traditional /file API. These are just additions to Process a file:



batch (OPTIONAL)

Batch id to scan with, coming from Initiate Batch (If it is not given, it will be a single file scan.)


If rule header is set, then it MUST match the one configured for the choosen batch otherwise the request will result in error

user-agent (OPTIONAL)

If batch is set, this won't be used (provide compatibility for user_agent also, user-agent is the higher priority if both present)