{"id":15509813,"url":"https://github.com/smortex/internet_security_event","last_synced_at":"2026-04-04T13:30:17.650Z","repository":{"id":45766966,"uuid":"170947482","full_name":"smortex/internet_security_event","owner":"smortex","description":"Build events describing the status of various internet services","archived":false,"fork":false,"pushed_at":"2023-04-17T22:57:15.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-19T22:28:45.319Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smortex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-16T00:54:00.000Z","updated_at":"2023-01-03T04:36:01.000Z","dependencies_parsed_at":"2024-11-08T14:42:17.917Z","dependency_job_id":"ec8777d2-8318-49c4-87fa-47cadae4c010","html_url":"https://github.com/smortex/internet_security_event","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"b4d9252471a3768bec3849848f4a316bc362da80"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Finternet_security_event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Finternet_security_event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Finternet_security_event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Finternet_security_event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smortex","download_url":"https://codeload.github.com/smortex/internet_security_event/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964549,"owners_count":19725952,"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","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":["hacktoberfest"],"created_at":"2024-10-02T09:44:08.674Z","updated_at":"2026-04-04T13:30:17.547Z","avatar_url":"https://github.com/smortex.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InternetSecurityEvent\n\n[![Build Status](https://github.com/smortex/internet_security_event/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/smortex/internet_security_event/actions/workflows/ci.yml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/bc64fb4f1c1088c15b8c/maintainability)](https://codeclimate.com/github/smortex/internet_security_event/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/bc64fb4f1c1088c15b8c/test_coverage)](https://codeclimate.com/github/smortex/internet_security_event/test_coverage)\n\nBuild events describing the status of various internet services\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'internet_security_event'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install internet_security_event\n\n## Usage\n\nThis gem can generate events about:\n\n* `TLSStatus` — Status of a TLS connexions (combining the status of the X.509\n  certificate and the validity of the hostname hostname);\n* `X509Status` — Status of an X.509 certificates.\n\nUsage is basically:\n\n```ruby\n\ncertificate = OpenSSL::X509::Certificate.new(...)\n\nevent = InternetSecurityEvent::X509Status.build(certificate)\n\nevent[:state]       #=\u003e 'ok', 'warning', 'critical'\nevent[:description] #=\u003e Human readable state\nevent[:metric]      #=\u003e an optional Float\n```\n\nWith just a bit more context (e.g. setting `:host` and `:service`), these\nevents are tailored to be send to [Riemann](http://riemann.io/).\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rake spec` to run the tests. You can also run `bin/console` for an interactive\nprompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, update the version number in `version.rb`, and then run\n`bundle exec rake release`, which will create a git tag for the version, push\ngit commits and tags, and push the `.gem` file to\n[rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/smortex/internet_security_event. This project is intended to\nbe a safe, welcoming space for collaboration, and contributors are expected to\nadhere to the [Contributor Covenant](http://contributor-covenant.org) code of\nconduct.\n\n1. Fork it (https://github.com/smortex/internet_security_event/fork)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## License\n\nThe gem is available as open source under the terms of the [MIT\nLicense](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the InternetSecurityEvent project’s codebases, issue\ntrackers, chat rooms and mailing lists is expected to follow the [code of\nconduct](https://github.com/smortex/internet_security_event/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Finternet_security_event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmortex%2Finternet_security_event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Finternet_security_event/lists"}