|
Enabling the Modify Security Labels auditing event greatly increases the run time for the UpdateSecurityLabels command line utility. For more information, see Enable Security Label Events for Auditing.
|
Property
|
Description
|
||
wt.access.UpdateSecurityLabels.authorizedParticipant
|
Optional, but recommended to limit access.
Set this property to the UFID of the authorized user in LDAP, user-defined group, or organization in database who is authorized to run the UpdateSecurityLabels command line utility.
By default, this property is set to the site administrators group.
|
||
wt.access.UpdateSecurityLabels.chunkSize
|
Optional
Set this property to indicate the greatest number of objects that are updated in one chunk before starting another chunk. Setting this property can improve performance when dealing with a large number of updates. For example, if you are running the utility against 100,000 objects, you could set the chunk size to be 5000 and 20 chunks would be processed. If a failure occurs in one of the chunks, only that chunk would need to be reprocessed and all other successful chunks can continue.
By default, this property is set to 1000.
|
||
wt.access.UpdateSecurityLabels.noChangeValue
|
Optional
Set this property to indicate the string to use to leave some security label values unchanged, rather than setting them to a specified value.
By default, this property is not set.
|
Property
|
Description
|
log4j.appender.UpdateSecurityLabelsReport
|
Required
This property must be set to wt.access.UpdateSLsReportAppender. The property establishes the format for the output file generated by the utility.
|
log4j.appender.UpdateSecurityLabelsReport.File
|
Required
After the UpdateSecurityLabels command line utility runs, an output file is generated with a TSV file type. This property determines where the file is saved and what the file is named. The file name can be appended with the Java virtual machine identifier (%jid), the thread identifier (%tid), and the time in milliseconds (%time). PTC recommends appending at least one of these values so that each output file has a unique file name.
|
log4j.appender.UpdateSecurityLabelsReport.MaximumNumberOfRecords
|
Optional
Set this property to indicate the greatest number of records that can appear in the output file. When this number is reached, the output file is renamed with a suffix of “_x”, where “x” is the file number, and a new output file is created. For example, if the property is set to 60 and there are 100 records, two files are generated, Report_1 with 60 records and Report with 40.
If this property is not set, it defaults to 20000.
|
log4j.appender.UpdateSecurityLabelsReport.MaximumFileSizeInBytes
|
Optional
Set this property to indicate the maximum file size in bytes for the output file. When this number is reached, a new output file is generated with a suffix of “_x”, where “x” is the file number.
If this property is not set, it defaults to 10 MB.
|
log4j.additivity.wt.access.UpdateSecurityLabelsReport
|
Optional
Set this property to establish whether information is written to the method server log in addition to the output file.
By default, this property is set to True.
|
log4j.logger.wt.access.UpdateSecurityLabelsReport
|
Required
Set this property to determine the level of detail included in the output file. The following values are available:
• TRACE: displays the input file location, a summary line, and a status for each object processed
• INFO: displays the input file location, a summary line, and any failures or errors that occur for individual objects
• ERROR: displays the input file location and any failures or errors that occur for individual objects
|