An open API service indexing awesome lists of open source software.

https://github.com/vuldb/vuldb-api-rust-examples

VulDB Rust code to fetch data via API
https://github.com/vuldb/vuldb-api-rust-examples

api api-client cve nvd rust rust-lang vulnerabilities vulnerability vulnerability-analysis vulnerability-database vulnerability-database-entry vulnerability-databases vulnerability-identification vulnerability-management

Last synced: 3 days ago
JSON representation

VulDB Rust code to fetch data via API

Awesome Lists containing this project

README

          

# vuldb-api-rust-examples
VulDB Rust code to fetch data via API

VulDB is the number 1 vulnerability database worldwide. Our specialists work with the crowd-based community to document the latest vulnerabilities on a daily basis since 1970. Besides technical details there are additional threat intelligence information like current risk levels and exploit price forecasts provided.

VulDB provides a simple, reliable and efficient API. This interface allows to initiate queries for single entries or collection of items. It does also support transactional bots which implement robotic business process automation (BPA). For example collecting data in Splunk and other correlation tools. You may find code examples and various tools in our official GitHub repository.

---
To execute the rust API demo, you will have to setup a rust project first:
```bash
cargo new vuldb_api_demo
cd vuldb_api_demo
```
Add the dependencies to the `Cargo.toml`:
```toml
[dependencies]
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
```
Then update the `src/main.rs` using the provided program.
Now build and run the project:
```bash
cargo build
cargo run
```