diff --git a/cobra/api.py b/cobra/api.py
index d021cb29..e7c50179 100644
--- a/cobra/api.py
+++ b/cobra/api.py
@@ -312,7 +312,6 @@ def summary():
key=key)
status_url = 'http://{host}:{port}/api/status'.format(host=running_host, port=running_port)
- logger.critical(status_url)
post_data = {
'key': key,
'sid': a_sid,
@@ -340,7 +339,6 @@ def summary():
elif len(split_target) == 2:
target, branch = target_str, 'master'
else:
- logger.critical('[API] Target url exception: {u}'.format(u=target_str))
target, branch = target_str, 'master'
still_running[s_sid] = {'target': target,
'branch': branch}
@@ -373,7 +371,6 @@ def summary():
elif len(split_target) == 2:
target, branch = target_str, 'master'
else:
- logger.critical('Target url exception: {u}'.format(u=target_str))
target, branch = target_str, 'master'
target_info.update({
diff --git a/cobra/export.py b/cobra/export.py
index 2e7adc91..b619bfaf 100644
--- a/cobra/export.py
+++ b/cobra/export.py
@@ -14,7 +14,7 @@
import csv
import json
import os
-from codecs import open,BOM_UTF8
+from codecs import open, BOM_UTF8
from prettytable import PrettyTable
diff --git a/cobra/templates/asset/js/report.js b/cobra/templates/asset/js/report.js
index e8522e64..a05f9718 100644
--- a/cobra/templates/asset/js/report.js
+++ b/cobra/templates/asset/js/report.js
@@ -108,7 +108,7 @@ $(function () {
$('.commit-author').text('@' + data.commit_author);
$('.commit-time').text('@' + data.commit_time);
$('.v-level').text(score2level[data.level]);
- $('.v-type').text(data.rule_name);
+ $('.v-type').text('CVI-' + data.id + ' ' + data.rule_name);
$('.v-solution').text(data.solution);
// $('.v-rule').text(data.match_result);
}
@@ -341,8 +341,8 @@ $(function () {
' data-start="1" data-line="1">' +
'MVE-' + (i + 1) + '
' + list[i].file_path + line + '
' +
'' +
- '' +
- ' => ' + list[i].commit_time +
+ '' + 'CVI-' + list[i].id +
+ ' => ' + list[i].rule_name +
'' +
'' +
'';