26 stable releases (6 major)

6.1.2 Nov 11, 2024
6.0.0 Aug 26, 2024
5.1.1 Aug 20, 2024
5.0.0 Apr 29, 2024
0.1.0 Jul 26, 2022

#370 in Web programming

Download history 138/week @ 2024-07-29 131/week @ 2024-08-19 168/week @ 2024-08-26 23/week @ 2024-09-16 28/week @ 2024-09-23 20/week @ 2024-09-30 200/week @ 2024-10-07 5/week @ 2024-10-14 108/week @ 2024-10-21 19/week @ 2024-10-28 4/week @ 2024-11-04 125/week @ 2024-11-11

256 downloads per month

MIT license

62KB
1.5K SLoC

gdata-vaas

An SDK to easily utilize G DATA VaaS.

Verdict-as-a-Service (VaaS) is a service that provides a platform for scanning files for malware and other threats. It allows easy integration in your application. With a few lines of code, you can start scanning files for malware.

What does the SDK do?

It gives you as a developer a functions to talk to G DATA VaaS. It wraps away the complexity of the API into 5 basic functions.

for_sha256

If you calculate the sha256 for a file, you can request that sha256 against G DATA VaaS. It's the fastest way to get a verdict from our service.

for_sha256_list

You can also request multiple sha256 with a single function call.

for_url

If you want to request if a file behind a URL is safe, you can specify the URL as well. Depending on the file size, the duration for the analysis can vary.

for_file

You can also ask for a file itself. You will still get the benefit of a fast verdict via Sha256 because the SDK will do that for you first. But additionally, if we don't know the file, the file will get uploaded and (automatically) analyzed by us.

for_file_list

You can also request multiple files with a single function call.

How to use

Installation

cargo add vaas

Examples

For more insights about the api, please check out our documentation on Docs.rs.

I'm interested in VaaS

You need credentials to use the service in your application. If you are interested in using VaaS, please contact us.

Developing with Visual Studio Code

Every single SDKs also includes Devcontainer. If you use the Visual Studio Code Dev Containers extension, you can run the code in a full-featured development environment.

Dependencies

~12–26MB
~388K SLoC