Class: MetzScan::Analyzers::ServiceSoup::Finding

Inherits:
Struct
  • Object
show all
Defined in:
lib/metz_scan/analyzers/service_soup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def confidence
  @confidence
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def message
  @message
end

#occurrencesObject

Returns the value of attribute occurrences

Returns:

  • (Object)

    the current value of occurrences



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def occurrences
  @occurrences
end

#project_analyzer_metadataObject

Returns the value of attribute project_analyzer_metadata

Returns:

  • (Object)

    the current value of project_analyzer_metadata



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def 
  @project_analyzer_metadata
end

#project_analyzer_statusObject

Returns the value of attribute project_analyzer_status

Returns:

  • (Object)

    the current value of project_analyzer_status



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def project_analyzer_status
  @project_analyzer_status
end

#rule_idObject

Returns the value of attribute rule_id

Returns:

  • (Object)

    the current value of rule_id



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def rule_id
  @rule_id
end

#servicesObject

Returns the value of attribute services

Returns:

  • (Object)

    the current value of services



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def services
  @services
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def source
  @source
end

#suggested_next_movesObject

Returns the value of attribute suggested_next_moves

Returns:

  • (Object)

    the current value of suggested_next_moves



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def suggested_next_moves
  @suggested_next_moves
end

#triage_severityObject

Returns the value of attribute triage_severity

Returns:

  • (Object)

    the current value of triage_severity



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def triage_severity
  @triage_severity
end

#triage_summaryObject

Returns the value of attribute triage_summary

Returns:

  • (Object)

    the current value of triage_summary



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def triage_summary
  @triage_summary
end

#why_it_mattersObject

Returns the value of attribute why_it_matters

Returns:

  • (Object)

    the current value of why_it_matters



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def why_it_matters
  @why_it_matters
end

#workflowObject

Returns the value of attribute workflow

Returns:

  • (Object)

    the current value of workflow



28
29
30
# File 'lib/metz_scan/analyzers/service_soup.rb', line 28

def workflow
  @workflow
end

Instance Method Details

#report_occurrencesObject



32
33
34
# File 'lib/metz_scan/analyzers/service_soup.rb', line 32

def report_occurrences
  occurrences.map { |occurrence| Occurrence.from(occurrence, context: workflow) }
end