mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
made iOS build
This commit is contained in:
@@ -37,6 +37,26 @@ authors:
|
||||
- Edward Byrd|Center for Internet Security
|
||||
- Ron Colvin|Center for Internet Security
|
||||
- Allen Golbig|Jamf
|
||||
cis_lvl1_byod:
|
||||
names:
|
||||
- Edward Byrd|Center for Internet Security
|
||||
- Ron Colvin|Center for Internet Security
|
||||
- Allen Golbig|Jamf
|
||||
cis_lvl2_byod:
|
||||
names:
|
||||
- Edward Byrd|Center for Internet Security
|
||||
- Ron Colvin|Center for Internet Security
|
||||
- Allen Golbig|Jamf
|
||||
cis_lvl1_enterprise:
|
||||
names:
|
||||
- Edward Byrd|Center for Internet Security
|
||||
- Ron Colvin|Center for Internet Security
|
||||
- Allen Golbig|Jamf
|
||||
cis_lvl2_enterprise:
|
||||
names:
|
||||
- Edward Byrd|Center for Internet Security
|
||||
- Ron Colvin|Center for Internet Security
|
||||
- Allen Golbig|Jamf
|
||||
cisv8:
|
||||
preamble: CIS Critical Security Controls® (CIS Controls®) are referenced with the permission and support of the Center for Internet Security® (CIS®)
|
||||
names:
|
||||
@@ -75,7 +95,7 @@ authors:
|
||||
names:
|
||||
- Dan Brodjieski|National Aeronautics and Space Administration
|
||||
- Allen Golbig|Jamf
|
||||
- Bob Gendler|National Institute of Standards and Technology
|
||||
- Bob Gendler|National Institute of Standards and Technology
|
||||
titles:
|
||||
all_rules: All Rules
|
||||
800-53r5_high: NIST SP 800-53 Rev 5 High Impact
|
||||
@@ -84,10 +104,14 @@ titles:
|
||||
800-171: NIST 800-171 Rev 2
|
||||
cis_lvl1: CIS Apple macOS 13.0 Ventura v1.1.0 Benchmark (Level 1)
|
||||
cis_lvl2: CIS Apple macOS 13.0 Ventura v1.1.0 Benchmark (Level 2)
|
||||
cis_lvl1_byod: CIS Apple iOS 16 v1.1.0 Benchmark (Level 1) - End-User Owned Devices
|
||||
cis_lvl2_byod: CIS Apple iOS 16 v1.1.0 Benchmark (Level 2) - End-User Owned Devices
|
||||
cis_lvl1_enterprise: CIS Apple iOS 16 v1.1.0 Benchmark (Level 1) - Institutionally-Owned Devices
|
||||
cis_lvl2_enterprise: CIS Apple iOS 16 v1.1.0 Benchmark (Level 2) - Institutionally-Owned Devices
|
||||
cisv8: CIS Controls Version 8
|
||||
cmmc_lvl1: US CMMC 2.0 Level 1
|
||||
cmmc_lvl2: US CMMC 2.0 Level 2
|
||||
cisv8: CIS Controls Version 8
|
||||
cnssi-1253_low: Committee on National Security Systems Instruction No. 1253 (Low)
|
||||
cnssi-1253_moderate: Committee on National Security Systems Instruction No. 1253 (Moderate)
|
||||
cnssi-1253_high: Committee on National Security Systems Instruction No. 1253 (High)
|
||||
stig: Apple macOS 13 (Ventura) STIG - Ver 1, Rel 1
|
||||
stig: Apple macOS 13 (Ventura) STIG - Ver 1, Rel 2
|
||||
@@ -13,6 +13,7 @@ import argparse
|
||||
import subprocess
|
||||
import logging
|
||||
import tempfile
|
||||
import base64
|
||||
from datetime import date
|
||||
from xlwt import Workbook
|
||||
from string import Template
|
||||
@@ -1065,8 +1066,13 @@ def main():
|
||||
|
||||
if args.logo:
|
||||
logo = args.logo
|
||||
pdf_logo_path = logo
|
||||
else:
|
||||
logo = "../../templates/images/mscp_banner.png"
|
||||
pdf_logo_path = "../templates/images/mscp_banner.png"
|
||||
|
||||
# convert logo to base64 for inline processing
|
||||
b64logo = base64.b64encode(open(pdf_logo_path, "rb").read())
|
||||
|
||||
build_path = os.path.join(parent_dir, 'build', f'{baseline_name}')
|
||||
if not (os.path.isdir(build_path)):
|
||||
@@ -1183,6 +1189,11 @@ def main():
|
||||
else:
|
||||
adoc_cis_show=":show_cis!:"
|
||||
|
||||
if "CMMC" in baseline_yaml['title'].upper():
|
||||
adoc_cmmc_show=":show_CMMC:"
|
||||
else:
|
||||
adoc_cmmc_show=":show_CMMC!:"
|
||||
|
||||
if "800" in baseline_yaml['title']:
|
||||
adoc_171_show=":show_171:"
|
||||
else:
|
||||
@@ -1213,11 +1224,13 @@ def main():
|
||||
html_subtitle=adoc_html_subtitle,
|
||||
document_subtitle2=adoc_document_subtitle2,
|
||||
logo=logo,
|
||||
pdflogo=b64logo.decode("ascii"),
|
||||
pdf_theme=pdf_theme,
|
||||
tag_attribute=adoc_tag_show,
|
||||
nist171_attribute=adoc_171_show,
|
||||
stig_attribute=adoc_STIG_show,
|
||||
cis_attribute=adoc_cis_show,
|
||||
cmmc_attribute=adoc_cmmc_show,
|
||||
version=version_yaml['version'],
|
||||
os_version=version_yaml['os'],
|
||||
release_date=version_yaml['date']
|
||||
3
sections/ios.yaml
Normal file
3
sections/ios.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
name: "iOS"
|
||||
description: |
|
||||
This section contains the configuration and enforcement of operating system settings.
|
||||
Reference in New Issue
Block a user