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

Add Erlang OTP Application cataloger #2403

Merged
merged 6 commits into from
Feb 2, 2024

Conversation

LaurentGoderre
Copy link
Contributor

@LaurentGoderre LaurentGoderre commented Dec 7, 2023

@github-actions github-actions bot added the json-schema Changes the json schema label Dec 7, 2023
@LaurentGoderre LaurentGoderre force-pushed the erlang-otp-cataloger branch 5 times, most recently from dda083a to 0a0caf4 Compare December 7, 2023 21:35
Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
go.mod Outdated Show resolved Hide resolved
Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
syft/pkg/erlang.go Outdated Show resolved Hide resolved
@wagoodman
Copy link
Contributor

I can spend a little time today getting this rebased and ready for review/merge

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@github-actions github-actions bot removed the json-schema Changes the json schema label Feb 2, 2024
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman force-pushed the erlang-otp-cataloger branch from 6f8fe24 to 2787029 Compare February 2, 2024 17:16
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman force-pushed the erlang-otp-cataloger branch from 02ff1c3 to c1e7645 Compare February 2, 2024 17:33
@wagoodman wagoodman changed the title Erlang otp cataloger Add Erlang OTP Application cataloger Feb 2, 2024
@wagoodman wagoodman added the enhancement New feature or request label Feb 2, 2024
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman
Copy link
Contributor

wagoodman commented Feb 2, 2024

I've made one function alteration: the OTP cataloger is only active in directory scans, not image scans. But I'm not 100% certain it's correct, would the *.app be indicative of an description? or evidence of an installation? For the meantime I'm going to assume that it should follow other description-based catalogers (if this is wrong we can open it up to image scans in another small follow up PR)

@wagoodman wagoodman merged commit d7b9cc7 into anchore:main Feb 2, 2024
11 checks passed
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
* Add cataloger for Erlang OTP applications

Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>

* Add OTP Package type and Purl for ErLang

Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>

* remove erlang OTP metadata type

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* use OTP purl type

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* restore otp fixture and adjust tests for dir-only results

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants