Skip to content

Commit 7cea996

Browse files
authored
Create policy2-api-def.json
1 parent a368ad4 commit 7cea996

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "myproject_license_policy",
3+
"type": "license",
4+
"author": "admin",
5+
"rules": [
6+
{
7+
"name": "blacklist_apache",
8+
"priority": 1,
9+
"actions": {
10+
"block_download": {
11+
"unscanned": true,
12+
"active": true
13+
}
14+
},
15+
"criteria": {
16+
"banned_licenses": [
17+
"Apache-2.0"
18+
],
19+
"allow_unknown": false
20+
}
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)