{"id":20696822,"url":"https://github.com/actionsdesk/ghec-enterprise-reporting","last_synced_at":"2026-02-02T10:29:51.124Z","repository":{"id":37829868,"uuid":"285026890","full_name":"ActionsDesk/ghec-enterprise-reporting","owner":"ActionsDesk","description":"Action to report out enterprise usage information.","archived":false,"fork":false,"pushed_at":"2026-01-12T16:20:30.000Z","size":4060,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-12T21:52:52.616Z","etag":null,"topics":["enterprise","github","github-actions","github-actions-typescript","reporting","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ActionsDesk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-08-04T15:49:21.000Z","updated_at":"2026-01-12T16:20:33.000Z","dependencies_parsed_at":"2025-04-14T15:29:03.783Z","dependency_job_id":"6f5ab558-2019-4e0e-81e6-75ba02436e1d","html_url":"https://github.com/ActionsDesk/ghec-enterprise-reporting","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/ActionsDesk/ghec-enterprise-reporting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-enterprise-reporting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-enterprise-reporting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-enterprise-reporting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-enterprise-reporting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActionsDesk","download_url":"https://codeload.github.com/ActionsDesk/ghec-enterprise-reporting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-enterprise-reporting/sbom","scorecard":{"id":8360,"data":{"date":"2025-08-11","repo":{"name":"github.com/ActionsDesk/ghec-enterprise-reporting","commit":"d1fbd334bd7fe6dfad4a3da5eb788523cdb0ed3c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.1,"checks":[{"name":"Maintained","score":10,"reason":"20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/3 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/check-dist.yml:21","Warn: topLevel 'contents' permission set to 'write': .github/workflows/continuous-delivery.yml:12","Warn: topLevel 'checks' permission set to 'write': .github/workflows/continuous-integration.yml:10","Info: topLevel 'contents' permission set to 'read': .github/workflows/continuous-integration.yml:11","Warn: topLevel 'statuses' permission set to 'write': .github/workflows/linter.yml:14","Info: topLevel 'contents' permission set to 'read': .github/workflows/linter.yml:12","Info: topLevel 'packages' permission set to 'read': .github/workflows/linter.yml:13","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/continuous-delivery.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/continuous-delivery.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/continuous-delivery.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/continuous-delivery.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/continuous-delivery.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/continuous-delivery.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/continuous-integration.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/continuous-integration.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/continuous-integration.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/continuous-integration.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/linter.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/linter.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ActionsDesk/ghec-enterprise-reporting/linter.yml/main?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":8,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Warn: 'stale review dismissal' is disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Info: 'up-to-date branches' is required to merge on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/ActionsDesk/.github/SECURITY.md:1","Info: Found linked content: github.com/ActionsDesk/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/ActionsDesk/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (28) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T14:03:22.534Z","repository_id":37829868,"created_at":"2025-08-14T14:03:22.534Z","updated_at":"2025-08-14T14:03:22.534Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["enterprise","github","github-actions","github-actions-typescript","reporting","typescript"],"created_at":"2024-11-17T00:15:31.322Z","updated_at":"2026-01-16T19:32:01.581Z","avatar_url":"https://github.com/ActionsDesk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Enterprise Cloud Billing and Usage Reporting\n\nThis action extracts billing and usage numbers from a GitHub enterprise and\ncreates a report as an issue in the repository where it is running.\n\n## Inputs\n\n- **`enterprise_slug`**: The\n  [slug](https://en.wikipedia.org/wiki/Clean_URL#Slug) of the enterprise you\n  wish to query\n- **`enterprise_token`**: The token that has access to the enterprise you wish\n  to query\n\n  This should be created as a\n  [GitHub Actions secret](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)\n  in the repository that is using this action. This token should have the\n  following scopes:\n  - `admin:enterprise`\n  - `admin:org`\n\n- **`github_token`**: The token that will be used to create the issue (defaults\n  to the\n  [automatic token](https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication)\n  provided by GitHub)\n- **`issue_title`**: The title of the report issue (default:\n  `GHEC Usage Report`)\n\n  This title will be used as the issue title, as well as the top heading of the\n  issue body with the date of the run appended to it.\n\n## Usage\n\nA great way to using this action is with a scheduler. Here's an example workflow\nfile that will run our action on the 28th day of the month, every month:\n\n```yaml\non:\n  schedule:\n    - cron: '0 0 28 * *'\n\njobs:\n  report:\n    name: Report on GitHub Enterprise Cloud Usage\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Generate Report\n        id: report\n        uses: ActionsDesk/ghec-enterprise-reporting@vX.Y.Z # Replace with the latest version\n        with:\n          enterprise_slug: awesome-enterprise\n          enterprise_token: ${{ secrets.ENTERPRISE_TOKEN }}\n          issue_title: My Enterprise Report\n```\n\n## Example Output\n\nThe following Markdown will be generated in the issue body:\n\n```markdown\nThis usage report is for the **ENTERPRISE_SLUG** GHEC account.\n\n## AssetPacks\n\nTotal Purchased: 6\n\n## Enterprise Organizations\n\n| Name     | Login     | Billing Email |\n| -------- | --------- | ------------- |\n| ORG_NAME | ORG_LOGIN | BILLING_EMAIL |\n\n## Bandwidth\n\n| Usage | Quota | Usage Percentage |\n| ----- | ----- | ---------------- |\n| 0     | 0     | 0                |\n\n## Storage\n\n| Usage | Quota | Usage Percentage |\n| ----- | ----- | ---------------- |\n| 0     | 0     | 0                |\n\n## Licenses\n\n| Total Licenses | All Licensable Users Count | Total Available Licenses |\n| -------------- | -------------------------- | ------------------------ |\n| 0              | 0                          | 0                        |\n\n## Actions Usage\n\n| Minutes Used | Paid Minutes Used | Included Minutes |\n| ------------ | ----------------- | ---------------- |\n| 0            | 0                 | 0                |\n\n## Packages Usage\n\n| Total GB Bandwidth Used | Total Paid GB Bandwidth Used | Included GB Bandwidth |\n| ----------------------- | ---------------------------- | --------------------- |\n| 0                       | 0                            | 0                     |\n\n## Shared Storage Usage\n\n| Days Left In Cycle | Estimated Paid Storage For Month | Estimated Storage For Month |\n| ------------------ | -------------------------------- | --------------------------- |\n| 0                  | 0                                | 0                           |\n```\n\n## Contributing\n\nAll contributions are welcome, from issues to pull requests. Please take a look\nat our [CONTRIBUTION.md](CONTRIBUTION.md) file for details!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Fghec-enterprise-reporting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factionsdesk%2Fghec-enterprise-reporting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Fghec-enterprise-reporting/lists"}