When you enable antivirus protection, you can specify that all files of specific types are excluded from the virus scan. Because the vscan service affects the performance of the system, you can conserve system resources by targeting specific file types for virus scans.
Before You Begin
You must become an administrator who is assigned the VSCAN Management rights profile. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
$ vscanadm get -p types
$ vscanadm set -p types=-jpg,+*
$ vscanadm set -p types=+exe,-*
For more information, see the vscanadm(8) man page.