Skip to content

Commit

Permalink
Include new required variables in config
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Bowling <[email protected]>
  • Loading branch information
Jesse Bowling committed Oct 14, 2020
1 parent 9870c75 commit c91ab1e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions templates/chn-intel-feeds.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ SAFELIST_SLEEP=24
# You must also adjust the docker-compose ports stanza to match
PORT=9000

# Enable the process to retrieve feeds from a remote CIF instance
CIF_FEED_ENABLED=true

# Specify feeds by prefacing each variable with "CHNFEEDX" where "X" is the feed number
# A minimal configuration includes: FILENAME, REMOTE, TOKEN, ITYPE, TAGS, and DAYS or HOURS
# You are limited to 10 feed specifications; this limit can be changed in code
Expand Down Expand Up @@ -50,6 +53,10 @@ CHNFEED3_DAYS=1
CHNFEED3_CONFIDENCE=8
CHNFEED3_TAGS=honeypot

# Enable the uploading of local safelist items to CIF
# Currently supports IPv4 only
CIF_SAFELIST_ENABLED=false

# Specify safelists by prefacing each variable with "CHNSAFELISTX" where "X" is the safelist number
# A minimal configuration includes: FILENAME, REMOTE, TOKEN, PROVIDER, and ITYPE
# You are limited to 5 feed specifications; this limit can be changed in code
Expand All @@ -64,3 +71,16 @@ CHNSAFELIST1_TLS_VERIFY=True
CHNSAFELIST1_ITYPE=ipv4
CHNSAFELIST1_PROVIDER={cif_org}

# Specify that the local CHN-Server API should be queried for a feed
CHN_FEED_ENABLED=false

# Similar configuration to a CIF feed, but for CHN servers direct queries
# The number of hours queried is the biggest factor in performance, the limit
# is applied AFTER retrieval of the feed

CHNAPIFEED_FILENAME=chn_ip.txt
CHNAPIFEED_REMOTE={chn_server_url}
CHNAPIFEED_TOKEN={chn_server_api_token}
CHNAPIFEED_TLS_VERIFY=True
CHNAPIFEED_HOURS=72
CHNAPIFEED_LIMIT=10000

0 comments on commit c91ab1e

Please sign in to comment.