Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make selected evidence fields available at the issue level #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v4.13.0 (XXXX 2024)
- Add `issueid`, `line`, `module`, `sourcefile`, & `sourcefilepath` as available issue fields

v4.12.0 (May 2024)
- Create evidence for every instance of <flaw>
- Update Dradis links in README
Expand Down
7 changes: 6 additions & 1 deletion lib/dradis/plugins/veracode/mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,17 @@ module Mapping
'issue.cwename',
'issue.description',
'issue.exploitlevel',
'issue.issueid',
'issue.line',
'issue.mitigation_status',
'issue.mitigation_status_desc',
'issue.module',
'issue.note',
'issue.remediation_status',
'issue.remediationeffort',
'issue.severity'
'issue.severity',
'issue.sourcefile',
'issue.sourcefilepath'
]
}.freeze
end
Expand Down
5 changes: 3 additions & 2 deletions lib/veracode/flaw.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ def supported_tags
[
# attributes
:categoryid, :categoryname, :cweid, :cwename, :description, :exploitlevel,
:mitigation_status, :mitigation_status_desc, :note, :remediation_status,
:remediationeffort, :severity
:issueid, :line, :mitigation_status, :mitigation_status_desc, :module,
:note, :remediation_status, :remediationeffort, :severity, :sourcefile,
:sourcefilepath
]
end

Expand Down