You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently testing the functionality of Compliance Alert as it is one of the main requirements for OSS license scanning automation in my Organization. So, I was using the examples provided in the documentation using policies.yml and scan_codebase pipeline with cuckoo-filter package to test it out. However, I was never able to get the alerts configured in the policies.yml file.
The fix #786 has been merged in the main branch.
Could you try again with the latest changes and confirm everything is now working as expected.
Thanks!
I am currently testing the functionality of Compliance Alert as it is one of the main requirements for OSS license scanning automation in my Organization. So, I was using the examples provided in the documentation using
policies.yml
andscan_codebase
pipeline withcuckoo-filter
package to test it out. However, I was never able to get the alerts configured in the policies.yml file.license_policies: - license_key: mit label: Approved License compliance_alert: "" - license_key: mpl-2.0 label: Restricted License compliance_alert: warning - license_key: gpl-3.0 label: Prohibited License compliance_alert: error - license_key: cc-by-nc-sa-4.0 label: Prohibited License compliance_alert: error
However, when I use
scan_package
pipeline for the same package, the License policy and Compliance alert is working as expected.This is an expected output?
According to the documentation, license policy should be working for
scan_codebase
.ScanCode.io: 32.3.0
ScanCode-toolkit: 32.0.4
The text was updated successfully, but these errors were encountered: