Exclude a file from scan

1 Likes

ISSUE:

ControlPoint allows to exclude files when scanning sources. The graphical interface gives the possibility to exclude file extensions. What if I want to exclude a specific file.

Annotation 2020-04-30 141928.png

HOW TO STEPS:

The connector configuration file gives you more granularity in what you can exclude.

Open the connector configuration file (.cfg).

Go to the task section of the repository: e.g. [TaskMyRepository]

Add the PathCantHaveRegex parameter. In the following example, we exclude "thumb.db" files AND all pdf files.

PathCantHaveRegex0=.*thumb\.db
PathCantHaveRegex1=.*\.(pdf)

Note that you can have multiple parameters with the number at the end.

Also note that when you use these manual adds in the configuration file, you should not use anymore the field in the graphical interface as this will conflict.

See also the file system connector documentation: https://www.microfocus.com/documentation/idol/IDOL_12_3/FileSystemConnector_12.3_Documentation/Help/index.html#Configuration/TaskName/PathCantHaveRegex.htm

Labels:

How To-Best Practice
Comment List
Parents
  • Thanks Colin, Noted. I can use Policy Approver email as a proof and upload in TRIM since it contains the number of items to approve\reject and also run the Document and \ or User activity report which contains the EventType IN (100, 107, 108, 112) [ For ex: 107 Approved after review ] to confirm \ show.

    Just one question, I can see the Info in Execute Policies.log as you mentioned.

    I can see the [ControlPoint].[dbo].[CPExecutionLog] tables returns zero. This table is alternate to the logs file/ I mean, if any config we can update to store the info into the table rather than file or vice versa? Or this table will always does not have any records and this is expected behaviour?  

    Note: In TRIM, all the tables will have the Extended properties which contains the table explanation or purpose. But, in Controlpoint tables extended properties all blank.

Comment
  • Thanks Colin, Noted. I can use Policy Approver email as a proof and upload in TRIM since it contains the number of items to approve\reject and also run the Document and \ or User activity report which contains the EventType IN (100, 107, 108, 112) [ For ex: 107 Approved after review ] to confirm \ show.

    Just one question, I can see the Info in Execute Policies.log as you mentioned.

    I can see the [ControlPoint].[dbo].[CPExecutionLog] tables returns zero. This table is alternate to the logs file/ I mean, if any config we can update to store the info into the table rather than file or vice versa? Or this table will always does not have any records and this is expected behaviour?  

    Note: In TRIM, all the tables will have the Extended properties which contains the table explanation or purpose. But, in Controlpoint tables extended properties all blank.

Children
No Data
Related
Recommended