{"id":31753724,"url":"https://github.com/servicenow/pysnc","last_synced_at":"2025-10-09T17:53:55.744Z","repository":{"id":43054067,"uuid":"280202024","full_name":"ServiceNow/PySNC","owner":"ServiceNow","description":"Python API for ServiceNow","archived":false,"fork":false,"pushed_at":"2025-09-12T19:20:36.000Z","size":1027,"stargazers_count":110,"open_issues_count":9,"forks_count":32,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-09-25T15:57:06.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ServiceNow.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":"2020-07-16T16:22:30.000Z","updated_at":"2025-09-12T19:20:33.000Z","dependencies_parsed_at":"2023-12-14T21:31:18.092Z","dependency_job_id":"9ed22819-a252-43a5-a2b5-0fae6f4bfd3f","html_url":"https://github.com/ServiceNow/PySNC","commit_stats":{"total_commits":56,"total_committers":4,"mean_commits":14.0,"dds":0.0892857142857143,"last_synced_commit":"2c3b91c95777e84126c190714c8836b68bb8228c"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/ServiceNow/PySNC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceNow%2FPySNC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceNow%2FPySNC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceNow%2FPySNC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceNow%2FPySNC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ServiceNow","download_url":"https://codeload.github.com/ServiceNow/PySNC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceNow%2FPySNC/sbom","scorecard":{"id":128143,"data":{"date":"2025-08-11","repo":{"name":"github.com/ServiceNow/PySNC","commit":"a915f82d73f07cbf00dbdaebb90a818ecbe15cd0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"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":"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":"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":"Code-Review","score":1,"reason":"Found 3/17 approved changesets -- score normalized to 1","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml: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":"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/publish.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yaml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yaml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/ServiceNow/PySNC/test.yaml/main?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.1.10 not signed: https://api.github.com/repos/ServiceNow/PySNC/releases/180117479","Warn: release artifact 1.1.9 not signed: https://api.github.com/repos/ServiceNow/PySNC/releases/179596510","Warn: release artifact 1.1.8 not signed: https://api.github.com/repos/ServiceNow/PySNC/releases/165547924","Warn: release artifact 1.1.7 not signed: https://api.github.com/repos/ServiceNow/PySNC/releases/150667852","Warn: release artifact 1.1.6 not signed: https://api.github.com/repos/ServiceNow/PySNC/releases/148940023","Warn: release artifact 1.1.10 does not have provenance: https://api.github.com/repos/ServiceNow/PySNC/releases/180117479","Warn: release artifact 1.1.9 does not have provenance: https://api.github.com/repos/ServiceNow/PySNC/releases/179596510","Warn: release artifact 1.1.8 does not have provenance: https://api.github.com/repos/ServiceNow/PySNC/releases/165547924","Warn: release artifact 1.1.7 does not have provenance: https://api.github.com/repos/ServiceNow/PySNC/releases/150667852","Warn: release artifact 1.1.6 does not have provenance: https://api.github.com/repos/ServiceNow/PySNC/releases/148940023"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-48p4-8xcf-vxj5","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":-1,"reason":"internal error: internal error: Client.Checks.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: non-200 OK status code: 502 Bad Gateway body: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\"","details":null,"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-16T04:31:30.837Z","repository_id":43054067,"created_at":"2025-08-16T04:31:30.837Z","updated_at":"2025-08-16T04:31:30.837Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001805,"owners_count":26083197,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":"2025-10-09T17:53:50.525Z","updated_at":"2025-10-09T17:53:55.738Z","avatar_url":"https://github.com/ServiceNow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ServiceNow Python API\n\n**What:** \nPySnc is a python interface for the ServiceNow and the Table API. It is designed to mimic the familiar GlideRecord interface you know with pythonic support where applicable. \n\n**Why:** \nSpawned from the desire to interact with ServiceNow data in a familiar and consistent manner\n\n## Install\n\n```\npip install pysnc\n```\n\nIf you also want to install the asyncio support, you can run:\n\n```\npip install pysnc[asyncio]\n```\n\n## Quick Start\n\n```python\nfrom pysnc import ServiceNowClient\n\nclient = ServiceNowClient('https://dev0000.service-now.com', ('integration.user', password))\n\ngr = client.GlideRecord('sys_user')\ngr.add_query('user_name', 'admin')\ngr.query()\nfor r in gr:\n\tprint(r.sys_id)\n```\n\n## Documentation\n\nFull documentation currently available at [https://servicenow.github.io/PySNC/](https://servicenow.github.io/PySNC/)\n\nOr build them yourself:\n\n```\ncd docs \u0026\u0026 make html\n```\n\n## Development Notes\n\nThe following functions are not (yet?) supported:\n\n* `choose_window(first_row, last_row, force_count=True)`  TODO\n* `get_class_display_value()`\n* `get_record_class_name()`\n* `is_valid()` TODO\n* `is_valid_record()`\n* `new_record()`\n* `_next()`\n* `_query()`\n\nThe following will not be implemented:\n\n* `get_attribute(field_name)` Not Applicable\n* `get_ED()` Not Applicable\n* `get_label()` Not Applicable\n* `get_last_error_message()` Not Applicable\n* `set_workflow(enable)` Not Possible\n* `operation()` Not Applicable\n* `set_abort_action()` Not Applicable\n* `is_valid_field()` Not Possible\n* `is_action_aborted()` Not Applicable\n\n# Feature Wants and TODO\n\n* GlideAggregate support (`/api/now/stats/{tableName}`)\n\nAnd we want to:\n\n* Improve documentation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservicenow%2Fpysnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fservicenow%2Fpysnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservicenow%2Fpysnc/lists"}