Some vmod methods have an "online" input field. What is it used for?

There are currently five methods that include the "online" input field: GetLatestInstaller(50300), InstallFromFiles(50301), GetProductPatchLevel(50500), IsDefunct(50502), GetRemediations(50503), and GetProductVulnerability(50505).

When you set the "online" input field to 1, these methods will use the online database specified during wa_api_setup with the "online_database_uri" input field, instead of the offline database loaded by LoadPatchDatabase(50302) or ConsumeOfflineVmodDatabase(50520).

Opswat publishes the cloud database under the name full_db.zip. Its contents should be mirrored properly on a CDN and be accessible via the URI specified by the "online_database_uri" input field in the wa_api_setup call. New files can be added, and existing files can be deleted or modified. Currently, online mode supports patching for third-party products using only the GetLatestInstaller and InstallFromFiles methods.

Example of how to use online mode:

Text
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard