Repository scanning coordinator
AssigneeCrowdStrike, Inc.
InventorsRoss Clarke, Julianna Madden, Zachary Panter, Kellen Arb
Life of this patent
Estimating the term…
Abstract
A repository scanning coordinator is disclosed herein. The repository scanning coordinator manages parallel scanning of multiple source code repositories by multiple scanners, while also avoiding conflicts by preventing simultaneous scanning of any one single source code repository by more than one scanner at a time.
Claims20
A method to coordinate parallel scan operations of multiple scanners, comprising:
- for a scanner of the multiple scanners:
- receiving a series of scan requests for scans to be performed by the scanner;
- in response to a scan request in the series of scan requests, enabling a next source code repository to be scanned by the scanner, wherein the next source code repository has an availability status indicating the next source code repository is available for scanning;
- updating an availability status of a previous source code repository scanned by the scanner to indicate the previous source code repository is available for scanning by other scanners;
- and
- updating the availability status of the next source code repository to indicate the next source code repository is unavailable for scanning by the other scanners.
A system, comprising:
- a processor, and
- at least one memory storing instructions executed by the processor to perform actions to enable parallel scan operations of multiple scanners, the actions including:
- registering multiple scanners to enable the multiple scanners to perform scans of multiple source code repositories;
- retrieving and storing the multiple source code repositories in a filesystem;
- generating a library comprising identifications of the multiple source code repositories;
- and
- using the library to process application programming interface requests from the multiple scanners to scan source code repositories of the multiple source code repositories stored in the filesystem, wherein processing the application programming interface requests enables parallel scanning of different source code repositories by the multiple scanners, and wherein processing the application programming interface requests prevents simultaneous scanning of a single source code repository by the multiple scanners.
A computer-readable storage medium storing computer-readable instructions, that when executed by a processor, cause the processor to perform actions comprising:
- receiving application programming interface requests from multiple scanners to scan source code repositories;
- and
- using a library comprising identifications of the source code repositories to process the application programming interface requests,
- wherein processing the application programming interface requests enables parallel scanning of different source code repositories by the multiple scanners by returning different identifications of the different source code repositories to the multiple scanners in response to the application programming interface requests, and
- wherein processing the application programming interface requests prevents simultaneous scanning of a single source code repository by the multiple scanners by storing an indication that the single source code repository is unavailable for scanning by other scanners of the multiple scanners while the single source code repository is being scanned by a single scanner of the multiple scanners.
Dependencies are inferred from the claim text.