Skip to content
Permalink
Browse files

resolves issue #64 - add fix text to DFR

  • Loading branch information
squinky86 committed Feb 28, 2020
1 parent 90a154d commit 68a75207928ddcf7c96059df39364f725c1741a8
Showing with 9 additions and 5 deletions.
  1. +2 −1 .travis.yml
  2. +7 −4 src/workerfindingsreport.cpp
@@ -39,5 +39,6 @@ after_success:
- for x in src/*.cpp; do LC_ALL=en gcov --branch-probabilities --branch-counts ${x} -o .; done
- sonar-scanner
- coveralls --gcov-options '\-lp'
- PERL5LIB="${HOME}/perl5" cover -ignore_re=^/ -ignore_re=^t -report kritika
- gcov2perl *.gcov
- cover -ignore_re=^/ -ignore_re=^t -report kritika
- bash <(curl -s https://codecov.io/bash)
@@ -113,8 +113,9 @@ void WorkerFindingsReport::process()
worksheet_write_string(wsFindings, 0, 8, "Title", fmtBold);
worksheet_write_string(wsFindings, 0, 9, "Vuln", fmtBold);
worksheet_write_string(wsFindings, 0, 10, "Discussion", fmtBold);
worksheet_write_string(wsFindings, 0, 11, "Finding Details", fmtBold);
worksheet_write_string(wsFindings, 0, 12, "Comments", fmtBold);
worksheet_write_string(wsFindings, 0, 11, "Fix", fmtBold);
worksheet_write_string(wsFindings, 0, 12, "Finding Details", fmtBold);
worksheet_write_string(wsFindings, 0, 13, "Comments", fmtBold);

//write headers for CCI findings
worksheet_write_string(wsCCIs, 0, 0, "Control", fmtBold);
@@ -164,10 +165,12 @@ void WorkerFindingsReport::process()
worksheet_write_string(wsFindings, onRow, 9, Excelify(sc.vulnNum).toStdString().c_str(), nullptr);
//discussion
worksheet_write_string(wsFindings, onRow, 10, Excelify(sc.vulnDiscussion).toStdString().c_str(), nullptr);
//fix text
worksheet_write_string(wsFindings, onRow, 11, Excelify(sc.fix).toStdString().c_str(), nullptr);
//details
worksheet_write_string(wsFindings, onRow, 11, Excelify(cc.findingDetails).toStdString().c_str(), nullptr);
worksheet_write_string(wsFindings, onRow, 12, Excelify(cc.findingDetails).toStdString().c_str(), nullptr);
//comments
worksheet_write_string(wsFindings, onRow, 12, Excelify(cc.comments).toStdString().c_str(), nullptr);
worksheet_write_string(wsFindings, onRow, 13, Excelify(cc.comments).toStdString().c_str(), nullptr);

//if the check is a finding, add it to the CCI sheet
if (s == Status::Open)

0 comments on commit 68a7520

Please sign in to comment.
You can’t perform that action at this time.