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

Better documentation and logic writeup #355

Open
2 tasks
prabhu opened this issue Jun 15, 2023 · 0 comments
Open
2 tasks

Better documentation and logic writeup #355

prabhu opened this issue Jun 15, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@prabhu
Copy link
Collaborator

prabhu commented Jun 15, 2023

cdxgen tool is opinionated and takes a position under certain situations when generating the SBoM. The broader vision I had in mind when this was merely a hobby project was:

  • No nuts or gluten must be left behind - cdxgen would report everything it finds, including dev and test dependencies but would attempt to categorize them as optional dependencies (although using scope attribute to represent optionality is a regret that needs fixing at some point!)
  • Any SBoM is better than no SBoM - Often, security people might attempt to scan and generate SBoM for projects without the development tools like Java/Maven/Node.js installed. cdxgen would still work under these environments (by using fallback logic) but offer helpful messages to improve the SBoM accuracy

With growing popularity, it is time to start documenting the tool's logic, assumptions, and positions to help consumers and integrators. What would be nice is to add rich comments inline and find a way to export the documentation in markdown format to the repo.

Please recommend any suitable tools and techniques available for node.js projects.

@prabhu prabhu added documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed labels Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant