-
Notifications
You must be signed in to change notification settings - Fork 2
/
cincy-conditional-edge-invalid-multi-risks.json
87 lines (86 loc) · 2.46 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
{
"nodes": [
{
"version": "4.15.0-0.test-2023-12-05-123655-ci-ln-chyhc0b-latest",
"payload": "registry.build02.ci.openshift.org/ci-ln-chyhc0b/release@sha256:1b2cae82aa5cede8f4b20c6cc4252aad42972b351472be844940965f27620d57"
},
{
"version": "4.15.0-0.nightly-2022-12-16-171622",
"payload": "registry.ci.openshift.org/ocp/release@sha256:cc3599d649f4b23c1848301a235070f60bca363208551364b2712bb1e85d239f"
}
],
"edges": [
[0,1]
],
"conditionalEdges":[
{
"edges": [
{"from": "4.15.0-0.test-2023-12-05-123655-ci-ln-chyhc0b-latest", "to": "4.15.0-0.nightly-2022-12-16-171622"}
],
"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\"}"
}
}
]
}
]
}
]
}