Add a homebrew cataloger#3724
Conversation
|
Thanks for the contribution @rezmoss ! I haven't been able to give this a proper review, but overall it looks like you've done the right things. I just wanted to note that contributions need to have all git commits signed-off, this will get DCO passing. |
5da8a21 to
e0d6354
Compare
* homebrew cataloger * uptd * fixed test * fixed test * fixed tests * fixed lint * inc schema ver * upt schema * fixed integration test * fixed integration tst * fixed test Signed-off-by: Rez Moss <hi@rezmoss.com>
Signed-off-by: Rez Moss <hi@rezmoss.com>
fixed DCO Signed-off-by: Rez Moss <hi@rezmoss.com> Signed-off-by: Rez Moss <hi@rezmoss.com>
add evd anno to test Signed-off-by: Rez Moss <hi@rezmoss.com>
e0d6354 to
ccef42e
Compare
Signed-off-by: Rez Moss <hi@rezmoss.com>
ccef42e to
d1e1ea2
Compare
|
Thanks for your feedback! @kzantow fixed the DCO issue and it's passing now, let me know if there's anything else to adjust, looking forward to your review ;) |
|
|
||
| case pkg.HomebrewMetadata: | ||
| typ = orgType | ||
| author = "auth" |
There was a problem hiding this comment.
If we don't have a specific author, it should default to no type / empty string so it gets omitted and output as NOASSERTION for supplier, or is this intended to mean "homebrew" somehow? Maybe homebrew itself is the supplier -- is there a way to verify a package came from the main homebrew or an alternate tap?
There was a problem hiding this comment.
I'm leaving this out since I don't have a good field for this yet
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This PR adds a new cataloger for homebrew on macos in syft, it scans installed homebrew packages and lets users generate sboms that include homebrew-installed software
This PR is intended for macos, future updates might add support for homebrew on linux and wsl2 @popey
Checklist