Skip to content

Commit

Permalink
do not need monitor_keys in default hijack log fields
Browse files Browse the repository at this point in the history
  • Loading branch information
vkotronis committed Sep 23, 2019
1 parent 8c36a29 commit 4933aad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ SECURITY_PASSWORD_SALT=06a4b397fc7045eac527c2aec3ff46cee5ce30016c760f238c26e7990
HIJACK_LOG_FILTER=[{"community_annotation":"critical"},{"community_annotation":"NA"}]

# fields to preserve in hijack logs
HIJACK_LOG_FIELDS=["prefix","hijack_as","type","time_started","time_last","peers_seen","monitor_keys","configured_prefix","timestamp_of_config","asns_inf","time_detected","key","community_annotation","end_tag","hijack_url"]
HIJACK_LOG_FIELDS=["prefix","hijack_as","type","time_started","time_last","peers_seen","configured_prefix","timestamp_of_config","asns_inf","time_detected","key","community_annotation","end_tag","hijack_url"]

# timeout (sec) since last seen BGP update for monitors
MON_TIMEOUT_LAST_BGP_UPDATE=3600
2 changes: 1 addition & 1 deletion artemis-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ hijackLogFilter: '[{"community_annotation":"critical"},{"community_annotation":"
# timeout (sec) since last seen BGP update for monitors
monTimeoutLastBgpUpdate: 3600
# fields to preserve in hijack logs
hijackLogFields: '["prefix","hijack_as","type","time_started","time_last","peers_seen","monitor_keys","configured_prefix","timestamp_of_config","asns_inf","time_detected","key","community_annotation","end_tag","hijack_url"]'
hijackLogFields: '["prefix","hijack_as","type","time_started","time_last","peers_seen","configured_prefix","timestamp_of_config","asns_inf","time_detected","key","community_annotation","end_tag","hijack_url"]'

# services
svc:
Expand Down
1 change: 0 additions & 1 deletion backend/core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"time_started",
"time_last",
"peers_seen",
"monitor_keys",
"configured_prefix",
"timestamp_of_config",
"asns_inf",
Expand Down

0 comments on commit 4933aad

Please sign in to comment.