@telepathsh/cli
v0.0.5
Published
CLI for telepath intelligent monitoring
Maintainers
Readme
TELEPATH CLI
TELEPATH CLI is a command-line tool to add subscriptions to your CloudWatch service and maps those logs to an associated Github Repository. This allows TELEPATH to issue fixes on that repo based on error logs from CloudWatch. These subscriptions forward all CloudWatch logs to a Lambda (which this CLI also creates), and forwards to TELEPATH.
Prerequisites
- A Github Account
- A preexisting AWS CloudWatch setup
- Valid AWS Credentials in
.aws/credentials. TELEPATH uses the default credentials. - Required AWS Permissions
Quick Start
To run interactive mode, run:
npx telepathAlternatively, you can run:
npx telepath install --awsTo uninstall TELEPATH subscriptions, run:
npx telepath uninstall --awsHelp
npx telepath --helpRequired AWS Permissions
The CLI requires these AWS permissions:
- CloudFormation (create/update/delete stacks)
- Lambda (create/update functions)
- IAM (create/attach roles and policies)
- CloudWatch Logs (create/delete subscription filters)
- STS (get caller identity)
Troubleshooting
If you're having issues logging into Github, you may have a config file you need to remove.
rm -rf ~/.config/telepath