https://github.com/dfds/aws-sso-exporter
https://github.com/dfds/aws-sso-exporter
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dfds/aws-sso-exporter
- Owner: dfds
- License: mit
- Created: 2023-03-09T13:16:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-12-16T21:53:58.000Z (6 months ago)
- Last Synced: 2025-12-20T12:35:04.108Z (6 months ago)
- Language: Go
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# aws-sso-exporter
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.
## Installation
Container images based on the master branch is available on [Docker Hub](https://hub.docker.com/r/dfdsdk/aws-sso-exporter) 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.
## Configuration
### Environment variables
- **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
### AWS
IAM permissions needed:
- cloudtrail:LookupEvents
## Todo
- Make *startTime* in aws/cloudtrail.go configurable
- Create Helm chart