Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Behavior = Behavior' {}
- newBehavior :: Text -> Behavior
- behavior_criteria :: Lens' Behavior (Maybe BehaviorCriteria)
- behavior_metric :: Lens' Behavior (Maybe Text)
- behavior_metricDimension :: Lens' Behavior (Maybe MetricDimension)
- behavior_suppressAlerts :: Lens' Behavior (Maybe Bool)
- behavior_name :: Lens' Behavior Text
Documentation
A Device Defender security profile behavior.
See: newBehavior
smart constructor.
Behavior' | |
|
Instances
Create a value of Behavior
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:criteria:Behavior'
, behavior_criteria
- The criteria that determine if a device is behaving normally in regard
to the metric
.
$sel:metric:Behavior'
, behavior_metric
- What is measured by the behavior.
$sel:metricDimension:Behavior'
, behavior_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.
$sel:suppressAlerts:Behavior'
, behavior_suppressAlerts
- Suppresses alerts.
$sel:name:Behavior'
, behavior_name
- The name you've given to the behavior.
behavior_criteria :: Lens' Behavior (Maybe BehaviorCriteria) Source #
The criteria that determine if a device is behaving normally in regard
to the metric
.
behavior_metricDimension :: Lens' Behavior (Maybe MetricDimension) Source #
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.