{"id":22835408,"url":"https://github.com/dxw/security-alert-notifier","last_synced_at":"2025-10-27T23:38:39.220Z","repository":{"id":39591178,"uuid":"248204237","full_name":"dxw/security-alert-notifier","owner":"dxw","description":"Icinga plugin to fetch security vulnerabilities for a GitHub organization.","archived":false,"fork":false,"pushed_at":"2025-04-17T01:07:46.000Z","size":103,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-24T00:08:56.254Z","etag":null,"topics":["delivery-plus","internal","tech-ops"],"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/dxw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-alert-notifier.rb","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-18T10:44:50.000Z","updated_at":"2025-02-06T12:09:09.000Z","dependencies_parsed_at":"2024-04-22T02:32:52.629Z","dependency_job_id":"6b956582-e3ba-4bb5-8007-d8c328645571","html_url":"https://github.com/dxw/security-alert-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsecurity-alert-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsecurity-alert-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsecurity-alert-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsecurity-alert-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxw","download_url":"https://codeload.github.com/dxw/security-alert-notifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535099,"owners_count":21446508,"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":["delivery-plus","internal","tech-ops"],"created_at":"2024-12-12T22:09:41.592Z","updated_at":"2025-10-27T23:38:34.188Z","avatar_url":"https://github.com/dxw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Vulnerability Alert Check\n\nFetches a list of security vulnerabilities for repositories belonging to a\nGitHub organization, using the GitHub API (v4). Designed to be used as an\n[Icinga\nplugin](https://icinga.com/docs/icinga2/latest/doc/05-service-monitoring/#plugin-api).\n\n## Getting started\n\nThis repository implements the [scripts to rule them all](https://github.com/github/scripts-to-rule-them-all) pattern.\n\nTo use this code, start by cloning the repository:\n\n```shell\n$ git clone git@github.com:dxw/security-alert-notifier.git\n```\n\nThen run the relevant script to setup your environment and install dependencies:\n\n```shell\n./script/setup\n```\n\n## Usage\n\n- Obtain a [personal GitHub OAuth\n  token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line#creating-a-token),\n  with the `repo` scope\n- Run `security-alert-notifier.rb --token \u003caccess_token\u003e --organization \u003corganization_name\u003e` and any\n  vulnerabilities that haven't been dismissed will be displayed in the console.\n  If there are vulnerabilities then the check will return a \"Warning\" status, else\n  \"OK\".\n\nIf you prefer to receive the results as a CSV file, rather than as text to STDOUT, please run:\n\n```shell\nsecurity-alert-notifier.rb --token \u003caccess_token\u003e --organization \u003corganization_name\u003e --csv \u003cfilename\u003e\n```\n\n## Contributing to this repository\n\nTo run the standard lint ([`standardrb`](https://github.com/testdouble/standardrb)) and unit tests for this code, run:\n\n```shell\n./script/test\n```\n\nFor dxw employees, please note that this code is also used downstream in our\nChef configuration, and any changes you merge in here also need to be reflected there.\nIf this isn't clear to you, please speak to a colleague from Ops.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxw%2Fsecurity-alert-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxw%2Fsecurity-alert-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxw%2Fsecurity-alert-notifier/lists"}