diff --git a/deployment/macos/mobiledevicemanagement/mobile_config_gen.py b/deployment/macos/mobiledevicemanagement/mobile_config_gen.py index 83de9cc..5f81519 100644 --- a/deployment/macos/mobiledevicemanagement/mobile_config_gen.py +++ b/deployment/macos/mobiledevicemanagement/mobile_config_gen.py @@ -10,8 +10,7 @@ import argparse import os -template = """ - +template = """ @@ -38,6 +37,18 @@ SystemPolicyAllFiles + + Allowed + 1 + CodeRequirement + identifier "co.elastic.elastic-agent" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2BT3HPN62Z" + Identifier + co.elastic.elastic-agent + IdentifierType + bundleID + StaticCode + 1 + Allowed 1