Skip to content

feat: bom.vulnerabilities data models and enums#419

Merged
jkowalleck merged 46 commits intomainfrom
thepwagner_model-bom-vulnerabilities
Feb 2, 2023
Merged

feat: bom.vulnerabilities data models and enums#419
jkowalleck merged 46 commits intomainfrom
thepwagner_model-bom-vulnerabilities

Conversation

@jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Jan 20, 2023

Add Vulnerabilties to the BOM model, including ENUMs as needed.

new models & ENUMs are marked as @beta - they are ready for usage and feedback, but might change without further notice.


this is part of #164


checklist:

  • pull contributed models from bom.vulnerabilities model #163
  • update branch - merge in latest master
  • get the coding styles applied
  • fix various compile errors
  • remove all those compare() methods from the contributed models. it has no effect, unless it comes to reproducible normalization.
  • review contributed models & ENUMs for plausibility, schema compliance JSON/XML, etc
  • sort out if we have a problem here: [BUG] VulnerabilityReference contradicting definition in JSON and XML specification#154
  • fix contributed ENUMs
    • design: move new ENUMs in an own namespace and strip this prefix
    • if needed: add docs/comments to ENUMs based on schema annotations
  • fix contributed models
    • design: move models in an own namespace and strip this prefix
    • rename those OptionalProperties interfaces to purpose and have them exported - according to latest API architecture
    • if needed: add docs/comments to interfaces, type, classes and properties - based on schema annotations
    • all repositories default to an instance - they must not be nullable
    • find the usage of contributed VulnerabilityAffectsVersion
    • find the usage of contributed VulnerabilityAffectsRange
  • review contributed tests
  • have working and running functional tests for the ENUMs
  • have working and running REASONABLE tests for the models
  • mark all new ENUMs and models as @beta
  • write HISTOY
  • update REAMDE - annotate models that are not yet normalizable.
  • 🏁 merge

Signed-off-by: Peter Wagner <1559510+thepwagner@users.noreply.github.com>
Signed-off-by: Peter Wagner <1559510+thepwagner@users.noreply.github.com>
Signed-off-by: Peter Wagner <1559510+thepwagner@users.noreply.github.com>
Signed-off-by: Peter Wagner <1559510+thepwagner@users.noreply.github.com>
@jkowalleck jkowalleck added the enhancement New feature or request label Jan 20, 2023
@jkowalleck jkowalleck self-assigned this Jan 20, 2023
@jkowalleck jkowalleck added this to the Bom.Vulnerabilities milestone Jan 20, 2023
@jkowalleck jkowalleck changed the base branch from main to feature/vulnerabilities January 24, 2023 08:38
@jkowalleck jkowalleck changed the title feat: bom.vulnerabilities data models feat: bom.vulnerabilities data models and enums Jan 24, 2023
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck force-pushed the thepwagner_model-bom-vulnerabilities branch from 410a614 to 20a1679 Compare January 24, 2023 12:29
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck marked this pull request as ready for review January 31, 2023 16:28
@jkowalleck jkowalleck requested a review from a team as a code owner January 31, 2023 16:28
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck force-pushed the thepwagner_model-bom-vulnerabilities branch from 76b49fd to a104945 Compare January 31, 2023 17:02
@jkowalleck jkowalleck changed the base branch from feature/vulnerabilities to main January 31, 2023 17:21
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck force-pushed the thepwagner_model-bom-vulnerabilities branch from 157c7dc to 19014fb Compare February 1, 2023 14:48
@jkowalleck jkowalleck merged commit 249ef31 into main Feb 2, 2023
@jkowalleck jkowalleck deleted the thepwagner_model-bom-vulnerabilities branch February 2, 2023 11:51
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