{"id":20666211,"url":"https://github.com/hazcod/cspcollector","last_synced_at":"2026-04-22T02:31:39.861Z","repository":{"id":72455451,"uuid":"352676504","full_name":"hazcod/cspcollector","owner":"hazcod","description":"Collects CSP reports and builds an exemption database.","archived":false,"fork":false,"pushed_at":"2021-03-29T14:43:25.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T13:58:05.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/hazcod.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}},"created_at":"2021-03-29T14:39:56.000Z","updated_at":"2021-04-18T22:00:32.000Z","dependencies_parsed_at":"2023-03-21T21:18:04.377Z","dependency_job_id":null,"html_url":"https://github.com/hazcod/cspcollector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hazcod/cspcollector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazcod%2Fcspcollector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazcod%2Fcspcollector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazcod%2Fcspcollector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazcod%2Fcspcollector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazcod","download_url":"https://codeload.github.com/hazcod/cspcollector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazcod%2Fcspcollector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32118075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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":"2024-11-16T19:35:50.685Z","updated_at":"2026-04-22T02:31:39.845Z","avatar_url":"https://github.com/hazcod.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cspcollector\nCollects CSP reports and builds an exemption database.\n\n## Testing\n```shell\n# first run our reporting server\n% go run ./...\n\n# now test it out\n% curl --data '{                                   \n  \"csp-report\": {\n    \"document-uri\": \"http://example.com/signup.html\",\n    \"referrer\": \"\",\n    \"blocked-uri\": \"http://example.com/css/style.css\",\n    \"violated-directive\": \"style-src cdn.example.com\",\n    \"original-policy\": \"default-src 'none'; style-src cdn.example.com; report-uri /_/csp-reports\",\n    \"disposition\": \"report\"\n  }\n}' -v http://localhost:8080\n\n# should now be stored in csp.db\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazcod%2Fcspcollector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazcod%2Fcspcollector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazcod%2Fcspcollector/lists"}