Fast and reliable rust implementation of xml to json parser for qualys scans.
➡️ ddt file
Environment | CLI command |
---|---|
Cargo (Rust 1.59+) | cargo install qualysx |
On Windows, Linux, and macOS, you can use the pre-built binaries.
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.
Add qualysx as dependency
cargo add qualysx
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!