{"id":15089316,"url":"https://github.com/appatalks/secret-scanning-check","last_synced_at":"2025-07-20T21:33:15.702Z","repository":{"id":247708580,"uuid":"826632388","full_name":"appatalks/Secret-Scanning-Check","owner":"appatalks","description":"GitHub Actions Check - Secret Scanning; An added layer of visibility.","archived":false,"fork":false,"pushed_at":"2024-07-10T06:23:14.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T16:57:01.893Z","etag":null,"topics":["actions","check","secret-scanning","workflow","yml"],"latest_commit_sha":null,"homepage":"","language":null,"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/appatalks.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":"2024-07-10T04:50:10.000Z","updated_at":"2024-07-10T06:23:17.000Z","dependencies_parsed_at":"2024-07-10T07:14:50.914Z","dependency_job_id":null,"html_url":"https://github.com/appatalks/Secret-Scanning-Check","commit_stats":null,"previous_names":["appatalks/secret-scanning-check"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2FSecret-Scanning-Check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2FSecret-Scanning-Check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2FSecret-Scanning-Check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2FSecret-Scanning-Check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appatalks","download_url":"https://codeload.github.com/appatalks/Secret-Scanning-Check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235688644,"owners_count":19029915,"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":["actions","check","secret-scanning","workflow","yml"],"created_at":"2024-09-25T08:44:47.824Z","updated_at":"2025-01-26T10:08:35.108Z","avatar_url":"https://github.com/appatalks.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"#### GitHub Actions Check - Secret Scanning; \u003cbr\u003e An added layer of visibility.\n\n\u003e [!TIP]\n\u003e Require [status checks](https://docs.github.com/en/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#require-status-checks-to-pass-before-merging) to pass before merging\n\nThis GitHub Action checks for unresolved secret scanning alerts when a pull request is opened or reopened. If any unresolved alerts are found, the action will fail and report an error. \n\n\u003e Q: What does this solve for, don't we already have secret scanning push protection?\n\u003e \n\u003e A: If a secret has been previously flaged, Maintainers may ignore a secret scanning alert and _forget_ to resolve it. Others may be unaware and you **must** assume the secret is already comprimised. Why allow the risk to carry on? Let's force the issue to resolution.\n\n#### Usage\n\n1. **Create a Secret**\n   - Add a secret named `APP_TOKEN` in your GitHub repository settings with your GitHub [token](https://github.com/appatalks/Generate_GitHub_Tokens). \u003cbr\u003e\n   - OAuth app tokens and personal access tokens (classic) need the ```repo``` scope or ```security_events``` scope to use this [endpoint](https://docs.github.com/en/enterprise-cloud@latest/rest/secret-scanning/secret-scanning?apiVersion=2022-11-28#list-secret-scanning-alerts-for-an-enterprise).\n\n3. **Create Workflow**\n   - Add the workflow [YAML file](secret-scanning-check.yml) to your repository at ```.github/workflows/secret-scanning-check.yml```.\n\n## Notes\n\n- Ensure your `APP_TOKEN` has the necessary permissions to access secret scanning alerts. ```security_events``` recommended.\n- This action uses `jq` to process JSON data from the GitHub API.\n- I love this check so much, I wanted to create a dedicated repository for it and recommend everyone use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappatalks%2Fsecret-scanning-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappatalks%2Fsecret-scanning-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappatalks%2Fsecret-scanning-check/lists"}