{"id":18544650,"url":"https://github.com/instructure/checkyoursself","last_synced_at":"2025-08-26T08:09:13.897Z","repository":{"id":35334091,"uuid":"39596191","full_name":"instructure/CheckYourSSeLf","owner":"instructure","description":"A friendly Slack bot that checks your Amazon AWS accounts for expiring SSL certificates.","archived":false,"fork":false,"pushed_at":"2016-08-25T20:49:59.000Z","size":7,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-10T12:37:21.484Z","etag":null,"topics":["expiring-ssl-certificates","slack","slack-bot","slackbot","ssl","ssl-certificates"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instructure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-23T22:12:30.000Z","updated_at":"2022-02-21T11:16:44.000Z","dependencies_parsed_at":"2022-08-25T20:51:39.914Z","dependency_job_id":null,"html_url":"https://github.com/instructure/CheckYourSSeLf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/instructure/CheckYourSSeLf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2FCheckYourSSeLf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2FCheckYourSSeLf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2FCheckYourSSeLf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2FCheckYourSSeLf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instructure","download_url":"https://codeload.github.com/instructure/CheckYourSSeLf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2FCheckYourSSeLf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192669,"owners_count":24889452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expiring-ssl-certificates","slack","slack-bot","slackbot","ssl","ssl-certificates"],"created_at":"2024-11-06T20:17:12.498Z","updated_at":"2025-08-26T08:09:13.876Z","avatar_url":"https://github.com/instructure.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"CheckYourSSeLf\n==============\nA friendly [Slack](https://slack.com/) bot that checks your Amazon AWS accounts, and remote urls for expiring SSL certificates.\n\nHow does it work?\n-----------------\n* The bot retrieves a list of all IAM Server Certificates from each configured AWS account, and each remote url.\n* Every certificate is then parsed to see how many days are left until expiration.\n* Certificates that fall below the configured warning threshold will trigger an alert.\n* The results get posted to Slack.\n\nHow do I use it?\n----------------\n1. Clone this repository.\n2. Create a copy of the sample configuration file and modify it to suit your needs.\n   * `cp config.yml.sample config.yml`\n   * `text-editor-of-your-choice config.yml`\n3. Choose a home for the bot, and copy it there. Ruby and Bundler are the only requirements.\n   * `ssh deploy@slackbot-server 'mkdir -p /opt/checkyoursself'`\n   * `scp CheckYourSSeLf.rb config.yml Gemfile Gemfile.lock deploy@slackbot-server:/opt/checkyoursself`\n4. Install the bundle.\n   * `ssh deploy@slackbot-server 'cd /opt/checkyoursself \u0026\u0026 bundle install --deployment'`\n5. Run the bot once to make sure everything is working properly.\n   * `ssh deploy@slackbot-server 'cd /opt/checkyoursself \u0026\u0026 ruby CheckYourSSeLf.rb'`\n6. Set up a crontab entry to run the bot on a regular basis.\n   * `ssh deploy@slackbot-server`\n   * `crontab -e`\n     * A line like this would make the bot run once a day at 16:05:\n\n       `5 16 * * * cd /opt/checkyoursself \u0026\u0026 ruby CheckYourSSeLf.rb`\n7. That's it. No more surprises!\n\nLICENSE\n-------\nThe MIT License (MIT)\n\nCopyright (c) 2015-2016 Instructure, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstructure%2Fcheckyoursself","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstructure%2Fcheckyoursself","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstructure%2Fcheckyoursself/lists"}