Behavior class

A Device Defender security profile behavior.

Constructors

Behavior({required String name, BehaviorCriteria? criteria, String? metric, MetricDimension? metricDimension, bool? suppressAlerts})
Behavior.fromJson(Map<String, dynamic> json)
factory

Properties

criteria BehaviorCriteria?
The criteria that determine if a device is behaving normally in regard to the metric.
final
hashCode int
The hash code for this object.
no setterinherited
metric String?
What is measured by the behavior.
final
metricDimension MetricDimension?
The dimension for a metric in your behavior. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric to only MQTT topics where the name matches the pattern specified in the dimension. This can't be used with custom metrics.
final
name String
The name you've given to the behavior.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suppressAlerts bool?
Suppresses alerts.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited