Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.23 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.23 KB

qualysx

Fast and reliable rust implementation of xml to json parser for qualys scans.

➡️ ddt file

Installation

Environment CLI command
Cargo (Rust 1.59+) cargo install qualysx

On Windows, Linux, and macOS, you can use the pre-built binaries.

How to use it

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.

... or use qualysx in your projects

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);
}

Contribute

Contributions are always welcome! Please create a PR to add Github Profile.

📝 License

This project is licensed under GPL-3.0 license.

👨‍🚀 Show your support

Give a ⭐️ if this project helped you!