Skip to content

Commit

Permalink
#20 add missing files for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 16, 2017
1 parent 8434d51 commit 7d676b2
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 0 deletions.
82 changes: 82 additions & 0 deletions conf/application.sample
Original file line number Diff line number Diff line change
@@ -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
}
}
17 changes: 17 additions & 0 deletions package/etc_default_cortex
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7d676b2

Please sign in to comment.