{"id":37026531,"url":"https://github.com/laviua/komock","last_synced_at":"2026-01-14T03:05:26.723Z","repository":{"id":57743446,"uuid":"79656063","full_name":"laviua/komock","owner":"laviua","description":"KoMock - Simple HTTP/Consul/SpringConfig http server framework written in Kotlin. Wiremock use cases","archived":false,"fork":false,"pushed_at":"2018-12-05T13:06:36.000Z","size":249,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-07-07T15:12:47.522Z","etag":null,"topics":["consul","http","kotlin","mocking","ssl"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/laviua.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-21T16:05:13.000Z","updated_at":"2023-06-15T19:42:01.000Z","dependencies_parsed_at":"2022-08-26T01:23:45.372Z","dependency_job_id":null,"html_url":"https://github.com/laviua/komock","commit_stats":null,"previous_names":[],"tags_count":15,"template":null,"template_full_name":null,"purl":"pkg:github/laviua/komock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviua%2Fkomock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviua%2Fkomock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviua%2Fkomock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviua%2Fkomock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laviua","download_url":"https://codeload.github.com/laviua/komock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviua%2Fkomock/sbom","scorecard":{"id":580228,"data":{"date":"2025-08-11","repo":{"name":"github.com/laviua/komock","commit":"2cddcc088373fc468d54a2c40a150ee1bde64700"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"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":"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":"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":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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"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":"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":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","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":"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.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt: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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.10 not signed: https://api.github.com/repos/laviua/komock/releases/14361730","Warn: release artifact 1.8.0 not signed: https://api.github.com/repos/laviua/komock/releases/8045501","Warn: release artifact 1.7 not signed: https://api.github.com/repos/laviua/komock/releases/7589992","Warn: release artifact 1.6 not signed: https://api.github.com/repos/laviua/komock/releases/5948491","Warn: release artifact 1.5 not signed: https://api.github.com/repos/laviua/komock/releases/5701634","Warn: release artifact 1.10 does not have provenance: https://api.github.com/repos/laviua/komock/releases/14361730","Warn: release artifact 1.8.0 does not have provenance: https://api.github.com/repos/laviua/komock/releases/8045501","Warn: release artifact 1.7 does not have provenance: https://api.github.com/repos/laviua/komock/releases/7589992","Warn: release artifact 1.6 does not have provenance: https://api.github.com/repos/laviua/komock/releases/5948491","Warn: release artifact 1.5 does not have provenance: https://api.github.com/repos/laviua/komock/releases/5701634"],"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"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: docker/Dockerfile:1","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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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-20T18:59:21.016Z","repository_id":57743446,"created_at":"2025-08-20T18:59:21.017Z","updated_at":"2025-08-20T18:59:21.017Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["consul","http","kotlin","mocking","ssl"],"created_at":"2026-01-14T03:05:26.024Z","updated_at":"2026-01-14T03:05:26.715Z","avatar_url":"https://github.com/laviua.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Komock [![Build Status](https://travis-ci.org/laviua/komock.svg?branch=master)](https://travis-ci.org/laviua/komock) [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://img.shields.io/maven-central/v/ua.com.lavi/komock-core.svg?style=plastic)]() [![Code Climate](https://codeclimate.com/github/laviua/komock/badges/gpa.svg)](https://codeclimate.com/github/laviua/komock)\nHere is HTTP/Consul/SpringConfig mocker framework written in Kotlin.  \n\nThis tiny framework is very useful if you need to create REST based client for API service.  \nWe use this framework for develop microservices or API integration with third party systems.  \n\nMain features:  \n- Configurable response for any kind of HTTP request/response with wildcards, cookies and custom headers.\n- SSL support\n- Virtual Host support\n- Consul discovery service support.\n- Ability to work like a simple Spring Configuration Server\n- Header based security\n- Variables in the response by request parameters\n- Callback support\n\n## Download\n\nBinaries are available at\nhttps://github.com/laviua/komock/releases/latest\n\n[Changelog](https://github.com/laviua/komock/blob/master/changelog.md)\n\n## Maven Central repository\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eua.com.lavi\u003c/groupId\u003e\n        \u003cartifactId\u003ekomock-core\u003c/artifactId\u003e\n        \u003cversion\u003eRELEASE\u003c/version\u003e\n    \u003c/dependency\u003e\n\n## How to use\n\nRun standalone application:\n\n1. Extract release version from https://github.com/laviua/komock/releases/latest :\n    \n        komock-app-x.x.x.zip\n\n3. Run\n\n        bin\\komock-app /path/your_config.yaml\n\n\n## Examples\n\n**Simple http server**\nhttps://github.com/laviua/komock/wiki/Simple-http-server-(Java)\n\n**Oauth2 server**\nhttps://github.com/laviua/komock/wiki/Oauth2-server\n\n**Consul service registration**\nhttps://github.com/laviua/komock/wiki/Consul\n              \n**Spring config server**\nhttps://github.com/laviua/komock/wiki/Spring-config-server\n\n**Unit testing**\nhttps://github.com/laviua/komock/wiki/Unit-Testing-with-request-capturing-(Java)\n\n**Full config**\nCallbacks, Mask patterns, cookies, virtualhosts, etc\nLook at self-describable configuration file [Link](https://github.com/laviua/komock/blob/master/komock-core/mock_example.yml):\n\n## HTTPS / SSL:\n\nYou can use your personal keystore. Just create it by the following command and set filename with password in the configuration file (secure section):\n\n    keytool -genkey -alias replserver -keyalg RSA -keystore mock_keystore.jks -dname \"CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino, S=California, C=US\" -storepass mockpassword -keypass mockpassword\n\n    ssl:\n      enabled: true\n      keyStoreLocation: mock_keystore.jks\n      keyStorePassword: mockpassword\n\n### License ###\nLicensed under Apache 2 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaviua%2Fkomock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaviua%2Fkomock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaviua%2Fkomock/lists"}