Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

OS autodetection #7

Open
puerco opened this issue Nov 23, 2022 · 4 comments
Open

OS autodetection #7

puerco opened this issue Nov 23, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@puerco
Copy link
Contributor

puerco commented Nov 23, 2022

We should enable darkfiles to autodetect what kind of OS it is looking at inside the image.

@puerco puerco added the enhancement New feature or request label Nov 23, 2022
@puerco
Copy link
Contributor Author

puerco commented Nov 23, 2022

/cc @zhiruih

@SetsuY
Copy link

SetsuY commented Nov 29, 2022

When I did DiffBOM I just look at known directories of package managers and see if scanning returns an SBOM. Perhaps that's a quick and easy way?

@SetsuY
Copy link

SetsuY commented Nov 29, 2022

#8 Did some light testing and it works

@puerco
Copy link
Contributor Author

puerco commented Nov 29, 2022

Yes exactly just adding some logic that looks for the expected files of each package manager should do trick. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants