runzero.api.scans
¶
Management of an Organization’s sites.
Module Contents¶
Classes¶
|
Options which can be set to create or modify a scan. |
Management of runZero scans. |
- class runzero.api.scans.Scans(client: runzero.client.Client)[source]¶
Management of runZero scans.
Scans create tasks which modify asset inventory of a single site.
- Parameters:
client (runzero.client.Client) – A handle to the
runzero.Client
client which manages interactions with the runZero server.
Constructor method
- create(org_id: uuid.UUID, scan_options: runzero.types.ScanOptions, site_id: uuid.UUID) runzero.types.Task | None [source]¶
Starts a scan to bring data into the site using provided options.
- Parameters:
- Returns:
Task
- Raises:
AuthError, ClientError, ServerError
- Return type:
Optional[runzero.types.Task]