GitLab CycloneDX property taxonomy

This document defines the namespaces and properties used by the gitlab namespace in the CycloneDX Property Taxonomy.

Where properties should be located

The Property of column describes what object a property may be attached to.

  • Properties attached to the metadata apply to all objects in the document.
  • Properties attached to an individual object apply to that object and any others nested underneath it.
  • Objects which may nest themselves (such as components) may only have properties applied to the top-level object.

gitlab namespace taxonomy

NamespaceDescription
metaNamespace for data about the property schema.
dependency_scanningNamespace for data related to dependency scanning.
container_scanningNamespace for data related to container scanning.

gitlab:meta namespace taxonomy

PropertyDescriptionProperty of
gitlab:meta:schema_versionUsed by GitLab to determine how to parse the properties in a report. Must be 1.metadata

gitlab:dependency_scanning namespace taxonomy

Properties

PropertyDescriptionExample valuesProperty of
gitlab:dependency_scanning:categoryThe name of the category or dependency group that the dependency belongs to. If no category is specified, production is used by default. production, development, test components

Namespaces

NamespaceDescription
gitlab:dependency_scanning:input_fileNamespace for information about the input file analyzed to produce the dependency.
gitlab:dependency_scanning:source_fileNamespace for information about the file you can edit to manage the dependency.
gitlab:dependency_scanning:package_managerNamespace for information about the package manager associated with the dependency.
gitlab:dependency_scanning:languageNamespace for information about the programming language associated with the dependency.

gitlab:dependency_scanning:input_file namespace taxonomy

PropertyDescriptionExample valuesProperty of
gitlab:dependency_scanning:input_file:pathThe path, relative to the root of the repository, to the file analyzed to produce the dependency. Usually, the lock file. package-lock.json, Gemfile.lock, go.sum metadata, component

gitlab:dependency_scanning:source_file namespace taxonomy

PropertyDescriptionExample valuesProperty of
gitlab:dependency_scanning:source_file:pathThe path, relative to the root of the repository, to the file you can edit to manage the dependency. package.json, Gemfile, go.mod metadata, component

gitlab:dependency_scanning:package_manager namespace taxonomy

PropertyDescriptionExample valuesProperty of
gitlab:dependency_scanning:package_manager:nameThe name of the package manager associated with the dependency npm, bundler, go metadata, component

gitlab:dependency_scanning:language namespace taxonomy

PropertyDescriptionExample valuesProperty of
gitlab:dependency_scanning:language:nameThe name of the programming language associated with the dependency JavaScript, Ruby, Go metadata, component

gitlab:container_scanning namespace taxonomy

Namespaces

NamespaceDescription
gitlab:container_scanning:imageNamespace for information about the scanned image.
gitlab:container_scanning:operating_systemNamespace for information about the operating system associated with the scanned image.

gitlab:container_scanning:image namespace taxonomy

PropertyDescriptionExample valuesProperty of
gitlab:container_scanning:image:nameThe name of the scanned image.registry.gitlab.com/gitlab-org/security-products/analyzers/gemnasium/tmp/main metadata, component
gitlab:container_scanning:image:tagThe tag of the scanned image.91d61f07e0a4b3dd34b39d77f47f6f9bf48cde0a metadata, component

gitlab:container_scanning:operating_system namespace taxonomy

PropertyDescriptionExample valuesProperty of
gitlab:container_scanning:operating_system:nameThe name of the operation system.alpine metadata, component
gitlab:container_scanning:operating_system:versionThe version of the operation system.3.1.8 metadata, component