{"id":43559712,"url":"https://github.com/trustcruit/tc-sam-cli","last_synced_at":"2026-02-03T20:51:50.819Z","repository":{"id":48315828,"uuid":"184213093","full_name":"trustcruit/tc-sam-cli","owner":"trustcruit","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-09T06:13:08.000Z","size":76,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T14:20:11.320Z","etag":null,"topics":["aws-lambda","aws-sam-cli","python3","python37"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/tc-sam-cli/","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/trustcruit.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-30T07:26:14.000Z","updated_at":"2022-03-22T15:39:49.000Z","dependencies_parsed_at":"2023-01-25T12:45:14.948Z","dependency_job_id":null,"html_url":"https://github.com/trustcruit/tc-sam-cli","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/trustcruit/tc-sam-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftc-sam-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftc-sam-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftc-sam-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftc-sam-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trustcruit","download_url":"https://codeload.github.com/trustcruit/tc-sam-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustcruit%2Ftc-sam-cli/sbom","scorecard":{"id":900029,"data":{"date":"2025-08-11","repo":{"name":"github.com/trustcruit/tc-sam-cli","commit":"e8fef1fb5f5fcae616f6a944531be8321d5a9218"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/push.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/trustcruit/tc-sam-cli/push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/trustcruit/tc-sam-cli/push.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T15:13:34.865Z","repository_id":48315828,"created_at":"2025-08-24T15:13:34.865Z","updated_at":"2025-08-24T15:13:34.865Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29056985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"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","aws-sam-cli","python3","python37"],"created_at":"2026-02-03T20:51:50.102Z","updated_at":"2026-02-03T20:51:50.811Z","avatar_url":"https://github.com/trustcruit.png","language":"Python","readme":"**DO NOT USE, THIS IS PRE-ALPHA, HAS NO TESTS**\n\n# tc-sam-cli\n\nA very simplified tool wrapped around aws-sam-cli to deploy aws lambda.\n\nWorks together with [tclambda](https://pypi.org/project/tclambda/)\n\n## Configuration\n\n```toml\n[Default]\nStackName = \"tc-sam-playground\"\nS3CodeBucket = \"tc-sam-bucket\"\n\n[[ExtraPolicies]]\nEffect = \"Allow\"\nAction = [\"dynamodb:*\"]\nResource = \"arn:aws:dynamodb:eu-west-1:1234:table/myTable\"\n\n[Functions.MyLambda]\nCodeUri = \"mylambda/\"\nHandler = \"app.handler\"\nRuntime = \"python3.7\"\nMemorySize = 256\nTimeout = 60\nReservedConcurrentExecutions = 1\nBatchSize = 10\n\n[Functions.MyLambda.Environment]\nMY_KEY = \"my value\"\n\n[Functions.TcLambda.Events.Ping]\nSchedule = \"rate(1 minute)\"\nFunction = \"ping\"\n\n# More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api\n[Functions.TcLambda.Api.Webhook]\nPath = \"/hello\"\nMethod = \"post\"\n\n\n[Functions.Numpy]\nCodeUri = \"numpy/\"\nHandler = \"app.handler\"\nRuntime = \"python3.7\"\nMemorySize = 256\nTimeout = 60\nTracing = true\n```\n\n### Generate AWS SAM template\n\nAfter every change in `tc-sam.toml` the template must be regenerated.\n\n```sh\n$ tc-sam generatetemplate \u003e template.json\n```\n\nIt's recommended to have `template.json` under source control.\n\nEvery Lambda has given access to each other's SQS Queue, and all Lambdas share the same S3 bucket for results. \n\n### Deploy\n\nDeploy is very straightforward, it builds the sam package and deploys the cloudformation stack.\n\n```sh\n$ tc-sam deploy\n```\n\n### Environmental export\n\n```sh\n$ tc-sam env_export\nTC_NUMPY_QUEUE=\"https://sqs.eu-west-1.amazonaws.com/123/tc-sam-playground-NumpySqs-ABC\"\nTC_NUMPY_BUCKET=\"tc-sam-playground-resultbucket-123456\"\nTC_MYLAMBDA_QUEUE=\"https://sqs.eu-west-1.amazonaws.com/123/tc-sam-playground-TcLambdaSqs-ABC\"\nTC_MYLAMBDA_BUCKET=\"tc-sam-playground-resultbucket-123456\"\n```\n\nThese settings can be copied to other projects that will use the aws lambdas.\n\n### Ping all lambdas\n\nThe tclambda handler comes with a `ping` command to test if both permissions to SQS and S3 are allowed.\n\n```sh\n$ tc-sam ping\nPing NUMPY\nPing MYLAMBDA\nPong NUMPY\nPong MYLAMBDA\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustcruit%2Ftc-sam-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrustcruit%2Ftc-sam-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustcruit%2Ftc-sam-cli/lists"}