Skip to content

launchdarkly-labs/ld-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ld-toolkit

Assorted utilities and scripts for LaunchDarkly

Scripts

Standalone scripts and utilities for LaunchDarkly.

Analysis & Reporting

  • chronicle: Generate a Spotify Wrapped-style yearly report from LaunchDarkly audit logs with personal statistics, collaboration insights, achievements, and team rankings. Supports both JSON and interactive HTML output.
  • cleanup-report: Generate comprehensive reports of live feature flags with metadata, targeting information, code references, and variations served. Ideal for identifying flags ready for cleanup and archival. Outputs JSONL for easy filtering and CSV export for developer outreach.
  • fallback-report: Analyze feature flag fallback values to detect stale or incorrect configurations. Identifies flags with missing or mismatched fallback values and categorizes issues by severity.

Data Export

  • get-all-approval-requests: Fetch all approval requests from LaunchDarkly and output them as NDJSON. Supports filtering by member, status, resource, and parallel fetching for faster downloads.
  • get-all-audit-log-entries: Fetch audit log entries from LaunchDarkly and output them as NDJSON. Supports time-based filtering, search queries, and parallel fetching for faster downloads.
  • get-all-flags: Fetch all feature flags from a LaunchDarkly project and output them as NDJSON. Handles pagination and rate limiting.
  • get-all-flag-statuses: Fetch all feature flag statuses from a LaunchDarkly project and environment and output them as NDJSON. Handles pagination and rate limiting.

Maintenance & Utilities

  • changes-by-context-key: Given a context kind and context key, find all changes to individual targeting that affect the context.
  • clear-prereqs: Given a feature flag, find all dependent flags and remove prerequisite rules. Useful when you need to remove a flag that is used as a prerequisite.
  • generate-admin-custom-role: Generate a custom role policy with admin-level permissions by scraping the LaunchDarkly documentation.

About

Assorted utilities and scripts for LaunchDarkly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •