cookbook 'mondoo', '= 0.6.0'
mondoo (9) Versions 0.6.0 Follow0
Installs and configures Mondoo package for infrastructure security, compliance, and asset intelligence
cookbook 'mondoo', '= 0.6.0', :supermarket
knife supermarket install mondoo
knife supermarket download mondoo
Mondoo Package Chef Cookbook
This cookbook installs the Mondoo cnquery
and cnspec
on Linux servers.
It does:
- Installs the signed
mondoo
package - Login
cnquery
andcnspec
with Mondoo Platform - Enables the
cnspec
systemd service
Requirements
Platforms
- Amazon Linux
- Debian
- Fedora
- Red Hat, AlmaLinux, CentOS, Oracle Linux, Rocky Linux, Scientific Linux
- SLES and openSUSE
- Ubuntu
Chef Infra
- Chef Infra Client >= 14.0
Cookbooks
Attributes
Name | Default Value | Description |
---|---|---|
default['mondoo']['registration_token'] |
change_me |
Mondoo Registration Token that is used to retrieve client credentials |
default['mondoo']['api_proxy'] |
`` | Proxy server URL setting for communication with Mondoo Platform |
Run Mondoo Cookbook with chef-run
See [examples] for how use this cookbook with chef-run
Testing
Ensure docker and vagrant are installed and run:
MONDOO_TOKEN=ey...Bp KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen test
(or add MONDOO_API_PROXY to the list of variables to test the setting/using of that variable)
You can "enter" the resulting environment used for the test by changing the 'test' kitchen command to 'login'.
You can reduce the number of environments tested (to speed local testing up) by commenting out unneccessary entries from kitchen.dokken.yml.
Release
This repo includes a GitHub action "Supermarket Release", which can be manually triggered to perform a release. Before running this workflow make sure to do the following:
- Update the metadata.rb file with the new version.
- Update the CHANGELOG.md file to document the new release.
- Tag the repo for the new version and push the tag.
Author
Mondoo, Inc
License
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.
Join the community!
Join the Mondoo Community GitHub Discussions to collaborate on policy as code and security automation.
Dependent cookbooks
line >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Mondoo Changelog
This file is used to list changes made in each version of the mondoo cookbook.
0.6.0 (May 9th, 2023)
- Add a new attribute
default['mondoo']['api_proxy']
to support setting a proxy server for all asset -> Mondoo platform communication. This value will be applied to new assets during registration and existing assets via the configuration file. This release also now depends on the line cookbook, which is used to manage entries in the configuration file.
0.5.0 (May 25th, 2022)
- switch to mondoo package and install cnquery + cnspec
- add example for Chef Workstation run
0.4.1 (May 25th, 2022)
- Add a CONTRIBUTING.md file
- Tag cookbook releases on GitHub
0.4.0 (March 23rd, 2022)
- Added support for AlmaLinux
0.3.0 (March 21st, 2022)
- Added support for SLES, openSUSE, Fedora, Rocky Linux, and Scientific Linux.
- Updated repository domains from mondoo.io to mondoo.com
- Expanded testing to include additional distros
- Added Docker-based testing with the Test Kitchen dokken plugin
- Added a SPDX compliant license string in the metadata.rb file
- Added source_url and issues_url values in the metadata.rb file
- Add a dedicated TESTING.md file
- Added a LICENSE file and licensing information to the README.md file
0.2.0
- Initial release on GitHub
Collaborator Number Metric
0.6.0 passed this metric
Contributing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
0.6.0 passed this metric
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 passed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
0.6.0 passed this metric
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 passed this metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number