{"id":34034103,"url":"https://github.com/ingatesystems/ingatesdk","last_synced_at":"2026-03-27T04:24:57.028Z","repository":{"id":62570991,"uuid":"155364689","full_name":"ingatesystems/ingatesdk","owner":"ingatesystems","description":"The Ingate Python SDK provides an interface to configure and manage your Ingate appliances (including upgrades, licenses and patches) via HTTP requests.","archived":false,"fork":false,"pushed_at":"2022-02-08T15:56:21.000Z","size":46,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-15T10:45:52.298Z","etag":null,"topics":["ingate","python","rest-api","sdk"],"latest_commit_sha":null,"homepage":"","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/ingatesystems.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":"2018-10-30T10:15:43.000Z","updated_at":"2021-10-08T07:17:39.000Z","dependencies_parsed_at":"2022-11-03T18:26:09.111Z","dependency_job_id":null,"html_url":"https://github.com/ingatesystems/ingatesdk","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ingatesystems/ingatesdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingatesystems%2Fingatesdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingatesystems%2Fingatesdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingatesystems%2Fingatesdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingatesystems%2Fingatesdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ingatesystems","download_url":"https://codeload.github.com/ingatesystems/ingatesdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingatesystems%2Fingatesdk/sbom","scorecard":{"id":488576,"data":{"date":"2025-08-11","repo":{"name":"github.com/ingatesystems/ingatesdk","commit":"b7968ce69254b847086108b24df8376dcf0d074b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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/30 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":"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":"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":"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":"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: pipCommand not pinned by hash: devbuild.sh:10","Info:   0 out of   1 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":"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":"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"}}]},"last_synced_at":"2025-08-19T18:27:27.529Z","repository_id":62570991,"created_at":"2025-08-19T18:27:27.529Z","updated_at":"2025-08-19T18:27:27.529Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"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":["ingate","python","rest-api","sdk"],"created_at":"2025-12-13T19:32:34.905Z","updated_at":"2026-03-27T04:24:57.020Z","avatar_url":"https://github.com/ingatesystems.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ingate Python SDK\n\n## Overview\nThe Ingate Python SDK provides an interface to configure and manage your Ingate\nappliances (including upgrades, licenses and patches) via HTTP requests.\n\n## Examples\n\n### Change the unit name\nChange the name of the unit to *Testapi*. Create a *Client* instance. Request a\nsecurity token. Call the method *modify_single_row* in order to change the name\nand print the result. Store the change to the permanent configuration.\n\n~~~~\nimport sys\n\nfrom ingate import ingatesdk\n\nscheme = 'http'\nuser = 'alice'\npassword = 'foobar'\naddress = '192.168.1.1'\nport = ''\n\ntry:\n    # Create API client.\n    api_client = ingatesdk.Client('v1', scheme, address, user, password,\n                                  port=port)\n\n    # Authenticate and get hold of a security token.\n    response = api_client.authenticate()\n\n    # Change the unit name.\n    unitname = 'Testapi'\n    response = api_client.modify_single_row('misc.unitname', unitname=unitname)\n    print('Changed the unit name to %s' % (response[0]['data']['unitname']))\n    print('')\n\n    # Store the preliminary configuration to the permanent configuration.\n    response = api_client.store_edit()\n    print(response[0]['store-edit']['msg'])\n    print('')\n\nexcept Exception as e:\n    sys.stderr.write('\\n%s: %s\\n' % (type(e).__name__, str(e)))\n~~~~\n\n### Apply a base license and upgrade to latest firmware version\n~~~~\nimport sys\n\nfrom ingate import ingatesdk\n\nscheme = 'http'\nuser = 'alice'\npassword = 'foobar'\naddress = '192.168.1.1'\nport = ''\n\ntry:\n    # Create API client.\n    api_client = ingatesdk.Client('v1', scheme, address, user, password,\n                                  port=port)\n\n    # Authenticate and get hold of a security token.\n    response = api_client.authenticate()\n\n    # Install a license.\n    response = api_client.install_license('myaccount', 'mypassword',\n                                          'JJV8-9JVT-BV36')\n\n    # Store the edit configuration. The 'download_install_upgrade' function\n    # expects that the configuration has been stored at least once.\n    api_client.store_edit()\n\n    # Upgrade to the latest version available.\n    response = api_client.download_install_upgrade('myaccount', 'mypassword',\n                                                   latest=True)\n\nexcept Exception as e:\n    sys.stderr.write('\\n%s: %s\\n' % (type(e).__name__, str(e)))\n~~~~\n\n## Additional information\n* [More information and examples](https://account.ingate.com/manuals/latest/reference_guide.html#_python_sdk)\n* [Generate Python code from an Ingate CLI backup file](https://raw.githubusercontent.com/ingatesystems/ingatesdk/master/utils/cli2python.py)\n* [Generate Ansible Playbook from an Ingate CLI backup file](https://raw.githubusercontent.com/ingatesystems/ingatesdk/master/utils/cli2python.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fingatesystems%2Fingatesdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fingatesystems%2Fingatesdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fingatesystems%2Fingatesdk/lists"}