{"id":49538954,"url":"https://github.com/scanii/scanii-lambda","last_synced_at":"2026-05-02T13:11:52.522Z","repository":{"id":3913862,"uuid":"51304121","full_name":"scanii/scanii-lambda","owner":"scanii","description":"A Sam-Packaged AWS Lambda client to the scanii.com content processing service","archived":false,"fork":false,"pushed_at":"2026-04-23T18:44:31.000Z","size":354,"stargazers_count":26,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-04-23T20:26:37.655Z","etag":null,"topics":["aws","lambda"],"latest_commit_sha":null,"homepage":"https://scanii.com","language":"JavaScript","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/scanii.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":"2016-02-08T14:56:04.000Z","updated_at":"2026-04-23T18:46:33.000Z","dependencies_parsed_at":"2024-03-24T15:29:48.618Z","dependency_job_id":"174d2ebe-271f-4747-baf1-a292c1ff5a55","html_url":"https://github.com/scanii/scanii-lambda","commit_stats":null,"previous_names":["scanii/scanii-lambda"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/scanii/scanii-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanii%2Fscanii-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanii%2Fscanii-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanii%2Fscanii-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanii%2Fscanii-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scanii","download_url":"https://codeload.github.com/scanii/scanii-lambda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanii%2Fscanii-lambda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32535108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"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":["aws","lambda"],"created_at":"2026-05-02T13:11:51.776Z","updated_at":"2026-05-02T13:11:52.516Z","avatar_url":"https://github.com/scanii.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uva Software’s scanii-lambda\nA Sam-Packaged AWS Lambda client to the [scanii.com](https://scanii.com) content processing engine. For a detailed walk-through of deploying this application see: https://docs.scanii.com/article/151-how-do-i-analyze-content-stored-on-amazon-s3.\n\n## How it works\nThis is, essentially, a series of lambda functions packaged in a one-click deployable application that configures everything needed so your S3 objects are submitted automatically to scanii’s content analysis [API](https://docs.scanii.com/v2.1/overview.html).  Once the content is processed,  you can choose from a couple of different actions:\n\n1. Tag the content - this is defaulted to on and adds the following tag to objects processed: \n\t1. `ScaniiId` -\u003e the resource id of the processed content\n\t2. `ScaniiFindings` -\u003e  list of identified findings (content engine dependent) \n\t3. `ScaniiContentType` -\u003e the identified content type of the file processed \n2. Delete the object with findings - this is defaulted to **off** and will delete S3 objects with findings (such as malware or NSFW content) - for a full list of available content identification see https://docs.scanii.com/article/149-how-do-the-different-detection-engines-work\n\n## Working with the source code\nThe source code for this application is written using Javascript and requires, at least, nodejs 8 to run. Before getting started we strongly advise you to become familiar with the following technologies: \n\n1. [Amazon S3](https://aws.amazon.com/s3/)\n2. [Amazon Lambda](https://aws.amazon.com/lambda/)\n3. [AWS Serverless Application Model (SAM) specification](https://github.com/awslabs/serverless-application-model)\n\n### Building and running tests\nTests utilize Mocha and are triggered into NPM, we provide a makefile to tie everything together: \n```\n$ make test\n```\n\n### Running the application locally\nIf you have the SAM CLI (https://github.com/awslabs/aws-sam-cli) installed locally you can run scanii-lambda locally for testing: \n\n```\n$ make run\n```\n\n## Deploying it\nYou can deploy this application by clicking [here.](https://serverlessrepo.aws.amazon.com/#/applications/arn:aws:serverlessrepo:us-east-1:484983087487:applications~UvaSoftware-Scanii-Lambda)  - please note that after deployment you must manually create a trigger event for the `uvasoftware-scanii-lambda-submit` function for your S3 bucket,  under “Add Triggers/S3” and event type `Object Created (All)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanii%2Fscanii-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscanii%2Fscanii-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanii%2Fscanii-lambda/lists"}