Skip to content

Commit 0056613

Browse files
committed
macOS build fixes
- Add audit_failure_halt rule to moderate profile - Fix remediation script builds to allow decimal in versions
1 parent 9986d98 commit 0056613

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

macos1015/profiles/moderate.profile

+1
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ description: |-
2929

3030
selections:
3131
- service_auditd_enabled
32+
- audit_failure_halt

ssg/utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def is_applicable_for_product(platform, product):
118118
product_name = ""
119119
# Get official name for product
120120
if product_version is not None:
121+
if product == "ubuntu" or product == "macos":
122+
product_version = product_version[:2] + "." + product_version[2:]
121123
product_name = map_name(product) + ' ' + product_version
122124
else:
123125
product_name = map_name(product)

0 commit comments

Comments
 (0)