{"id":36494512,"url":"https://github.com/davidlukac/go-pleasant-cli","last_synced_at":"2026-01-12T01:59:42.674Z","repository":{"id":47511623,"uuid":"385539591","full_name":"davidlukac/go-pleasant-cli","owner":"davidlukac","description":"CLI Client for Pleasant, mainly Password Server, written in GoLang.","archived":false,"fork":false,"pushed_at":"2023-12-18T23:03:24.000Z","size":128,"stargazers_count":1,"open_issues_count":19,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T03:14:38.743Z","etag":null,"topics":["cli","go","go-cli","golang","golang-cli","pleasant","pleasant-password-server","secrets","vault","vault-client"],"latest_commit_sha":null,"homepage":"","language":"Go","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/davidlukac.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}},"created_at":"2021-07-13T08:54:29.000Z","updated_at":"2023-06-16T19:03:40.000Z","dependencies_parsed_at":"2024-06-21T02:06:45.678Z","dependency_job_id":"cde6c4e7-4c97-49a9-ab83-e575195d4ce5","html_url":"https://github.com/davidlukac/go-pleasant-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/davidlukac/go-pleasant-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlukac%2Fgo-pleasant-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlukac%2Fgo-pleasant-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlukac%2Fgo-pleasant-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlukac%2Fgo-pleasant-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidlukac","download_url":"https://codeload.github.com/davidlukac/go-pleasant-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlukac%2Fgo-pleasant-cli/sbom","scorecard":{"id":327087,"data":{"date":"2025-08-11","repo":{"name":"github.com/davidlukac/go-pleasant-cli","commit":"6134d147c9253258fb080b4b95ce056217dad483"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/7 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":"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":"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/cicd.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/davidlukac/go-pleasant-cli/cicd.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cicd.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/davidlukac/go-pleasant-cli/cicd.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cicd.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/davidlukac/go-pleasant-cli/cicd.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cicd.yaml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/davidlukac/go-pleasant-cli/cicd.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cicd.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/davidlukac/go-pleasant-cli/cicd.yaml/master?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/cicd.yaml:53","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 goCommand 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/cicd.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":"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: Apache License 2.0: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.0-snapshot not signed: https://api.github.com/repos/davidlukac/go-pleasant-cli/releases/108921286","Warn: release artifact v0.1.0-snapshot does not have provenance: https://api.github.com/repos/davidlukac/go-pleasant-cli/releases/108921286"],"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":-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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T02:43:04.962Z","repository_id":47511623,"created_at":"2025-08-18T02:43:04.962Z","updated_at":"2025-08-18T02:43:04.962Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"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":["cli","go","go-cli","golang","golang-cli","pleasant","pleasant-password-server","secrets","vault","vault-client"],"created_at":"2026-01-12T01:59:41.994Z","updated_at":"2026-01-12T01:59:42.667Z","avatar_url":"https://github.com/davidlukac.png","language":"Go","readme":"# Pleasant Solutions CLI\n\nUnofficial CLI for [Pleasant products](https://pleasantsolutions.com/), mainly for the [Password server](https://pleasantsolutions.com/passwordserver).\n\n\n## Pleasant Password server\n\n[Pleasant Password server](https://pleasantsolutions.com/passwordserver) CLI provides a command line integration for the \npassword server. Main features:\n\n- Working with folders.\n- Working with entries (secrets).\n\n\n### CLI commands\n\nThe base command for the CLI is `pleasant`, specifying Password server as `password-server` or `ps` in short:\n\n```shell\n$ pleasant password-server \u003cCMD\u003e \u003cENTITY\u003e \u003cFLAGS\u003e\n$ pleasant ps \u003cCMD\u003e \u003cENTITY\u003e \u003cFLAGS\u003e\n```\n\n\n### Working with folders\n\nTo get information about a Folder:\n```shell\n# With folder's UUID:\n$ pleasant ps get folder \u003cUUID\u003e\n# From folder's path:\n$ pleasant ps get folder path/to/folder -p\n# To print folder's ID: \n$ pleasant ps get folder path/to/folder -p -i\n# Check whether a folder exists\n$ pleasant ps exists folder path/to/folder\n```\n\nTo create a new folder:\n```shell\n$ pleasant ps create folder path/to/folder\n```\n\n\n### Working with entries (secrets)\n\nTo get a secret entry:\n```shell\n# With entry's UUID:\n$ pleasant ps get entry \u003cUUID\u003e\n# From it's path and name:\n$ pleasant ps get entry /path/to/entry/entry-name -f\n# To get a web link to an entry:\n$ pleasant ps get entry /path/to/entry/entry-name -f -l\n```\n\nTo create a new secret entry:\n```shell\n# Create entry 'foo' in the root folder interactively (name of the entry will be user as username as well):\n$ pleasant ps create entry foo\n# Create entry with random password:\n$ pleasant ps create entry foo -r\n# Specify username:\n$ pleasant ps create entry foo -r -u foo-username\n# Place the new entry into specific folder:\n$ pleasant ps create entry foo -u foouser -p \u003cfolder-UUID\u003e\n# Use a path instead of folder UUID - folders will be created if paths doesn't exist:\n$ pleasant ps create entry foo -p path/to/folder -f\n```\n\nTo patch an existing entry:\n```shell\n# Patch entry identified by UUID with a JSON string:\n$ pleasant ps patch entry \u003cUUID\u003e -j '{\"Username\": \"new-username\"}'\n# Identifying the patching entry with path and name:\n$ pleasant ps patch entry path/to/entry/entry-name -f -j '{\"Username\": \"new-username\"}'\n# Patch with values from a Kubernetes Opaque Secret YAML file:\n$ pleasant ps patch entry path/to/entry/entry-name -f -y input.yaml \n```\n\nTo clone/duplicate an existing entry, along with all its content and attachments:\n```shell\n# Clone an entry inside the original folder (adds ' - Copy' to the name):\n$ pleasant ps duplicate entry \u003cUUID\u003e\n# Clone it to a different folder (identified by the target folder UUID):\n$ pleasant ps duplicate entry \u003cUUID\u003e -t \u003cUUID\u003e\n# Clone the entry into an existing folder identified by a path:\n$ pleasant ps duplicate entry \u003cUUID\u003e -t /foo/bar -p\n# Clone the entry into a new folder on given path (i.e. create missing folders in the provided path):\n$ pleasant ps duplicate entry \u003cUUID\u003e -t /foo/new-bar -p -c\n```\n\n#### Randomized patch values\n\nThe [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/#opaque-secrets) YAML can contain a \n`$RANDOM$` token as values, e.g.:\n\n```yaml\napiVersion: v1\nkind: Secret\ntype: Opaque\nmetadata:\n  name: fooSecret\nstringData:\n  randomValue: $RANDOM$\n```\n\nThe `$RANDOM$` token will be replaced with a random value, if the `randomize` flag is used:\n\n```shell\n$ pleasant ps patch entry path/to/entry/entry-name -f -y secret.yaml -r \n```\n\nThe `$RANDOM$` token may be even updated in the patch file with actual random value if `update-k8s-opaque-yaml-file` is\nused:\n\n```shell\n$ pleasant ps patch entry path/to/entry/entry-name -f -y secret.yaml -r -u\n```\n\n\n#### References\n\nThe patch file may contain references to existing fields in the Entry. For example if we want to patch a Custom field\nwith value the `Password`:\n\n```yaml\napiVersion: v1\nkind: Secret\ntype: Opaque\nmetadata:\n  name: fooSecret\nstringData:\n  referencedValue: $REF.ENTRY.Password.REF$\n```\n\n\n### Global flags\n\n_Global flag might not be implemented for all commands yet!_\n\n- `quiet` modifies output to minimum, so it's easier to parse in scripts.  \n\n\n### Configuration\n\nCredentials should be places into a `.pleasant.yaml` file, either in `$HOME` or in current folder:\n\n```shell\npassword_server_url: \"\"\npassword_server_username: \"\"\npassword_server_password: \"\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidlukac%2Fgo-pleasant-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidlukac%2Fgo-pleasant-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidlukac%2Fgo-pleasant-cli/lists"}