Crates.io | qualysx |
lib.rs | qualysx |
version | 2.0.0 |
source | src |
created_at | 2023-08-07 15:34:47.552502 |
updated_at | 2023-08-07 15:34:47.552502 |
description | qualys serializer & deserializer |
homepage | |
repository | https://github.com/marcuccio/qualysx |
max_upload_size | |
id | 938047 |
size | 95,583 |
Fast and reliable rust implementation of xml to json parser for qualys scans.
:arrow_right: ddt file
qualysx -x qualys_report.xml > out.json
[WRN] Use with caution. You are responsible for your actions.
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
use qualysx::from_str;
fn main() {
let file: String = std::fs::read_to_string(xml).unwrap();
let scan: qualysx::Scan = qualysx::from_str(&file).unwrap();
let j = serde_json::to_string(&scan).unwrap();
println!("{}", j);
}
Contributions are always welcome! Please create a PR to add Github Profile.
This project is licensed under GPL-3.0 license.
Give a ⭐️ if this project helped you!