Project

General

Profile

Bug #20182 » push_abcd_efg.json

Félix DALLIDET, 2021-10-21 11:53

 
{
"type": "ncf_technique",
"version": "3.0",
"data": {
"bundle_name": "the_copy_of_the_technique",
"version": "1.0",
"name": "the copy of the technique",
"description": "",
"category": "ncf_techniques",
"parameter": [
{
"id": "5c500a79-9143-4185-bfcb-29ff454bfd35",
"name": "abcd",
"description": ""
}
],
"method_calls": [
{
"reportingLogic": {
"type": "sum"
},
"condition": "any.!linux",
"component": "Windows stuff",
"calls": [
{
"component": "File content",
"id": "b46ab1d1-f2cf-490b-acdd-61b34a288a28",
"method_name": "file_content",
"class_context": "",
"parameters": [
{
"name": "path",
"value": "C:\\abcd.efg"
},
{
"name": "lines",
"value": "oui\nbonjour windows"
},
{
"name": "enforce",
"value": "true"
}
],
"disableReporting": false
}
],
"id": "dda13956-f6bf-4c5a-8243-b24937596a5d"
},
{
"reportingLogic": {
"type": "sum"
},
"condition": "linux",
"component": "Linux stuff",
"calls": [
{
"component": "File content",
"id": "bf7b9cfd-bf5a-4b7d-9257-0ec190359c00",
"method_name": "file_content",
"class_context": "",
"parameters": [
{
"name": "path",
"value": "/tmp/abcd.efg"
},
{
"name": "lines",
"value": "oui\nbonjour linux"
},
{
"name": "enforce",
"value": "true"
}
],
"disableReporting": false
}
],
"id": "ae3d2648-6a9f-47ea-9a5e-7029a30fd84c"
}
],
"resources": []
}
}
    (1-1/1)