Comments (2)
I thought the fix is simple as:
diff --git a/commands/fetch-suse.go b/commands/fetch-suse.go
index 3090cb1..2f08b74 100644
--- a/commands/fetch-suse.go
+++ b/commands/fetch-suse.go
@@ -191,7 +191,7 @@ func (p *FetchSUSECmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interfac
roots := models.ConvertSUSEToModel(&ovalroot, suseType)
for _, root := range roots {
root.Timestamp = time.Now()
- if err := driver.InsertOval(c.OpenSUSE, &root, fmeta); err != nil {
+ if err := driver.InsertOval(suseType, &root, fmeta); err != nil {
log15.Error("Failed to insert oval", "err", err)
return subcommands.ExitFailure
}
but it seems that walking on the oval xmls is broken... I investigated it a little bit and it seems that the osVer is not set as expected in walkSUSE
from goval-dictionary.
is this fixed?
Do we fetch suse oval properly now?
from goval-dictionary.
Related Issues (20)
- fetch debian 8 is not working HOT 2
- Support Amazon 22 HOT 1
- Failed to HMGet. Some fields do not exist. continue scanning on redis-backend
- Rocky Linux support HOT 2
- Debian oval does not seems to be parsed correctly HOT 1
- Ubuntu oval definitions aren't up to date
- border effect when reading data : redis::GetByPackName - breaks on a redis cluster with RO slaves HOT 2
- fetchAlpine calls InsertOval twice per version
- Fail : Fetch Security Updates from Fedora 32 33
- --log-to-file option missing
- CLI help for fetch command is incomplete HOT 3
- The fetched OVAL has not been updated for 3 days for all ubuntu versions HOT 5
- Error inserting Ubuntu OVAL
- RHEL oval v1 archive location was changed. HOT 2
- Fetch a modified version of LIVEPATCH on Amazon Linux
- Fail : Fetch Security Updates from Fedora 36
- Please set User-Agent to a meaningful value HOT 1
- "The fetched OVAL has not been updated for 3 days" for RHEL HOT 1
- Fedora Fetch not existing HOT 2
- SLES oval DB is broken HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goval-dictionary.