{"id":21480810,"url":"https://github.com/essentialkaos/go-confluence","last_synced_at":"2025-10-14T14:08:39.651Z","repository":{"id":31662427,"uuid":"127573940","full_name":"essentialkaos/go-confluence","owner":"essentialkaos","description":"Go package for working with Atlassian Confluence Server REST API","archived":false,"fork":false,"pushed_at":"2025-09-05T06:26:10.000Z","size":258,"stargazers_count":32,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T08:28:25.687Z","etag":null,"topics":["atlassian-confluence","confluence","golang"],"latest_commit_sha":null,"homepage":"https://kaos.sh/g/go-confluence.v6","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/essentialkaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2018-03-31T21:48:14.000Z","updated_at":"2025-05-06T12:13:51.000Z","dependencies_parsed_at":"2023-12-14T09:30:43.209Z","dependency_job_id":"622453ed-a022-4310-a28c-1b0f547df999","html_url":"https://github.com/essentialkaos/go-confluence","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/essentialkaos/go-confluence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fgo-confluence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fgo-confluence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fgo-confluence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fgo-confluence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/essentialkaos","download_url":"https://codeload.github.com/essentialkaos/go-confluence/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fgo-confluence/sbom","scorecard":{"id":383083,"data":{"date":"2025-08-11","repo":{"name":"github.com/essentialkaos/go-confluence","commit":"29f6f8ccf288f154fa90fa47e735b0f42c978e0c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/1 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":"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":"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":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'actions' permission set to 'read': .github/workflows/ci.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:18","Warn: topLevel 'statuses' permission set to 'write': .github/workflows/ci.yml:19","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/codeql.yml:12","Info: topLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:13","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:14","Warn: no topLevel permission defined: .github/workflows/godoc.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":"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/ci.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/codeql.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/godoc.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/essentialkaos/go-confluence/godoc.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 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":"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":"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":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: go-confluence-6.0.4.tar.bz2.asc: https://github.com/essentialkaos/go-confluence/releases/tag/v6.0.4","Info: signed release artifact: go-confluence-6.0.3.tar.bz2.asc: https://github.com/essentialkaos/go-confluence/releases/tag/v6.0.3","Info: signed release artifact: go-confluence-6.0.2.tar.bz2.asc: https://github.com/essentialkaos/go-confluence/releases/tag/v6.0.2","Info: signed release artifact: go-confluence-6.0.1.tar.bz2.asc: https://github.com/essentialkaos/go-confluence/releases/tag/v6.0.1","Info: signed release artifact: go-confluence-6.0.0.tar.bz2.asc: https://github.com/essentialkaos/go-confluence/releases/tag/v6.0.0","Warn: release artifact v6.0.4 does not have provenance: https://api.github.com/repos/essentialkaos/go-confluence/releases/216735984","Warn: release artifact v6.0.3 does not have provenance: https://api.github.com/repos/essentialkaos/go-confluence/releases/161793343","Warn: release artifact v6.0.2 does not have provenance: https://api.github.com/repos/essentialkaos/go-confluence/releases/156473084","Warn: release artifact v6.0.1 does not have provenance: https://api.github.com/repos/essentialkaos/go-confluence/releases/99781728","Warn: release artifact v6.0.0 does not have provenance: https://api.github.com/repos/essentialkaos/go-confluence/releases/99768779"],"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":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: 'up-to-date branches' is disabled on branch 'master'","Info: status check found to merge onto on branch 'master'","Info: PRs are required in order to make changes on 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":"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":"SAST","score":8,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 17 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"}}]},"last_synced_at":"2025-08-18T15:55:53.773Z","repository_id":31662427,"created_at":"2025-08-18T15:55:53.773Z","updated_at":"2025-08-18T15:55:53.773Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019122,"owners_count":26086679,"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-14T02:00:06.444Z","response_time":60,"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":["atlassian-confluence","confluence","golang"],"created_at":"2024-11-23T12:17:58.555Z","updated_at":"2025-10-14T14:08:39.620Z","avatar_url":"https://github.com/essentialkaos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"#readme\"\u003e\u003cimg src=\".github/images/card.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://kaos.sh/g/go-confluence.v6\"\u003e\u003cimg src=\".github/images/godoc.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/r/go-confluence\"\u003e\u003cimg src=\"https://kaos.sh/r/go-confluence.svg\" alt=\"GoReportCard\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/w/go-confluence/ci\"\u003e\u003cimg src=\"https://kaos.sh/w/go-confluence/ci.svg\" alt=\"GitHub Actions CI Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://kaos.sh/w/go-confluence/codeql\"\u003e\u003cimg src=\"https://kaos.sh/w/go-confluence/codeql.svg\" alt=\"GitHub Actions CodeQL Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"#license\"\u003e\u003cimg src=\".github/images/license.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#usage-example\"\u003eUsage example\u003c/a\u003e • \u003ca href=\"#ci-status\"\u003eCI Status\u003c/a\u003e • \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\n`go-confluence` is a Go package for working with [Confluence REST API](https://docs.atlassian.com/ConfluenceServer/rest/7.3.3/).\n\n\u003e [!IMPORTANT]\n\u003e **Please note that this package only supports retrieving data from the Confluence API (_i.e. you cannot create or modify data with this package_).**\n\n### Usage example\n\nAuthentication with username and password.\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  cf \"github.com/essentialkaos/go-confluence/v6\"\n)\n\nfunc main() {\n  api, err := cf.NewAPI(\"https://confluence.domain.com\", cf.AuthBasic{\"john\", \"MySuppaPAssWOrd\"})\n\n  api.SetUserAgent(\"MyApp\", \"1.2.3\")\n\n  if err != nil {\n    fmt.Printf(\"Error: %v\\n\", err)\n    return\n  }\n\n  content, err := api.GetContentByID(\n    \"18173522\", cf.ContentIDParameters{\n      Version: 4,\n      Expand:  []string{\"space\", \"body.view\", \"version\"},\n    },\n  )\n\n  if err != nil {\n    fmt.Printf(\"Error: %v\\n\", err)\n    return\n  }\n\n  fmt.Printf(\"ID: %s\\n\", content.ID)\n}\n```\n\nAuthentication with personal token. Please make sure your confluence 7.9 version and later. See [Using Personal Access Tokens guide](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html)\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n\n  cf \"github.com/essentialkaos/go-confluence/v6\"\n)\n\nfunc main() {\n  api, err := cf.NewAPI(\"https://confluence.domain.com\", cf.AuthToken{\"avaMTxxxqKaxpFHpmwHPXhjmUFfAJMaU3VXUji73EFhf\"})\n\n  api.SetUserAgent(\"MyApp\", \"1.2.3\")\n\n  if err != nil {\n    fmt.Printf(\"Error: %v\\n\", err)\n    return\n  }\n\n  content, err := api.GetContentByID(\n    \"18173522\", cf.ContentIDParameters{\n      Version: 4,\n      Expand:  []string{\"space\", \"body.view\", \"version\"},\n    },\n  )\n  if err != nil {\n    fmt.Printf(\"Error: %v\\n\", err)\n    return\n  }\n\n  fmt.Printf(\"ID: %s\\n\", content.ID)\n}\n```\n\n### CI Status\n\n| Branch     | Status |\n|------------|--------|\n| `master` (_Stable_) | [![CI](https://kaos.sh/w/go-confluence/ci.svg?branch=master)](https://kaos.sh/w/go-confluence/ci?query=branch:master) |\n| `develop` (_Unstable_) | [![CI](https://kaos.sh/w/go-confluence/ci.svg?branch=develop)](https://kaos.sh/w/go-confluence/ci?query=branch:develop) |\n\n### Contributing\n\nBefore contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/.github/blob/master/CONTRIBUTING.md).\n\n### License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://kaos.dev\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/essentialkaos/.github/refs/heads/master/images/ekgh.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fgo-confluence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fessentialkaos%2Fgo-confluence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fgo-confluence/lists"}