Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a2d2490
feat: add script to generate comprehensive code scanning coverage report
joshjohanning Jan 5, 2026
018fb03
feat: add code scanning coverage report as node script
joshjohanning Jan 5, 2026
e5b80b3
feat: add archived header to bash script
joshjohanning Jan 5, 2026
ce85343
fix(docs): alphabetization
joshjohanning Jan 5, 2026
90bea81
feat: add GitHub App authentication support and update README
joshjohanning Jan 5, 2026
8525270
refactor: rename script
joshjohanning Jan 6, 2026
ebcec20
feat(deps): update octokit and related dependencies to latest versions
joshjohanning Jan 6, 2026
bb3de7f
fix(docs): clarify repository permissions in README
joshjohanning Jan 6, 2026
46ab062
feat: add support for fetching open alert counts and summary statisti…
joshjohanning Jan 6, 2026
b6d1a7e
feat: add API call counting and update alert sub reports to only show…
joshjohanning Jan 6, 2026
e3294fd
feat: grab repo language via GraphQL to save on API usage
joshjohanning Jan 6, 2026
e82e904
test: add Jest for testing and update package.json for module support
joshjohanning Jan 6, 2026
1274e6c
refactor!: rename optional params for clarity
joshjohanning Jan 6, 2026
0995c3d
feat: improve argument parsing with required value checks
joshjohanning Jan 6, 2026
a2bf38f
feat!: remove get-code-scanning-coverage-report.sh script and update …
joshjohanning Jan 6, 2026
2609134
docs: update README
joshjohanning Jan 6, 2026
271c4e5
Update scripts/code-scanning-coverage-report/package.json
joshjohanning Jan 6, 2026
eb0e3e4
Update scripts/code-scanning-coverage-report/code-scanning-coverage-r…
joshjohanning Jan 6, 2026
462dfb5
deps: update package-lock.json
joshjohanning Jan 6, 2026
510dbab
feat: add open alerts count to code scanning coverage report
joshjohanning Jan 7, 2026
7442c3d
feat: add configurable stale days option to code scanning coverage re…
joshjohanning Jan 8, 2026
13c2502
feat: add support for processing multiple organizations from a file i…
joshjohanning Jan 8, 2026
b7c1138
feat: enable automatic installation ID lookup for multi-org scanning …
joshjohanning Jan 8, 2026
d16195b
fix: prevent conflicting usage of --orgs-file and organization argume…
joshjohanning Jan 8, 2026
f634d56
test: add authentication functions and tests for GitHub App integrati…
joshjohanning Jan 8, 2026
4ab5d08
feat: add new utility for dismissing alerts by rule pattern
joshjohanning Jan 8, 2026
136f6e1
feat: implementing suggestions from pull request
joshjohanning Jan 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions gh-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,20 @@ Gets the branch protection status check contexts.

See the [docs](https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#get-all-status-check-contexts) for more information.

### get-code-scanning-coverage-report.sh

Generates a comprehensive code scanning coverage report for all repositories in an organization. The report includes the default branch, last repository update time, detected languages, CodeQL enablement status, latest scan date, scanned languages, unscanned CodeQL-supported languages, open alerts count, and analysis errors/warnings. This helps identify coverage gaps (e.g., a scan done 2 years ago indicates the team is not actively using Code Scanning).

See the script header comments for usage details.

When using `--output`, the script generates actionable sub-reports:

- `*-disabled.csv` - Repos with CodeQL disabled or no scans
- `*-stale.csv` - Repos modified >90 days after last scan
- `*-missing-languages.csv` - Repos scanning but missing some CodeQL languages
- `*-open-alerts.csv` - Repos with open code scanning alerts
- `*-analysis-issues.csv` - Repos with analysis errors or warnings

### get-code-scanning-status-for-every-repository.sh

Get code scanning analyses status for every repository in an organization.
Expand Down
Loading