mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-16 21:37:15 +01:00
9 lines
122 B
Python
9 lines
122 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
import snortai
|
||
|
|
||
|
alerts = snortai.alerts()
|
||
|
|
||
|
for alert in alerts:
|
||
|
print alert.gid, alert.sid, alert.rev
|