diff --git a/conf/application.sample b/conf/application.sample new file mode 100644 index 000000000..bd499d47b --- /dev/null +++ b/conf/application.sample @@ -0,0 +1,82 @@ +# Secret key +# ~~~~~ +# The secret key is used to secure cryptographics functions. +# If you deploy your application to several instances be sure to use the same key! +#play.crypto.secret="***changeme***" + +analyzer { + path = "path/to/Cortex-Analyzers/analyzers" + config { + global { + proxy { + #http="http://PROXY_ADDRESS:PORT", + #https="http://PROXY_ADDRESS:PORT" + } + } + CIRCLPassiveDNS { + #user= "..." + #password= "..." + } + CIRCLPassiveSSL { + #user= "..." + #password= "..." + } + DNSDB { + #server="https://api.dnsdb.info" + #key="..." + } + DomainTools { + #username="..." + #key="..." + } + GoogleSafebrowsing { + #key = "..." + } + Hippocampe { + #url="..." + } + JoeSandbox { + #url = "..." + #apikey = "..." + } + Nessus { + #url ="..." + #login="..." + #password="..." + #policy="..." + #ca_bundle="..." + #allowed_network="..." + } + OTXQuery { + #key="..." + } + PassiveTotal { + #key="..." + #username="..." + } + PhishingInitiative { + #key="..." + } + PhishTank { + #key="..." + } + Virusshare { + #path = "..." + } + VirusTotal { + #key="..." + } + Yara { + #rules=["..."] + } + } + + fork-join-executor { + # Min number of threads available for analyze + parallelism-min = 2 + # Parallelism (threads) ... ceil(available processors * factor) + parallelism-factor = 2.0 + # Max number of threads available for analyze + parallelism-max = 4 + } +} \ No newline at end of file diff --git a/package/etc_default_cortex b/package/etc_default_cortex new file mode 100644 index 000000000..b965c6d21 --- /dev/null +++ b/package/etc_default_cortex @@ -0,0 +1,17 @@ +# ##################################### +# ##### Environment Configuration ##### +# ##################################### + +# *WARNING* This file is not read by if you are using systemd + +# This file gets sourced before the actual startscript +# gets executed. You can use this file to provide +# environment variables + +# Define if Cortex service is enabled (no by default) +# ----------------- +ENABLED=no + +# Setting DAEMON_ARGS +# pidfile is disabled (/dev/null) has it is handle by system loader (upstart/sysVinit) +#DAEMON_ARGS=-Dconfig.file=/etc/cortex/cortex.conf -Dlogger.file=/etc/cortex/logback.xml -Dpidfile.path=/dev/null