altimeter 6.4.25
pip install altimeter
Released:
Graph AWS resources in Neptune
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: Tableau
- Requires: Python >=3.8, <3.10
Classifiers
- License
- Operating System
- Programming Language
Project description
Altimeter
Altimeter is a system to graph and scan AWS resources across multiple AWS Organizations and Accounts.
Altimeter generates RDF files which can be loaded into a triplestore such as AWS Neptune for querying.
Quickstart
Installation
pip install altimeter
Configuration
Altimeter's behavior is driven by a toml configuration file. A few sample
configuration files are included in the conf/
directory:
current_single_account.toml
- scans the current account - this is the account for which the environment's currently configured AWS CLI credentials are.current_master_multi_account.toml
- scans the current account and attempts to scan all organizational subaccounts - this configuration should be used if you are scanning all accounts in an organization. To do this the currently configured AWS CLI credentials should be pointing to an AWS Organizations master account.
To scan a subset of regions, set the region list parameter regions
in the scan
section to a list of region names.
Required IAM permissions
The following permissions are required for a scan of all supported resource types:
acm:DescribeCertificate
acm:ListCertificates
cloudtrail:DescribeTrails
dynamodb:DescribeContinuousBackups
dynamodb:DescribeTable
dynamodb:ListTables
ec2:DescribeFlowLogs
ec2:DescribeImages
ec2:DescribeInstances
ec2:DescribeInternetGateways
ec2:DescribeNetworkInterfaces
ec2:DescribeRegions
ec2:DescribeRouteTables
ec2:DescribeSecurityGroups
ec2:DescribeSnapshots
ec2:DescribeSubnets
ec2:DescribeTransitGatways
ec2:DescribeTransitGatwayAttachments
ec2:DescribeVolumes
ec2:DescribeVpcEndpoints
ec2:DescribeVpcEndpointServiceConfigurations
ec2:DescribeVpcPeeringConnections
ec2:DescribeTransitGatewayVpcAttachments
ec2:DescribeVpcs
elasticloadbalancing:DescribeLoadBalancers
elasticloadbalancing:DescribeLoadBalancerAttributes
elasticloadbalancing:DescribeTargetGroups
elasticloadbalancing:DescribeTargetGroupAttributes
elasticloadbalancing:DescribeTargetHealth
eks:ListClusters
events:ListRules
events:ListTargetsByRule
events:DescribeEventBus
guardduty:GetDetector
guardduty:GetMasterAccount
guardduty:ListDetectors
guardduty:ListMembers
iam:GetAccessKeyLastUsed
iam:GetAccountPasswordPolicy
iam:GetGroup
iam:GetGroupPolicy
iam:GetLoginProfile
iam:GetOpenIDConnectProvider
iam:GetPolicyVersion
iam:GetRolePolicy
iam:GetSAMLProvider
iam:GetUserPolicy
iam:ListAccessKeys
iam:ListAttachedGroupPolicies
iam:ListAttachedRolePolicies
iam:ListAttachedUserPolicies
iam:ListGroupPolicies
iam:ListGroups
iam:ListinstanceProfiles
iam:ListMFADevices
iam:ListOpenIDConnectProviders
iam:ListPolicies
iam:ListPolicies
iam:ListRolePolicies
iam:ListRoles
iam:ListSAMLProviders
iam:ListUserPolicies
iam:ListUsers
kms:ListKeys
lambda:ListFunctions
rds:DescribeDBInstances
rds:DescribeDBInstanceAutomatedBackups
rds:ListTagsForResource
rds:DescribeDBSnapshots
route53:ListHostedZones
route53:ListResourceRecordSets
s3:ListBuckets
s3:GetBucketLocation
s3:GetBucketEncryption
s3:GetBucketTagging
sts:GetCallerIdentity
support:DescribeSeverityLevels
Additionally if you are doing multi-account scanning via an MPA master account you will also need:
organizations:DescribeOrganization
organizations:ListAccounts
organizations:ListAccountsForParent
organizations:ListOrganizationalUnitsForParent
organizations:ListRoots
Generating the Graph
Assuming you have configured AWS CLI credentials (see https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html), run:
altimeter <path-to-config>
This will scan all resources in regions specified in the config file.
The full path to the generated RDF file will printed, for example:
Created /tmp/altimeter/20191018/1571425383/graph.rdf
This RDF file can then be loaded into a triplestore such as Neptune or Blazegraph for querying.
For more user documentation see https://tableau.github.io/altimeter/
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: Tableau
- Requires: Python >=3.8, <3.10
Classifiers
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file altimeter-6.4.25-py2.py3-none-any.whl
.
File metadata
- Download URL: altimeter-6.4.25-py2.py3-none-any.whl
- Upload date:
- Size: 230.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.9.6 requests/2.31.0 setuptools/57.5.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee3462ce4bcc8d32463c90427f08418a2d205affeb4bee42225d622ee6140e8 |
|
MD5 | 5538670e270f95bd8ca6b8ecdcb2c953 |
|
BLAKE2b-256 | 5887193a3d3fc931855b71a504c186ee55a6544cff6ee5dc2064d383f95b3615 |