Skip to content

[K9VULN-11579] update all the component property name tags to use the datadog: prefix#107

Merged
cespio merged 2 commits intomainfrom
francesco.contaldo/K9VULN-11579-update-component-property-name-tags
Mar 6, 2026
Merged

[K9VULN-11579] update all the component property name tags to use the datadog: prefix#107
cespio merged 2 commits intomainfrom
francesco.contaldo/K9VULN-11579-update-component-property-name-tags

Conversation

@cespio
Copy link
Copy Markdown
Contributor

@cespio cespio commented Mar 5, 2026

Summary

  • Rename component property names from the deprecated osv-scanner: prefix to datadog: (e.g. osv-scanner:is-directdatadog:is-direct, osv-scanner:package-managerdatadog:package-manager). This aligns property naming with the Datadog namespace and removes the dependency on the OSV Scanner naming convention.
  • Remove the deprecated property name constants from models.go.
  • Add a test case for reachable-symbol-location metadata to improve coverage of the CycloneDX output path.

Details

The buildDatadogProperty helper in internal/output/sbom/cyclonedx.go already used the datadog: prefix for dynamically built properties. This PR ensures all property names are consistently namespaced under datadog:, removing the remaining osv-scanner: and datadog-sbom-generator: prefixed names.

All snapshot files have been updated to reflect the new property names.

Test plan

  • Existing snapshot tests pass with the updated property names
  • New reachable-symbol-location test case passes

@cespio cespio requested a review from a team as a code owner March 5, 2026 17:43
@datadog-datadog-prod-us1

This comment has been minimized.

@cespio cespio merged commit 00e74cb into main Mar 6, 2026
11 checks passed
@cespio cespio deleted the francesco.contaldo/K9VULN-11579-update-component-property-name-tags branch March 6, 2026 11:04
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

Successfully merging this pull request may close these issues.

2 participants