Sha256: 5ea47ec6f3f0ffb27b12732f182535326c3a0a64790757a80e3731d201edd2f3
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
module Dradis::Plugins::Zap module Mapping DEFAULT_MAPPING = { evidence: { 'Description' => "URI: {{ zap[evidence.uri] }}\nParam: {{ zap[evidence.param] }}\nAttack:\nbc.. {{ zap[evidence.attack] }}" }, issue: { 'Title' => '{{ zap[issue.alert] }}', 'Risk' => '{{ zap[issue.riskdesc] }}', 'Confidence' => '{{ zap[issue.confidence] }}', 'Description' => '{{ zap[issue.desc] }}', 'Solution' => '{{ zap[issue.solution] }}', 'OtherInfo' => '{{ zap[issue.otherinfo] }}', 'References' => "{{ zap[issue.reference] }}\nCWE: {{ zap[issue.cweid] }}\nWASC: {{ zap[issue.wascid] }}" } }.freeze SOURCE_FIELDS = { evidence: [ 'evidence.uri', 'evidence.param', 'evidence.attack' ], issue: [ 'issue.pluginid', 'issue.alert', 'issue.riskcode', 'issue.confidence', 'issue.riskdesc', 'issue.desc', 'issue.count', 'issue.solution', 'issue.otherinfo', 'issue.reference', 'issue.cweid', 'issue.wascid' ] }.freeze end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dradis-zap-4.14.0 | lib/dradis/plugins/zap/mapping.rb |
dradis-zap-4.13.0 | lib/dradis/plugins/zap/mapping.rb |