Sha256: d7111794e58c512b6b38ae58cc06af018493d8d0ce07a032916dd3a5734fa864

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

module Dradis::Plugins::Coreimpact
  module Mapping
    DEFAULT_MAPPING = {
      evidence: {
        'AgentDeployed' => '{{ coreimpact[evidence.agent_deployed] }}',
        'Description' => '{{ coreimpact[evidence.description] }}',
        'Port' => '{{ coreimpact[evidence.port] }}',
        'TriedToInstallAgent' => '{{ coreimpact[evidence.tried_to_install_agent] }}'
      },
      issue: {
        'Title' => '{{ coreimpact[issue.title] }}',
        'AgentDeployed' => '{{ coreimpact[issue.agent_deployed] }}',
        'CVE' => '{{ coreimpact[issue.cve] }}',
        'Description' => '{{ coreimpact[issue.description] }}',
        'Port' => '{{ coreimpact[issue.port] }}',
        'TriedToInstallAgent' => '{{ coreimpact[issue.tried_to_install_agent] }}'
      }
    }.freeze

    SOURCE_FIELDS = {
      evidence: [
        'evidence.agent_deployed',
        'evidence.description',
        'evidence.tried_to_install_agent',
        'evidence.port'
      ],
      issue: [
        'issue.title',
        'issue.agent_deployed',
        'issue.cve',
        'issue.description',
        'issue.port',
        'issue.tried_to_install_agent'
      ]
    }.freeze
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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