Project

General

Profile

Bug #21430 ยป test.json

Nicolas CHARLES, 2022-07-18 16:02

 
{
"type": "ncf_technique",
"version": "3.0",
"data": {
"id": "test",
"version": "1.0",
"name": "test",
"description": "",
"category": "ncf_techniques",
"parameter": [],
"calls": [
{
"reportingLogic": {
"type": "weighted"
},
"condition": "",
"component": "bob",
"calls": [
{
"component": "Condition from command",
"id": "0cc75773-8b22-4e6c-a860-ec210b9875ee",
"method": "condition_from_command",
"condition": "",
"parameters": [
{
"name": "condition",
"value": "test_com"
},
{
"name": "command",
"value": "/bin/true"
},
{
"name": "true_codes",
"value": "0"
},
{
"name": "false_codes",
"value": "1"
}
],
"disableReporting": false
},
{
"component": "File content",
"id": "bbb5056e-ca2b-4178-be55-1e79c47a9ec1",
"method": "file_content",
"condition": "test_com_true",
"parameters": [
{
"name": "path",
"value": "/tmp/test"
},
{
"name": "lines",
"value": "true"
},
{
"name": "enforce",
"value": "true"
}
],
"disableReporting": false
}
],
"id": "ff25461c-7df4-45d7-9958-8b057369a9ad"
}
],
"resources": []
}
}
    (1-1/1)