Skip to content

dev-sec/cis-kubernetes-benchmark

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 18, 2022 21:15
May 1, 2023 12:23
March 18, 2022 21:15
August 15, 2017 15:20
March 18, 2022 21:15
March 31, 2023 10:40

CIS Kubernetes Benchmark - InSpec Profile

Description

This profile implements the CIS Kubernetes 1.5.0 Benchmark.

Attributes

To switch between the CIS profile levels the following attribute can be used:

  • cis_level: 2 define which profile level to use, accepted values are 1 and 2.

Refer to the InSpec Profiles Reference for more information about Profile Attributes.

Usage

This Compliance Profile requires InSpec for execution:

$ git clone https://github.com/dev-sec/cis-kubernetes-benchmark
$ inspec exec cis-kubernetes-benchmark

You can also execute the profile directly from Github:

$ inspec exec https://github.com/dev-sec/cis-kubernetes-benchmark

Or execute specific controls instead of all:

$ inspec exec cis-kubernetes-benchmark --controls=cis-kubernetes-benchmark-1.1.2 cis-kubernetes-benchmark-1.3.5

Refer to the InSpec CLI reference for more information.

License and Author

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.