Commit 5d707e2
Checkmarx Automation
Improve container-images validation error messages
- Add helpful error message for .tar files with paths suggesting file: prefix
- Add specific filenames to file existence error messages
- Detect when users input file paths without proper prefix format
- Prevent customer confusion about format requirements
Examples:
- 'empty/alpine.tar' → suggests 'file:empty/alpine.tar'
- 'file:missing.tar' → shows 'file missing.tar does not exist' (not just 'file does not exist')
This addresses customer usability issues and makes error messages more actionable.1 parent 7b44fb2 commit 5d707e2
2 files changed
Lines changed: 21 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3363 | 3363 | | |
3364 | 3364 | | |
3365 | 3365 | | |
3366 | | - | |
| 3366 | + | |
3367 | 3367 | | |
3368 | 3368 | | |
3369 | 3369 | | |
| |||
3401 | 3401 | | |
3402 | 3402 | | |
3403 | 3403 | | |
3404 | | - | |
| 3404 | + | |
3405 | 3405 | | |
3406 | 3406 | | |
3407 | 3407 | | |
| |||
3445 | 3445 | | |
3446 | 3446 | | |
3447 | 3447 | | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
3448 | 3453 | | |
3449 | 3454 | | |
3450 | 3455 | | |
3451 | 3456 | | |
3452 | 3457 | | |
3453 | | - | |
| 3458 | + | |
3454 | 3459 | | |
3455 | 3460 | | |
3456 | 3461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2199 | 2199 | | |
2200 | 2200 | | |
2201 | 2201 | | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
2202 | 2212 | | |
2203 | 2213 | | |
2204 | 2214 | | |
| |||
2284 | 2294 | | |
2285 | 2295 | | |
2286 | 2296 | | |
2287 | | - | |
| 2297 | + | |
2288 | 2298 | | |
2289 | 2299 | | |
2290 | 2300 | | |
| |||
2303 | 2313 | | |
2304 | 2314 | | |
2305 | 2315 | | |
2306 | | - | |
| 2316 | + | |
2307 | 2317 | | |
2308 | 2318 | | |
2309 | 2319 | | |
| |||
2366 | 2376 | | |
2367 | 2377 | | |
2368 | 2378 | | |
2369 | | - | |
| 2379 | + | |
2370 | 2380 | | |
2371 | 2381 | | |
2372 | 2382 | | |
| |||
0 commit comments