google.cloud.forseti.scanner.scanner_builder module

Builds the scanners to run.

class ScannerBuilder(global_configs, scanner_configs, service_config, model_name, snapshot_timestamp, scanner_name=None)[source]

Bases: object

Scanner Builder.

_instantiate_scanner(scanner_name)[source]

Make individual scanners based on the scanner name.

Parameters:
  • scanner_name (str) – the name of the scanner as
  • the requirements_map (in) –
Returns:

the individual scanner instance

Return type:

scanner

build()[source]

Build the enabled scanners to run. :returns: Scanner instances that will be run. :rtype: list