FE/BE - [License Approvals] - Define YAML additions for License Approvals
Task
Define the YAML updates to support License Scanning scan result policies
The following is the proposal and the reasoning behind it:
---
rules:
- type: license_finding
branches: []
match_on_inclusion: true
license_types:
- BSD
- MIT
license_states:
- newly_detected
- detected
Property | Type | Existing | Description |
---|---|---|---|
type | enum | true | it will support license_finding in addition to scan_finding . |
branches |
array | true | the only shared property with scan_finding rules. |
match_on_inclusion |
boolean | false | true for matching on inclusion and false for matching on exclusion/exception. |
license_types |
array | false | each unique string representing one license type |
license_states |
array | false | similar to vulnerability_states but would only support newly_detected and detected . |
Edited by -