Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
Merged
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
2 changes: 1 addition & 1 deletion scb-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>6.4.3</version>
<version>6.8.2</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package io.securecodebox.engine.history;

import org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.springframework.stereotype.Component;

@Component
public class HistoryCleanupConfig extends AbstractProcessEnginePlugin {
@Override
public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
processEngineConfiguration.setHistoryCleanupBatchWindowStartTime("20:00");
processEngineConfiguration.setHistoryCleanupBatchWindowEndTime("24:00");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<version>0.0.1-SNAPSHOT</version>

<properties>
<elasticsearch.version>6.8.1</elasticsearch.version>
<elasticsearch.version>6.8.2</elasticsearch.version>
</properties>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
<bpmn:process id="amass-process" name="Amass Subdomain Scan" isExecutable="true" camunda:versionTag="2" camunda:historyTimeToLive="30">
<bpmn:process id="amass-process" name="Amass Subdomain Scan" isExecutable="true" camunda:versionTag="2" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/default/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
<bpmn:process id="arachni-process" name="Arachni Webapplication Scan" isExecutable="true" camunda:versionTag="4" camunda:historyTimeToLive="30">
<bpmn:process id="arachni-process" name="Arachni Webapplication Scan" isExecutable="true" camunda:versionTag="4" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/arachni/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
<bpmn:process id="$processTopic" name="$processName" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="30">
<bpmn:process id="$processTopic" name="$processName" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/default/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${dollar}{checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
<bpmn:process id="amass-nmap-process" name="Combined Amass-Nmap Scan" isExecutable="true" camunda:historyTimeToLive="30">
<bpmn:process id="amass-nmap-process" name="Combined Amass-Nmap Scan" isExecutable="true" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/amass-nmap/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
<bpmn:process id="combined-nmap-nikto-process" name="Nmap-Nikto Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="30">
<bpmn:process id="combined-nmap-nikto-process" name="Nmap-Nikto Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_ConfigurePortscan" name="target configured" camunda:formKey="embedded:app:forms/configure-nmap-nikto-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.2.4">
<bpmn:process id="combined-nmap-ssh-process" name="Nmap-SSH Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="30">
<bpmn:process id="combined-nmap-ssh-process" name="Nmap-SSH Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/ssh/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.12.0">
<bpmn:process id="nikto-process" name="Nikto Webserver Scan" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="30">
<bpmn:process id="nikto-process" name="Nikto Webserver Scan" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_ConfigurePortscan" name="target configured" camunda:formKey="embedded:app:forms/nikto/configure-webserver-scanner-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
<bpmn:process id="nmap-process" name="NMAP Port Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="30">
<bpmn:process id="nmap-process" name="NMAP Port Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_ConfigurePortscan" name="target configured" camunda:formKey="embedded:app:forms/nmap/configure-port-scanner-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.2">
<bpmn:process id="raw-nmap-process" name="NMAP Port Scan - Raw" isExecutable="false" camunda:versionTag="4" camunda:historyTimeToLive="30">
<bpmn:process id="raw-nmap-process" name="NMAP Port Scan - Raw" isExecutable="false" camunda:versionTag="4" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_ConfigurePortscan" name="target configured" camunda:formKey="embedded:app:forms/nmap/configure-port-scanner-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.12.0">
<bpmn:process id="ssh-process" name="SSH Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="30">
<bpmn:process id="ssh-process" name="SSH Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/ssh/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.12.0">
<bpmn:process id="wordpress-process" name="WordPress Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="30">
<bpmn:process id="wordpress-process" name="WordPress Scan" isExecutable="true" camunda:versionTag="3" camunda:historyTimeToLive="1">
<bpmn:startEvent id="StartEvent_Configure" name="target configured" camunda:formKey="embedded:app:forms/wordpress/configure-target.html">
<bpmn:extensionElements>
<camunda:executionListener delegateExpression="${checkForAutomatedRunListener}" event="start" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.0.1">
<bpmn:process id="zap-process" name="ZAP Webapplication Scan" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="30">
<bpmn:process id="zap-process" name="ZAP Webapplication Scan" isExecutable="true" camunda:versionTag="1" camunda:historyTimeToLive="1">
<bpmn:endEvent id="EndEvent_FinishedWebserverScan" name="ZAP Scan finished">
<bpmn:incoming>SequenceFlow_SummaryCreated</bpmn:incoming>
</bpmn:endEvent>
Expand Down