A Prometheus exporter that gathers data via AWS CloudTrail(Authenticate and Federate events), calculates metrics based on that data, and exports it in a format supported by Prometheus.
Container images based on the master branch is available on Docker Hub via the latest tag.
No pre-compiled binaries are provided. A simple 'go build cmds/server.go' should do the trick.
Examples of Kubernetes manifests can be found in the k8s/ directory.
- ASE_AWS_REGION : "eu-west-1" // Set the AWS region where aws-sso-exporter should look for CloudTrail events
- ASE_WORKERINTERVAL : "600" // Set the sleep interval between scrape jobs
IAM permissions needed:
- cloudtrail:LookupEvents
- Make startTime in aws/cloudtrail.go configurable
- Create Helm chart