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

Typed packaged data #12

Closed
jedevc opened this issue Jan 19, 2023 · 1 comment
Closed

Typed packaged data #12

jedevc opened this issue Jan 19, 2023 · 1 comment

Comments

@jedevc
Copy link
Contributor

jedevc commented Jan 19, 2023

We have basic support for typed packages:

go-imageinspect/sbom.go

Lines 33 to 36 in 94b9479

type SBOM struct {
AlpinePackages []Package `json:",omitempty"`
UnknownPackages []Package `json:",omitempty"`
}

We should extend this to the core packages we commonly use in Docker projects so we can check this works 🎉

  • Go packages
  • Debian/Ubuntu packages
  • Alpine packages

We should also ideally rework the structures to be unique for each package, since packages of type X may allow different fields than packages of type Y. They should have a common base though, since many fields are shared.

If we can, it would be good to capture the graph-relationships between packages, which syft/other scanners have the potential to generate.

@tonistiigi
Copy link
Member

Replaced by #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants