Configuration
The following services are managing configuration.
Below is their default configuration.
Config
No specific configuration outside environment variables.
Customer
"@id": customers
"@type": ServerConfiguration
version: '0.1'
customerStore:
node: http://elasticsearch:9200
indexSave: spider-customers
indexGet: spider-customers
getTimeout: PT10S
saveTimeout: PT10S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT15S
circuitThreshold: 1
customerCache:
server: redis
port: 6379
db: 8
timeOut: PT2S
ttl: PT5M
circuitDuration: PT15S
circuitThreshold: 1
searchRequest:
sizeLimitKB: 2500
erroneousConnections:
maxTrials: 5
blockedDuration: PT5M
challenges:
mailChallengeTTL: PT2H
passwordChallengeTTL: PT15M
askForAccountsValidation: true
bcryptSaltRounds: 10
emails:
admins:
- thibaut.raballand@gmail.com
publicPath:
passwordChallenge:
subject: Spider - Password (re)initialization
textTemplate: |-
Hello {{honorificPrefix}} {{givenName}} {{familyName}},
Your account is confirmed on Spider, and you may (re)initialize your password with the following link:
{{redirectUrl}}
This link is only valid once and expires in {{durationInMin}} minutes.
Have a nice day!
Spider team
passwordChange:
subject: Spider - Security alert - Password has been changed
textTemplate: |-
Hello {{honorificPrefix}} {{givenName}} {{familyName}},
Your password has been changed on Spider.
If you are not at the origin of this change, please contact your support!
Have a nice day!
Spider team
mailChange:
subject: Spider - Security alert - Mail has been changed
textTemplate: |-
Hello {{honorificPrefix}} {{givenName}} {{familyName}},
Your mail has been changed on Spider: from {{oldEmail}} to {{email}}
If you are not at the origin of this change, please contact your support!
Have a nice day!
Spider team
emailToConfirm:
subject: Spider - Confirm account email
textTemplate: |-
Hello {{honorificPrefix}} {{givenName}} {{familyName}},
You just created or updated an account on Spider under your email {{email}}.
Please use following link to confirm creation: {{redirectUrl}}
This link is only valid once and expires in {{durationInMin}} minutes.
Have a nice day!
Spider team
accountCreationToAdminForValidation:
subject: Spider - New account to activate (or not ;))
textTemplate: |-
Hello dear admin!
{{honorificPrefix}} {{givenName}} {{familyName}} just created an account on Spider with:
- email: {{email}}
- @id: {{id}}
- comments:
{{userComment}}
Please connect to confirm and activate the account.
Have a nice day!
Spider team
accountCreationToAdminForNotification:
subject: Spider - New account was created
textTemplate: |-
Hello dear admin!
{{honorificPrefix}} {{givenName}} {{familyName}} just created an account on Spider with:
- email: {{email}}
- @id: {{id}}
- comments:
{{userComment}}
Have a nice day!
Spider team
accountValidation:
subject: Spider - Your account has been activated
textTemplate: |-
Hello {{honorificPrefix}} {{givenName}} {{familyName}},
Your Spider account has been validated! Enjoy!
Have a nice day!
Spider team
mailSender:
uri: http://mail-sender/v1/emails
timeout: PT25S
whisps:
uri: http://whisp/v1/whisperers/{id}
label: "/whisp/whisperers"
timeout: PT10S
ldapAuth:
active: false
uri: ''
emailField: mail
givenNameField: givenName
familyNameField: familyName
base: ''
connectTimeout: PT10S
timeOut: PT10S
jsonSizeLimitKB: 100
Teams
"@id": customers
"@type": ServerConfiguration
version: '0.1'
teamsStore:
node: http://elasticsearch:9200
indexSave: spider-teams
indexGet: spider-teams
getTimeout: PT10S
saveTimeout: PT10S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT15S
circuitThreshold: 1
searchRequest:
sizeLimitKB: 2500
sendMailToAdminOnTeamsCreation: true
emails:
admins:
- thibaut.raballand@gmail.com
teamCreationToAdminForNotification:
subject: Spider - New team was created
textTemplate: |-
Hello dear admin!
Team {{name}} ({{id}}) has been created by {{customer}} with description:
{{description}}
Have a nice day!
Spider team
teamUpdatedToTeamAdminForNotification:
subject: Spider - Team updated
textTemplate: |-
Hello dear team admin!
Team {{name}} ({{id}}) has been modified by {{customer}}.
Changes:
{{diff}}
Have a nice day!
Spider team
userJoinedToTeamAdminForNotification:
subject: Spider - New user joined the team using the token
textTemplate: |-
Hello dear team admin!
Team {{name}} ({{id}}) was joined by {{email}} using the join token.
Have a nice day!
Spider team
mailSender:
uri: http://mail-sender/v1/emails
timeout: PT25S
whisps:
uri: http://whisp/v1/whisperers/{id}
label: "/whisp/whisperers"
timeout: PT10S
jsonSizeLimitKB: 100
Whisp
"@id": whisps
"@type": ServerConfiguration
version: '0.1'
whispStore:
node: http://elasticsearch:9200
indexSave: spider-whisp
indexGet: spider-whisp
getTimeout: PT10S
saveTimeout: PT10S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT15S
circuitThreshold: 1
whispCache:
server: redis
port: 6379
db: 7
timeOut: PT2S
ttl: PT45S
circuitDuration: PT15S
circuitThreshold: 1
whisperers:
creationSizeLimitKB: 100
configSizeLimitKB: 100
apiKeyCallTimeout: P1D
signatureSizeLimitKB: 100
features:
forbidConfigOverwrite: true
clients:
configPollingDelay: PT10S
requiredState: STOPPED
capture:
mode: ''
file: ''
interface: any
filter: tcp
slowItDown: 1
captureBufferkB: 25000
spiderServer: spider.io
circuitBreakers:
breakOnHighCpu: false
maxCpu: 0.2
breakOnHighRam: false
maxRam: 200
config:
uri: http://spider.io/whisp/v1/whisperers/{id}/config?view=client
packets:
uriv2: http://spider.io/pack-write/v2/packets
timeout: PT10S
sendBufferSizekB: 500
sendBufferDelay: PT2S
maxSendingInParallel: 3
maxSendingBufferLength: 100
vxlan:
decapsulate: false
keepOriginal: false
filterHosts:
hostsToTrack: []
hostsToIgnore: []
trackByDefault: true
waitForNameResolvingToTrack: true
trackUnresolvedIp: true
dumpPackets:
dumpToFile: false
fileBufferSizekB: 1500
outputPath: "../logs"
dnsCache:
uri: http://spider.io/hosts/v1/hosts/forWhisperer/{id}/
timeout: PT10S
trackIp: true
customDnsServer: false
host: 127.0.0.11
port: 53
ttl: PT2H
refreshRate: PT30S
sendFullDelay: PT5M
sendUpdateDelay: PT20S
purgeDelay: PT1H
hostsToResolve: []
hostsResolvingRefreshRate: PT30S
tcpSessions:
uriv2: http://spider.io/tcp-write/v2/tcp-sessions
timeout: PT10S
track: true
sendSessionDelay: PT2S
sessionTimeOut: PT2M
maxSessionsSendingAtOnce: 550
maxSendingInParallel: 1
maxSendingBufferLength: 100
avoidDuplicates: false
maxPlLength: 10000000
status:
send: true
sendDelay: PT10S
uri: http://spider.io/whisps-status/v1/status
timeout: PT10S
server:
dns:
ttl: PT2H
purgeDelay: PT1H
maxDelta: PT24H
customNamePatterns: []
pack:
savePackets: true
avoidDuplicates: false
tcpStreams:
saveTcpSessions: true
parseHTTP: true
parseHTTPOptions:
portsToParse: []
portsToIgnore: []
parseByDefault: true
webStreams:
saveContent: false
saveRawHeaders: false
saveHttpPers: true
headersToFilter: []
urisToFilter: []
urisToFilterReqContent: []
urisToFilterResContent: []
searchRequest:
sizeLimitKB: 100
customers:
uri: http://customer/v1/customers/{id}
timeout: PT10S
teams:
uri: http://teams/v1/teams/{id}
timeout: PT10S
Controls
"@id": controls
"@type": ServerConfiguration
version: '0.1'
controlsStore:
node: http://elasticsearch:9200
indexSave: spider-controllers
indexGet: spider-controllers
getTimeout: PT10S
saveTimeout: PT10S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT15S
circuitThreshold: 1
attachmentsStore:
node: http://elasticsearch:9200
indexSave: spider-attachments
indexGet: spider-attachments
getTimeout: PT10S
saveTimeout: PT10S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT15S
circuitThreshold: 1
controlsCache:
server: redis
port: 6379
db: 9
timeOut: PT2S
ttl: PT45S
circuitDuration: PT15S
circuitThreshold: 1
controllers:
creationSizeLimitKB: 100
configSizeLimitKB: 100
apiKeyCallTimeout: P1D
signatureSizeLimitKB: 100
searchRequest:
sizeLimitKB: 100
customers:
uri: http://gateway:80/customer/v1/customers/{id}
timeout: PT10S
teams:
uri: http://gateway:80/teams/v1/teams/{id}
timeout: PT10S
whispererConfig:
uri: http://gateway:80/whisp/v1/whisperers/{id}/config?view=client
timeout: PT10S
clients:
config:
uri: http://gateway:80/controls/v1/controllers/{id}/config
pollingDelay: PT20S
controlsWebSocket: ws://spider.io/controls
whispererConfig:
uri: http://gateway:80/whisp/v1/whisperers/{id}/config?view=client
timeout: PT10S