Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Lists all resources in a AWS account

License

NotificationsYou must be signed in to change notification settings

dtylman/AWSRetriever

Repository files navigation

AWSRetriever

Lists all resources in a AWS account.

Build Status

Features

  • Supports over 390 APIs from over 70 services, all regions

  • Objects saved in JSON format

  • Define and save profiles for specific service queries

  • Runs a single operation

  • CLI Support

Overview

AWSRetriever scans sets of predefinedAWS APIs, saved in "profile" files.

Profiles arejson based files, holding a (potentially) very long list of operations to run. AWSRetriever is shipped with adefault.profile.js, that holds a generic wide-variety of calls.

The profile is scanned when choosing "Full Scan" from the side-bar menu, or using the command-line parameter-p (combined with-r)

Profiles can be saved & loaded. The default profile loaded is defined in the configuration file.

A typical use-case is to define and test profiles for various AWS resources views and then use the CLI to periodically retrieve the items from AWS.

Command-line interface

To export all items provided in myec2.profile.js, and save them inobject.json, use the following switches:

>AWSRetriever.exe-r-pec2.profile.js-oobjects.jsonAWSRetrieverUsingprofile:'ec2.profile.js'Writingto'objects.json'Queueingfrom'default'profile...1825operationsqueued.Scanning...

To export all items tomyobjects.json using the default profile and settings:

>AWSRetriever.exe-r-omyobjects.jsonAWSRetrieverUsingprofile:'default.profile.js'Writingto'myobjects.json'Queueingfrom'default'profile...1825operationsqueued.Scanning...EC2DescribeInternetGatewaysap-northeast-1:1itemsretrievedEC2DescribeInternetGatewaysap-south-1:1itemsretrievedEC2DescribeInternetGatewaysap-northeast-2:1itemsretrievedEC2DescribeInternetGatewaysca-central-1:1itemsretrieved...

The resultingmyobjects.json file, holds a JSON array with the following structure:

[{// the type of the object listed:"Type":"InternetGateway",// the service it was retrieved from:"Service":"EC2",// the region:"Region":"ap-northeast-2",//the object itself, will change according to the object:"Source":{"Attachments":[{"State":{"Value":"available"},"VpcId":"vpc-e2e9f18a"}],"InternetGatewayId":"igw-0562ad6d","OwnerId":"000000000000","Tags":[]}},{// more objects...}]

Profile Record

Each profile record holds:

{// AWS service to execute"ServiceName":"EC2",// Specific API to execute:"Name":"DescribeInternetGateways",// A list of regions to call:"Regions":"ap-northeast-1 ap-northeast-2 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 eu-central-1 eu-north-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-east-2 us-west-1 us-west-2",// if false, this API is skipped"Enabled":true,// if this API supports paging, this value will be the page size for each request."PageSize":18}

Download & Run

Downloadthe latest for Windows or Linux.

Windows

  1. Requires.NET
  2. Create a folderAWSRetriever
  3. Unzip to folder.
  4. RunAWSRetriever.exe

Linux / Ubuntu

Make sure mono is installed:

sudo apt-get install mono-runtime
mkdir awsretrivercd awsretriverunzip path_to_downloaded_awsretriver.zip mono AWSRetriver.exe

Screenshots

Main Screen with some data

main-screen

Profile Editor

profile-editor

Launching a specific API

single-operation

Thanks

About

Lists all resources in a AWS account

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp