Discovery and Inventory Group

 View Only

Adding file extensions to Inventory file rules 

Jan 16, 2015 02:26 PM

Inventory tasks and policies include rules based on a default set of file extensions. These extensions are pre-defined in the Symantec_cmdb. In order to create a rule for a file extension that is not currently available in an inventory rule, the following steps can be taken to make that file extension available.

  1. Open SQL Enterprise Studio and pull up a Query window.
  2. Backup your database (Just in case!).
  3. Paste in the following Query:
  4. INSERT INTO Inv_DefaultFileXML_FileTypes VALUES ( 'Text files', '*.txt', 'Windows')
  5. Edit the query to apply to the file type you wish to capture:
  6. Replace 'Text files' with a name to use as an identifier, for example 'Config files'
  7. Replace '*.txt' with the extension you wish to capture, for example '*.config'
  8. Windows should work for most situations unless you are creating a scanning rule for another platform such as Mac or Linux.
  9. Here is the example query completed:
  10. INSERT INTO Inv_DefaultFileXML_FileTypes VALUES ('Config files', '*.config', 'Windows')
  11. Execute the Query.

Now when you are using the File rules the added values will be available from the dropdowns.

Note: the same must be done for each ‘Platform’ or operating system, i.e., Unix, Mac, Linux, Windows.

Note: Some files may still be excluded based in drive and disk exclusions and because some specific files do not have standard internal property data, i.e., .ser and .cph. 

 

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.