Skip to content

Commit

Permalink
Update MacOS_MDATP_Deployment_Add.ps1 from WDATP to MDATP (#134)
Browse files Browse the repository at this point in the history
* Update MacOS_MDATP_Deployment_Add.ps1

* Update MacOS_MDATP_Deployment_Add_Assign.ps1
  • Loading branch information
richlilly2004 authored May 8, 2020
1 parent 0e037cf commit edc639f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions MDATP/MacOS_MDATP_Deployment_Add.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ $MDATP_Notifications = @"
"description": "",
"displayName": "macOS MDATP Notifications",
"payloadName": "macOS MDATP Notifications",
"payloadFileName": "wdatp.notifications.xml",
"payloadFileName": "MDATP.notifications.xml",
"payload": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VOIiAiaHR0cDovL3d3dy5hcHBsZS5jb20vRFREcy9Qcm9wZXJ0eUxpc3QtMS4wLmR0ZCI+CjxwbGlzdCB2ZXJzaW9uPSIxLjAiPgogIDxkaWN0PgogICAgPGtleT5QYXlsb2FkQ29udGVudDwva2V5PgogICAgPGFycmF5PgogICAgICA8ZGljdD4KICAgICAgICA8a2V5Pk5vdGlmaWNhdGlvblNldHRpbmdzPC9rZXk+CiAgICAgICAgPGFycmF5PgogICAgICAgICAgPGRpY3Q+CiAgICAgICAgICAgIDxrZXk+QWxlcnRUeXBlPC9rZXk+CiAgICAgICAgICAgIDxpbnRlZ2VyPjI8L2ludGVnZXI+CiAgICAgICAgICAgIDxrZXk+QmFkZ2VzRW5hYmxlZDwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICAgIDxrZXk+QnVuZGxlSWRlbnRpZmllcjwva2V5PgogICAgICAgICAgICA8c3RyaW5nPmNvbS5taWNyb3NvZnQuYXV0b3VwZGF0ZTI8L3N0cmluZz4KICAgICAgICAgICAgPGtleT5Dcml0aWNhbEFsZXJ0RW5hYmxlZDwva2V5PgogICAgICAgICAgICA8ZmFsc2UvPgogICAgICAgICAgICA8a2V5Pkdyb3VwaW5nVHlwZTwva2V5PgogICAgICAgICAgICA8aW50ZWdlcj4wPC9pbnRlZ2VyPgogICAgICAgICAgICA8a2V5Pk5vdGlmaWNhdGlvbnNFbmFibGVkPC9rZXk+CiAgICAgICAgICAgIDx0cnVlLz4KICAgICAgICAgICAgPGtleT5TaG93SW5Mb2NrU2NyZWVuPC9rZXk+CiAgICAgICAgICAgIDxmYWxzZS8+CiAgICAgICAgICAgIDxrZXk+U2hvd0luTm90aWZpY2F0aW9uQ2VudGVyPC9rZXk+CiAgICAgICAgICAgIDx0cnVlLz4KICAgICAgICAgICAgPGtleT5Tb3VuZHNFbmFibGVkPC9rZXk+CiAgICAgICAgICAgIDx0cnVlLz4KICAgICAgICAgIDwvZGljdD4KICAgICAgICAgIDxkaWN0PgogICAgICAgICAgICA8a2V5PkFsZXJ0VHlwZTwva2V5PgogICAgICAgICAgICA8aW50ZWdlcj4yPC9pbnRlZ2VyPgogICAgICAgICAgICA8a2V5PkJhZGdlc0VuYWJsZWQ8L2tleT4KICAgICAgICAgICAgPHRydWUvPgogICAgICAgICAgICA8a2V5PkJ1bmRsZUlkZW50aWZpZXI8L2tleT4KICAgICAgICAgICAgPHN0cmluZz5jb20ubWljcm9zb2Z0LndkYXZ0cmF5PC9zdHJpbmc+CiAgICAgICAgICAgIDxrZXk+Q3JpdGljYWxBbGVydEVuYWJsZWQ8L2tleT4KICAgICAgICAgICAgPGZhbHNlLz4KICAgICAgICAgICAgPGtleT5Hcm91cGluZ1R5cGU8L2tleT4KICAgICAgICAgICAgPGludGVnZXI+MDwvaW50ZWdlcj4KICAgICAgICAgICAgPGtleT5Ob3RpZmljYXRpb25zRW5hYmxlZDwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICAgIDxrZXk+U2hvd0luTG9ja1NjcmVlbjwva2V5PgogICAgICAgICAgICA8ZmFsc2UvPgogICAgICAgICAgICA8a2V5PlNob3dJbk5vdGlmaWNhdGlvbkNlbnRlcjwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICAgIDxrZXk+U291bmRzRW5hYmxlZDwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICA8L2RpY3Q+CiAgICAgICAgPC9hcnJheT4KICAgICAgICA8a2V5PlBheWxvYWREZXNjcmlwdGlvbjwva2V5PgogICAgICAgIDxzdHJpbmcvPgogICAgICAgIDxrZXk+UGF5bG9hZERpc3BsYXlOYW1lPC9rZXk+CiAgICAgICAgPHN0cmluZz5ub3RpZmljYXRpb25zPC9zdHJpbmc+CiAgICAgICAgPGtleT5QYXlsb2FkRW5hYmxlZDwva2V5PgogICAgICAgIDx0cnVlLz4KICAgICAgICA8a2V5PlBheWxvYWRJZGVudGlmaWVyPC9rZXk+CiAgICAgICAgPHN0cmluZz5CQjk3NzMxNS1FNENCLTQ5MTUtOTBDNy04MzM0Qzc1QTdDNjQ8L3N0cmluZz4KICAgICAgICA8a2V5PlBheWxvYWRPcmdhbml6YXRpb248L2tleT4KICAgICAgICA8c3RyaW5nPk1pY3Jvc29mdDwvc3RyaW5nPgogICAgICAgIDxrZXk+UGF5bG9hZFR5cGU8L2tleT4KICAgICAgICA8c3RyaW5nPmNvbS5hcHBsZS5ub3RpZmljYXRpb25zZXR0aW5nczwvc3RyaW5nPgogICAgICAgIDxrZXk+UGF5bG9hZFVVSUQ8L2tleT4KICAgICAgICA8c3RyaW5nPkJCOTc3MzE1LUU0Q0ItNDkxNS05MEM3LTgzMzRDNzVBN0M2NDwvc3RyaW5nPgogICAgICAgIDxrZXk+UGF5bG9hZFZlcnNpb248L2tleT4KICAgICAgICA8aW50ZWdlcj4xPC9pbnRlZ2VyPgogICAgICA8L2RpY3Q+CiAgICA8L2FycmF5PgogICAgPGtleT5QYXlsb2FkRGVzY3JpcHRpb248L2tleT4KICAgIDxzdHJpbmcvPgogICAgPGtleT5QYXlsb2FkRGlzcGxheU5hbWU8L2tleT4KICAgIDxzdHJpbmc+bWRhdHAgLSBhbGxvdyBub3RpZmljYXRpb25zPC9zdHJpbmc+CiAgICA8a2V5PlBheWxvYWRFbmFibGVkPC9rZXk+CiAgICA8dHJ1ZS8+CiAgICA8a2V5PlBheWxvYWRJZGVudGlmaWVyPC9rZXk+CiAgICA8c3RyaW5nPjg1RjY4MDVCLTAxMDYtNEQyMy05MTAxLTdGMURGRDVFQTZENjwvc3RyaW5nPgogICAgPGtleT5QYXlsb2FkT3JnYW5pemF0aW9uPC9rZXk+CiAgICA8c3RyaW5nPk1pY3Jvc29mdDwvc3RyaW5nPgogICAgPGtleT5QYXlsb2FkUmVtb3ZhbERpc2FsbG93ZWQ8L2tleT4KICAgIDxmYWxzZS8+CiAgICA8a2V5PlBheWxvYWRTY29wZTwva2V5PgogICAgPHN0cmluZz5TeXN0ZW08L3N0cmluZz4KICAgIDxrZXk+UGF5bG9hZFR5cGU8L2tleT4KICAgIDxzdHJpbmc+Q29uZmlndXJhdGlvbjwvc3RyaW5nPgogICAgPGtleT5QYXlsb2FkVVVJRDwva2V5PgogICAgPHN0cmluZz44NUY2ODA1Qi0wMTA2LTREMjMtOTEwMS03RjFERkQ1RUE2RDY8L3N0cmluZz4KICAgIDxrZXk+UGF5bG9hZFZlcnNpb248L2tleT4KICAgIDxpbnRlZ2VyPjE8L2ludGVnZXI+CiAgPC9kaWN0Pgo8L3BsaXN0Pgo="
}
Expand All @@ -509,7 +509,7 @@ Write-Host "Adding MDATP Notification settings from JSON..." -ForegroundColor Ye

