Skip to content

Commit

Permalink
Merge pull request #13 from checkmarx-ltd/Integration_Branch
Browse files Browse the repository at this point in the history
Integration branch
  • Loading branch information
apoorvasingh5 authored Jun 27, 2023
2 parents b72aa55 + 1cbf96a commit 2bfcd95
Show file tree
Hide file tree
Showing 10 changed files with 205 additions and 680 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-26 17:41:59">
<unload unload_date="2023-06-27 13:48:20">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<unload unload_date="2023-06-27 13:48:59">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down Expand Up @@ -63,12 +63,13 @@ CheckmarxOneAppListProcessor.prototype = Object.extendsObject(sn_vul.Application
} catch (ex) {
errorMessage = gs.getMessage("Error in retriving data for app list integration!");
gs.error(this.MSG + " " + errorMessage + " " + ex.message);
errorProcess += " | " + ex.message;
gs.error(this.MSG + "errorMessage " + ex);
errorProcess += " | " + ex.getMessage();
}
}
if (!gs.nil(errorProcess))
gs.error(this.MSG + " All errors that occurred while processing project lists: " + errorProcess);
gs.error(this.MSG + "All errors that occurred while processing project lists: " + errorProcess);
this.completeProcess(this.integrationProcessGr, this.import_counts);
},
Expand All @@ -90,10 +91,13 @@ CheckmarxOneAppListProcessor.prototype = Object.extendsObject(sn_vul.Application
<sys_created_by>admin</sys_created_by>
<sys_created_on>2022-11-21 12:03:00</sys_created_on>
<sys_id>716c87ad471f1110328ca368436d438a</sys_id>
<sys_mod_count>48</sys_mod_count>
<sys_name>CheckmarxOneAppListProcessor</sys_name>
<sys_package display_value="Checkmarx One Vulnerability Integration" source="x_chec3_chexone">3d20e92d47471110328ca368436d436a</sys_package>
<sys_policy/>
<sys_scope display_value="Checkmarx One Vulnerability Integration">3d20e92d47471110328ca368436d436a</sys_scope>
<sys_update_name>sys_script_include_716c87ad471f1110328ca368436d438a</sys_update_name>
<sys_updated_by>[email protected]</sys_updated_by>
<sys_updated_on>2023-06-26 17:18:16</sys_updated_on>
</sys_script_include>
</unload>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-26 18:06:49">
<unload unload_date="2023-06-27 13:49:35">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-27 13:50:10">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down Expand Up @@ -143,12 +144,13 @@ CheckmarxOneAppVulItemProcessor.prototype = Object.extendsObject(sn_vul.Applicat
errorMessage = gs.getMessage("Error in retriving data for app vulnerability item integration!");
gs.error(this.MSG + " " + errorMessage + " " + ex.message);
errorProcess += " | " + ex.message;
}
}
}
if (!gs.nil(errorProcess))
gs.error(this.MSG + " All errors that occurred while processing Vulnerability lists: " + errorProcess);
gs.error(this.MSG + "All errors that occurred while processing Vulnerability lists: " + errorProcess);
this.completeProcess(this.integrationProcessGr, this.import_counts);
} else
gs.warn(this.MSG + ':process called with no attachment');
Expand Down Expand Up @@ -216,10 +218,13 @@ CheckmarxOneAppVulItemProcessor.prototype = Object.extendsObject(sn_vul.Applicat
<sys_created_by>[email protected]</sys_created_by>
<sys_created_on>2023-03-16 05:04:10</sys_created_on>
<sys_id>ba2b3da69769e510026f72021153af1b</sys_id>
<sys_mod_count>23</sys_mod_count>
<sys_name>CheckmarxOneAppVulItemProcessor</sys_name>
<sys_package display_value="Checkmarx One Vulnerability Integration" source="x_chec3_chexone">3d20e92d47471110328ca368436d436a</sys_package>
<sys_policy/>
<sys_scope display_value="Checkmarx One Vulnerability Integration">3d20e92d47471110328ca368436d436a</sys_scope>
<sys_update_name>sys_script_include_ba2b3da69769e510026f72021153af1b</sys_update_name>
<sys_updated_by>[email protected]</sys_updated_by>
<sys_updated_on>2023-06-26 16:47:43</sys_updated_on>
</sys_script_include>
</unload>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-27 13:51:05">
<sys_script_include action="INSERT_OR_UPDATE">
<access>package_private</access>
<active>true</active>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-02 11:13:23">
<unload unload_date="2023-06-27 13:50:41">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-27 13:51:33">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2023-06-27 13:52:04">
<sys_script_include action="INSERT_OR_UPDATE">
<access>public</access>
<active>true</active>
Expand Down Expand Up @@ -47,9 +48,10 @@ CheckmarxOneScanSummaryProcessor.prototype = Object.extendsObject(sn_vul.Applica
this._upsert(sastdata);
} catch (ex) {
errorMessage = gs.getMessage("Error in retriving data for CxOneSast scan list integration!");
gs.error(this.MSG + " " + errorMessage + " " + ex.message);
errorProcess += " | " + ex.message;
errorMessage = gs.getMessage("Error in retriving data for scan list integration!");
gs.error(this.MSG + "errorMessage " + ex);
errorProcess += " | " + ex.getMessage();
//throw ex;
}
}
}
Expand All @@ -73,14 +75,15 @@ CheckmarxOneScanSummaryProcessor.prototype = Object.extendsObject(sn_vul.Applica
data['scan_summary_name'] = attributes.app_name + ' ' + data['last_scan_date'];
this._upsert(data);
} catch (ex) {
errorMessage = gs.getMessage("Error in retriving data for CxOneSca scan list integration!");
gs.error(this.MSG + " " + errorMessage + " " + ex.message);
errorProcess += " | " + ex.message;
errorMessage = gs.getMessage("Error in retriving data for scan list integration!");
gs.error(this.MSG + "errorMessage " + ex);
errorProcess += " | " + ex.getMessage();
//throw ex;
}
}
}
if (!gs.nil(errorProcess))
gs.error(this.MSG + " All errors that occurred while processing scan summary: " + errorProcess);
gs.error(this.MSG + "All errors that occurred while processing scan summary: " + errorProcess);
this.completeProcess(this.integrationProcessGr, this.import_counts);
} else
Expand Down Expand Up @@ -130,10 +133,13 @@ CheckmarxOneScanSummaryProcessor.prototype = Object.extendsObject(sn_vul.Applica
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-02-08 12:56:43</sys_created_on>
<sys_id>ec0e828f47f42110328ca368436d433b</sys_id>
<sys_mod_count>9</sys_mod_count>
<sys_name>CheckmarxOneScanSummaryProcessor</sys_name>
<sys_package display_value="Checkmarx One Vulnerability Integration" source="x_chec3_chexone">3d20e92d47471110328ca368436d436a</sys_package>
<sys_policy/>
<sys_scope display_value="Checkmarx One Vulnerability Integration">3d20e92d47471110328ca368436d436a</sys_scope>
<sys_update_name>sys_script_include_ec0e828f47f42110328ca368436d433b</sys_update_name>
<sys_updated_by>[email protected]</sys_updated_by>
<sys_updated_on>2023-06-26 17:22:27</sys_updated_on>
</sys_script_include>
</unload>
Loading

0 comments on commit 2bfcd95

Please sign in to comment.