The official Rancher operator for automated Kubernetes security compliance scanning and reporting.
  • Go 84.3%
  • Makefile 8%
  • Shell 5%
  • Dockerfile 2%
  • Go Template 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate-rancher[bot] bc4d02081f
Update dependency golangci/golangci-lint to v2.12.2 - abandoned (#314)
* Update dependency golangci/golangci-lint to v2.12.2

* Fix validate failures with Go 1.24+ tooling

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Andy Pitcher <andy.pitcher@suse.com>
2026-06-10 12:08:18 +02:00
.github Update GitHub Actions (#342) 2026-06-10 12:07:46 +02:00
chart update dependencies to latest 2026-06-01 17:30:46 +05:30
crds Transition into compliance-operator 2025-06-12 07:07:03 +01:00
hack Update dependency golangci/golangci-lint to v2.12.2 - abandoned (#314) 2026-06-10 12:08:18 +02:00
package [main]tag update 2026-05-12 18:28:19 +05:30
pkg feat: xccdf format optional metadata for stig and other profiles 2026-06-08 16:38:28 +02:00
tests update dependencies to latest 2026-06-01 17:30:46 +05:30
.gitignore Transition into compliance-operator 2025-06-12 07:07:03 +01:00
.golangci.yaml validate: Exclude G114-gosec - Use of net/http serve function that has no support for setting timeouts 2025-04-02 10:29:48 +02:00
CODEOWNERS Transition into compliance-operator 2025-06-12 07:07:03 +01:00
go.mod update dependencies to latest 2026-06-01 17:30:46 +05:30
go.sum update dependencies to latest 2026-06-01 17:30:46 +05:30
LICENSE Initial commit 2020-08-13 17:39:38 -07:00
main.go Bump github.com/urfave/cli to v3 2025-06-24 11:14:00 +01:00
Makefile removed upload asset from in release in makefile 2025-10-28 10:38:51 +05:30
README.md Added CIS 1.12 support 2026-03-26 12:33:38 +05:30

compliance-operator OpenSSF Scorecard

The compliance-operator enables running Compliance security scans on a Kubernetes cluster and generate compliance reports that can be downloaded. Benchmarks tests and the execution logic lives on rancher/security-scan.

Building

make

Running

  1. Install the custom resource definitions:
  • kubectl apply -f crds/
  1. Install the operator ./bin/compliance-operator

Branches and Releases

General information

The current branch strategy for rancher/compliance-operator is laid out below:

Branch Tag Security-Scan Rancher
main head main branch (head)` main branch (head)
release/v1.2 v1.2.x v0.7.x v2.12.x
release/v1.3 v1.3.x v0.8.x v2.13.x
release/v1.4 v1.4.x v0.9.x v2.14.x

Note that it aligns with Rancher Manager releases to maximize compatibility within the ecosystem. This includes k8s dependencies that the Rancher release aims to support, meaning that compliance-operator should use the same k8s minor release that the Rancher release line it aims to support.

Active development takes place against main. Release branches are only used for bug fixes and security-related dependency bumps.

Refer to the Support Compatibility Matrix for official compatibility information.

How future release branches should be generated

Follow these guidelines when releasing new branches:

  1. Name convention to be used: release/v1.x.x.
  2. Update the Branch and Releases table with the new branches and remove the no longer needed branches.

License

Copyright (c) 2025 SUSE LLC.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.