Skip to main content

Runs collector plugins and sends the result to resotocore.

Project description

resoto-plugin-aws

An AWS collector plugin for Resoto.

Usage

For details on how to edit configuration, please see the documentation.

When the collector is enabled (resotoworker.collector = [aws]) it will automatically collect any accounts the AWS boto3 SDK can authenticate for. By default it will check for environment variables like AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY or AWS_SESSION_TOKEN.

If Resoto should assume an IAM role that role can be given via resotoworker.aws.role = SomeRoleName.

The collector will scrape resources in all regions unless regions are specified using e.g. resotoworker.aws.region = [us-east-1, us-west-2].

Scraping multiple accounts

If the given credentials are allowed to assume the specified role in other accounts of your AWS organisation, Resoto can collect multiple accounts at the same time. To do so provide the account IDs to the resotoworker.aws.account configuration.

Scraping the entire organisation

Instead of giving a list of account IDs manually you could also specify resotoworker.aws.scrape_org, which will make Resoto try to get the list of all accounts using the ListAccounts API.

If certain accounts are to be excluded from that list they can be specified using the resotoworker.aws.scrape_exclude_account config option.

Miscellaneous Options

When collecting multiple accounts Resoto by default will collect the accounts it finds in the org as well as the one it is currently authenticated as. If you do not want it to scrape the account that was used to get the list of all org accounts (e.g. your root account) you can specify resotoworker.aws.dont_scrape_current.

If instead of using the current credentials you would like Resoto to assume the specified role (resotoworker.aws.role) even for the current account you can specify the options resotoworker.aws.assume_current and resotoworker.aws.dont_scrape_current. This would make it so that Resoto does not scrape the current account using default credentials but instead assume the specified IAM role even for the current account.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resoto-plugin-aws-3.6.1.tar.gz (167.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resoto_plugin_aws-3.6.1-py3-none-any.whl (213.5 kB view details)

Uploaded Python 3

File details

Details for the file resoto-plugin-aws-3.6.1.tar.gz.

File metadata

  • Download URL: resoto-plugin-aws-3.6.1.tar.gz
  • Upload date:
  • Size: 167.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for resoto-plugin-aws-3.6.1.tar.gz
Algorithm Hash digest
SHA256 b63c6b25ffe1bac94978315197abffa3dbcbf95bea041dc4f2fd67983d7c57dd
MD5 95fb9527dde6cea0b5ec54f1c8e96639
BLAKE2b-256 f3a70def045dc2bb2a939adbf7e912ceb46ddaf1b7e7e8a5ac5fd9cdb47778c5

See more details on using hashes here.

File details

Details for the file resoto_plugin_aws-3.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for resoto_plugin_aws-3.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a63e987c965975ca0ebba2366b6cd6bf787d7a72f37c95f8d46b417400d72258
MD5 f44b7673ff22ea9689e408d08b0f418f
BLAKE2b-256 6b8f2e944f0c1fcb53b20c8f54b0463ad301a78419b9fc8f6af34495b49e5ad7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page