Comments (11)
Would it be better to copy linux.go and re-format it for BSD and include the package check? Or just appended it to linux.go if def style? looking to fix this for fun today, just not sure the best way to go about it.
from vuls.
I think vuls can support many package distribution systems like yum/RPM, apt, and so on.
I want to add some pkg platforms like followings.
FreeBSD: pkg
OS-X: HomeBrew
and
pkgsrc (mainly used by NetBSD but can use Solaris/Linux/BSD/AIX...)
from vuls.
So maybe a new file specifically providing functions for package managers? I would start hacking away but i wan't to make sure my goals are aligned with the repo owners.
from vuls.
For example,.
HomeBrew can get installed package version using ' brew ls --versions '
FreeBSD/pkg system can get installed package version using ' pkg version ' or ' pkg info '
and shows package audit information using 'pkg audit -F' .
from vuls.
@justyntemme
Sorry for late reply. I am repo owner.
Current Structure is
- linux.go
- redhat.go
- debian.go
linux is a base struct. I was considered to define common functions of debian / redhat to linux. But now, common functions related linux archicture is none :)
So I am going to change the name of linux.go to something good name.
Please add freebsd.go under linux.go for now.
- linux.go
- redhat.go
- debian.go
- freebsd.go
I don't know so much about FreeBSD and I don't have FreeBSD machine now.
The structure may be changed after your hacking or pull request :)
from vuls.
I have a little bit of experience in BSD. I spinning up a VM and will get to work. plan to go as described all in linux.go if things work as planned. Don't see any reason why it wouldn'tB.
from vuls.
@justyntemme are working.
https://github.com/justyntemme/vuls
from vuls.
Sorry for late reply.
I think linkx.go will rename to target_common.go, so looks clean of hierarchical structure.
sorry for my poor english.
from vuls.
I have renamed linux.go to target_common.go in my fork. Progress is slow but feature is on it's way.
from vuls.
see also #98
from vuls.
FreeBSD support was implemented.
The remaining of FreeBSD is Jail(container) Support.
Jail support is working on #102
from vuls.
Related Issues (20)
- Having redhat section when scanning ubuntu vm HOT 1
- Question: Heatmap Category Count HOT 2
- Windows not shown in supported OS list HOT 3
- Support for Fedora is not working HOT 1
- Remote scan from Linux to Windows fails
- Results of the scan & report seem odd HOT 3
- Issue in trivy to vuls convertor HOT 1
- How to remove password from the logs ? HOT 1
- no information in "title" field for vuls scan on ubuntu vm HOT 6
- Error on json report : err: json: cannot unmarshal object into Go struct field Nvd.Cvss2 of type HOT 2
- A lot of bugs are there
- How is server/json mode expected to work for windows ? HOT 1
- false positive redhat unpatched vulnerability HOT 2
- severity is different for each scan on debian
- failed to get modularitylabel on RedHat HOT 1
- Enhanced kernel package check with multiple versions installed HOT 1
- The enhancement of the amount of cveContents information included in trivy-to-vuls HOT 1
- Difference in cve contents between vuls report and trivy-to-vuls
- Support for alpine is not actually in place despite the OS being listed as supported HOT 1
- Multiple versions are detected in some packages on Debian-based distributions HOT 1
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 vuls.