{"id":14482860,"url":"https://github.com/stackrox/kube-linter-action","last_synced_at":"2025-04-06T18:17:10.980Z","repository":{"id":38291454,"uuid":"317968736","full_name":"stackrox/kube-linter-action","owner":"stackrox","description":"GitHub action for automating KubeLinter.","archived":false,"fork":false,"pushed_at":"2025-01-16T10:55:12.000Z","size":35,"stargazers_count":34,"open_issues_count":6,"forks_count":26,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T17:09:32.473Z","etag":null,"topics":["helm-charts","kube-linter","kubernetes","security","static-analysis","yaml-files"],"latest_commit_sha":null,"homepage":"https://github.com/stackrox/kube-linter","language":null,"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/stackrox.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-02T19:25:59.000Z","updated_at":"2025-03-27T09:54:08.000Z","dependencies_parsed_at":"2025-03-02T08:11:05.660Z","dependency_job_id":"44ab732f-003e-4431-b5d5-2ade777d741e","html_url":"https://github.com/stackrox/kube-linter-action","commit_stats":{"total_commits":17,"total_committers":6,"mean_commits":"2.8333333333333335","dds":0.6470588235294117,"last_synced_commit":"3e0698d47a525061e50c1380af263c18824c748b"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fkube-linter-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fkube-linter-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fkube-linter-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fkube-linter-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackrox","download_url":"https://codeload.github.com/stackrox/kube-linter-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526768,"owners_count":20953143,"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","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":["helm-charts","kube-linter","kubernetes","security","static-analysis","yaml-files"],"created_at":"2024-09-03T00:01:20.232Z","updated_at":"2025-04-06T18:17:10.958Z","avatar_url":"https://github.com/stackrox.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/stackrox/kube-linter/main/images/logo/KubeLinter-horizontal.svg\" width=\"360\"\u003e\u003c/p\u003e\n\n# kube-linter-action - KubeLinter GitHub Action\n\nThis is a GitHub action for scanning Kubernetes YAML files and Helm charts in your GitHub workflow with [kube-linter](https://github.com/stackrox/kube-linter).\n\n## Quickstart\n\n1. Copy [.github/workflows/kube-linter-sample.yml](https://github.com/stackrox/kube-linter-action/tree/main/.github/workflows/kube-linter-sample.yml) file to `.github/workflows` directory in your repo.\n2. Adjust scan `directory` to the location where your Kubernetes or Helm files are. See Parameters below.\n3. Adjust or remove `config` parameter.\n\nThe new workflow will run every time there's a new push to the repo master branch and for pull requests.\n\nThe workflow will fail if kube-linter detects issues. You'll find issues in the output of `kube-linter-action` and in [Security | Code scanning alerts](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository) view of your GitHub repo (if you used provided sample workflow).\n\n### Example\n\n```yaml\n      - name: Scan repo with kube-linter\n        uses: stackrox/kube-linter-action@v1.0.4\n        with:\n          directory: yamls\n          config: .kube-linter/config.yaml\n          format: sarif\n          output-file: kube-linter.sarif\n```\n\n### Parameters\n\n| Parameter name | Required? | Description |\n| --- | --- | --- |\n| `directory` | **(required)** | Path of file or directory to scan, absolute or relative to the root of the repo. |\n| `config` | (optional) | Path to a [configuration file](https://docs.kubelinter.io/#/configuring-kubelinter) if you wish to use a non-default configuration. |\n| `format` | (optional) | Output format. Allowed values: `sarif`, `plain`, `json`. Default is `plain`. |\n| `output-file` | (optional) | Path to a file where kube-linter output will be stored. Default is `kube-linter.log`. File will be overwritten if it exists. |\n| `version` | (optional) | kube-linter release version to use, e.g. \"0.2.4\". The latest available version is used by default. |\n| `fail-on-invalid-resource` | (optional) | Set `true` to error out when we have an invalid resource. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Fkube-linter-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackrox%2Fkube-linter-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Fkube-linter-action/lists"}