mirror of
https://github.com/jon4hz/suma-cve-audit-tool.git
synced 2025-12-19 08:05:47 +01:00
master
* version updates performance tuning db queries * Cargo fmt * API entrypoint for current audit data record of an errata loading current record in the audit form (draft) default trait for types * Load existing audit record on editing Bugfix for cve_audit_types * Update Changelog * Only query api when audit data is available * Default for ErrataExtended * First draft of audit reports * Remove debug * Draft errata_with_audit structure * API: List errata with audit Fixes in cve-audit-types * Improve CVE list selection * Version updates Route for ErrataAuditReport * Errataudit Report * Housekeeping for table cve_systems * Version updates * Only insert affected systems if anything changed * Fixes * version update iso8601 * Refactoring of UI * Fix unused warning Updated changelog * Fix compile warning * Badges with colour * Clippy findings. * Update bootstrat & jquery Prep dropdown to work * Fixe bad formatting * Update changelog * Fix merge error.
Suma-CVE-Audit-Tool
Small tool to track CVEs from SUSE Manager and keep an audit log.
Built in Rust.
Delivers:
- XML-RPC Client to interact with the SUSE Manager
- Common Structs and Types for re-use between back end and front end
- Front end based on 'yew' built with trunk
- Back end based on 'xmlrpc' client (own fork to use async) and 'reqwest'
Build
- Download/clone the repository.
- Build the cve-audit-types (
cargo buildor use the make file withmake build-commons) - Build the cve-audit-ui (
trunk buildor use the make file withmake build-web) - Build the cve-audit-tool (
cargo buildor use the make file)
Run
- Extract the build to the needed repository.
- Create a folder next to the executable called
config - Place the file
suma.tomlin it. - Run the executable
- Server is started at
127.0.0.1:8081
Contents of suma.toml
[default]
url = "https://suse-manager.home/rpc/api"
user = "rpc-user"
password = "secret"
Currently the [default] configuration-tag is necessary. Will be made more dynamic in the future.
Languages
Rust
50.8%
JavaScript
43.2%
CSS
3.9%
HTML
1.7%
Makefile
0.4%