{"id":15878847,"url":"https://github.com/darkwizard242/ansible-role-kubescape","last_synced_at":"2026-04-17T21:01:07.335Z","repository":{"id":39707405,"uuid":"496653058","full_name":"darkwizard242/ansible-role-kubescape","owner":"darkwizard242","description":"Ansible role for 'kubescape'. Available on Ansible Galaxy. ","archived":false,"fork":false,"pushed_at":"2026-02-14T01:09:58.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-14T08:42:38.194Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","kubernetes","kubernetes-cluster","kubescape","security","security-vulnerability"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/darkwizard242/kubescape","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/darkwizard242.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-05-26T14:29:59.000Z","updated_at":"2026-02-14T01:09:43.000Z","dependencies_parsed_at":"2022-08-28T06:41:32.842Z","dependency_job_id":"76cf275b-51ee-442d-891d-ab9d02a3d87b","html_url":"https://github.com/darkwizard242/ansible-role-kubescape","commit_stats":{"total_commits":92,"total_committers":2,"mean_commits":46.0,"dds":"0.010869565217391353","last_synced_commit":"3ddafe9cbb7ec08ed4b5620c69e334e208b3fa27"},"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/darkwizard242/ansible-role-kubescape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-kubescape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-kubescape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-kubescape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-kubescape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-kubescape/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-kubescape/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31945987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["ansible","ansible-galaxy","ansible-role","kubernetes","kubernetes-cluster","kubescape","security","security-vulnerability"],"created_at":"2024-10-06T02:42:04.778Z","updated_at":"2026-04-17T21:01:07.329Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-kubescape/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-kubescape/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-kubescape/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-kubescape/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/kubescape) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-kubescape\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-kubescape) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-kubescape\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-kubescape) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-kubescape?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-kubescape?color=orange\u0026style=flat-square)\n\n# Ansible Role: kubescape\n\nRole to install (_by default_) `kubescape` on **Debian/Ubuntu** and **EL** systems. [kubescape](https://github.com/armosec/kubescape) is a K8s open-source tool providing a multi-cloud K8s single pane of glass, including risk analysis, security compliance, RBAC visualizer and image vulnerabilities scanning.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below (located in `defaults/main.yml`):\n\n### Variables list:\n\n```yaml\nkubescape_app: kubescape\nkubescape_version: 4.0.5\nkubescape_os: \"{{ ansible_system | lower }}\"\nkubescape_architecture_map:\n  amd64: amd64\n  arm: arm64\n  x86_64: amd64\n  aarch64: arm64\n  64-bit: amd64\nkubescape_dl_url: https://github.com/{{ kubescape_app }}/{{ kubescape_app }}/releases/download/v{{ kubescape_version }}/{{ kubescape_app }}_{{ kubescape_version }}_{{ kubescape_os }}_{{ kubescape_architecture_map[ansible_architecture] }}\nkubescape_bin_path: \"/usr/local/bin/{{ kubescape_app }}\"\nkubescape_file_owner: root\nkubescape_file_group: root\nkubescape_file_mode: '0755'\n```\n\n### Variables table:\n\nVariable                      | Description\n----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------\nkubescape_app                 | Defines the app to install i.e. **kubescape**\nkubescape_version             | Defined to dynamically fetch the desired version to install. Defaults to: **4.0.5**\nkubescape_os                  | Defines os type. Used for obtaining the correct type of binaries based on OS type.\nkubescape_architecture_map    | Defines os architecture. Used to set the correct type of binaries based on OS System Architecture.\nkubescape_dl_url              | Defines URL to download the kubescape binary from.\nkubescape_bin_path            | Defined to dynamically set the appropriate path to store kubescape binary into. Defaults to (as generally available on any user's PATH): **/usr/local/bin/kubescape**\nkubescape_bin_permission_mode | Defines the permission mode level for the file.\nkubescape_file_owner          | Owner for the binary file of kubescape.\nkubescape_file_group          | Group for the binary file of kubescape.\nkubescape_file_mode           | Mode for the binary file of kubescape.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **kubescape**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.kubescape\n```\n\nFor customizing behavior of role (i.e. specifying the desired **kubescape** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.kubescape\n  vars:\n    kubescape_version: 2.0.155\n```\n\nFor customizing behavior of role (i.e. placing binary of **kubescape** package in different location) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.kubescape\n  vars:\n    kubescape_bin_path: /bin/\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-kubescape/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-kubescape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-kubescape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-kubescape/lists"}