Skip to content

Commit ede50bf

Browse files
committed
capture example output for future comparison
1 parent fdd77e6 commit ede50bf

7 files changed

+962
-6
lines changed

examples/cyclonus-output/analyze-all-five.txt

+458
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
explained policies:
2+
+---------+--------------------+-----------------------------+---------------------+--------------------------+
3+
| TYPE | TARGET | SOURCE RULES | PEER | PORT/PROTOCOL |
4+
+---------+--------------------+-----------------------------+---------------------+--------------------------+
5+
| Ingress | namespace: y | y/allow-label-to-label | namespace: y | all ports, all protocols |
6+
| | Match labels: | y/deny-all-for-label | pods: Match labels: | |
7+
| | pod: a | | pod: c | |
8+
+ +--------------------+-----------------------------+---------------------+ +
9+
| | namespace: y | y/allow-all-for-label | all pods, all ips | |
10+
| | Match labels: | | | |
11+
| | pod: b | | | |
12+
+ +--------------------+-----------------------------+---------------------+ +
13+
| | namespace: y | y/allow-by-ip | 0.0.0.0/24 | |
14+
| | Match labels: | | except [] | |
15+
| | pod: c | | | |
16+
+ +--------------------+-----------------------------+---------------------+--------------------------+
17+
| | namespace: y | y/deny-all | no pods, no ips | no ports, no protocols |
18+
| | all pods | | | |
19+
+---------+--------------------+-----------------------------+---------------------+--------------------------+
20+
| | | | | |
21+
+---------+--------------------+-----------------------------+---------------------+--------------------------+
22+
| Egress | namespace: y | y/allow-all-egress-by-label | all pods, all ips | all ports, all protocols |
23+
| | Match expressions: | | | |
24+
| | pod In [a b] | | | |
25+
+ +--------------------+-----------------------------+---------------------+--------------------------+
26+
| | namespace: y | y/deny-all-egress | no pods, no ips | no ports, no protocols |
27+
| | all pods | | | |
28+
+---------+--------------------+-----------------------------+---------------------+--------------------------+
29+
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
policy lint:
2+
+-----------------+------------------------------+---------------+-------------------+
3+
| SOURCE/RESOLVED | TYPE | TARGET | SOURCE POLICIES |
4+
+-----------------+------------------------------+---------------+-------------------+
5+
| Resolved | CheckDNSBlockedOnTCP | namespace: y | y/deny-all-egress |
6+
| | | | |
7+
| | | pod selector: | |
8+
| | | {} | |
9+
| | | | |
10+
+-----------------+------------------------------+---------------+-------------------+
11+
| Resolved | CheckDNSBlockedOnUDP | namespace: y | y/deny-all-egress |
12+
| | | | |
13+
| | | pod selector: | |
14+
| | | {} | |
15+
| | | | |
16+
+-----------------+------------------------------+---------------+-------------------+
17+
| Resolved | CheckTargetAllEgressBlocked | namespace: y | y/deny-all-egress |
18+
| | | | |
19+
| | | pod selector: | |
20+
| | | {} | |
21+
| | | | |
22+
+-----------------+------------------------------+---------------+-------------------+
23+
| Resolved | CheckTargetAllIngressBlocked | namespace: y | y/deny-all |
24+
| | | | |
25+
| | | pod selector: | |
26+
| | | {} | |
27+
| | | | |
28+
+-----------------+------------------------------+---------------+-------------------+
29+
+162
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
probe:
2+
Ingress:
3+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
4+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
5+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
6+
| x/a | . | . | . | X | . | X | . | . | . |
7+
| x/b | . | . | . | X | . | X | . | . | . |
8+
| x/c | . | . | . | X | . | X | . | . | . |
9+
| y/a | . | . | . | X | . | X | . | . | . |
10+
| y/b | . | . | . | X | . | X | . | . | . |
11+
| y/c | . | . | . | . | . | X | . | . | . |
12+
| z/a | . | . | . | X | . | X | . | . | . |
13+
| z/b | . | . | . | X | . | X | . | . | . |
14+
| z/c | . | . | . | X | . | X | . | . | . |
15+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
16+
17+
Egress:
18+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
19+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
20+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
21+
| x/a | . | . | . | . | . | . | . | . | . |
22+
| x/b | . | . | . | . | . | . | . | . | . |
23+
| x/c | . | . | . | . | . | . | . | . | . |
24+
| y/a | . | . | . | . | . | . | . | . | . |
25+
| y/b | . | . | . | . | . | . | . | . | . |
26+
| y/c | X | X | X | X | X | X | X | X | X |
27+
| z/a | . | . | . | . | . | . | . | . | . |
28+
| z/b | . | . | . | . | . | . | . | . | . |
29+
| z/c | . | . | . | . | . | . | . | . | . |
30+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
31+
32+
Combined:
33+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
34+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
35+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
36+
| x/a | . | . | . | X | . | X | . | . | . |
37+
| x/b | . | . | . | X | . | X | . | . | . |
38+
| x/c | . | . | . | X | . | X | . | . | . |
39+
| y/a | . | . | . | X | . | X | . | . | . |
40+
| y/b | . | . | . | X | . | X | . | . | . |
41+
| y/c | X | X | X | X | X | X | X | X | X |
42+
| z/a | . | . | . | X | . | X | . | . | . |
43+
| z/b | . | . | . | X | . | X | . | . | . |
44+
| z/c | . | . | . | X | . | X | . | . | . |
45+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
46+
47+
48+
49+
Ingress:
50+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
51+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
52+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
53+
| x/a | . | . | . | X | . | X | . | . | . |
54+
| x/b | . | . | . | X | . | X | . | . | . |
55+
| x/c | . | . | . | X | . | X | . | . | . |
56+
| y/a | . | . | . | X | . | X | . | . | . |
57+
| y/b | . | . | . | X | . | X | . | . | . |
58+
| y/c | . | . | . | . | . | X | . | . | . |
59+
| z/a | . | . | . | X | . | X | . | . | . |
60+
| z/b | . | . | . | X | . | X | . | . | . |
61+
| z/c | . | . | . | X | . | X | . | . | . |
62+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
63+
64+
Egress:
65+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
66+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
67+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
68+
| x/a | . | . | . | . | . | . | . | . | . |
69+
| x/b | . | . | . | . | . | . | . | . | . |
70+
| x/c | . | . | . | . | . | . | . | . | . |
71+
| y/a | . | . | . | . | . | . | . | . | . |
72+
| y/b | . | . | . | . | . | . | . | . | . |
73+
| y/c | X | X | X | X | X | X | X | X | X |
74+
| z/a | . | . | . | . | . | . | . | . | . |
75+
| z/b | . | . | . | . | . | . | . | . | . |
76+
| z/c | . | . | . | . | . | . | . | . | . |
77+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
78+
79+
Combined:
80+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
81+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
82+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
83+
| x/a | . | . | . | X | . | X | . | . | . |
84+
| x/b | . | . | . | X | . | X | . | . | . |
85+
| x/c | . | . | . | X | . | X | . | . | . |
86+
| y/a | . | . | . | X | . | X | . | . | . |
87+
| y/b | . | . | . | X | . | X | . | . | . |
88+
| y/c | X | X | X | X | X | X | X | X | X |
89+
| z/a | . | . | . | X | . | X | . | . | . |
90+
| z/b | . | . | . | X | . | X | . | . | . |
91+
| z/c | . | . | . | X | . | X | . | . | . |
92+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
93+
94+
95+
96+
Ingress:
97+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
98+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
99+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
100+
| x/a | N | N | N | N | N | N | N | N | N |
101+
| x/b | N | N | N | N | N | N | N | N | N |
102+
| x/c | N | N | N | N | N | N | N | N | N |
103+
| y/a | N | N | N | N | N | N | N | N | N |
104+
| y/b | N | N | N | N | N | N | N | N | N |
105+
| y/c | N | N | N | N | N | N | N | N | N |
106+
| z/a | N | N | N | N | N | N | N | N | N |
107+
| z/b | N | N | N | N | N | N | N | N | N |
108+
| z/c | N | N | N | N | N | N | N | N | N |
109+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
110+
111+
Egress:
112+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
113+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
114+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
115+
| x/a | ? | ? | ? | ? | ? | ? | ? | ? | ? |
116+
| x/b | ? | ? | ? | ? | ? | ? | ? | ? | ? |
117+
| x/c | ? | ? | ? | ? | ? | ? | ? | ? | ? |
118+
| y/a | ? | ? | ? | ? | ? | ? | ? | ? | ? |
119+
| y/b | ? | ? | ? | ? | ? | ? | ? | ? | ? |
120+
| y/c | ? | ? | ? | ? | ? | ? | ? | ? | ? |
121+
| z/a | ? | ? | ? | ? | ? | ? | ? | ? | ? |
122+
| z/b | ? | ? | ? | ? | ? | ? | ? | ? | ? |
123+
| z/c | ? | ? | ? | ? | ? | ? | ? | ? | ? |
124+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
125+
126+
Combined:
127+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
128+
| | X/A | X/B | X/C | Y/A | Y/B | Y/C | Z/A | Z/B | Z/C |
129+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
130+
| x/a | N | N | N | N | N | N | N | N | N |
131+
| x/b | N | N | N | N | N | N | N | N | N |
132+
| x/c | N | N | N | N | N | N | N | N | N |
133+
| y/a | N | N | N | N | N | N | N | N | N |
134+
| y/b | N | N | N | N | N | N | N | N | N |
135+
| y/c | N | N | N | N | N | N | N | N | N |
136+
| z/a | N | N | N | N | N | N | N | N | N |
137+
| z/b | N | N | N | N | N | N | N | N | N |
138+
| z/c | N | N | N | N | N | N | N | N | N |
139+
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
140+
141+
142+
143+
Ingress:
144+
+--+
145+
| |
146+
+--+
147+
+--+
148+
149+
Egress:
150+
+--+
151+
| |
152+
+--+
153+
+--+
154+
155+
Combined:
156+
+--+
157+
| |
158+
+--+
159+
+--+
160+
161+
162+

0 commit comments

Comments
 (0)