{"id":34082030,"url":"https://github.com/taro-kayo/statelint","last_synced_at":"2026-04-01T19:18:33.517Z","repository":{"id":43346623,"uuid":"466138073","full_name":"taro-kayo/statelint","owner":"taro-kayo","description":"A PyPI package providing a validator for Amazon States Language JSON/YAML files.","archived":false,"fork":false,"pushed_at":"2026-03-23T05:52:17.000Z","size":364,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T00:58:05.902Z","etag":null,"topics":["aws","cli","pypi","python","step-functions","validator"],"latest_commit_sha":null,"homepage":"","language":"Python","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/taro-kayo.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":"2022-03-04T13:41:56.000Z","updated_at":"2026-03-12T23:58:03.000Z","dependencies_parsed_at":"2024-06-25T04:23:20.972Z","dependency_job_id":"087b016d-eed7-48bb-be8b-1fc141b99835","html_url":"https://github.com/taro-kayo/statelint","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"033f3d24da02ecaf43c7df7775a0fa440a7154c6"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/taro-kayo/statelint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taro-kayo%2Fstatelint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taro-kayo%2Fstatelint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taro-kayo%2Fstatelint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taro-kayo%2Fstatelint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taro-kayo","download_url":"https://codeload.github.com/taro-kayo/statelint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taro-kayo%2Fstatelint/sbom","scorecard":{"id":868949,"data":{"date":"2025-08-11","repo":{"name":"github.com/taro-kayo/statelint","commit":"dbd28ff35d2466a2434ee78751dc5bfe23ff6cfd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/1 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"Maintained","score":10,"reason":"26 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/taro-kayo/statelint/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/taro-kayo/statelint/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/taro-kayo/statelint/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/taro-kayo/statelint/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/taro-kayo/statelint/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/taro-kayo/statelint/test.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:36","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:37","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   4 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand 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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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: Apache License 2.0: 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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/python-publish.yml:38"],"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 30 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"}}]},"last_synced_at":"2025-08-24T03:34:20.443Z","repository_id":43346623,"created_at":"2025-08-24T03:34:20.443Z","updated_at":"2025-08-24T03:34:20.443Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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","cli","pypi","python","step-functions","validator"],"created_at":"2025-12-14T12:03:01.925Z","updated_at":"2026-04-01T19:18:33.510Z","avatar_url":"https://github.com/taro-kayo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# statelint\n\n\u003ca href=\"https://github.com/taro-kayo/statelint/actions\"\u003e\u003cimg alt=\"Actions Status\" src=\"https://github.com/taro-kayo/statelint/workflows/Test/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/taro-kayo/statelint?branch=main\"\u003e\u003cimg alt=\"Coverage Status\" src=\"https://coveralls.io/repos/github/taro-kayo/statelint/badge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/taro-kayo/statelint/blob/main/LICENSE\"\u003e\u003cimg alt=\"License: Apache License 2.0\" src=\"https://img.shields.io/badge/License-Apache_2.0-blue.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/statelint/\"\u003e\u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/statelint\"\u003e\u003c/a\u003e\n[![Downloads](https://static.pepy.tech/badge/statelint/month)](https://pepy.tech/project/statelint)\n\nA PyPI package providing a validator for [Amazon States Language](https://states-language.net/spec.html) JSON/YAML files.\n\nThis package is based on Amazon Web Services Labs' [awslabs/statelint](https://github.com/awslabs/statelint).\n\n## Installation\n\n```shell\npip install statelint\n```\n\n## Usage\n\n```shell\nstatelint fancy-state-machine-spec.json\n```\n\nIf you prefer YAML, you need to install [PyYaml](https://pypi.org/project/PyYAML/).\n\n```shell\npip install PyYAML\n```\n\nThen, run command with a `--yaml` parameter.\n\n```shell\nstatelint --yaml fancy-state-machine-spec.yaml\n```\n\nIf you don't like to be complained that `BackoffRate` doesn't end with \".0\",\npass a `--ignore=FLOAT` parameter.\n\n```shell\nstatelint --ignore=FLOAT fancy-state-machine-spec.json\n```\n\nIf your `Resource` doesn't contain URI string,\npass a `--ignore=URI` parameter.\n\n```shell\nstatelint --ignore=URI fancy-state-machine-spec.json\n```\n\nYou can pass both parameters at the same time.\n\n```shell\nstatelint --ignore=FLOAT,URI fancy-state-machine-spec.json\n```\n\n## 🚀 JSONata Evaluation (Experimental)\n\nIf you are using [JSONata](https://docs.aws.amazon.com/step-functions/latest/dg/transforming-data.html), you may be able to reduce false positives by passing the `--eval-jsonata` flag.\n\nThis feature is currently **experimental** (and might just stay that way 😉).\n\nHowever, this library only references variables assigned in the `\"Assign\"` field (i.e., $states is not supported) and **does not** support the JSONata format _within_ the `\"Assign\"` field itself.\n\nTo use this feature, you must install [jsonata-python](https://github.com/rayokota/jsonata-python):\n\n```shell\npip install jsonata-python\n```\n\n### Usage Example:\n\n```shell\nstatelint --eval-jsonata fancy-state-machine-spec.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaro-kayo%2Fstatelint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaro-kayo%2Fstatelint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaro-kayo%2Fstatelint/lists"}