
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Simple service for generate ec2_sd config files (one file per cluster) to allow ECS cluster to be discovered by prometheus monitoring service.
Warning! Tested only with EC2 cluster model. Working with fargate cluster model is not guaranteed
First create AWS IAM user with roles for describe and list.
Then add gem to your service:
gem 'ECSD', '~> 1.1.0'
Or install directly:
$ gem install ECSD
To start discover ECS cluster define config:
require 'ECSD'
ECSD.config do |c|
c.clusters = %w[cluster_name]
c.region = 'region'
c.credentials = { AWS_ACCESS_KEY_ID: 'ID', AWS_SECRET_ACCESS_KEY: 'SECRET' }
c.options = {
export_path: '/dir/path/to/export/folder',
timeout: 101
}
c.logger = Logger.new($stdout)
end
clusters
- array of cluster names to discover. Same name as ECS clusterregion
- AWS region name where ECS cluster deployedcredentials
- AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
from your IAM useroptions
export_path
- path to export config folder. Default is #{service root}/export
timeout
- time in seconds between cluster discovery cycles.logger
- define your logger or default logger will be setThen start discover:
ECSD.start
By default ECSD continuously discovering defined clusters and save templates into corresponded files.
Also it's possible to start only one cycle discover:
ECSD.start(cycle: false)
Fork the project and send pull requests.
FAQs
Unknown package
We found that ECSD demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.