An event during the IDS' detection process
Ejemplo n.º 1
0
 internal void AddEvent(Event e)
 {
     _events.Add(e);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Iterates over a set of keys and values
        /// </summary>
        /// <param name="key">The key</param>
        /// <param name="val">The value</param>
        private void Iterate(string key, string val)
        {
            Event e = new Event(key, val, Detect(key, val));

            if (e.Filters != null && e.Filters.Count > 0)
            {
                _report.AddEvent(e);
            }
        }