feat(kics): add usage of parallel flag for analyzer
Closes #6934
Proposed Changes
- Use the already added parallel flag to set the number of workers on the analyze portion of the scan command
- Use the already added parallel flag to set the number of workers on the analyze standalone command
- Add unit test for flag adjust value utils func
I submit this contribution under the Apache-2.0 license.

KICS version: v1.7.13
|
|
Hi, thanks a bunch for this contribution! Should help solve my issue (https://github.com/Checkmarx/kics/issues/6934).
I have a quick question that maybe I'm misunderstanding:
This solution uses the same amount of parallel workers for both scan and analyze when running kics scan, correct?
So the behavior is the following - setting X parallel workers in the scan flags will scan using X * platforms workers, while the analyze section will only run X parallel workers.
Hypothetically, if KICS supported 100 platforms and one wants a maximum of 100 concurrent workers, one would set the parallel flag to 1 and then analyze would run with a single worker (and unavoidably so).
Is this the intended behavior?





