CycloneDX / specification

OWASP CycloneDX is a full-stack Bill of Materials (BOM) standard that provides advanced supply chain capabilities for cyber risk reduction. SBOM, SaaSBOM, HBOM, AI/ML-BOM, CBOM, OBOM, MBOM, VDR, and VEX
https://cyclonedx.org/
Apache License 2.0
362 stars 57 forks source link

document and revisit `taskType` #245

Closed jkowalleck closed 8 months ago

jkowalleck commented 1 year ago

_Originally posted by @jkowalleck in https://github.com/CycloneDX/specification/pull/222#discussion_r1211618704_

see also: https://github.com/CycloneDX/specification/pull/222#issuecomment-1570077893

@mrutkows reminded: should reflect CI/CD stages. There might be some standardization work done for the wordings.

this ticket is about adding documentation for TaskType and its Enum values. see https://github.com/CycloneDX/specification/blob/8af880d5f2ba0a107de88a920a76cedd5ba75083/schema/bom-1.5.schema.json#L3753

stevespringett commented 9 months ago

Is work being done on this for v1.6?

jkowalleck commented 9 months ago

@mrutkows could you provide the missing texts/docs for taskType? IIRC: You said you would provide them after 1.5 release, because you missed to do so before and ran out of time back then.

FYI @stevespringett i created this ticket as a reminder for CWG, that the docs were missing in 1.5

mrutkows commented 8 months ago

For background, see: https://experienceleague.adobe.com/docs/experience-platform/xdm/ui/fields/enum.html?lang=en

mrutkows commented 8 months ago

See example: https://github.com/CycloneDX/specification/blob/46ff114b2bf497da0286b4ce31082cc2739b5cf5/schema/bom-1.6.schema.json#L605

"enum": [
  "design",
  "pre-build",
  "build",
  "post-build",
  "operations",
  "discovery",
  "decommission"
],
"meta:enum": {
  "design": "BOM produced early in the development lifecycle containing inventory of components and services that are proposed or planned to be used. The inventory may need to be procured, retrieved, or resourced prior to use.",
  "pre-build": "BOM consisting of information obtained prior to a build process and may contain source files and development artifacts and manifests. The inventory may need to be resolved and retrieved prior to use.",
  "build": "BOM consisting of information obtained during a build process where component inventory is available for use. The precise versions of resolved components are usually available at this time as well as the provenance of where the components were retrieved from.",
  "post-build": "BOM consisting of information obtained after a build process has completed and the resulting components(s) are available for further analysis. Built components may exist as the result of a CI/CD process, may have been installed or deployed to a system or device, and may need to be retrieved or extracted from the system or device.",
  "operations": "BOM produced that represents inventory that is running and operational. This may include staging or production environments and will generally encompass multiple SBOMs describing the applications and operating system, along with HBOMs describing the hardware that makes up the system. Operations Bill of Materials (OBOM) can provide full-stack inventory of runtime environments, configurations, and additional dependencies.",
  "discovery": "BOM consisting of information observed through network discovery providing point-in-time enumeration of embedded, on-premise, and cloud-native services such as server applications, connected devices, microservices, and serverless functions.",
  "decommission": "BOM containing inventory that will be, or has been retired from operations."
}
jkowalleck commented 8 months ago

re https://github.com/CycloneDX/specification/issues/245#issuecomment-1932255820 @mrutkows could you fork this repo and do the changes in a feature branch from 1.6-dev, and open a pull request targeting that same branch.

mrutkows commented 8 months ago

@jkowalleck I deleted my stale fork and create a new one yesterday (which was the easiest path to pick up all the new branches) ;) https://github.com/mrutkows/specification

jkowalleck commented 8 months ago

re https://github.com/CycloneDX/specification/issues/245#issuecomment-1934671821 @mrutkows this might help in the future: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

mrutkows commented 8 months ago

re #245 (comment) @mrutkows this might help in the future: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

Unfortunately, the new GitHub GUI (the button in the article) will only sync existing branches in your current fork (as well as by default only syncing main/master branch for a new fork unless you uncheck a box)... and the command line would have me compose commands on a per-branch basis...

jkowalleck commented 8 months ago

closed via #377