Class: DatadogAPIClient::V2::NotificationRulePreviewResult

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/notification_rule_preview_result.rb

Overview

The preview result for a single rule type.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



35
36
37
# File 'lib/datadog_api_client/v2/models/notification_rule_preview_result.rb', line 35

def additional_properties
  @additional_properties
end

#notification_statusObject

The notification status for the given rule type. SUCCESS means a matching event was found and the notification was sent successfully. DEFAULT means no matching event was found and a default placeholder notification was sent instead. ERROR means an error occurred while sending the notification.



25
26
27
# File 'lib/datadog_api_client/v2/models/notification_rule_preview_result.rb', line 25

def notification_status
  @notification_status
end

#rule_typeObject

Security rule type which can be used in security rules. Signal-based notification rules can filter signals based on rule types application_security, log_detection, workload_security, signal_correlation, cloud_configuration and infrastructure_configuration. Vulnerability-based notification rules can filter vulnerabilities based on rule types application_code_vulnerability, application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, api_security, host_vulnerability, iac_misconfiguration, sast_vulnerability and secret_vulnerability.



33
34
35
# File 'lib/datadog_api_client/v2/models/notification_rule_preview_result.rb', line 33

def rule_type
  @rule_type
end