Class: DatadogAPIClient::V2::Selectors
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::Selectors
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/selectors.rb
Overview
Selectors are used to filter security issues for which notifications should be generated. Users can specify rule severities, rule types, a query to filter security issues on tags and attributes, and the trigger source. Only the trigger_source field is required.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#query ⇒ Object
The query is composed of one or several key:value pairs, which can be used to filter security issues on tags and attributes.
-
#rule_types ⇒ Object
Security rule types used as filters in security rules.
-
#severities ⇒ Object
The security rules severities to consider.
-
#trigger_source ⇒ Object
readonly
The type of security issues on which the rule applies.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/selectors.rb', line 39 def additional_properties @additional_properties end |
#query ⇒ Object
The query is composed of one or several key:value pairs, which can be used to filter security issues on tags and attributes.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/selectors.rb', line 27 def query @query end |
#rule_types ⇒ Object
Security rule types used as filters in security rules.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/selectors.rb', line 30 def rule_types @rule_types end |
#severities ⇒ Object
The security rules severities to consider.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/selectors.rb', line 33 def severities @severities end |
#trigger_source ⇒ Object
The type of security issues on which the rule applies. Notification rules based on security signals need to use the trigger source "security_signals", while notification rules based on security vulnerabilities need to use the trigger source "security_findings".
37 38 39 |
# File 'lib/datadog_api_client/v2/models/selectors.rb', line 37 def trigger_source @trigger_source end |