From e65beef560e25c654277ebbde1e51b4fc8771fb8 Mon Sep 17 00:00:00 2001 From: Rachael Carder Date: Wed, 1 May 2024 11:12:54 -0500 Subject: [PATCH 1/2] Make issueid, line, module, sourcefile, & sourcefilepath available at the issue level --- CHANGELOG.md | 1 + lib/dradis/plugins/veracode/mapping.rb | 7 ++++++- lib/veracode/flaw.rb | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53d20ca..9666a62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ v4.12.0 (XXXX 2024) - Migrate integration to use Mappings Manager - Update Dradis links in README - Use cweid as the issue identifier + - Make `issueid`, `line`, `module`, `sourcefile`, & `sourcefilepath` available at the issue and evidence level v4.11.0 (January 2024) - No changes diff --git a/lib/dradis/plugins/veracode/mapping.rb b/lib/dradis/plugins/veracode/mapping.rb index a3f689d..d7f3eca 100644 --- a/lib/dradis/plugins/veracode/mapping.rb +++ b/lib/dradis/plugins/veracode/mapping.rb @@ -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 diff --git a/lib/veracode/flaw.rb b/lib/veracode/flaw.rb index 27c9b7b..1e55c61 100644 --- a/lib/veracode/flaw.rb +++ b/lib/veracode/flaw.rb @@ -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 From fb06c8c894979970283db9e2d86c17201e1c5077 Mon Sep 17 00:00:00 2001 From: Rachael Carder Date: Wed, 8 May 2024 10:33:11 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Caitlin Henry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9666a62..caf33e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ v4.12.0 (XXXX 2024) - Migrate integration to use Mappings Manager - Update Dradis links in README - Use cweid as the issue identifier - - Make `issueid`, `line`, `module`, `sourcefile`, & `sourcefilepath` available at the issue and evidence level + - Add `issueid`, `line`, `module`, `sourcefile`, & `sourcefilepath` as available issue fields v4.11.0 (January 2024) - No changes