Excluding directories from software scans (disconnected scenario)

To exclude directories from software scans, edit the isotag_config.xml, slmtag_config.xml, and sw_config.xml files. List the directories as the values of the excludeDirectory parameter.

About this task

By default, the following directories are excluded from software scans.
IBM i
*/tmp/*
/proc/*
/QNTC/*
*/cache/out-of-date/*
/QFileSvr.400/*
*/data/*
*/Data/*
/IASP*
/images
/mq/*
/mqrcv/*
/QDLS
/QOPT
/QSYS.LIB/DOCMGR*.LIB
/QSYS.LIB/LOG_*.LIB
/QSYS.LIB/QRCL.LIB/*
/QSYS.LIB/R3*
/QSYS.LIB/RP_*.LIB
/QSYS.LIB/VIP_*.LIB
/QSYS.LIB/QSYSV*.LIB
/sapmnt/*
/spreadsheets
/usr/sap/*
*/*.FILE
UNIX
/proc
*/tmp
*/eznim
*/unicore/lib/*
*/perl/lib/*
*/perl5/*
/usr/src/kernels/*
/var/opt/BESClient/LMT/CIT/docker/images
*/work/docker_scan/images
/var/lib/docker
/var/spool/pkg
Windows
?:/System Volume Information
?:/$Recycle.Bin
?:/RECYCLER
%CSIDL_WINDOWS%/System32
%CSIDL_WINDOWS%/SysWOW64
%CSIDL_WINDOWS%/winsxs
%CSIDL_WINDOWS%/ServicePackFiles
%CSIDL_WINDOWS%/installer
%CSIDL_WINDOWS%/$NtUninstall
%CSIDL_WINDOWS%/$NtServicePackUninstall*$
%CSIDL_WINDOWS%/$hf_mig$
*/tmp
*/temp
*/cache/out-of-date
*/Temporary Internet Files

Procedure

  • To exclude a specific directory, such as /tmp, specify the parameter the following way.
    • UNIX Windows In the isotag_config.xml and slmtag_config.xml files, add the following line.
      <ExcludeDirectory value="/tmp/">
    • In the sw_config.xml file, add the following line.
      <Attribute name="excludeDirectory" value="/tmp/"/>
  • To exclude all directories that contain a particular directory, such as /tmp and /dir/tmp, specify the parameter the following way.
    • UNIX Windows In the isotag_config.xml and slmtag_config.xml files, add the following line.
      <ExcludeDirectory value="*/tmp/">
    • In the sw_config.xml file, add the following line.
      <Attribute name="excludeDirectory" value="*/tmp/"/>
  • To exclude the /mnt/nfs/snapshots directory that is a part of a shared disk, specify the parameter the following way.
    • UNIX Windows In the isotag_config.xml and slmtag_config.xml files, add the following line.
      <ExcludeDirectory value="$remote::/mnt/nfs/snapshots"/>
    • In the sw_config.xml, add the following line.
      <Attribute name="excludeDirectory" value="$remote::/mnt/nfs/snapshots"/>