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

Bundles: Collection of vulnerabilities #33

Closed
cedricbonhomme opened this issue Apr 11, 2024 · 2 comments · Fixed by #47
Closed

Bundles: Collection of vulnerabilities #33

cedricbonhomme opened this issue Apr 11, 2024 · 2 comments · Fixed by #47
Assignees
Labels
enhancement New feature or request

Comments

@cedricbonhomme
Copy link
Collaborator

We discussed about the idea of having collections/sets of vulnerabilities.

Basically a collection has a name and a set of vulnerabilities.

The set of vulnerabilities can be cherry picked manually or via expressions created by the user (key/value) which will result in a dynamic collection. This can lead to nested queries in JSON objects. For example if we want the collection of vulnerabilities with an attackComplexity set to LOW. Just as example...

Maybe first implement static collections.

@adulau
Copy link
Member

adulau commented Apr 12, 2024

Maybe the easiest would be a very simple approach like we do for misp-galaxy. We have a set of keys for the collection like name, description, creator, last_updated, list_of_vulnerability_references and then a meta which could contain additional field set locally by the contributor.

@adulau adulau added the enhancement New feature or request label Apr 12, 2024
@cedricbonhomme cedricbonhomme changed the title Collection of vulnerabilities Bundles: Collection of vulnerabilities Jul 4, 2024
@cedricbonhomme cedricbonhomme self-assigned this Jul 4, 2024
@cedricbonhomme
Copy link
Collaborator Author

I just created a new branch dedicated to the development of the bundles feature. The draft JSON schema is here.
It is quite close to the JSON schema for the comments, here.

The main difference is that the array related_vulnerabilities is now mandatory.
I remove the filed ''vulnerability''
Comments have ''name''. Whereas bundles have a ''title''. The terminology is slightly different. But I can use the same terminology if you think that it's best.

@cedricbonhomme cedricbonhomme linked a pull request Jul 5, 2024 that will close this issue
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 a pull request may close this issue.

2 participants