Class DetectionRule (2.0.2)

DetectionRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Deprecated; use InspectionRuleSet instead. Rule for modifying a CustomInfoType to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the surrogate_type custom infoType.

Attribute

NameDescription
hotword_rule .storage.CustomInfoType.DetectionRule.HotwordRule
Hotword-based detection rule.

Classes

HotwordRule

HotwordRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The rule that adjusts the likelihood of findings within a certain proximity of hotwords.

LikelihoodAdjustment

LikelihoodAdjustment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.

Proximity

Proximity(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for specifying a window around a finding to apply a detection rule.