{"id":37075558,"url":"https://github.com/brennerm/check-mk-web-api","last_synced_at":"2026-01-14T08:53:37.037Z","repository":{"id":52566748,"uuid":"84599609","full_name":"brennerm/check-mk-web-api","owner":"brennerm","description":"Python library to talk to the Check_Mk Web API","archived":true,"fork":false,"pushed_at":"2021-08-02T20:18:14.000Z","size":5380,"stargazers_count":53,"open_issues_count":6,"forks_count":26,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-01-05T03:07:09.962Z","etag":null,"topics":["api-wrapper","checkmk","python"],"latest_commit_sha":null,"homepage":"https://brennerm.github.io/check-mk-web-api/","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/brennerm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-03-10T20:49:45.000Z","updated_at":"2024-06-11T13:28:46.000Z","dependencies_parsed_at":"2022-09-06T20:12:17.834Z","dependency_job_id":null,"html_url":"https://github.com/brennerm/check-mk-web-api","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/brennerm/check-mk-web-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcheck-mk-web-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcheck-mk-web-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcheck-mk-web-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcheck-mk-web-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brennerm","download_url":"https://codeload.github.com/brennerm/check-mk-web-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcheck-mk-web-api/sbom","scorecard":{"id":252267,"data":{"date":"2025-08-11","repo":{"name":"github.com/brennerm/check-mk-web-api","commit":"9e86252db90714fd467d4789f11b344b661474a6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":"project is archived","details":["Warn: Repository is archived."],"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/build-and-publish-package.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/build-and-publish-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-publish-package.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/build-and-publish-package.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-publish-package.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/build-and-publish-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-api-docs.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/publish-api-docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-api-docs.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/publish-api-docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-api-docs.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/publish-api-docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-e2e-tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/run-e2e-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-e2e-tests.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/run-e2e-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-e2e-tests.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/run-e2e-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-e2e-tests.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/brennerm/check-mk-web-api/run-e2e-tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build-and-publish-package.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/publish-api-docs.yml:17","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 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":"Code-Review","score":1,"reason":"Found 5/30 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/build-and-publish-package.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-api-docs.yml:1","Warn: no topLevel permission defined: .github/workflows/run-e2e-tests.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":"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":"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":"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":"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":"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 11 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-17T08:47:01.625Z","repository_id":52566748,"created_at":"2025-08-17T08:47:01.625Z","updated_at":"2025-08-17T08:47:01.625Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["api-wrapper","checkmk","python"],"created_at":"2026-01-14T08:53:36.338Z","updated_at":"2026-01-14T08:53:37.020Z","avatar_url":"https://github.com/brennerm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-mk-web-api [![Build Status](https://travis-ci.org/brennerm/check-mk-web-api.svg?branch=master)](https://travis-ci.org/brennerm/check-mk-web-api)\n## supported Checkmk versions\n- 1.6.0\n- 1.5.0\n\n## Installation\n- From source code\n```\ngit clone https://github.com/brennerm/check-mk-web-api\ncd check-mk-web-api\nsudo python setup.py install\n```\n\n- With pip\n```\npip install check_mk_web_api\n```\n\n## [API Documentation](https://brennerm.github.io/check-mk-web-api/check_mk_web_api/)\n\n## Quickstart\n#### Initialization\n```\nimport check_mk_web_api\napi = check_mk_web_api.WebApi('http://checkmk.company.com/check_mk/webapi.py', username='automation', secret='123456')\n```\n\n#### Add Host\n```\n\u003e\u003e\u003e api.add_host('webserver00.com')\n```\n\n#### Add Host in an existing WATO folder\n```\n\u003e\u003e\u003e api.add_host('webserver00.com', folder='webservers')\n```\nNote there is no leading '/' on the folder name.\n\n#### Edit Host\n```\n\u003e\u003e\u003e api.edit_host('webserver00.com', ipaddress='192.168.0.100')\n```\n\n#### Delete Host\n```\n\u003e\u003e\u003e api.delete_host('webserver00.com')\n```\n\n#### Delete Hosts\n```\n\u003e\u003e\u003e api.delete_hosts(['webserver00.com', 'webserver01.com' ])\n```\n\n#### Get Host\n```\n\u003e\u003e\u003e api.get_host('webserver00.com')\n{\n    'hostname': 'webserver00.com',\n    'attributes': {\n        'ipaddress': '192.168.0.100'\n    },\n    'path': ''\n}\n```\n\n#### Get All Hosts\n```\n\u003e\u003e\u003e api.get_all_hosts()\n{\n    'webserver00.com': {\n        'hostname': 'webserver00.com',\n        'attributes': {\n            'ipaddress': '192.168.0.100'\n        },\n        'path': ''\n    },\n    'webserver01.com': {\n        'hostname': 'webserver01.com',\n        'attributes': {\n            'ipaddress': '192.168.0.101'\n        },\n        'path': ''\n    }\n}\n```\n\n#### Discover Services\n```\n\u003e\u003e\u003e api.discover_services('webserver00.com')\n{'removed': '0', 'new_count': '16', 'added': '16', 'kept': '0'}\n```\n\n#### Bake Agents\n```\n\u003e\u003e\u003e api.bake_agents()\n```\n\n#### Activate Changes\n```\n\u003e\u003e\u003e api.activate_changes()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrennerm%2Fcheck-mk-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrennerm%2Fcheck-mk-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrennerm%2Fcheck-mk-web-api/lists"}