{"id":19237428,"url":"https://github.com/datatheorem/datatheorem-api-secure-action","last_synced_at":"2026-06-10T20:31:41.522Z","repository":{"id":65159463,"uuid":"372510705","full_name":"datatheorem/datatheorem-api-secure-action","owner":"datatheorem","description":"Integration to request RESTful APIs scans from Github Actions","archived":false,"fork":false,"pushed_at":"2021-06-07T17:57:29.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-23T14:51:50.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datatheorem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-31T13:10:07.000Z","updated_at":"2021-06-07T17:57:32.000Z","dependencies_parsed_at":"2023-01-05T04:53:33.123Z","dependency_job_id":null,"html_url":"https://github.com/datatheorem/datatheorem-api-secure-action","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"262b642bbbdbc6dc0fa124b78cc9af7b957ac107"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/datatheorem/datatheorem-api-secure-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatheorem%2Fdatatheorem-api-secure-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatheorem%2Fdatatheorem-api-secure-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatheorem%2Fdatatheorem-api-secure-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatheorem%2Fdatatheorem-api-secure-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datatheorem","download_url":"https://codeload.github.com/datatheorem/datatheorem-api-secure-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatheorem%2Fdatatheorem-api-secure-action/sbom","scorecard":{"id":324857,"data":{"date":"2025-08-11","repo":{"name":"github.com/datatheorem/datatheorem-api-secure-action","commit":"262b642bbbdbc6dc0fa124b78cc9af7b957ac107"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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/3 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":"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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:2: pin your Docker image by updating alpine:3.10 to alpine:3.10@sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98","Info:   0 out of   1 containerImage 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}}]},"last_synced_at":"2025-08-18T02:11:48.195Z","repository_id":65159463,"created_at":"2025-08-18T02:11:48.195Z","updated_at":"2025-08-18T02:11:48.195Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34170162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T16:26:40.532Z","updated_at":"2026-06-10T20:31:41.503Z","avatar_url":"https://github.com/datatheorem.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Secure\n\nData Theorem's API Secure will scan your RESTful APIs for security issues, \nincluding, but not limited to, SQL injection, SSRF, XSS, and PII/PHI data publicly accessible on the Internet.\nMore information can be found here:\n\nhttps://www.datatheorem.com/products/api-secure\n\nValid Data Theorem API key required.\n\n## Set your Data Theorem API key as a secret\nTo find your Data Theorem API key, connect to https://www.securetheorem.com/mobile/sdlc/results_api_access \nusing your Data Theorem account.  \nCreate an encrypted variable named `DT_RESULTS_API_KEY` in your Github repository.\n\nFor more information, see [Github Encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets).\n\n## Find your RESTful API's ID\nGo to your [API Secure inventory]((https://securetheorem.com/api/inventory)) in the Data Theorem portal and find \nthe RESTful API you wish to scan.\n\nRetrieve the RESTful API’s ID from the url of the RESTful API’s page that looks like:  \n`https://securetheorem.com/api/restful-apis/\u003casset_id\u003e`\n\n\n## Optional scan configuration\nOptionally, the following scan configuration settings can be specified:\n\n`should_perform_pii_analysis: \u003ctrue/false\u003e`  \nIf set to true, the API responses received by the scanner will be analyzed for personally identifiable information.\n\n`should_perform_sql_injection_scan: \u003ctrue/false\u003e`    \nIf set to true, the API’s parameters will be scanned for SQL injection issues.  \nThis type of scan requires sending a lot of requests to the API,\nit will significantly increase the load on the API, and could potentially disrupt it.\n\n\n## Sample usage\n\n```yaml\nname: Request a Data Theorem API Secure scan\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  scan:\n    name: scan RESTful API for security issues\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Request Data Theorem API Secure scan\n        uses: datatheorem/data-theorem-api-secure-action@v1.0.0\n        with:\n          dt_results_api_key: ${{ secrets.DT_RESULTS_API_KEY }}\n          asset_id: \"15255982-380f-4dae-8fed-b06fc6a82566\"\n          asset_base_url: \"https://\u003casset_base_url\u003e/\"\n          # Optional scan configuration\n          should_perform_pii_analysis: false\n          should_perform_sql_injection_scan: false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatatheorem%2Fdatatheorem-api-secure-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatatheorem%2Fdatatheorem-api-secure-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatatheorem%2Fdatatheorem-api-secure-action/lists"}