{"id":25451375,"url":"https://github.com/bagtoad/gh-sarif","last_synced_at":"2025-11-02T03:30:32.875Z","repository":{"id":248420308,"uuid":"717873298","full_name":"BagToad/gh-sarif","owner":"BagToad","description":"A GitHub CLI extension for interacting with Code Scanning analyses and SARIF files","archived":false,"fork":false,"pushed_at":"2025-01-02T20:02:29.000Z","size":27,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T07:14:14.263Z","etag":null,"topics":["gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"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/BagToad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-12T21:19:29.000Z","updated_at":"2025-01-02T20:02:26.000Z","dependencies_parsed_at":"2024-07-14T19:40:43.041Z","dependency_job_id":"0076570e-e482-437b-a170-86e1745d4075","html_url":"https://github.com/BagToad/gh-sarif","commit_stats":null,"previous_names":["bagtoad/gh-sarif"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BagToad%2Fgh-sarif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BagToad%2Fgh-sarif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BagToad%2Fgh-sarif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BagToad%2Fgh-sarif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BagToad","download_url":"https://codeload.github.com/BagToad/gh-sarif/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239374603,"owners_count":19628028,"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":["gh-extension"],"created_at":"2025-02-17T22:25:04.841Z","updated_at":"2025-11-02T03:30:32.836Z","avatar_url":"https://github.com/BagToad.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GH-SARIF\n\nInteract with Code Scanning analysis and SARIF files. \n\n`gh-sarif` is a [GitHub CLI](https://github.com/cli/cli) extension. \n\n## Installation\n\n```sh\ngh extension install bagtoad/gh-sarif\n```\n\n## Usage\n\n```\nUsage:\n  gh sarif [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  delete      Delete a GitHub Code Scanning Analysis\n  help        Help about any command\n  list        List GitHub Code Scanning analyses for a repository\n  upload      Upload a SARIF file to GitHub Code Scanning\n  view        View GitHub Code Scanning analysis or SARIF results\n\nFlags:\n  -h, --help          help for gh-sarif\n  -j, --json          Output JSON instead of text (includes additional fields)\n  -R, --repo string   GitHub repository (format: owner/repo)\n\nUse \"gh sarif [command] --help\" for more information about a command.\n```\n\n### List Analyses for a Repository\n\n```sh\ngh sarif list\n```\n### View Analysis Results in a Table\n\n```sh\ngh sarif view \u003canalysis-id\u003e\n```\n\n### View Analysis Results as SARIF\n\n```sh\ngh sarif view \u003canalysis-id\u003e --sarif\n```\n\n### View Analysis Results as CSV\n\n```sh\ngh sarif view \u003canalysis-id\u003e --csv\n```\n\n### View Analysis Results from a Local SARIF File\n\n```sh\ngh sarif view \u003cpath-to-sarif-file\u003e\n```\n\n### Upload a SARIF File to GitHub Code Scanning\n\n```sh\ngh sarif upload \u003ccommit-sha\u003e \u003cref\u003e \u003cpath-to-sarif-file\u003e\n```\n\n### Delete an Analysis\n\n```sh\ngh sarif delete \u003canalysis-id\u003e\n```\n\n### Delete Multiple Analyses\n\n```sh\ngh sarif delete \u003canalysis-id\u003e \u003canalysis-id\u003e \u003canalysis-id\u003e...\n```\n\n### Delete All Analyses in the set Except the Last\n\n```sh\ngh sarif delete \u003canalysis-id\u003e --delete-all\n```\n\n### Delete All Analyses in the set, Including the Last\n\n```sh\ngh sarif delete \u003canalysis-id\u003e --delete-all --confirm-delete\n```\n\nor \n\n```sh\ngh sarif delete \u003canalysis-id\u003e --purge\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagtoad%2Fgh-sarif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbagtoad%2Fgh-sarif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagtoad%2Fgh-sarif/lists"}