cookbook 'harden_macos', '~> 1.0.1'
harden_macos (1) Versions 1.0.1 Follow2
macOS hardening tasks
cookbook 'harden_macos', '~> 1.0.1', :supermarket
knife supermarket install harden_macos
knife supermarket download harden_macos
harden_macos Cookbook
This cookbook covers several areas of hardening for macOS and has generally
only been tested for OSX version 10.11.x and 10.12.x.
Requirements
platforms
mac_os_x
platform_version
10.11.x
10.12.x
cookbooks
-
mac_os_x
- For userdefaults custom resource to do Library defaults write commands. NOTE: In order to work with Chef 13, you must have the change from this PR in your mac_os_x cookbook https://github.com/sous-chefs/mac_os_x/pull/25
Attributes
Descriptions for all attributes are located in attributes/default.rb
References
GOV.UK
- https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/470580/osx-provisioning-script.sh.txt - Specific 10.11 commands
- https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/471620/End_User_Devices_Security_Guidance_-_Apple_OS_X_10_11.pdf - Security explanations
Apple
- https://support.apple.com/en-us/HT201159 (links to gov.uk provisioning script)
Other
- https://github.com/cagerton/dots/blob/master/macos.sh - Specific MacOS commands
- https://cipherli.st/ - ssh_config
License and Authors
Author: Meg Cassidy (meg@nuna.com)
Author: Craig Anderson (craig@nuna.com)
Author: Alan Berman (alan@nuna.com)
Copyright:: 2016-2017, Nuna, Inc.
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.
Dependent cookbooks
mac_os_x >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
harden_macos cookbook CHANGELOG
This file is used to list changes made in each version of the harden_macos cookbook.
1.0.1
- Fixes to spacing, as well as a note in readme about chef 13 compatibility
1.0.0
- Initial release of harden_macos cookbook to open source.
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
1.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.1 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
Foodcritic Metric
1.0.1 failed this metric
FC069: Ensure standardized license defined in metadata: harden_macos/metadata.rb:1
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:26
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:32
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:37
FC092: Custom resources should not define actions: harden_macos/resources/default.rb:22
FC121: Cookbook depends on cookbook made obsolete by Chef 14: harden_macos/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.1 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
1.0.1 passed this metric
1.0.1 failed this metric
1.0.1 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
Foodcritic Metric
1.0.1 failed this metric
FC069: Ensure standardized license defined in metadata: harden_macos/metadata.rb:1
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:26
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:32
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:37
FC092: Custom resources should not define actions: harden_macos/resources/default.rb:22
FC121: Cookbook depends on cookbook made obsolete by Chef 14: harden_macos/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.1 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
1.0.1 passed this metric
1.0.1 failed this metric
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:26
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:32
FC091: Use property not attribute in custom resources: harden_macos/resources/default.rb:37
FC092: Custom resources should not define actions: harden_macos/resources/default.rb:22
FC121: Cookbook depends on cookbook made obsolete by Chef 14: harden_macos/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.1 passed this metric
Testing File Metric
1.0.1 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
1.0.1 passed this metric
1.0.1 failed this metric
1.0.1 passed this metric