Sha256: 027011e5858c742550331fd8d75bd1de843063ad6689f05683b3dd62a7749764

Contents?: true

Size: 894 Bytes

Versions: 3

Compression:

Stored size: 894 Bytes

Contents

module Dradis::Plugins::Pentera
  module Mapping
    DEFAULT_MAPPING = {
    evidence: {
      'Port' => '{{ pentera[evidence.port] }}',
      'Protocol' => '{{ pentera[evidence.protocol] }}'
    },
    issue: {
      'Title' => '{{ pentera[issue.name] }}',
      'Summary' => '{{ pentera[issue.summary] }}',
      'Severity' => '{{ pentera[issue.severity] }}',
      'Priority' => '{{ pentera[issue.priority] }}',
      'Insight' => '{{ pentera[issue.insight] }}',
      'Remediation' => '{{ pentera[issue.remediation] }}'
    }
  }.freeze

  SOURCE_FIELDS = {
    evidence: [
      'evidence.found_on',
      'evidence.port',
      'evidence.protocol',
      'evidence.target',
      'evidence.target_id'
    ],
    issue: [
      'issue.insight',
      'issue.name',
      'issue.priority',
      'issue.remediation',
      'issue.summary',
      'issue.severity'
    ]
  }.freeze
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dradis-pentera-4.15.0 lib/dradis/plugins/pentera/mapping.rb
dradis-pentera-4.14.0 lib/dradis/plugins/pentera/mapping.rb
dradis-pentera-4.13.0 lib/dradis/plugins/pentera/mapping.rb