{"id":13522296,"url":"https://github.com/kindlyops/lambda-clamav-layer","last_synced_at":"2025-03-31T22:30:59.767Z","repository":{"id":34565833,"uuid":"179685871","full_name":"kindlyops/lambda-clamav-layer","owner":"kindlyops","description":"an AWS Lambda Layer with clamav binaries","archived":false,"fork":false,"pushed_at":"2022-02-02T23:03:10.000Z","size":29,"stargazers_count":28,"open_issues_count":5,"forks_count":16,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-02T06:31:55.640Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kindlyops.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}},"created_at":"2019-04-05T13:24:17.000Z","updated_at":"2023-08-10T03:35:29.000Z","dependencies_parsed_at":"2022-08-08T01:15:31.098Z","dependency_job_id":null,"html_url":"https://github.com/kindlyops/lambda-clamav-layer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyops%2Flambda-clamav-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyops%2Flambda-clamav-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyops%2Flambda-clamav-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyops%2Flambda-clamav-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kindlyops","download_url":"https://codeload.github.com/kindlyops/lambda-clamav-layer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552250,"owners_count":20795787,"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":[],"created_at":"2024-08-01T06:00:45.284Z","updated_at":"2025-03-31T22:30:58.189Z","avatar_url":"https://github.com/kindlyops.png","language":"Shell","funding_links":[],"categories":["Layers"],"sub_categories":["Utilities"],"readme":"# lambda-clamav-layer\n\nAn AWS Lambda Layer with `clamav` binaries\n\n## building a fresh layer\n\nTo generate the layer, run\n\n```shell\nmake build\n```\n\nTo inspect the contents of the zip file, run\n\n```shell\nunzip -vl build/lambda_layer.zip\n```\n\n## Publishing the layer to your AWS environment\n\nFor convenience, a prebuilt zip is published as a github release for this\nproject, you can download it from the releases page.\n\nThen create a layer version, specifying the zip file:\n\n```shell\nmake publish\n\n# specifying the region (default: us-west-1)\nmake publish REGION=ap-southeast-2\n```\n\nTo grant permissions to all accounts inside your organization to use the layer,\nuse these commands.\n\nFirst, find your organization ID:\n\n```shell\naws organizations describe-organization\n```\n\nNext, add a permission grant for this organization:\n\n```shell\naws lambda add-layer-version-permission \\\n    --layer-name clamav-antivirus \\\n    --version-number 1 \\\n    --statement-id allOrganizationAccounts \\\n    --principal '*' \\\n    --action lambda:GetLayerVersion \\\n    --organization-id o-NNN\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindlyops%2Flambda-clamav-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkindlyops%2Flambda-clamav-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindlyops%2Flambda-clamav-layer/lists"}