Project

General

Profile

Bug #20083 » dsc_block_test.json

Félix DALLIDET, 2021-10-07 14:56

 
{
"type": "ncf_technique",
"version": "3.0",
"data": {
"bundle_name": "dsc_block_test",
"version": "1.0",
"name": "dsc block test",
"description": "",
"category": "ncf_techniques",
"parameter": [],
"method_calls": [
{
"component": "Service started",
"id": "e9071b60-1e37-4b38-8b50-3591130317cc",
"method_name": "service_started",
"class_context": "",
"parameters": [
{
"name": "name",
"value": "sshd"
}
],
"disableReporting": false
},
{
"reportingLogic": {
"type": "sum"
},
"condition": "service_started_sshd_kept",
"component": "Just a block that must not be skipped",
"calls": [
{
"component": "Command execution",
"id": "6546449d-db6d-4bad-ab4f-0acd4a3dbc18",
"method_name": "command_execution",
"class_context": "",
"parameters": [
{
"name": "command",
"value": "write-output \"bob\""
}
],
"disableReporting": false
}
],
"id": "8e7ad0f9-fa13-4e98-a864-f3213ec990db"
}
],
"resources": []
}
}
    (1-1/1)