Override License Decisions
Manually set or correct the license assigned to components when auto-detection is incorrect or needs updating.
Prerequisites
Before you begin, ensure you have:
- A repository with license risks identified
- Project admin or owner permissions
- Knowledge of the correct license for the component (verify from official source)
Why Override a License
You might override a license when:
- Auto-detection failed - No license was detected but the component has one
- Wrong license detected - The tool detected the wrong license
- Multiple licenses - The component has multiple licenses and you want to specify which applies
- Updated package - The component’s license changed in a newer version
- Business decision - You’ve made a deliberate choice to use a different license
Access License Override Interface
- Navigate to Organization → Project → Repository → License Compliance
- Find the component with the license you want to override
- Click on the component row to view details
Select Correct License
In the license details view:
- Look for the “Corrected to License” field
- If it shows “Not yet corrected”, click to edit
- A dropdown appears with approved licenses
Available license categories:
Permissive Licenses - Allow commercial use with attribution
- Apache-2.0 - Widely used, business-friendly
- MIT - Simple, minimal restrictions
- BSD 2-Clause, BSD 3-Clause - Flexible, attribution required
- ISC - Similar to MIT
Unsure which license applies? Check the component’s official repository, LICENSE file, or package metadata on the registry (npm, PyPI, Maven, etc.).
Override Steps
- Click the component in the license risks list
- Review current license shown in the risk details
- Select new license from the approved licenses dropdown
- Provide justification - Required field:
- Why you’re overriding (e.g., “Verified as MIT from package.json”)
- Business context (e.g., “Accepted due to component criticality”)
- Optionally add comment for additional context
- Confirm the override
The decision is immediately recorded and the component moves to “Resolved” status.
License Override Examples
Example 1: Auto-detection missed the license
Scenario: React library shows “no license detected”
- Open the React component in License Compliance
- Check the official React repository → MIT license confirmed
- Select “MIT” from dropdown
- Justification: “Verified as MIT from React GitHub repository”
- Confirm override
Example 2: Dual-licensed component
Scenario: Component can be used under GPL-2.0 OR Apache-2.0
- Open the component
- Review both licenses available
- Select “Apache-2.0” (your organization prefers permissive)
- Justification: “Dual-licensed; selected Apache-2.0 per organizational policy”
- Confirm
Example 3: Custom license discovered
Scenario: Internal component with custom license
- Open the component
- If your custom license isn’t in the dropdown, contact your administrator
- Alternatively, select closest matching OSI-approved license
- Justification: “Internal component; mapped to [license type] for compliance purposes”
- Confirm
Bulk Override Operations
For multiple components with the same issue:
- Identify the pattern - All components with same problem (e.g., all missing licenses)
- Contact administrator for bulk operations
- DevGuard admin can apply the same decision to multiple components
- Each decision is tracked separately for audit purposes
View Override History
To see all license override decisions:
- Go to License Compliance view
- Look for resolved issues (click Resolved tab)
- Click on any resolved license issue
- View the Decision History showing:
- Original detected license
- Overridden to license
- Who made the decision
- When it was made
- Justification provided
- Any comments
Correct or Update Overrides
If you need to change a previous override:
- Navigate to the resolved license issue
- Click Modify Decision
- Select new license (or revert to original)
- Provide reason for the change
- Confirm update
The old decision is preserved in audit trail, and the new decision becomes active.
Impact on Compliance Reports
License overrides affect:
- SBOM exports - Include the overridden license
- Compliance dashboards - Show corrected license status
- Audit reports - Document all decisions with justification
- VEX documents - Include license exceptions
Revert an Override
To go back to original auto-detected license:
- Open the overridden license
- Click Revert Override
- Provide reason (e.g., “Auto-detection now correct in newer version”)
- Confirm reversion
The original license becomes active again, but the override history remains for audit purposes.
Validate Your Overrides
Best practices for accuracy:
- Always verify against official sources
- Document your source in justification field
- Review regularly - Licenses can change between versions
- Team review - Have another team member confirm important decisions
- Audit trail - Keep detailed justifications for compliance audits
Incorrect license assignments can create legal risks. Always verify licenses against the official package source before overriding.
Common Mistakes to Avoid
- Guessing licenses - Always verify from official source
- Not documenting - Always provide clear justification
- Ignoring copyleft - GPL licenses require special handling
- Forgetting to override - Both direct and transitive dependencies need review
- Manual overrides forever - Monitor for fixes in package metadata
Next Steps
- License Compliance Management - Overall license strategy
- Export SBOM - Export with corrected licenses
- Manage Component Search - Find all uses of a component