-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/checkpoint-noise
- Loading branch information
Showing
16 changed files
with
571 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| #Used to set indexed fields we will always use to global defaults | ||
| rewrite r_set_splunk_default { | ||
| set("SC4S:$SOURCE", value(".splunk.source")); | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,dport,fromhostip,proto") ",") has "facility" }} | ||
| set($FACILITY, value("fields.sc4s_syslog_facility")); | ||
| {{- end}} | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,dport,fromhostip,proto") ",") has "severity" }} | ||
| set($LEVEL, value("fields.sc4s_syslog_severity")); | ||
| {{- end}} | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,dport,fromhostip,proto") ",") has "loghost" }} | ||
| {{- if (getenv "SC4S_CONTAINER_HOST") }} | ||
| set("{{ getenv "SC4S_CONTAINER_HOST" }}", value("fields.sc4s_loghost")); | ||
| {{- end}} | ||
| {{- end}} | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,dport,fromhostip,proto") ",") has "container" }} | ||
| set($LOGHOST, value("fields.sc4s_container")); | ||
| {{- end}} | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,dport,fromhostip,proto") ",") has "fromhostip" }} | ||
| set($SOURCEIP, value("fields.sc4s_fromhostip")); | ||
| {{- end}} | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,destport,fromhostip,proto") ",") has "destport" }} | ||
| set($DESTPORT, value("fields.sc4s_destport")); | ||
| {{- end}} | ||
| {{- if (split (getenv "SC4S_DEST_SPLUNK_INDEXED_FIELDS" "facility,severity,container,loghost,destport,fromhostip,proto") ",") has "proto" }} | ||
| set($PROTO, value("fields.sc4s_proto")); | ||
| {{- end}} | ||
| }; | ||
| #used by each log-path to set index and sourcetype which may be | ||
| #overridden by user defined values | ||
| block rewrite r_set_splunk_dest_default( | ||
| index() | ||
| source("${.splunk.source}") | ||
| sourcetype() | ||
| template(`splunk-template`) | ||
| ) { | ||
| set("`index`", value(".splunk.index")); | ||
| set("`source`", value(".splunk.source")); | ||
| set("`sourcetype`", value(".splunk.sourcetype")); | ||
| }; | ||
|
|
||
|
|
||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,51 @@ | ||
| filter f_symantec_ep { | ||
| program("SymantecServer") | ||
| }; | ||
|
|
||
| filter f_symantec_ep_proactive { | ||
| message(',Detection\stype:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_risk { | ||
| message(',Risk\sname:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_agt_system { | ||
| message(',Category:\s\d+,') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_packet { | ||
| message(',(?:Inbound|Outbound|Unknown),Application:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_traffic { | ||
| message(',(?:Inbound|Outbound|Unknown),Begin(?:\sTime)?:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_security { | ||
| message('CIDS\sSignature\sSubID:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_scan { | ||
| message('Scan\sID:\s\d+') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_behavior { | ||
| message('Begin(?:\sTime)?:\s[^,]*,End(?:\sTime)?:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_policy { | ||
| message('Admin:\s[^,]+,.*[Pp]olicy') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_admin { | ||
| message('Domain(?:\sName)?:\s[^,]{0,25},Admin:') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_agent { | ||
| message('(?:,The\smanagement\sserver|,The\sclient)') | ||
| }; | ||
|
|
||
| filter f_symantec_ep_scm_system { | ||
| message('Site:\s[^,]+,Server(?:\sName)?:\s[^,]+,') | ||
| }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.