{"id":13684314,"url":"https://github.com/irgaly/danger-sarif","last_synced_at":"2025-08-11T02:15:42.624Z","repository":{"id":190974990,"uuid":"683697041","full_name":"irgaly/danger-sarif","owner":"irgaly","description":"Danger plugin for reporting SARIF file.","archived":false,"fork":false,"pushed_at":"2023-11-07T16:12:39.000Z","size":42,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-27T13:43:09.711Z","etag":null,"topics":["ci","danger","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irgaly.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"irgaly","custom":["https://github.com/irgaly/irgaly"]}},"created_at":"2023-08-27T12:19:36.000Z","updated_at":"2023-09-03T05:29:12.000Z","dependencies_parsed_at":"2024-01-14T16:08:08.761Z","dependency_job_id":null,"html_url":"https://github.com/irgaly/danger-sarif","commit_stats":null,"previous_names":["irgaly/danger-sarif"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/irgaly/danger-sarif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irgaly%2Fdanger-sarif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irgaly%2Fdanger-sarif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irgaly%2Fdanger-sarif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irgaly%2Fdanger-sarif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irgaly","download_url":"https://codeload.github.com/irgaly/danger-sarif/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irgaly%2Fdanger-sarif/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269819032,"owners_count":24480087,"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-11T02:00:10.019Z","response_time":75,"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":["ci","danger","ruby-gem"],"created_at":"2024-08-02T14:00:32.152Z","updated_at":"2025-08-11T02:15:42.564Z","avatar_url":"https://github.com/irgaly.png","language":"Ruby","funding_links":["https://github.com/sponsors/irgaly","https://github.com/irgaly/irgaly"],"categories":["Plugins"],"sub_categories":["Ruby (danger)"],"readme":"# danger-sarif\n\n[![Gem Version](https://badge.fury.io/rb/danger-sarif.svg)](https://badge.fury.io/rb/danger-sarif)\n\n[Danger](https://github.com/danger/danger) plugin for reporting [SARIF](https://sarifweb.azurewebsites.net/) file.\n\n## Installation\n\n```shell\n$ gem install danger-sarif\n```\n\n## Usage\n\nreport from SARIF file\n\n```ruby\n# Dangerfile\nsarif.report 'app/build/reports/lint-results-debug.sarif'\n```\n\nreport from multiple SARIF files\n\n```ruby\n# Dangerfile\nDir['**/build/reports/lint-results-*.sarif'].each do |file|\n  sarif.report file\nend\n```\n\n## Options\n\n| option                | description                                                        |\n|-----------------------|--------------------------------------------------------------------|\n| `sarif.fail_on_error` | Set the behavior that treating error as fail or not. default: true |\n\n```ruby\n# Dangerfile\nsarif.fail_on_error false\nsarif.report '...'\n```\n\n## Development\n\n1. Clone this repo\n2. Run `bundle install` to setup dependencies.\n3. Make your changes.\n4. Run `bundle exec rake spec` to run the tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firgaly%2Fdanger-sarif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firgaly%2Fdanger-sarif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firgaly%2Fdanger-sarif/lists"}