mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-24 04:35:11 +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
|