Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌸 Pull Wequest: Bwinging Some Kawaii Magic! 🦄✨ #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 14 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
# golang-rpm-oval-parser
A simple parser for rpm oval xml files written in go
# Golang RPM Oval Parser

This repository hosts a simple parser crafted for RPM Oval XML files, implemented in Go.

This is an example on how to parse OVAL files for getting vulnerabilities definitions
for an RPM based distribution.
The code serves as an illustration of how to extract vulnerability definitions specifically tailored for RPM-based distributions from OVAL files.

More info on OVAL: https://oval.cisecurity.org/
## What is OVAL?
Find more information about the Open Vulnerability and Assessment Language (OVAL) [here](https://oval.cisecurity.org/).

OVAL files for SUSE
http://ftp.suse.com/pub/projects/security/oval/
## OVAL Files Resources
- SUSE: [SUSE OVAL Files](http://ftp.suse.com/pub/projects/security/oval/)
- RedHat: [RedHat OVAL Files](https://www.redhat.com/security/data/oval/)
- Oracle: [Oracle OVAL Files](https://linux.oracle.com/oval/)

OVAL files for RedHat
https://www.redhat.com/security/data/oval/
## Usage
- Build the parser: `go build`
- Run it using: `./golang-rpm-oval-parser FILE.xml`
- Explore the test directory for sample files to test the parser's functionality.

OVAL files for Oracle
https://linux.oracle.com/oval/

Usage:

build it with: go build

you can run with ./golang-rpm-oval-parser FILE.xml

you can use files in test directory for testing the parser
Feel free to use this parser to efficiently extract vulnerability information from OVAL files for RPM-based distributions. Contributions and feedback are always appreciated!