create_classifier_rule

This command creates classification rules.

This API is available in Guardium V9.5 and later.

REST API syntax

This API is available as a REST service with the POST method. Call this API as follows:
POST https://[Guardium hostname or IP address]:8443/restAPI/classifier_rule

GuardAPI syntax

create_classifier_rule parameter=value

Parameters

Parameter Value type Description
calculateConfidenceScore Boolean Calculate a confidence score. Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

category String Required. For valid values, call create_classifier_rule from the command line with --help=true.
classification String Required.
columnNameLike String  
compareToValuesInGroup String  
compareToValuesInSQL String  
continueOnMatch Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

continueWithUnmatchedColumnsOnly Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

dataTypes String  
description String  
evaluationName String  
excludeSchemaName String  
excludeTable String  
excludeTableColumn String  
fireOnlyWithMarker String  
hitPercentage Integer  
maxLength Integer  
minLength Integer  
policyName String Required.
ruleName String Required.
ruleType String Required. For valid values, call create_classifier_rule from the command line with --help=true.
searchExpression String  
searchLike String  
showUniqueValues Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

skipEmptyNull Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

tableNameLike String  
tableTypeSynonym Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

tableTypeSystemTable Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

tableTypeTable Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 1 (true)

tableTypeView Boolean Valid values:
  • 0 (false)
  • 1 (true)

Default = 0 (false)

uniqueValueMask String