An event during the IDS' detection process
コード例 #1
0
ファイル: Report.cs プロジェクト: IndiansIncredible/.NetIDS
 internal void AddEvent(Event e)
 {
     _events.Add(e);
 }
コード例 #2
0
ファイル: IDS.cs プロジェクト: IndiansIncredible/.NetIDS
        /// <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);
            }
        }