-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolicy-adapters.json
More file actions
68 lines (68 loc) · 1.81 KB
/
Copy pathpolicy-adapters.json
File metadata and controls
68 lines (68 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"schema_version": "ocr.review-context-policy/v2",
"budgets": {
"max_records": 32,
"max_chars": 48000,
"max_bytes": 96000,
"max_lines": 1200,
"timeout_ms": 15000
},
"forge_discussions": {
"required": false,
"account_classes": ["automation", "user"],
"include_resolved": false,
"include_outdated": false,
"max_age_seconds": 2592000,
"max_threads": 20,
"max_replies_per_thread": 10,
"max_items": 100,
"budgets": {
"max_chars": 12000,
"max_bytes": 24000,
"max_lines": 300
},
"projections": {
"retrieve": ["descriptor", "digest", "expiry", "state", "text", "version"],
"model": ["descriptor", "state", "text"],
"publish": ["descriptor", "state"],
"retain": ["digest", "expiry", "state", "version"]
}
},
"remediation_threads": {
"required": false,
"account_classes": ["automation", "system", "user"],
"include_resolved": false,
"include_outdated": false,
"max_age_seconds": 2592000,
"max_threads": 20,
"max_replies_per_thread": 10,
"max_items": 100,
"budgets": {
"max_chars": 12000,
"max_bytes": 24000,
"max_lines": 300
}
},
"references": [
{
"adapter": "tracker",
"tenant": "engineering",
"resource_class": "issue",
"recognizer": {"type": "issue_key", "prefix": "DEMO"},
"required": true,
"max_records": 8,
"max_age_seconds": 31536000,
"budgets": {
"max_chars": 4000,
"max_bytes": 8000,
"max_lines": 100
},
"projections": {
"retrieve": ["descriptor", "digest", "expiry", "state", "text", "version"],
"model": ["descriptor", "state", "text"],
"publish": ["descriptor", "state"],
"retain": ["digest", "expiry", "state", "version"]
}
}
]
}