$CreateResult_Notifications = Add-DeviceConfigurationPolicy -JSON $MDATP_Notifications

Write-Host " + Device WDATP Notifications Policy created as" $CreateResult_Notifications.id
Write-Host " + Device MDATP Notifications Policy created as" $CreateResult_Notifications.id

Write-Host

Expand All @@ -519,7 +519,7 @@ Write-Host "Adding MDATP Kext Policy from JSON..." -ForegroundColor Yellow

$CreateResult_Kext = Add-DeviceConfigurationPolicy -JSON $MDATP_Kext

Write-Host " + Device WDATP Kext Policy created as" $CreateResult_kext.id
Write-Host " + Device MDATP Kext Policy created as" $CreateResult_kext.id

Write-Host

Expand All @@ -529,7 +529,7 @@ Write-Host "Adding MDATP Full Disk Access Policy from JSON..." -ForegroundColor

$CreateResult_FullDiskAccess = Add-DeviceConfigurationPolicy -JSON $MDATP_FullDiskAccess

Write-Host " + Device WDATP Full Disk Access Policy created as" $CreateResult_FullDiskAccess.id
Write-Host " + Device MDATP Full Disk Access Policy created as" $CreateResult_FullDiskAccess.id

Write-Host

Expand All @@ -539,6 +539,6 @@ Write-Host "Adding MDATP OnBoarding Policy from XML..." -ForegroundColor Yellow

$CreateResult_Onboarding = Add-DeviceConfigurationPolicy -JSON $MDATP_Onboarding

Write-Host " + Device WDATP OnBoarding Policy created as" $CreateResult_Onboarding.id
Write-Host " + Device MDATP OnBoarding Policy created as" $CreateResult_Onboarding.id

Write-Host
2 changes: 1 addition & 1 deletion MDATP/MacOS_MDATP_Deployment_Add_Assign.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ $MDATP_Notifications = @"
"description": "",
"displayName": "macOS MDATP Notifications",
"payloadName": "macOS MDATP Notifications",
"payloadFileName": "wdatp.notifications.xml",
"payloadFileName": "mdatp.notifications.xml",
"payload": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VOIiAiaHR0cDovL3d3dy5hcHBsZS5jb20vRFREcy9Qcm9wZXJ0eUxpc3QtMS4wLmR0ZCI+CjxwbGlzdCB2ZXJzaW9uPSIxLjAiPgogIDxkaWN0PgogICAgPGtleT5QYXlsb2FkQ29udGVudDwva2V5PgogICAgPGFycmF5PgogICAgICA8ZGljdD4KICAgICAgICA8a2V5Pk5vdGlmaWNhdGlvblNldHRpbmdzPC9rZXk+CiAgICAgICAgPGFycmF5PgogICAgICAgICAgPGRpY3Q+CiAgICAgICAgICAgIDxrZXk+QWxlcnRUeXBlPC9rZXk+CiAgICAgICAgICAgIDxpbnRlZ2VyPjI8L2ludGVnZXI+CiAgICAgICAgICAgIDxrZXk+QmFkZ2VzRW5hYmxlZDwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICAgIDxrZXk+QnVuZGxlSWRlbnRpZmllcjwva2V5PgogICAgICAgICAgICA8c3RyaW5nPmNvbS5taWNyb3NvZnQuYXV0b3VwZGF0ZTI8L3N0cmluZz4KICAgICAgICAgICAgPGtleT5Dcml0aWNhbEFsZXJ0RW5hYmxlZDwva2V5PgogICAgICAgICAgICA8ZmFsc2UvPgogICAgICAgICAgICA8a2V5Pkdyb3VwaW5nVHlwZTwva2V5PgogICAgICAgICAgICA8aW50ZWdlcj4wPC9pbnRlZ2VyPgogICAgICAgICAgICA8a2V5Pk5vdGlmaWNhdGlvbnNFbmFibGVkPC9rZXk+CiAgICAgICAgICAgIDx0cnVlLz4KICAgICAgICAgICAgPGtleT5TaG93SW5Mb2NrU2NyZWVuPC9rZXk+CiAgICAgICAgICAgIDxmYWxzZS8+CiAgICAgICAgICAgIDxrZXk+U2hvd0luTm90aWZpY2F0aW9uQ2VudGVyPC9rZXk+CiAgICAgICAgICAgIDx0cnVlLz4KICAgICAgICAgICAgPGtleT5Tb3VuZHNFbmFibGVkPC9rZXk+CiAgICAgICAgICAgIDx0cnVlLz4KICAgICAgICAgIDwvZGljdD4KICAgICAgICAgIDxkaWN0PgogICAgICAgICAgICA8a2V5PkFsZXJ0VHlwZTwva2V5PgogICAgICAgICAgICA8aW50ZWdlcj4yPC9pbnRlZ2VyPgogICAgICAgICAgICA8a2V5PkJhZGdlc0VuYWJsZWQ8L2tleT4KICAgICAgICAgICAgPHRydWUvPgogICAgICAgICAgICA8a2V5PkJ1bmRsZUlkZW50aWZpZXI8L2tleT4KICAgICAgICAgICAgPHN0cmluZz5jb20ubWljcm9zb2Z0LndkYXZ0cmF5PC9zdHJpbmc+CiAgICAgICAgICAgIDxrZXk+Q3JpdGljYWxBbGVydEVuYWJsZWQ8L2tleT4KICAgICAgICAgICAgPGZhbHNlLz4KICAgICAgICAgICAgPGtleT5Hcm91cGluZ1R5cGU8L2tleT4KICAgICAgICAgICAgPGludGVnZXI+MDwvaW50ZWdlcj4KICAgICAgICAgICAgPGtleT5Ob3RpZmljYXRpb25zRW5hYmxlZDwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICAgIDxrZXk+U2hvd0luTG9ja1NjcmVlbjwva2V5PgogICAgICAgICAgICA8ZmFsc2UvPgogICAgICAgICAgICA8a2V5PlNob3dJbk5vdGlmaWNhdGlvbkNlbnRlcjwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICAgIDxrZXk+U291bmRzRW5hYmxlZDwva2V5PgogICAgICAgICAgICA8dHJ1ZS8+CiAgICAgICAgICA8L2RpY3Q+CiAgICAgICAgPC9hcnJheT4KICAgICAgICA8a2V5PlBheWxvYWREZXNjcmlwdGlvbjwva2V5PgogICAgICAgIDxzdHJpbmcvPgogICAgICAgIDxrZXk+UGF5bG9hZERpc3BsYXlOYW1lPC9rZXk+CiAgICAgICAgPHN0cmluZz5ub3RpZmljYXRpb25zPC9zdHJpbmc+CiAgICAgICAgPGtleT5QYXlsb2FkRW5hYmxlZDwva2V5PgogICAgICAgIDx0cnVlLz4KICAgICAgICA8a2V5PlBheWxvYWRJZGVudGlmaWVyPC9rZXk+CiAgICAgICAgPHN0cmluZz5CQjk3NzMxNS1FNENCLTQ5MTUtOTBDNy04MzM0Qzc1QTdDNjQ8L3N0cmluZz4KICAgICAgICA8a2V5PlBheWxvYWRPcmdhbml6YXRpb248L2tleT4KICAgICAgICA8c3RyaW5nPk1pY3Jvc29mdDwvc3RyaW5nPgogICAgICAgIDxrZXk+UGF5bG9hZFR5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cmluZz4KICAgIDxrZXk+UGF5bG9hZFZlcnNpb248L2tleT4KICAgIDxpbnRlZ2VyPjE8L2ludGVnZXI+CiAgPC9kaWN0Pgo8L3BsaXN0Pgo="
}
Expand Down

0 comments on commit edc639f

Please sign in to comment.