Restrict processing of files
By default, all types of files are processed by the Inventory Server. However, by using the allowlist and denylist functionality in the configuration file of the server it is possible to control what type of files to process, or not to process.
Use the <AllowList> element to define file extensions of all file types to be processed, or use the <DenyList> element to define file extensions of all file types not to be processed.
This example will only process files with extensions .exe and .txt:
<Master>
<DataProcessor>
<ApplicationProcessing>
<FileExtensions>
<AllowList>
<Extension>exe</Extension>
<Extension>txt</Extension>
</AllowList>
</FileExtensions>
</ApplicationProcessing>
</DataProcessor>
</Master>
This example will process all files but the ones with the extensions .dll and .log:
<Master>
<DataProcessor>
<ApplicationProcessing>
<FileExtensions>
<DenyList>
<Extension>dll</Extension>
<Extension>log</Extension>
</DenyList>
</FileExtensions>
</ApplicationProcessing>
</DataProcessor>
</Master>
note
If file extensions have been defined in the <AllowList> element, any defined extensions in the <DenyList> element will be ignored.