Incremental processor overrides#461
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #461 +/- ##
==========================================
- Coverage 85.24% 85.23% -0.01%
==========================================
Files 186 186
Lines 9364 9387 +23
Branches 4151 4170 +19
==========================================
+ Hits 7982 8001 +19
- Misses 551 552 +1
- Partials 831 834 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Artifact Size Comparison 📦
|
c6fb7c9 to
0d4133b
Compare
Benchmarks clangBenchmark execution time: 2025-09-29 19:14:35 Comparing candidate commit f4d9ef6 in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 0 metrics, 0 unstable metrics. scenario:global-benchmark.random.clang
|
Benchmarks gccBenchmark execution time: 2025-09-29 19:15:51 Comparing candidate commit f4d9ef6 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. |
Benchmarks clang-pgoBenchmark execution time: 2025-09-29 11:43:05 Comparing candidate commit 13a431d in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. |
This PR updates processor overrides to the new definition which adds or removes scanners to a given processor rather than fully replacing the whole set. The existing implementation is not currently in use, therefore there is no risk for existing users. More information can be found in RFC-1071.
An example processor override, adding and removing scanners, can be seen below:
{ "processor_overrides": [ { "target": [{ "id": "extract-headers" }, { "id": "extract-content" }], "scanners": { "include": [ { "tags": { "category": "pii" } }, { "id": "mastercard-2x2" } ], "exclude": [{ "id": "mastercard-4x4" }] }, } ] }Related Jiras: APPSEC-59429