Commit f9d3314
fix(tests): use valid list operators in Falco rule exception tests (#711)
Fixed `TestRuleFalcoWithExceptions` to comply with stricter validator
enforcement of list field operators.
The test was failing with validation error:
```
filter error: '=' operator not supported list filters.
Location: rule: TERRAFORM TEST ... - Attach to cluster-admin Role
```
This was caused by recent deployment of stricter validators that enforce
the use of compatible operators for list fields. List fields (like
`ka.req.binding.subjects`) must use compatible operators (`in`,
`exists`, `intersects`) rather than the `=` operator.1 parent f98007e commit f9d3314
1 file changed
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | 446 | | |
453 | 447 | | |
454 | 448 | | |
455 | 449 | | |
456 | 450 | | |
457 | 451 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 452 | | |
464 | 453 | | |
465 | 454 | | |
| |||
0 commit comments