Service to discover AWS resources using AWS-Config
- AWS CLI - https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html
- Docker Compose - https://docs.docker.com/compose/install
- git - https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- AWS Account with Organizations configured
$ git clone https://github.com/openraven/aws-config-discovery
SourceAccountId = {AccountId where Open Raven will be executing from or having account credentials associated to}
To reveal the configured credentials accountId:
$ aws sts get-caller-identity
-
Deploy with cloud formation stack sets to accounts/ous from organization.
-
Deploy with cloud formation to root organization account.
Config service must be enabled in every region and account that resource discovery is to be performed.
Configure a nightly snapshot to be delivered to an S3 bucket, mimir will only ingest snapshots from the default snapshot delivery channel.
- Setup AWS ConfigService https://docs.aws.amazon.com/config/latest/developerguide/gs-cli.html
or
- Deploy AWS ConfigService via cloud formation stacksets https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-getting-started.html
$ docker-compose -f docker-compose.yml up
$ mvn spring-boot:run -Dspring-boot.run.profiles="default, local"
In a browser navigate to: http://localhost:8080/swagger-ui.html
- Execute
/mimir/organization_info
- Execute
/mimir/config_for_account
- Execute
/mimir/ingest_from_snapshot
Upon completion of the above tasks data should be populated throughout elastic search in aws* indices.
Happy data spelunking.
$ open http://localhost:5601
Licensed under the Apache License, Version 2.0. See LICENSE for the full license text.