{"id":19847315,"url":"https://github.com/cds-snc/github-secret-scanning","last_synced_at":"2025-07-19T13:10:19.804Z","repository":{"id":65845317,"uuid":"600093961","full_name":"cds-snc/github-secret-scanning","owner":"cds-snc","description":"GitHub secret scanning alert service","archived":false,"fork":false,"pushed_at":"2024-04-12T14:39:22.000Z","size":370,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-04-12T21:12:14.695Z","etag":null,"topics":["aws","github-secrets","python"],"latest_commit_sha":null,"homepage":"https://github-secret-scanning.alpha.canada.ca/docs","language":"HCL","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/cds-snc.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}},"created_at":"2023-02-10T15:14:08.000Z","updated_at":"2024-04-15T13:44:40.013Z","dependencies_parsed_at":null,"dependency_job_id":"da74b377-0df3-4afc-bcbe-68e15fd718e1","html_url":"https://github.com/cds-snc/github-secret-scanning","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"cds-snc/project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cds-snc%2Fgithub-secret-scanning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cds-snc%2Fgithub-secret-scanning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cds-snc%2Fgithub-secret-scanning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cds-snc%2Fgithub-secret-scanning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cds-snc","download_url":"https://codeload.github.com/cds-snc/github-secret-scanning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339132,"owners_count":20923009,"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":["aws","github-secrets","python"],"created_at":"2024-11-12T13:14:00.498Z","updated_at":"2025-04-05T12:40:24.965Z","avatar_url":"https://github.com/cds-snc.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github secret scanning alert service :microscope: :warning:\n\nThis repo holds the API and infrastructure code for the [Github secret scanning alert service](https://docs.github.com/en/developers/overview/secret-scanning-partner-program#create-a-secret-alert-service).\n\nWhen GitHub detects our registered secrets in public repositories, it will send an alert to this service.  The detected secret will be logged and an alarm triggered so the impacted team can take action.\n\n## Local development\n1. Start the [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers).\n1. Make a copy of `api/.env.example` and name it `api/.env`.\n1. Run `cd api \u0026\u0026 make dev` and access on `localhost:8000`.\n\nYour requests to the API will need an `X-CloudFront-Header` with the value you set in the `api/.env` file for `CLOUDFRONT_HEADER`:\n\n```sh\ncurl http://localhost:8000/version \\\n    -H \"X-CloudFront-Header: some-secret-value\"\n```\n\nAlternatively, you can set `CLOUDFRONT_HEADER=localhost` to disable this check.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcds-snc%2Fgithub-secret-scanning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcds-snc%2Fgithub-secret-scanning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcds-snc%2Fgithub-secret-scanning/lists"}