-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcincy-conditional-edge-invalid-multi-risks.json
87 lines (86 loc) · 2.52 KB
/
cincy-conditional-edge-invalid-multi-risks.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"nodes": [
{
"version": "4.13.0-0.nightly-2023-06-15-222927",
"payload": "registry.ci.openshift.org/ocp/release@sha256:827f5487749c7e418fb69fa87dbd4ec0347d6053795c72c67e6bc38e6671fc23"
},
{
"version": "4.13.0",
"payload": "quay.io/openshift-release-dev/ocp-release@sha256:74b23ed4bbb593195a721373ed6693687a9b444c97065ce8ac653ba464375711"
}
],
"edges": [
[0,1]
],
"conditionalEdges":[
{
"edges": [
{"from": "4.13.0-0.nightly-2023-06-15-222927", "to": "4.13.0"}
],
"risks": [
{
"url": "// example.com",
"name": "InvalidURL",
"message": "Invalid URL.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "cluster_installer"
}
}
]
},
{
"url": "https://bug.example.com/b",
"name": "TypeNull",
"message": "MatchingRules type is null.",
"matchingRules": [
{
"type": ""
}
]
},
{
"url": "https://bug.example.com/c",
"name": "InvalidMatchingRulesType",
"message": "MatchingRules type is invalid, support Always and PromQL.",
"matchingRules": [
{
"type": "nonexist",
"promql": {
"promql": "group(cluster_version_available_updates{channel=\"buggy\"})\nor\n0 * group(cluster_version_available_updates{channel!=\"buggy\"})"
}
}
]
},
{
"url": "https://bug.example.com/d",
"name": "InvalidPromQLQueryReturnValue",
"message": "PromQL query return value is not supported, support 0 and 1.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "max(cluster_version)"
}
}
]
},
{
"url": "https://bug.example.com/d",
"name": "InvalidPromQLQuery",
"message": "Invalid PromQL Query.",
"matchingRules": [
{
"type": "PromQL",
"promql": {
"promql": "cluster_infrastructure_provider{type=~\"VSphere|None\"}"
}
}
]
}
]
}
]
}