Skip to content

fix(sbom): fix false positives in monthly license audit#26954

Merged
mrpollo merged 1 commit intomainfrom
claude/fix-license-audit-checks-HasEI
Apr 2, 2026
Merged

fix(sbom): fix false positives in monthly license audit#26954
mrpollo merged 1 commit intomainfrom
claude/fix-license-audit-checks-HasEI

Conversation

@mrpollo
Copy link
Copy Markdown
Contributor

@mrpollo mrpollo commented Apr 2, 2026

The monthly SBOM audit was creating issues for submodules that already had valid overrides in license-overrides.yaml. This happened because the workflow grepped for bare "NOASSERTION" anywhere in the verify output, which matched the Detected column even when the Final column was correctly resolved via override (e.g. libtomcrypt detected as NOASSERTION but overridden to Unlicense). Additionally, submodules with an intentional NOASSERTION override like libfc-sensor-api (proprietary, no LICENSE file) were still counted as failures despite being explicitly acknowledged.

This fixes three things: the workflow now greps for the specific "<-- UNRESOLVED" marker instead of bare "NOASSERTION", the verify logic treats explicit NOASSERTION overrides as acknowledged rather than failures, and adds the missing BSD-3-Clause override for sitl_gazebo-classic which has no LICENSE file in its repo.

Fixes #26932

Three issues caused the monthly audit to report already-resolved submodules:

1. The audit workflow grepped for "NOASSERTION" anywhere in the output,
   matching the Detected column even when the Final column had a valid
   override (e.g. libtomcrypt detected as NOASSERTION but overridden to
   Unlicense). Changed to grep for "<-- UNRESOLVED" marker instead.

2. Submodules with an explicit NOASSERTION override in license-overrides.yaml
   (like libfc-sensor-api, which is proprietary) were still counted as
   failures. Now treated as "acknowledged" since someone intentionally
   added the override entry.

3. Added missing BSD-3-Clause override for sitl_gazebo-classic (PX4 org
   project with no LICENSE file in repo).

Fixes #26932

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
@mrpollo mrpollo force-pushed the claude/fix-license-audit-checks-HasEI branch from 836fbde to 42b9fba Compare April 2, 2026 16:33
@mrpollo mrpollo merged commit 685f924 into main Apr 2, 2026
79 checks passed
@mrpollo mrpollo deleted the claude/fix-license-audit-checks-HasEI branch April 2, 2026 17:15
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.

chore(sbom): license audit found NOASSERTION entries on main (2026-04-01)

1 participant