зеркало из https://github.com/mozilla/mig.git
[doc] example action to find endpoints with high uptime
This commit is contained in:
Родитель
38300a6af0
Коммит
de28bdda55
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "Find endpoints with uptime > 1.5 years",
|
||||
"description": {
|
||||
"author": "Julien Vehent",
|
||||
"email": "ulfr@mozilla.com",
|
||||
"revision": 201408060000
|
||||
},
|
||||
"target": "linux",
|
||||
"threat": {
|
||||
"level": "-",
|
||||
"type": "system",
|
||||
"family": "search"
|
||||
},
|
||||
"operations": [
|
||||
{
|
||||
"module": "filechecker",
|
||||
"parameters": {
|
||||
"/proc/uptime": {
|
||||
"regex": {
|
||||
"Look for high uptime": [
|
||||
"^[5-9]{1}[0-9]{7,}\\."
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"syntaxversion": 1
|
||||
}
|
Загрузка…
Ссылка в новой задаче