Commit fb03120
committed
Fix colors in CPE AL details
If negation was used in OVAL check for a CPE platform, the
results were red even if the check passed. It was a problem
when processing the negation.
In this patch, we will change the logic so that the red and green
colors are inverted when negation is used.
Also fixes a typo: frac -> fact.
Fixes: #2501 parent ce3f578 commit fb03120
File tree
4 files changed
+16
-29
lines changed- openscap_report
- report_generators/html_templates/js
- scap_results_parser
- data_structures
- parsers
4 files changed
+16
-29
lines changedLines changed: 12 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
| 181 | + | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 204 | + | |
214 | 205 | | |
215 | 206 | | |
216 | 207 | | |
217 | 208 | | |
218 | | - | |
219 | | - | |
| 209 | + | |
| 210 | + | |
220 | 211 | | |
221 | | - | |
| 212 | + | |
222 | 213 | | |
223 | 214 | | |
224 | 215 | | |
| |||
241 | 232 | | |
242 | 233 | | |
243 | 234 | | |
244 | | - | |
| 235 | + | |
245 | 236 | | |
246 | 237 | | |
247 | 238 | | |
248 | 239 | | |
249 | | - | |
| 240 | + | |
250 | 241 | | |
251 | 242 | | |
252 | 243 | | |
| |||
321 | 312 | | |
322 | 313 | | |
323 | 314 | | |
324 | | - | |
| 315 | + | |
325 | 316 | | |
326 | | - | |
| 317 | + | |
327 | 318 | | |
328 | | - | |
| 319 | + | |
329 | 320 | | |
330 | 321 | | |
331 | 322 | | |
| |||
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | | - | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| |||
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
| 57 | + | |
61 | 58 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments