20260331

XProtectアップデート  XProtectPlistConfigData_10_15-5336



XProtectアップデート  XProtectPlistConfigData_10_15-5336

NOTE記事一覧ですnote.com

サンプルソース(参考)
行番号ソース
001Last login: Wed Apr  1 08:33:12 on console
002zsh $
003zsh $
004zsh $
005
006OSver: 26.4
007CUPS: 2.3.4
008iCloud XProtect: /private/var/protected/xprotect
009In var XProtect.bundle Ver: 5335
010Legacy XProtect: /Library/Apple/System/Library/CoreServices
011In Library XProtect.bundle Ver: 5335
012XProtect.app: 157
013XProtectPluginService.xpc: 74
014MRT.app: 1.93
015AppleKextExcludeList.kext: 21.0.0
016/usr/sbin/spctl --status
017assessments enabled
018/usr/bin/sudo  /usr/sbin/spctl --master-enable
019/usr/bin/sudo /usr/bin/xprotect check
020Current update: date: 2026-03-25 19:10:53 +0000 version: 5335
021/usr/bin/xprotect  version
022Version: 5335 Installed: 2026-03-26 00:43:35 +0000
023/usr/bin/sudo /usr/bin/xprotect update
024Starting update.
025No update applied, already up to date
026/usr/bin/sudo /usr/bin/xprotect check
027Current update: date: 2026-03-25 19:10:53 +0000 version: 5335
028/usr/bin/xprotect version
029Version: 5335 Installed: 2026-03-26 00:43:35 +0000
030/usr/bin/xprotect status
031XProtect launch scans: enabled
032XProtect background scans: enabled
033この後
034softwareupdateコマンドでパスワード要求がある場合
035restrict-software-update-require-admin-to-install設定がされていると
036softwareupdateが失敗します
037/usr/sbin/softwareupdate --list --recommended --include-config-data
0382026-03-31T23:37:11Z
039Software Update Tool
040
041Finding available software
042Software Update found the following new or updated software:
043* Label: XProtectPlistConfigData_10_15-5336
044  Title: XProtectPlistConfigData, Version: 5336, Size: 1252KiB, Recommended: YES,
0452026-03-31T23:37:17Z
046/usr/sbin/softwareupdate --download --recommended --include-config-data
0472026-03-31T23:37:17Z
048Software Update Tool
049
050Finding available software
051
052Downloading XProtectPlistConfigData
053Downloaded XProtectPlistConfigData
054Done.
0552026-03-31T23:37:27Z
056softwareupdateを実行します、最大2時間かかるケースもあります
057softwareupdate開始: 2026年 4月1日 水曜日  8時37分27秒 JST
058/usr/bin/sudo /usr/sbin/softwareupdate --install --recommended --include-config-data
059Software Update Tool
060
061Finding available software
062
063Downloaded XProtectPlistConfigData
064Installing XProtectPlistConfigData
065Done with XProtectPlistConfigData
066Done.
067softwareupdate終了: 2026年 4月1日 水曜日  8時37分37秒 JST
068
069スキャン開始します 少し時間がかかります(約10分)
070スキャン開始: 2026年 4月1日 水曜日  8時37分37秒 JST
071/Library/Apple/System/Library/CoreServices/XProtect.app/Contents/MacOS/XProtect
072スキャン終了しました
073スキャン終了: 2026年 4月1日 水曜日  8時46分06秒 JST
074Starting update.
075No update applied, already up to date
076In var XProtect.bundle Ver: 5335
077In Library XProtect.bundle Ver: 5336
078XprotectAppVer: 157
079XPC: 74
080MRT: 1.93
081AppleKextExcludeList: 21.0.0
082/Library/Preferences/com.apple.SoftwareUpdate.plist
083false
084true
085zsh $
086
087
AppleScriptで生成しました