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

Feature Request: new ComponentType "runtime" #233

Open
dcentrica opened this issue Jun 1, 2023 · 5 comments
Open

Feature Request: new ComponentType "runtime" #233

dcentrica opened this issue Jun 1, 2023 · 5 comments
Assignees
Milestone

Comments

@dcentrica
Copy link

At as v1.4 the only values accepted by components.type are as follows:

  • "application"
  • "framework"
  • "library"
  • "container"
  • "operating-system"
  • "device"
  • "firmware"
  • "file"

Having reviewed the definitions of each, none fits the bill to describe an application's runtime e.g. "JVM", "Python", "php-fpm" etc. These are programming language runtimes, and not "frameworks" or "libraries".

My suggestion is to add a new components.type of "runtime".

@stevespringett
Copy link
Member

CycloneDX v1.5 adds a few more component type. One of the new types is platform which is defined as

A runtime environment which interprets or executes software. This may include runtimes such as those that execute bytecode or low-code/no-code application platforms

@jkowalleck
Copy link
Member

jkowalleck commented Jun 1, 2023

JVM interprets byte code.
Python and php-fpm interprets (script) code.

PS: nowadays, some are actually just-in-time compilers, not pure interpreters.

@jkowalleck jkowalleck changed the title Feature Request: New Component Type "runtime" Feature Request: new ComponentType "runtime" Oct 13, 2023
@jkowalleck jkowalleck added this to the 1.6 milestone Oct 22, 2023
@jkowalleck jkowalleck self-assigned this Oct 22, 2023
@jkowalleck
Copy link
Member

jkowalleck commented Oct 22, 2023

@dcentrica what about using component.type value "platform" ?
We might adjust the documentation, to make clear that is serves the desired purpose. What would have helped you?

- A runtime environment which interprets or executes software. This may include runtimes such as those that execute bytecode or low-code/no-code application platforms.
+ A runtime environment which interprets or executes software. This may include runtimes such as those that execute bytecode, or just-in-time compilers, or low-code/no-code application platforms.

@jkowalleck
Copy link
Member

jkowalleck commented Oct 22, 2023

@stevespringett if we wanted to extend the docs and meaning of an enum, do we need to consult the @CycloneDX/industry-working-group ?

PS: got an answer offline: nope, not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants