{"id":25972227,"url":"https://github.com/peteraritchie/test","last_synced_at":"2025-07-30T23:35:22.760Z","repository":{"id":139144707,"uuid":"217420836","full_name":"peteraritchie/test","owner":"peteraritchie","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-09T21:15:45.000Z","size":47,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T00:34:07.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/peteraritchie.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-10-25T00:49:08.000Z","updated_at":"2019-10-25T00:49:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a8fc056-0e2b-48d6-b773-5c2a71d5fa60","html_url":"https://github.com/peteraritchie/test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peteraritchie/test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteraritchie%2Ftest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteraritchie%2Ftest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteraritchie%2Ftest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteraritchie%2Ftest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peteraritchie","download_url":"https://codeload.github.com/peteraritchie/test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteraritchie%2Ftest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267960862,"owners_count":24172508,"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-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2025-03-05T00:32:48.722Z","updated_at":"2025-07-30T23:35:22.747Z","avatar_url":"https://github.com/peteraritchie.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Permission Surveyor\n\nThis tool helps to audit GitHub organizations by producing a report like this:\n\n| repo         | repo-state | repo-last-pushed | principal-kind | principal             | permission | via-team                   |\n|--------------|------------|------------------|----------------|-----------------------|------------|----------------------------|\n| Some repo    | public     | 10/23/2019 8:30  | team           | Some Team             | admin      | Some Team                  |\n| Some repo    | public     | 10/23/2019 8:30  | team           | Another Team          | push       | Another Team               |\n| Some repo    | public     | 10/23/2019 8:30  | user           | Some Owner            | admin      | (Owner)                    |\n| Some repo    | public     | 10/23/2019 8:30  | user           | Some User             | push       | Some Team\\Some Nested Team |\n| Another repo | public     | 10/23/2019 3:30  | user           | Another Owner         | admin      | (Owner)                    |\n| Another repo | public     | 10/23/2019 3:30  | user           | Some User             | push       | Some Team                  |\n| Another repo | public     | 10/23/2019 3:30  | user           | Some External User    | pull       | (Collaborator)             |\n| Another repo | public     | 10/23/2019 3:30  | user           | Another External User | push       | (Collaborator)             |\n\n## Usage\n\nIt's a command line app. It will prompt for log in information on first run\nso it can create a personal access token (PAT). It needs read-only access to\nrepos and orgs.\n\n```\n$ \\.GitHubPermissionSurveyor.exe \u003corg-name\u003e [output-file]\n```\n\nIf you don't specify an output file, the app will show the results in Excel. In\ncase you don't have Excel, you'll get an error before the tool runs and you need\nto specify a path for the `.csv` file with the report.\n\n```\n$ .\\GitHubPermissionSurveyor.exe dotnet C:\\work\\permissions.csv\n```\n\n## Caching\n\nDuring the first run, the tool will write a cache file, named `cached-org.json`\nwhich will be placed next to `GitHubPermissionSurveyor.exe` so long you request\nthe same org, the next time the tool runs it won't talk to GitHub.\n\nThis is useful if you want to play with the format of the report. However, that\nalso means that you will keep getting (potentially) stale data. So you might\nwant to delete the file periodically.\n\n## Markdown export\n\nIn case you're a ~~masochist~~ [Markdown fetishist][md], you can also specify\nthe file extension `.md`, in which case the result is written as a Markdown\ntable. Feel free to use pivot tables and XLOOKUP...oh wait.\n\nMy personal opinion: Excel for life. Don't at me.\n\n[md]: https://twitter.com/timheuer/status/1187405333532033026","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteraritchie%2Ftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeteraritchie%2Ftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteraritchie%2Ftest/lists"}