Class: DatadogAPIClient::V2::AnalysisRuleResponse

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

Overview

The result of applying a single static analysis rule to the analyzed source code.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/analysis_rule_response.rb', line 42

def additional_properties
  @additional_properties
end

#errorsObject

A list of error messages encountered while executing the rule.



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

def errors
  @errors
end

#execution_errorObject

An error message if the rule execution failed, or null if execution succeeded.



28
29
30
# File 'lib/datadog_api_client/v2/models/analysis_rule_response.rb', line 28

def execution_error
  @execution_error
end

#execution_time_msObject

The time taken to execute the rule, in milliseconds.



31
32
33
# File 'lib/datadog_api_client/v2/models/analysis_rule_response.rb', line 31

def execution_time_ms
  @execution_time_ms
end

#identifierObject

The identifier of the rule that produced this response.



34
35
36
# File 'lib/datadog_api_client/v2/models/analysis_rule_response.rb', line 34

def identifier
  @identifier
end

#outputObject

The raw output produced by the rule engine during execution.



37
38
39
# File 'lib/datadog_api_client/v2/models/analysis_rule_response.rb', line 37

def output
  @output
end

#violationsObject

The list of violations found by this rule.



40
41
42
# File 'lib/datadog_api_client/v2/models/analysis_rule_response.rb', line 40

def violations
  @violations
end