{"id":37403479,"url":"https://github.com/oslokommune/okdata-log-group-subscriber","last_synced_at":"2026-01-16T05:48:24.353Z","repository":{"id":37962798,"uuid":"422589687","full_name":"oslokommune/okdata-log-group-subscriber","owner":"oslokommune","description":"Auto-subscribe to CloudWatch Log Groups","archived":false,"fork":false,"pushed_at":"2026-01-12T08:22:09.000Z","size":605,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-12T18:06:18.740Z","etag":null,"topics":["dataplatform"],"latest_commit_sha":null,"homepage":"","language":"Python","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/oslokommune.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-29T13:40:49.000Z","updated_at":"2026-01-12T08:22:12.000Z","dependencies_parsed_at":"2023-02-15T07:31:39.467Z","dependency_job_id":"c46b7a4f-3d52-43a4-89be-006e5973fe55","html_url":"https://github.com/oslokommune/okdata-log-group-subscriber","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oslokommune/okdata-log-group-subscriber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslokommune%2Fokdata-log-group-subscriber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslokommune%2Fokdata-log-group-subscriber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslokommune%2Fokdata-log-group-subscriber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslokommune%2Fokdata-log-group-subscriber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oslokommune","download_url":"https://codeload.github.com/oslokommune/okdata-log-group-subscriber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslokommune%2Fokdata-log-group-subscriber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","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":["dataplatform"],"created_at":"2026-01-16T05:48:24.246Z","updated_at":"2026-01-16T05:48:24.324Z","avatar_url":"https://github.com/oslokommune.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# okdata-log-group-subscriber\n\nAWS Lambda function for automatically setting up subscriptions to new CloudWatch\nLog Groups when they are created. Configure the function by setting the\nfollowing environment variables:\n\n| Variable name              | Description                                                                           |\n|----------------------------|---------------------------------------------------------------------------------------|\n| `DESTINATION_ARN`          | ARN of the resource to set up subscriptions for.                                      |\n| `FILTER_PATTERN`           | Only log entries matching this pattern are sent to the destination.                   |\n| [`SUBSCRIPTION_WHITELIST`] | Optional regex. Create subscriptions only for log groups with names matching this.    |\n| [`SUBSCRIPTION_BLACKLIST`] | Optional regex. Don't create subscriptions for log groups with names containing this. |\n\nNote that CloudTrail logging *must* be enabled on the AWS account in order for\nthis component to be able to subscribe to `CreateLogGroup` events.\n\n## Tests\n\nTests are run using [tox](https://pypi.org/project/tox/): `make test`\n\nFor tests and linting we use [pytest](https://pypi.org/project/pytest/),\n[flake8](https://pypi.org/project/flake8/) and\n[black](https://pypi.org/project/black/).\n\n## Deploy\n\nDeploy to both dev and prod is automatic via GitHub Actions on push to main. You\ncan alternatively deploy from local machine with: `make deploy` or `make\ndeploy-prod`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foslokommune%2Fokdata-log-group-subscriber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foslokommune%2Fokdata-log-group-subscriber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foslokommune%2Fokdata-log-group-subscriber/lists"}