Crate cloud_scanner_cli

Crate cloud_scanner_cli 

Source
Expand description

§cloud_scanner_cli

A module that returns an estimation of environmental impact of the resources used in a cloud account.

It performs inventory of resources of the account and combines it with Boavizta API to return impact data.

Modules§

aws_cloud_provider
A module that returns inventory of AWS resources.
boavizta_api_v1
A service to retrieve cloud resource impacts from Boavizta API.
cloud_provider
A module to abstract a service to list resources of a cloud account.
estimated_inventory_exporter
impact_provider
A module to abstract the service used to retrieve impacts of cloud resources.
inventory_exporter
metric_exporter
A module to format the results of cloud-scanner into OpenMetrics (Prometheus format) metrics
model
Business Entities of cloud Scanner
standalone_server
An HTTP endpoint that exposes the results of cloud-scanner like inventory, impacts or metrics.
usage_location
The location where cloud resources are running.

Functions§

estimate_impacts
Returns estimated impacts as the result of a live inventory.
estimate_impacts_of_inventory
Returns impacts for and existing inventory
estimate_impacts_of_inventory_file
Returns impacts for and existing inventory file
get_impacts_as_metrics
Returns impacts of a live inventory as metrics
get_inventory
Returns a live inventory of cloud resources
get_version
Return current version of the cloud-scanner-cli crate
serve_metrics
Starts a server that exposes metrics http like http://localhost:8000/metrics?aws-region=eu-west-1