package
0.34.0
Repository: https://github.com/defenxor/dsiem.git
Documentation: pkg.go.dev

# Functions

AppendUniq append string to slice if it its not there yet.
CaseInsensitiveContains perform case-insensitive search of substr in s.
CsvToSlice convert s to []string; where s is in the form of string, string, string.
IsInCSVList find term in s, where s is in the form of "string, string,string ...".
RefToDigit convert references in rules like :1 :2 :3 to 1 2 3.
RemoveDuplicatesUnordered remove duplicates from elements.
RemoveElementUnlessEmpty remove string element from slice unless doing so will result in an empty slice.
TimeStampToUnix converts s in RFC3339 format to epoch.
TrimLeftChar remove the first char in string and trim any whitespaces from the result.
UniqStringSlice removes duplicate from a comma separated list into result slice.