From 3f5d848a7ea6c708c09b07400182d0e72be3db57 Mon Sep 17 00:00:00 2001 From: loiclau Date: Wed, 27 Sep 2017 18:18:02 +0200 Subject: [PATCH] Show downntime resources (#5705) * feat(downtime api): show downtime resources * feat(api downtime): update doc * feat(api downtime): update postman test * fix(test postman): fix acl menu --- doc/en/api/clapi/objects/downtimes.rst | 17 +- doc/fr/api/clapi/objects/downtimes.rst | 14 + features/RestApi.feature | 1 + .../rest_api/rest_api.postman_collection.json | 6822 ++++++++++------- www/api/class/centreon_clapi.class.php | 45 +- .../centreon-clapi/centreonDowntime.class.php | 265 +- 6 files changed, 4414 insertions(+), 2750 deletions(-) diff --git a/doc/en/api/clapi/objects/downtimes.rst b/doc/en/api/clapi/objects/downtimes.rst index 75429e302f0..f7c0ce91329 100644 --- a/doc/en/api/clapi/objects/downtimes.rst +++ b/doc/en/api/clapi/objects/downtimes.rst @@ -15,7 +15,7 @@ In order to list available recurring downtimes, use the **SHOW** action:: [root@centreon ~]# ./centreon -u admin -p centreon -o DOWNTIME -a show id;name;description;activate 1;mail-backup;sunday backup;1 - 1;my downtime;a description;1 + 2;my downtime;a description;1 Columns are the following: @@ -33,6 +33,21 @@ Activate Whether or not the downtime is activated ================================= =========================================================================== +In order to show resources of a downtime, use the **Show** action with parameters:: + + [root@centreon ~]# ./centreon -u admin -p centreon -o DOWNTIME -a show -v "mail-backup;host" + +The parameters are the following: + +========= ============================================ +Order Description +========= ============================================ +1 Name of the downtime + +2 (optional) Object type (host, hg, service, sg) + +========= ============================================ + Add --- diff --git a/doc/fr/api/clapi/objects/downtimes.rst b/doc/fr/api/clapi/objects/downtimes.rst index 75429e302f0..ebab9fb746c 100644 --- a/doc/fr/api/clapi/objects/downtimes.rst +++ b/doc/fr/api/clapi/objects/downtimes.rst @@ -32,6 +32,20 @@ Activate Whether or not the downtime is activated ================================= =========================================================================== +In order to show resources of a downtime, use the **Show** action with parameters:: + + [root@centreon ~]# ./centreon -u admin -p centreon -o DOWNTIME -a show -v "mail-backup;host" + +The parameters are the following: + +========= ============================================ +Order Description +========= ============================================ +1 Name of the downtime + +2 (optional) Object type (host, hg, service, sg) + +========= ============================================ Add --- diff --git a/features/RestApi.feature b/features/RestApi.feature index adda0541136..b47a86f8294 100644 --- a/features/RestApi.feature +++ b/features/RestApi.feature @@ -3,6 +3,7 @@ Feature: REST API I want REST API in Centreon Web So that I can develop software interfacing with Centreon Web + @critical Scenario: REST API tests Given a Centreon server with REST API testing data When REST API are called diff --git a/tests/rest_api/rest_api.postman_collection.json b/tests/rest_api/rest_api.postman_collection.json index edf14d32736..ae0a8efd6df 100644 --- a/tests/rest_api/rest_api.postman_collection.json +++ b/tests/rest_api/rest_api.postman_collection.json @@ -2,7 +2,7 @@ "variables": [], "info": { "name": "Centreon Web Rest API", - "_postman_id": "7e8d87c5-e220-ec4f-01f9-a531a68da178", + "_postman_id": "3712d9ed-dedf-3c74-548b-0e0a75916dd2", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, @@ -39800,7 +39800,7 @@ } ], "request": { - "url": { + "url": { "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", "protocol": "http", "host": [ @@ -39840,7 +39840,7 @@ "description": "" } ], - "body": { + "body": { "mode": "raw", "raw": "{\n \"action\": \"setparam\",\n \"object\": \"hgservice\",\n \"values\": \"{{hg_name}};{{hgservice_description}};contact_additive_inheritance;{{hgservice_contact_additive_inheritance}}\"\n}" }, @@ -45926,16 +45926,39 @@ "script": { "type": "text/javascript", "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "var contentType = postman.getResponseHeader(\"Content-Type\");", + "tests[\"Content-Type is application/json\"] = contentType === \"application/json\";", + "", "var jsonData = JSON.parse(responseBody);", - "var downtimeData = jsonData.result;", + "var result= jsonData.result;", + "", + "var schema = {", + " \"$schema\": \"http://json-schema.org/draft-04/schema#\",", + " \"type\": \"array\",", + " \"items\": {", + " \"type\": \"object\",", + " \"properties\": {", + " \"id\": { \"type\": \"string\" },", + " \"name\": { \"type\": \"string\" },", + " \"description\": { \"type\": \"string\" },", + " \"activate\": { \"type\": \"string\" }", + " },", + " \"additionalProperties\": false,", + " \"required \": [\"id \", \"name \", \"description\", \"activate\"]", + " }", + "};", + "", + "tests[\"Validate schema\"] = tv4.validate(result, schema);", "", "try {", - " tests[\"Body contains list of downtimes\"] = downtimeData;", + " tests[\"Body contains list of downtimes\"] = result;", " var i = 0;", - " while (i < downtimeData.length) {", - " if (postman.getEnvironmentVariable(\"downtime_name\") == downtimeData[i].name){", - " tests[\"Body contains added downtime_name\"] = postman.getEnvironmentVariable(\"downtime_name\") == downtimeData[i].name;", - " tests[\"Body contains added downtime_description\"] = postman.getEnvironmentVariable(\"downtime_description\") == downtimeData[i].description;", + " while (i < result.length) {", + " if (postman.getEnvironmentVariable(\"downtime_name\") == result[i].name){", + " tests[\"Body contains added downtime_name\"] = postman.getEnvironmentVariable(\"downtime_name\") == result[i].name;", + " tests[\"Body contains added downtime_description\"] = postman.getEnvironmentVariable(\"downtime_description\") == result[i].description;", " break;", " }", " i++;", @@ -45944,8 +45967,7 @@ " tests[\"enine_name was found\"] = false;", "}", "catch (e) {}", - "", - "tests[\"Status code is 200\"] = responseCode.code === 200;" + "" ] } } @@ -46000,130 +46022,59 @@ "response": [] }, { - "name": "Addweeklyperiod", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ], - "variable": [] - }, - "method": "POST", - "header": [ - { - "description": "", - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "", - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"addweeklyperiod\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{weekly_start_time}};{{weekly_end_time}};{{weekly_fixed}};{{weekly_duration}};{{weekly_day_of_week}}\"\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "Addmonthlyperiod", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ], - "variable": [] - }, - "method": "POST", - "header": [ - { - "description": "", - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "", - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"addmonthlyperiod\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{monthly_start_time}};{{monthly_end_time}};{{monthly_fixed}};{{monthly_duration}};{{monthly_day_of_month}}\"\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "Addspecificperiod", + "name": "List downtimes resources", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "var contentType = postman.getResponseHeader(\"Content-Type\");", + "tests[\"Content-Type is application/json\"] = contentType === \"application/json\";", + "", + "var jsonData = JSON.parse(responseBody);", + "var result= jsonData.result;", + "", + "var schema = {", + " \"$schema\": \"http://json-schema.org/draft-04/schema#\",", + " \"type\": \"array\",", + " \"items\": {", + " \"type\": \"object\",", + " \"properties\": {", + " \"id\": { \"type\": \"string\" },", + " \"name\": { \"type\": \"string\" },", + " \"description\": { \"type\": \"string\" },", + " \"activate\": { \"type\": \"string\" },", + " \"hosts\": {},", + " \"host groups\": {},", + " \"services\": {},", + " \"service groups\": {}", + " },", + " \"additionalProperties\": false,", + " \"required \": [\"id \", \"name \", \"description\", \"activate\", \"hosts\", \"host groups\", \"services\", \"service groups\"]", + " }", + "};", + "", + "tests[\"Validate schema\"] = tv4.validate(result, schema);", + "", + "try {", + " tests[\"Body contains list of downtimes\"] = result;", + " var i = 0;", + " while (i < result.length) {", + " if (postman.getEnvironmentVariable(\"downtime_name\") == result[i].name){", + " tests[\"Body contains added downtime_name\"] = postman.getEnvironmentVariable(\"downtime_name\") == result[i].name;", + " tests[\"Body contains added downtime_description\"] = postman.getEnvironmentVariable(\"downtime_description\") == result[i].description;", + " break;", + " }", + " i++;", + " }", + " if (i == engineData.length)", + " tests[\"enine_name was found\"] = false;", + "}", + "catch (e) {}", + "" ] } } @@ -46143,11 +46094,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -46155,76 +46110,75 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addspecificperiod\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{specific_start}};{{specific_end}};{{specific_fixed}};{{specific_duration}};{{specific_day_of_week}};{{specific_month_cycle}}\"\n}" + "raw": "{\n \"action\": \"show\",\n \"object\": \"downtime\",\n \"values\" : \"{{downtime_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "List periods", + "name": "List downtimes resource", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "var contentType = postman.getResponseHeader(\"Content-Type\");", + "tests[\"Content-Type is application/json\"] = contentType === \"application/json\";", + "", "var jsonData = JSON.parse(responseBody);", - "var downtimeData = jsonData.result;", + "var result= jsonData.result;", + "", + "var schema = {", + " \"$schema\": \"http://json-schema.org/draft-04/schema#\",", + " \"type\": \"array\",", + " \"items\": {", + " \"type\": \"object\",", + " \"properties\": {", + " \"id\": { \"type\": \"string\" },", + " \"name\": { \"type\": \"string\" },", + " \"description\": { \"type\": \"string\" },", + " \"activate\": { \"type\": \"string\" },", + " \"hosts\": {}", + " },", + " \"additionalProperties\": false,", + " \"required \": [\"id \", \"name \", \"description\", \"activate\", \"hosts\", \"host groups\", \"services\", \"service groups\"]", + " }", + "};", + "", + "tests[\"Validate schema\"] = tv4.validate(result, schema);", "", "try {", - " tests[\"Body contains list of downtimes\"] = downtimeData;", - " var test_start_w = postman.getEnvironmentVariable(\"weekly_start_time\") + ':00';", - " var test_start_m = postman.getEnvironmentVariable(\"monthly_start_time\") + ':00';", - " var test_start_s = postman.getEnvironmentVariable(\"specific_start\") + ':00';", - " for (var i = 0; i < downtimeData.length; i++) {", - " if (test_start_w == downtimeData[i]['start time'])", - " {", - " tests[\"Body contains added weekly_start_time\"] = test_start_w == downtimeData[i]['start time'];", - " var test_end = postman.getEnvironmentVariable(\"weekly_end_time\") + ':00';", - " tests[\"Body contains added weekly_end_time\"] = test_end == downtimeData[i]['end time'];", - " tests[\"Body contains added weekly_fixed\"] = postman.getEnvironmentVariable(\"weekly_fixed\") == downtimeData[i].fixed;", - " if (downtimeData[i].fixed == \"0\")", - " tests[\"Body contains added weekly_duration\"] = postman.getEnvironmentVariable(\"weekly_duration\") == downtimeData[i].duration;", - " tests[\"Body contains added weekly_day_of_week\"] = postman.getEnvironmentVariable(\"weekly_number_days_of_week\") == downtimeData[i]['day of week'];", - " }", - " if (test_start_m == downtimeData[i]['start time'])", - " {", - " tests[\"Body contains added monthly_start_time\"] = test_start_m == downtimeData[1]['start time'];", - " var test_end = postman.getEnvironmentVariable(\"monthly_end_time\") + ':00';", - " tests[\"Body contains added monthly_end_time\"] = test_end == downtimeData[i]['end time'];", - " tests[\"Body contains added monthly_fixed\"] = postman.getEnvironmentVariable(\"monthly_fixed\") == downtimeData[i].fixed;", - " if (downtimeData[i].fixed == \"0\")", - " tests[\"Body contains added monthly_duration\"] = postman.getEnvironmentVariable(\"monthly_duration\") == downtimeData[i].duration;", - " tests[\"Body contains added monthly_day_of_month\"] = postman.getEnvironmentVariable(\"monthly_day_of_month\") == downtimeData[i]['day of month'];", - " }", - " if (test_start_s == downtimeData[i]['start time'])", - " {", - " tests[\"Body contains added specific_start_time\"] = test_start_s == downtimeData[i]['start time'];", - " var test_end = postman.getEnvironmentVariable(\"specific_end\") + ':00';", - " tests[\"Body contains added specific_end_time\"] = test_end == downtimeData[i]['end time'];", - " tests[\"Body contains added specific_fixed\"] = postman.getEnvironmentVariable(\"specific_fixed\") == downtimeData[i].fixed;", - " if (downtimeData[i].fixed == \"0\")", - " tests[\"Body contains added specific_duration\"] = postman.getEnvironmentVariable(\"specific_duration\") == downtimeData[i].duration;", - " tests[\"Body contains added specific_day_of_week\"] = postman.getEnvironmentVariable(\"specific_number_day_of_week\") == downtimeData[i]['day of week'];", + " tests[\"Body contains list of downtimes\"] = result;", + " var i = 0;", + " while (i < result.length) {", + " if (postman.getEnvironmentVariable(\"downtime_name\") == result[i].name){", + " tests[\"Body contains added downtime_name\"] = postman.getEnvironmentVariable(\"downtime_name\") == result[i].name;", + " tests[\"Body contains added downtime_description\"] = postman.getEnvironmentVariable(\"downtime_description\") == result[i].description;", + " break;", " }", + " i++;", " }", + " if (i == engineData.length)", + " tests[\"enine_name was found\"] = false;", "}", "catch (e) {}", - "", - "tests[\"Status code is 200\"] = responseCode.code === 200;" + "" ] } } @@ -46244,11 +46198,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -46256,33 +46214,78 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"listperiods\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}}\"\n}" + "raw": "{\n \"action\": \"show\",\n \"object\": \"downtime\",\n \"values\" : \"{{downtime_name}};host\"\n}" }, "description": "" }, "response": [] }, { - "name": "Addhost", + "name": "Addweeklyperiod", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "var contentType = postman.getResponseHeader(\"Content-Type\");", + "tests[\"Content-Type is application/json\"] = contentType === \"application/json\";", + "", + "var jsonData = JSON.parse(responseBody);", + "var result= jsonData.result;", + "", + "var schema = {", + " \"$schema\": \"http://json-schema.org/draft-04/schema#\",", + " \"type\": \"array\",", + " \"items\": {", + " \"type\": \"object\",", + " \"properties\": {", + " \"id\": { \"type\": \"string\" },", + " \"name\": { \"type\": \"string\" },", + " \"description\": { \"type\": \"string\" },", + " \"activate\": { \"type\": \"string\" },", + " \"hosts\": {},", + " \"host groups\": {},", + " \"services\": {},", + " \"service groups\": {}", + " },", + " \"additionalProperties\": false,", + " \"required \": [\"id \", \"name \", \"description\", \"activate\", \"hosts\", \"host groups\", \"services\", \"service groups\"]", + " }", + "};", + "", + "tests[\"Validate schema\"] = tv4.validate(result, schema);", + "", + "try {", + " tests[\"Body contains list of downtimes\"] = result;", + " var i = 0;", + " while (i < result.length) {", + " if (postman.getEnvironmentVariable(\"downtime_name\") == result[i].name){", + " tests[\"Body contains added downtime_name\"] = postman.getEnvironmentVariable(\"downtime_name\") == result[i].name;", + " tests[\"Body contains added downtime_description\"] = postman.getEnvironmentVariable(\"downtime_description\") == result[i].description;", + " break;", + " }", + " i++;", + " }", + " if (i == engineData.length)", + " tests[\"enine_name was found\"] = false;", + "}", + "catch (e) {}", + "" ] } } @@ -46330,21 +46333,63 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addhost\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}}\"\n}" + "raw": "{\n \"action\": \"show\",\n \"object\": \"downtime\",\n \"values\" : \"{{downtime_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delhost", + "name": "List downtimes resource", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "var contentType = postman.getResponseHeader(\"Content-Type\");", + "tests[\"Content-Type is application/json\"] = contentType === \"application/json\";", + "", + "var jsonData = JSON.parse(responseBody);", + "var result= jsonData.result;", + "", + "var schema = {", + " \"$schema\": \"http://json-schema.org/draft-04/schema#\",", + " \"type\": \"array\",", + " \"items\": {", + " \"type\": \"object\",", + " \"properties\": {", + " \"id\": { \"type\": \"string\" },", + " \"name\": { \"type\": \"string\" },", + " \"description\": { \"type\": \"string\" },", + " \"activate\": { \"type\": \"string\" },", + " \"hosts\": {}", + " },", + " \"additionalProperties\": false,", + " \"required \": [\"id \", \"name \", \"description\", \"activate\", \"hosts\", \"host groups\", \"services\", \"service groups\"]", + " }", + "};", + "", + "tests[\"Validate schema\"] = tv4.validate(result, schema);", + "", + "try {", + " tests[\"Body contains list of downtimes\"] = result;", + " var i = 0;", + " while (i < result.length) {", + " if (postman.getEnvironmentVariable(\"downtime_name\") == result[i].name){", + " tests[\"Body contains added downtime_name\"] = postman.getEnvironmentVariable(\"downtime_name\") == result[i].name;", + " tests[\"Body contains added downtime_description\"] = postman.getEnvironmentVariable(\"downtime_description\") == result[i].description;", + " break;", + " }", + " i++;", + " }", + " if (i == engineData.length)", + " tests[\"enine_name was found\"] = false;", + "}", + "catch (e) {}", + "" ] } } @@ -46392,14 +46437,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"delhost\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}}\"\n}" + "raw": "{\n \"action\": \"show\",\n \"object\": \"downtime\",\n \"values\" : \"{{downtime_name}};host\"\n}" }, "description": "" }, "response": [] }, { - "name": "Sethost", + "name": "Addweeklyperiod", "event": [ { "listen": "test", @@ -46426,15 +46471,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -46442,26 +46483,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"sethost\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}}\"\n}" + "raw": "{\n \"action\": \"addweeklyperiod\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{weekly_start_time}};{{weekly_end_time}};{{weekly_fixed}};{{weekly_duration}};{{weekly_day_of_week}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Addhostgroup", + "name": "Addmonthlyperiod", "event": [ { "listen": "test", @@ -46488,15 +46529,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -46504,26 +46541,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addhostgroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{hg_name}}\"\n}" + "raw": "{\n \"action\": \"addmonthlyperiod\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{monthly_start_time}};{{monthly_end_time}};{{monthly_fixed}};{{monthly_duration}};{{monthly_day_of_month}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delhostgroup", + "name": "Addspecificperiod", "event": [ { "listen": "test", @@ -46550,15 +46587,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -46566,32 +46599,75 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"delhostgroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{hg_name}}\"\n}" + "raw": "{\n \"action\": \"addspecificperiod\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{specific_start}};{{specific_end}};{{specific_fixed}};{{specific_duration}};{{specific_day_of_week}};{{specific_month_cycle}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Sethostgroup", + "name": "List periods", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var downtimeData = jsonData.result;", + "", + "try {", + " tests[\"Body contains list of downtimes\"] = downtimeData;", + " var test_start_w = postman.getEnvironmentVariable(\"weekly_start_time\") + ':00';", + " var test_start_m = postman.getEnvironmentVariable(\"monthly_start_time\") + ':00';", + " var test_start_s = postman.getEnvironmentVariable(\"specific_start\") + ':00';", + " for (var i = 0; i < downtimeData.length; i++) {", + " if (test_start_w == downtimeData[i]['start time'])", + " {", + " tests[\"Body contains added weekly_start_time\"] = test_start_w == downtimeData[i]['start time'];", + " var test_end = postman.getEnvironmentVariable(\"weekly_end_time\") + ':00';", + " tests[\"Body contains added weekly_end_time\"] = test_end == downtimeData[i]['end time'];", + " tests[\"Body contains added weekly_fixed\"] = postman.getEnvironmentVariable(\"weekly_fixed\") == downtimeData[i].fixed;", + " if (downtimeData[i].fixed == \"0\")", + " tests[\"Body contains added weekly_duration\"] = postman.getEnvironmentVariable(\"weekly_duration\") == downtimeData[i].duration;", + " tests[\"Body contains added weekly_day_of_week\"] = postman.getEnvironmentVariable(\"weekly_number_days_of_week\") == downtimeData[i]['day of week'];", + " }", + " if (test_start_m == downtimeData[i]['start time'])", + " {", + " tests[\"Body contains added monthly_start_time\"] = test_start_m == downtimeData[1]['start time'];", + " var test_end = postman.getEnvironmentVariable(\"monthly_end_time\") + ':00';", + " tests[\"Body contains added monthly_end_time\"] = test_end == downtimeData[i]['end time'];", + " tests[\"Body contains added monthly_fixed\"] = postman.getEnvironmentVariable(\"monthly_fixed\") == downtimeData[i].fixed;", + " if (downtimeData[i].fixed == \"0\")", + " tests[\"Body contains added monthly_duration\"] = postman.getEnvironmentVariable(\"monthly_duration\") == downtimeData[i].duration;", + " tests[\"Body contains added monthly_day_of_month\"] = postman.getEnvironmentVariable(\"monthly_day_of_month\") == downtimeData[i]['day of month'];", + " }", + " if (test_start_s == downtimeData[i]['start time'])", + " {", + " tests[\"Body contains added specific_start_time\"] = test_start_s == downtimeData[i]['start time'];", + " var test_end = postman.getEnvironmentVariable(\"specific_end\") + ':00';", + " tests[\"Body contains added specific_end_time\"] = test_end == downtimeData[i]['end time'];", + " tests[\"Body contains added specific_fixed\"] = postman.getEnvironmentVariable(\"specific_fixed\") == downtimeData[i].fixed;", + " if (downtimeData[i].fixed == \"0\")", + " tests[\"Body contains added specific_duration\"] = postman.getEnvironmentVariable(\"specific_duration\") == downtimeData[i].duration;", + " tests[\"Body contains added specific_day_of_week\"] = postman.getEnvironmentVariable(\"specific_number_day_of_week\") == downtimeData[i]['day of week'];", + " }", + " }", + "}", + "catch (e) {}", + "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -46612,15 +46688,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -46628,26 +46700,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"sethostgroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{hg_name}}\"\n}" + "raw": "{\n \"action\": \"listperiods\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Addservice", + "name": "Addhost", "event": [ { "listen": "test", @@ -46702,14 +46774,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addservice\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}},{{service_description}}\"\n}" + "raw": "{\n \"action\": \"addhost\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delservice", + "name": "Delhost", "event": [ { "listen": "test", @@ -46764,14 +46836,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"delservice\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}},{{service_description}}\"\n}" + "raw": "{\n \"action\": \"delhost\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setservice", + "name": "Sethost", "event": [ { "listen": "test", @@ -46826,14 +46898,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setservice\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}},{{service_description}}\"\n}" + "raw": "{\n \"action\": \"sethost\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Addservicegroup", + "name": "Addhostgroup", "event": [ { "listen": "test", @@ -46888,14 +46960,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addservicegroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{sg_name}}\"\n}" + "raw": "{\n \"action\": \"addhostgroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{hg_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delservicegroup", + "name": "Delhostgroup", "event": [ { "listen": "test", @@ -46950,14 +47022,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"delservicegroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{sg_name}}\"\n}" + "raw": "{\n \"action\": \"delhostgroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{hg_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setservicegroup", + "name": "Sethostgroup", "event": [ { "listen": "test", @@ -47012,20 +47084,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setservicegroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{sg_name}}\"\n}" + "raw": "{\n \"action\": \"sethostgroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{hg_name}}\"\n}" }, "description": "" }, "response": [] - } - ] - }, - { - "name": "61-Dependencies", - "description": "Tests all commands to manage dependencies.", - "item": [ + }, { - "name": "Add dependency", + "name": "Addservice", "event": [ { "listen": "test", @@ -47080,72 +47146,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"add\",\n \"object\": \"dep\",\n \"values\": \"dep_test;test_description;{{dep_type}};{{host_name}}\"\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "Setparam name", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ], - "variable": [] - }, - "method": "POST", - "header": [ - { - "description": "", - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "", - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"dep_test;name;{{dep_name}}\"\n}" + "raw": "{\n \"action\": \"addservice\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}},{{service_description}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam description", + "name": "Delservice", "event": [ { "listen": "test", @@ -47172,11 +47180,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -47184,26 +47196,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};description;{{dep_description}}\"\n}" + "raw": "{\n \"action\": \"delservice\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}},{{service_description}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam comment", + "name": "Setservice", "event": [ { "listen": "test", @@ -47230,11 +47242,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -47242,26 +47258,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};comment;{{dep_comment}}\"\n}" + "raw": "{\n \"action\": \"setservice\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{host_name}},{{service_description}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam inherits_parent", + "name": "Addservicegroup", "event": [ { "listen": "test", @@ -47288,11 +47304,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -47300,26 +47320,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};inherits_parent;{{dep_inherits_parent}}\"\n}" + "raw": "{\n \"action\": \"addservicegroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{sg_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam exec_fail_criteria", + "name": "Delservicegroup", "event": [ { "listen": "test", @@ -47346,11 +47366,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -47358,26 +47382,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};execution_failure_criteria;{{dep_exec_fail_crit}}\"\n}" + "raw": "{\n \"action\": \"delservicegroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{sg_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam notif_fail_criteria", + "name": "Setservicegroup", "event": [ { "listen": "test", @@ -47404,11 +47428,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -47416,55 +47444,38 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};notification_failure_criteria;{{dep_notif_fail_crit}}\"\n}" + "raw": "{\n \"action\": \"setservicegroup\",\n \"object\": \"downtime\",\n \"values\": \"{{downtime_name}};{{sg_name}}\"\n}" }, "description": "" }, "response": [] - }, + } + ] + }, + { + "name": "61-Dependencies", + "description": "Tests all commands to manage dependencies.", + "item": [ { - "name": "List dependencies", + "name": "Add dependency", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "var jsonData = JSON.parse(responseBody);", - "var depData = jsonData.result;", - "", - "try {", - " tests[\"Body contains list of dependencies\"] = depData;", - " var i = 0;", - " while (i < depData.length) {", - " if (postman.getEnvironmentVariable(\"dep_name\") == depData[i].name)", - " {", - " tests[\"Body contains added dep_name\"] = postman.getEnvironmentVariable(\"dep_name\") == depData[i].name;", - " tests[\"Body contains added dep_description\"] = postman.getEnvironmentVariable(\"dep_description\") == depData[i].description;", - " tests[\"Body contains added dep_inherits_parents\"] = postman.getEnvironmentVariable(\"dep_inherits_parent\") == depData[i].inherits_parent;", - " tests[\"Body contains added dep_execution_failure_criteria\"] = postman.getEnvironmentVariable(\"dep_exec_fail_crit\") == depData[i].execution_failure_criteria;", - " tests[\"Body contains added dep_notification_failure_criteria\"] = postman.getEnvironmentVariable(\"dep_notif_fail_crit\") == depData[i].notification_failure_criteria;", - " break;", - " }", - " i++;", - " }", - " if (i == depData.length)", - " tests[\"dep_name was found\"] = false;", - "}", - "catch (e) {}", - "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -47484,16 +47495,16 @@ ], "query": [ { - "description": "", - "equals": true, "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { - "description": "", - "equals": true, "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -47501,26 +47512,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"show\",\n \"object\": \"dep\"\n}" + "raw": "{\n \"action\": \"add\",\n \"object\": \"dep\",\n \"values\": \"dep_test;test_description;{{dep_type}};{{host_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Addparent", + "name": "Setparam name", "event": [ { "listen": "test", @@ -47547,15 +47558,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -47563,26 +47570,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addparent\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name2}}\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"dep_test;name;{{dep_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Create host3", + "name": "Setparam description", "event": [ { "listen": "test", @@ -47609,15 +47616,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -47625,26 +47628,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"add\",\n \"object\": \"host\",\n \"values\": \"{{host_name3}};{{host_name3}};0.0.0.0;;central;\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};description;{{dep_description}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Addchild", + "name": "Setparam comment", "event": [ { "listen": "test", @@ -47671,15 +47674,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -47687,26 +47686,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addchild\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name3}}\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};comment;{{dep_comment}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delparent", + "name": "Setparam inherits_parent", "event": [ { "listen": "test", @@ -47733,15 +47732,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -47749,59 +47744,32 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"delparent\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name2}}\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};inherits_parent;{{dep_inherits_parent}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Listdep", + "name": "Setparam exec_fail_criteria", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "var jsonData = JSON.parse(responseBody);", - "var depData = jsonData.result;", - "", - "try {", - " tests[\"Body contains list of dependencies\"] = depData;", - " var i = 0;", - " var nb_find = 0", - " while (i < depData.length) {", - " if (postman.getEnvironmentVariable(\"host_name\") == depData[i].parents)", - " {", - " tests[\"Body contains added a parent\"] = postman.getEnvironmentVariable(\"host_name\") == depData[i].parents;", - " nb_find += 1;", - " }", - " if (postman.getEnvironmentVariable(\"host_name3\") == depData[i].children)", - " {", - " tests[\"Body contains added a child\"] = postman.getEnvironmentVariable(\"host_name3\") == depData[i].children;", - " nb_find += 1;", - " }", - " if (nb_find == 2)", - " break;", - " i++;", - " }", - " if (i == depData.length)", - " tests[\"the child and the parent were found\"] = i < depData.length;", - "}", - "catch (e) {}", - "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -47822,15 +47790,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -47838,26 +47802,26 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"listdep\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}}\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};execution_failure_criteria;{{dep_exec_fail_crit}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delchild", + "name": "Setparam notif_fail_criteria", "event": [ { "listen": "test", @@ -47884,15 +47848,11 @@ "query": [ { "key": "action", - "value": "action", - "equals": true, - "description": "" + "value": "action" }, { "key": "object", - "value": "centreon_clapi", - "equals": true, - "description": "" + "value": "centreon_clapi" } ], "variable": [] @@ -47900,38 +47860,55 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"delchild\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name3}}\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};notification_failure_criteria;{{dep_notif_fail_crit}}\"\n}" }, "description": "" }, "response": [] - } - ] - }, - { - "name": "70-ACL_Groups", - "description": "Tests all commands to manage ACL groups.", - "item": [ + }, { - "name": "Add ACL group", + "name": "List dependencies", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var depData = jsonData.result;", + "", + "try {", + " tests[\"Body contains list of dependencies\"] = depData;", + " var i = 0;", + " while (i < depData.length) {", + " if (postman.getEnvironmentVariable(\"dep_name\") == depData[i].name)", + " {", + " tests[\"Body contains added dep_name\"] = postman.getEnvironmentVariable(\"dep_name\") == depData[i].name;", + " tests[\"Body contains added dep_description\"] = postman.getEnvironmentVariable(\"dep_description\") == depData[i].description;", + " tests[\"Body contains added dep_inherits_parents\"] = postman.getEnvironmentVariable(\"dep_inherits_parent\") == depData[i].inherits_parent;", + " tests[\"Body contains added dep_execution_failure_criteria\"] = postman.getEnvironmentVariable(\"dep_exec_fail_crit\") == depData[i].execution_failure_criteria;", + " tests[\"Body contains added dep_notification_failure_criteria\"] = postman.getEnvironmentVariable(\"dep_notif_fail_crit\") == depData[i].notification_failure_criteria;", + " break;", + " }", + " i++;", + " }", + " if (i == depData.length)", + " tests[\"dep_name was found\"] = false;", + "}", + "catch (e) {}", + "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -47980,14 +47957,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"add\",\n \"object\": \"aclgroup\",\n \"values\": \"test_aclg;aclg_alias\"\n}" + "raw": "{\n \"action\": \"show\",\n \"object\": \"dep\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam name", + "name": "Addparent", "event": [ { "listen": "test", @@ -48013,16 +47990,16 @@ ], "query": [ { - "description": "", - "equals": true, "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { - "description": "", - "equals": true, "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -48030,26 +48007,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclgroup\",\n \"values\": \"test_aclg;name;{{aclg_name}}\"\n}" + "raw": "{\n \"action\": \"addparent\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name2}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam alias", + "name": "Create host3", "event": [ { "listen": "test", @@ -48076,11 +48053,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -48088,26 +48069,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclgroup\",\n \"values\": \"{{aclg_name}};alias;{{aclg_alias}}\"\n}" + "raw": "{\n \"action\": \"add\",\n \"object\": \"host\",\n \"values\": \"{{host_name3}};{{host_name3}};0.0.0.0;;central;\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam activate", + "name": "Addchild", "event": [ { "listen": "test", @@ -48134,11 +48115,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -48146,51 +48131,32 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclgroup\",\n \"values\": \"{{aclg_name}};activate;{{aclg_activate}}\"\n}" + "raw": "{\n \"action\": \"addchild\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name3}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "List ACL groups", + "name": "Delparent", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "var jsonData = JSON.parse(responseBody);", - "var aclgData = jsonData.result;", - "", - "try {", - " tests[\"Body contains list of ACL groups\"] = aclgData;", - " var i = 0;", - " while (i < aclgData.length) {", - " if (postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name) {", - " tests[\"Body contains added ACL resource\"] = postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name;", - " tests[\"Body contains added aclg_alias\"] = postman.getEnvironmentVariable(\"aclg_alias\") == aclgData[i].alias;", - " tests[\"Body contains added aclg_activate\"] = postman.getEnvironmentVariable(\"aclg_activate\") == aclgData[i].activate;", - " break;", - " }", - " i++;", - " }", - " if (i == aclgData.length)", - " tests[\"aclg_name was found\"] = false;", - "} catch (e) {}", - "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -48210,16 +48176,16 @@ ], "query": [ { - "description": "", - "equals": true, "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { - "description": "", - "equals": true, "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -48227,32 +48193,59 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"show\",\n \"object\": \"aclgroup\"\n}" + "raw": "{\n \"action\": \"delparent\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name2}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Add resource ACL", + "name": "Listdep", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var depData = jsonData.result;", + "", + "try {", + " tests[\"Body contains list of dependencies\"] = depData;", + " var i = 0;", + " var nb_find = 0", + " while (i < depData.length) {", + " if (postman.getEnvironmentVariable(\"host_name\") == depData[i].parents)", + " {", + " tests[\"Body contains added a parent\"] = postman.getEnvironmentVariable(\"host_name\") == depData[i].parents;", + " nb_find += 1;", + " }", + " if (postman.getEnvironmentVariable(\"host_name3\") == depData[i].children)", + " {", + " tests[\"Body contains added a child\"] = postman.getEnvironmentVariable(\"host_name3\") == depData[i].children;", + " nb_find += 1;", + " }", + " if (nb_find == 2)", + " break;", + " i++;", + " }", + " if (i == depData.length)", + " tests[\"the child and the parent were found\"] = i < depData.length;", + "}", + "catch (e) {}", + "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -48273,11 +48266,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -48285,26 +48282,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"add\",\n \"object\": \"aclresource\",\n \"values\": \"test_resourceacl;test_alias\"\n}" + "raw": "{\n \"action\": \"listdep\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}}\"\n}" }, "description": "" }, "response": [] }, { - "name": "Setparam name", + "name": "Delchild", "event": [ { "listen": "test", @@ -48331,11 +48328,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -48343,26 +48344,32 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclresource\",\n \"values\": \"test_resourceacl;name;{{racl_name}}\"\n}" + "raw": "{\n \"action\": \"delchild\",\n \"object\": \"dep\",\n \"values\": \"{{dep_name}};{{host_name3}}\"\n}" }, "description": "" }, "response": [] - }, + } + ] + }, + { + "name": "70-ACL_Groups", + "description": "Tests all commands to manage ACL groups.", + "item": [ { - "name": "Addresource", + "name": "Add ACL group", "event": [ { "listen": "test", @@ -48388,16 +48395,16 @@ ], "query": [ { - "key": "action", - "value": "action", + "description": "", "equals": true, - "description": "" + "key": "action", + "value": "action" }, { - "key": "object", - "value": "centreon_clapi", + "description": "", "equals": true, - "description": "" + "key": "object", + "value": "centreon_clapi" } ], "variable": [] @@ -48405,26 +48412,467 @@ "method": "POST", "header": [ { + "description": "", "key": "Content-Type", - "value": "application/json", - "description": "" + "value": "application/json" }, { + "description": "", "key": "centreon-auth-token", - "value": "{{token}}", - "description": "" + "value": "{{token}}" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"addresource\",\n \"object\": \"aclgroup\",\n \"values\": \"{{aclg_name}};{{racl_name}}\"\n}" + "raw": "{\n \"action\": \"add\",\n \"object\": \"aclgroup\",\n \"values\": \"test_aclg;aclg_alias\"\n}" }, "description": "" }, "response": [] }, { - "name": "Delresource", + "name": "Setparam name", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "description": "", + "equals": true, + "key": "action", + "value": "action" + }, + { + "description": "", + "equals": true, + "key": "object", + "value": "centreon_clapi" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "description": "", + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "", + "key": "centreon-auth-token", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclgroup\",\n \"values\": \"test_aclg;name;{{aclg_name}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Setparam alias", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "key": "action", + "value": "action", + "equals": true, + "description": "" + }, + { + "key": "object", + "value": "centreon_clapi", + "equals": true, + "description": "" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "centreon-auth-token", + "value": "{{token}}", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclgroup\",\n \"values\": \"{{aclg_name}};alias;{{aclg_alias}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Setparam activate", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "key": "action", + "value": "action" + }, + { + "key": "object", + "value": "centreon_clapi" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "description": "", + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "", + "key": "centreon-auth-token", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclgroup\",\n \"values\": \"{{aclg_name}};activate;{{aclg_activate}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "List ACL groups", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var aclgData = jsonData.result;", + "", + "try {", + " tests[\"Body contains list of ACL groups\"] = aclgData;", + " var i = 0;", + " while (i < aclgData.length) {", + " if (postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name) {", + " tests[\"Body contains added ACL resource\"] = postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name;", + " tests[\"Body contains added aclg_alias\"] = postman.getEnvironmentVariable(\"aclg_alias\") == aclgData[i].alias;", + " tests[\"Body contains added aclg_activate\"] = postman.getEnvironmentVariable(\"aclg_activate\") == aclgData[i].activate;", + " break;", + " }", + " i++;", + " }", + " if (i == aclgData.length)", + " tests[\"aclg_name was found\"] = false;", + "} catch (e) {}", + "", + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "description": "", + "equals": true, + "key": "action", + "value": "action" + }, + { + "description": "", + "equals": true, + "key": "object", + "value": "centreon_clapi" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "description": "", + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "", + "key": "centreon-auth-token", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"show\",\n \"object\": \"aclgroup\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Add resource ACL", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "key": "action", + "value": "action" + }, + { + "key": "object", + "value": "centreon_clapi" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "description": "", + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "", + "key": "centreon-auth-token", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"add\",\n \"object\": \"aclresource\",\n \"values\": \"test_resourceacl;test_alias\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Setparam name", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "key": "action", + "value": "action" + }, + { + "key": "object", + "value": "centreon_clapi" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "description": "", + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "", + "key": "centreon-auth-token", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclresource\",\n \"values\": \"test_resourceacl;name;{{racl_name}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Addresource", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "key": "action", + "value": "action", + "equals": true, + "description": "" + }, + { + "key": "object", + "value": "centreon_clapi", + "equals": true, + "description": "" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "centreon-auth-token", + "value": "{{token}}", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"addresource\",\n \"object\": \"aclgroup\",\n \"values\": \"{{aclg_name}};{{racl_name}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Delresource", "event": [ { "listen": "test", @@ -50100,14 +50548,96 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};comment;{{aclmenu_comment}}\"\n}" + "raw": "{\n \"action\": \"setparam\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};comment;{{aclmenu_comment}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "List ACL menu", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var aclmenuData = jsonData.result;", + "", + "try {", + " tests[\"Body contains list of ACL Menu\"] = aclmenuData;", + " var i = 0;", + " while (i < aclmenuData.length) {", + " if (postman.getEnvironmentVariable(\"aclmenu_name\") == aclmenuData[i].name) {", + " tests[\"Body contains added ACL menu\"] = postman.getEnvironmentVariable(\"aclmenu_name\") == aclmenuData[i].name;", + " tests[\"Body contains added aclmenu_alias\"] = postman.getEnvironmentVariable(\"aclmenu_alias\") == aclmenuData[i].alias;", + " tests[\"Body contains added aclmenu_comment\"] = postman.getEnvironmentVariable(\"aclmenu_comment\") == aclmenuData[i].comment;", + " tests[\"Body contains added aclmenu_activate\"] = postman.getEnvironmentVariable(\"aclmenu_activate\") == aclmenuData[i].activate;", + " break;", + " }", + " i++;", + " }", + " if (i == aclmenuData.length)", + " tests[\"aclmenu_name was found\"] = false;", + "} catch (e) {}", + "", + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "description": "", + "equals": true, + "key": "action", + "value": "action" + }, + { + "description": "", + "equals": true, + "key": "object", + "value": "centreon_clapi" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "description": "", + "key": "Content-Type", + "value": "application/json" + }, + { + "description": "", + "key": "centreon-auth-token", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"show\",\n \"object\": \"aclmenu\"\n}" }, "description": "" }, "response": [] }, { - "name": "List ACL menu", + "name": "Get ACL Groups", "event": [ { "listen": "test", @@ -50115,23 +50645,20 @@ "type": "text/javascript", "exec": [ "var jsonData = JSON.parse(responseBody);", - "var aclmenuData = jsonData.result;", + "var aclgData = jsonData.result;", "", "try {", - " tests[\"Body contains list of ACL Menu\"] = aclmenuData;", + " tests[\"Body contains list of ACL Menu\"] = aclgData;", " var i = 0;", - " while (i < aclmenuData.length) {", - " if (postman.getEnvironmentVariable(\"aclmenu_name\") == aclmenuData[i].name) {", - " tests[\"Body contains added ACL menu\"] = postman.getEnvironmentVariable(\"aclmenu_name\") == aclmenuData[i].name;", - " tests[\"Body contains added aclmenu_alias\"] = postman.getEnvironmentVariable(\"aclmenu_alias\") == aclmenuData[i].alias;", - " tests[\"Body contains added aclmenu_comment\"] = postman.getEnvironmentVariable(\"aclmenu_comment\") == aclmenuData[i].comment;", - " tests[\"Body contains added aclmenu_activate\"] = postman.getEnvironmentVariable(\"aclmenu_activate\") == aclmenuData[i].activate;", + " while (i < aclgData.length) {", + " if (postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name) {", + " tests[\"Body contains ACL menu\"] = postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name;", " break;", " }", " i++;", " }", - " if (i == aclmenuData.length)", - " tests[\"aclmenu_name was found\"] = false;", + " if (i > aclgData.length)", + " tests[\"aclg_name was found\"] = false;", "} catch (e) {}", "", "tests[\"Status code is 200\"] = responseCode.code === 200;" @@ -50153,16 +50680,140 @@ ], "query": [ { - "description": "", + "key": "action", + "value": "action", + "equals": true, + "description": "" + }, + { + "key": "object", + "value": "centreon_clapi", "equals": true, + "description": "" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "centreon-auth-token", + "value": "{{token}}", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"getaclgroup\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}}\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Grantrw Home", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { - "description": "", + "key": "object", + "value": "centreon_clapi", "equals": true, + "description": "" + } + ], + "variable": [] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "centreon-auth-token", + "value": "{{token}}", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home\"\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Revoke Home", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "url": { + "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", + "protocol": "http", + "host": [ + "{{url}}" + ], + "path": [ + "centreon", + "api", + "index.php" + ], + "query": [ + { + "key": "action", + "value": "action", + "equals": true, + "description": "" + }, + { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -50170,49 +50821,32 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"show\",\n \"object\": \"aclmenu\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home\"\n}" }, "description": "" }, "response": [] }, { - "name": "Get ACL Groups", + "name": "Grantrw Custom Views", "event": [ { "listen": "test", "script": { "type": "text/javascript", "exec": [ - "var jsonData = JSON.parse(responseBody);", - "var aclgData = jsonData.result;", - "", - "try {", - " tests[\"Body contains list of ACL Menu\"] = aclgData;", - " var i = 0;", - " while (i < aclgData.length) {", - " if (postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name) {", - " tests[\"Body contains ACL menu\"] = postman.getEnvironmentVariable(\"aclg_name\") == aclgData[i].name;", - " break;", - " }", - " i++;", - " }", - " if (i > aclgData.length)", - " tests[\"aclg_name was found\"] = false;", - "} catch (e) {}", - "", "tests[\"Status code is 200\"] = responseCode.code === 200;" ] } @@ -50261,14 +50895,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"getaclgroup\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}}\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views\"\n}" }, "description": "" }, "response": [] }, { - "name": "Grantrw Home", + "name": "Revoke Custom Views", "event": [ { "listen": "test", @@ -50295,11 +50929,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -50307,26 +50945,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views\"\n}" }, "description": "" }, "response": [] }, { - "name": "Revoke Home", + "name": "Grantrw Edit View", "event": [ { "listen": "test", @@ -50353,11 +50991,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -50365,26 +51007,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;Edit View\"\n}" }, "description": "" }, "response": [] }, { - "name": "Grantrw Custom Views", + "name": "Revoke Edit View", "event": [ { "listen": "test", @@ -50411,11 +51053,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -50423,26 +51069,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;Edit View\"\n}" }, "description": "" }, "response": [] }, { - "name": "Revoke Custom Views", + "name": "Grantrw Share View", "event": [ { "listen": "test", @@ -50469,11 +51115,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -50481,26 +51131,26 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;Share View\"\n}" }, "description": "" }, "response": [] }, { - "name": "Grantrw Edit View", + "name": "Revoke Share View", "event": [ { "listen": "test", @@ -50555,14 +51205,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;Edit View\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;Share View\"\n}" }, "description": "" }, "response": [] }, { - "name": "Revoke Edit View", + "name": "Grantrw Widget Parameters", "event": [ { "listen": "test", @@ -50617,14 +51267,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;Edit View\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;Widget Parameters\"\n}" }, "description": "" }, "response": [] }, { - "name": "Grantrw Share View", + "name": "Revoke Widget Parameters", "event": [ { "listen": "test", @@ -50679,14 +51329,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;Share View\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;Widget Parameters\"\n}" }, "description": "" }, "response": [] }, { - "name": "Revoke Share View", + "name": "Grantrw Add Widget", "event": [ { "listen": "test", @@ -50741,14 +51391,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;Share View\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;add Widget\"\n}" }, "description": "" }, "response": [] }, { - "name": "Grantrw Widget Parameters", + "name": "Revoke Add Widget", "event": [ { "listen": "test", @@ -50803,14 +51453,14 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;Widget Parameters\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;add Widget\"\n}" }, "description": "" }, "response": [] }, { - "name": "Revoke Widget Parameters", + "name": "Grantrw rotation", "event": [ { "listen": "test", @@ -50865,181 +51515,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;Widget Parameters\"\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "Grantrw Add Widget", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ], - "variable": [] - }, - "method": "POST", - "header": [ - { - "description": "", - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "", - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;add Widget\"\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "Revoke Add Widget", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ], - "variable": [] - }, - "method": "POST", - "header": [ - { - "description": "", - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "", - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;add Widget\"\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "Grantrw rotation", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ], - "variable": [] - }, - "method": "POST", - "header": [ - { - "description": "", - "key": "Content-Type", - "value": "application/json" - }, - { - "description": "", - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;rotation\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;rotation\"\n}" }, "description": "" }, @@ -51073,11 +51549,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51085,19 +51565,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;rotation\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;rotation\"\n}" }, "description": "" }, @@ -51131,11 +51611,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51143,19 +51627,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;delete view\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;delete view\"\n}" }, "description": "" }, @@ -51189,11 +51673,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51201,19 +51689,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;delete view\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;delete view\"\n}" }, "description": "" }, @@ -51247,11 +51735,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51259,19 +51751,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;add view\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;add view\"\n}" }, "description": "" }, @@ -51305,11 +51797,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51317,19 +51813,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;add view\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;add view\"\n}" }, "description": "" }, @@ -51363,11 +51859,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51375,19 +51875,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;set default\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;Custom Views;set default\"\n}" }, "description": "" }, @@ -51421,11 +51921,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51433,19 +51937,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;Custom Views;set default\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;Custom Views;set default\"\n}" }, "description": "" }, @@ -51479,11 +51983,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51491,19 +51999,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;poller statistics\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;poller statistics\"\n}" }, "description": "" }, @@ -51537,11 +52045,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51549,19 +52061,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;poller statistics\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;poller statistics\"\n}" }, "description": "" }, @@ -51595,11 +52107,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51607,19 +52123,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;poller statistics;broker statistics\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;poller statistics;broker statistics\"\n}" }, "description": "" }, @@ -51653,11 +52169,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51665,19 +52185,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;poller statistics;broker statistics\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;poller statistics;broker statistics\"\n}" }, "description": "" }, @@ -51711,11 +52231,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51723,19 +52247,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;poller statistics;graphs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;Home;poller statistics;graphs\"\n}" }, "description": "" }, @@ -51769,11 +52293,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51781,19 +52309,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};Home;poller statistics;graphs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;Home;poller statistics;graphs\"\n}" }, "description": "" }, @@ -51827,11 +52355,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51839,19 +52371,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring\"\n}" }, "description": "" }, @@ -51885,11 +52417,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51897,19 +52433,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring\"\n}" }, "description": "" }, @@ -51943,11 +52479,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -51955,19 +52495,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details\"\n}" }, "description": "" }, @@ -52001,11 +52541,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52013,19 +52557,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details\"\n}" }, "description": "" }, @@ -52059,11 +52603,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52071,19 +52619,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details;services\"\n}" }, "description": "" }, @@ -52117,11 +52665,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52129,19 +52681,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details;services\"\n}" }, "description": "" }, @@ -52175,11 +52727,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52187,19 +52743,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;hosts\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details;hosts\"\n}" }, "description": "" }, @@ -52233,11 +52789,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52245,19 +52805,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;hosts\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details;hosts\"\n}" }, "description": "" }, @@ -52291,11 +52851,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52303,19 +52867,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services grid\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details;services grid\"\n}" }, "description": "" }, @@ -52349,11 +52913,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52361,19 +52929,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services grid\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details;services grid\"\n}" }, "description": "" }, @@ -52407,11 +52975,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52419,19 +52991,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services by hostgroup\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details;services by hostgroup\"\n}" }, "description": "" }, @@ -52465,11 +53037,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52477,19 +53053,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services by hostgroup\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details;services by hostgroup\"\n}" }, "description": "" }, @@ -52523,11 +53099,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52535,19 +53115,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services by servicegroup\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details;services by servicegroup\"\n}" }, "description": "" }, @@ -52581,11 +53161,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52593,19 +53177,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;services by servicegroup\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details;services by servicegroup\"\n}" }, "description": "" }, @@ -52639,11 +53223,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52651,19 +53239,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;hostgroups summary\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;status details;hostgroups summary\"\n}" }, "description": "" }, @@ -52697,11 +53285,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52709,19 +53301,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;status details;hostgroups summary\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;status details;hostgroups summary\"\n}" }, "description": "" }, @@ -52755,11 +53347,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52767,19 +53363,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances\"\n}" }, "description": "" }, @@ -52813,11 +53409,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52825,19 +53425,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances\"\n}" }, "description": "" }, @@ -52871,11 +53471,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52883,19 +53487,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;graphs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;graphs\"\n}" }, "description": "" }, @@ -52929,11 +53533,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52941,19 +53549,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;graphs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;graphs\"\n}" }, "description": "" }, @@ -52987,11 +53595,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -52999,19 +53611,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;graphs;chart split\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;graphs;chart split\"\n}" }, "description": "" }, @@ -53045,11 +53657,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53057,19 +53673,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;graphs;chart split\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;graphs;chart split\"\n}" }, "description": "" }, @@ -53103,11 +53719,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53115,19 +53735,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;graphs;chart periods\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;graphs;chart periods\"\n}" }, "description": "" }, @@ -53161,11 +53781,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53173,19 +53797,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;graphs;chart periods\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;graphs;chart periods\"\n}" }, "description": "" }, @@ -53219,11 +53843,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53231,19 +53859,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;templates\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;templates\"\n}" }, "description": "" }, @@ -53277,11 +53905,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53289,19 +53921,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;templates\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;templates\"\n}" }, "description": "" }, @@ -53335,11 +53967,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53347,19 +53983,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;curves\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;curves\"\n}" }, "description": "" }, @@ -53393,11 +54029,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53405,19 +54045,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;curves\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;curves\"\n}" }, "description": "" }, @@ -53451,11 +54091,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53463,19 +54107,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;metrics\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;metrics\"\n}" }, "description": "" }, @@ -53509,11 +54153,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53521,19 +54169,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;performances;metrics\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;metrics\"\n}" }, "description": "" }, @@ -53567,11 +54215,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53579,19 +54231,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;event logs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;event logs\"\n}" }, "description": "" }, @@ -53625,11 +54277,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53637,19 +54293,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;event logs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;event logs\"\n}" }, "description": "" }, @@ -53683,11 +54339,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53695,19 +54355,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;event logs;event logs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;event logs;event logs\"\n}" }, "description": "" }, @@ -53741,11 +54401,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53753,19 +54417,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;event logs;event logs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;event logs;event logs\"\n}" }, "description": "" }, @@ -53799,11 +54463,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53811,19 +54479,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;event logs;system logs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;event logs;system logs\"\n}" }, "description": "" }, @@ -53857,11 +54525,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53869,19 +54541,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;event logs;system logs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;event logs;system logs\"\n}" }, "description": "" }, @@ -53915,11 +54587,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53927,19 +54603,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;downtimes\"\n}" }, "description": "" }, @@ -53973,11 +54649,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -53985,19 +54665,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;downtimes\"\n}" }, "description": "" }, @@ -54031,11 +54711,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54043,19 +54727,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;downtimes\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;downtimes;downtimes\"\n}" }, "description": "" }, @@ -54089,11 +54773,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54101,19 +54789,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;downtimes\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;downtimes;downtimes\"\n}" }, "description": "" }, @@ -54147,11 +54835,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54159,19 +54851,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;recurrent downtimes\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;downtimes;recurrent downtimes\"\n}" }, "description": "" }, @@ -54205,11 +54897,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54217,19 +54913,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;recurrent downtimes\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;downtimes;recurrent downtimes\"\n}" }, "description": "" }, @@ -54263,11 +54959,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54275,19 +54975,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;recurrent downtimes\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;downtimes;recurrent downtimes\"\n}" }, "description": "" }, @@ -54321,11 +55021,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54333,19 +55037,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;comments\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;downtimes;comments\"\n}" }, "description": "" }, @@ -54379,11 +55083,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54391,19 +55099,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};monitoring;downtimes;comments\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;downtimes;comments\"\n}" }, "description": "" }, @@ -54437,11 +55145,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54449,19 +55161,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;reporting\"\n}" }, "description": "" }, @@ -54495,11 +55207,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54507,19 +55223,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;reporting\"\n}" }, "description": "" }, @@ -54553,11 +55269,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54565,19 +55285,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;reporting;dashboard\"\n}" }, "description": "" }, @@ -54611,11 +55331,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54623,19 +55347,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;reporting;dashboard\"\n}" }, "description": "" }, @@ -54669,11 +55393,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54681,19 +55409,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;hosts\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;reporting;dashboard;hosts\"\n}" }, "description": "" }, @@ -54727,11 +55455,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54739,19 +55471,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;hosts\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;reporting;dashboard;hosts\"\n}" }, "description": "" }, @@ -54785,11 +55517,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54797,19 +55533,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;reporting;dashboard;services\"\n}" }, "description": "" }, @@ -54843,11 +55579,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54855,19 +55595,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;reporting;dashboard;services\"\n}" }, "description": "" }, @@ -54901,11 +55641,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54913,19 +55657,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;host groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;reporting;dashboard;host groups\"\n}" }, "description": "" }, @@ -54959,11 +55703,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -54971,19 +55719,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;host groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;reporting;dashboard;host groups\"\n}" }, "description": "" }, @@ -55017,11 +55765,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55029,19 +55781,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;service groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;reporting;dashboard;service groups\"\n}" }, "description": "" }, @@ -55075,11 +55827,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55087,19 +55843,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};reporting;dashboard;service groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;reporting;dashboard;service groups\"\n}" }, "description": "" }, @@ -55133,11 +55889,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55145,19 +55905,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration\"\n}" }, "description": "" }, @@ -55191,11 +55951,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55203,19 +55967,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration\"\n}" }, "description": "" }, @@ -55249,11 +56013,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55261,19 +56029,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts\"\n}" }, "description": "" }, @@ -55307,11 +56075,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55319,19 +56091,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;hosts\"\n}" }, "description": "" }, @@ -55343,7 +56115,7 @@ { "listen": "test", "script": { - "type": "text/javascript", + "type": "text/javascript", "exec": [ "tests[\"Status code is 200\"] = responseCode.code === 200;" ] @@ -55365,11 +56137,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55377,19 +56153,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;hosts\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;hosts\"\n}" }, "description": "" }, @@ -55423,11 +56199,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55435,19 +56215,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;hosts\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;hosts\"\n}" }, "description": "" }, @@ -55481,11 +56261,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55493,19 +56277,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;hosts\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;hosts;hosts\"\n}" }, "description": "" }, @@ -55539,11 +56323,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55551,19 +56339,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;host groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;host groups\"\n}" }, "description": "" }, @@ -55597,11 +56385,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55609,19 +56401,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;host groups\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;host groups\"\n}" }, "description": "" }, @@ -55655,11 +56447,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55667,19 +56463,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;host groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;hosts;host groups\"\n}" }, "description": "" }, @@ -55713,11 +56509,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55725,19 +56525,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;templates\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;templates\"\n}" }, "description": "" }, @@ -55771,11 +56571,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55783,19 +56587,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;templates\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;templates\"\n}" }, "description": "" }, @@ -55829,11 +56633,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55841,19 +56649,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;templates\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;hosts;templates\"\n}" }, "description": "" }, @@ -55887,11 +56695,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55899,19 +56711,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;categories\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;categories\"\n}" }, "description": "" }, @@ -55945,11 +56757,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -55957,19 +56773,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;categories\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;hosts;categories\"\n}" }, "description": "" }, @@ -56003,11 +56819,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56015,19 +56835,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;hosts;categories\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;hosts;categories\"\n}" }, "description": "" }, @@ -56061,11 +56881,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56073,19 +56897,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services\"\n}" }, "description": "" }, @@ -56119,11 +56943,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56131,19 +56959,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services\"\n}" }, "description": "" }, @@ -56177,11 +57005,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56189,19 +57021,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;services by host\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;services by host\"\n}" }, "description": "" }, @@ -56235,11 +57067,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56247,19 +57083,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;services by host\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;services by host\"\n}" }, "description": "" }, @@ -56293,11 +57129,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56305,19 +57145,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;services by host\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services;services by host\"\n}" }, "description": "" }, @@ -56351,11 +57191,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56363,19 +57207,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;services by host group\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;services by host group\"\n}" }, "description": "" }, @@ -56409,11 +57253,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56421,19 +57269,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;services by host group\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;services by host group\"\n}" }, "description": "" }, @@ -56467,11 +57315,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56479,19 +57331,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;services by host group\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services;services by host group\"\n}" }, "description": "" }, @@ -56525,11 +57377,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56537,19 +57393,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;service groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;service groups\"\n}" }, "description": "" }, @@ -56583,11 +57439,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56595,19 +57455,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;service groups\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;service groups\"\n}" }, "description": "" }, @@ -56641,11 +57501,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56653,19 +57517,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;service groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services;service groups\"\n}" }, "description": "" }, @@ -56699,11 +57563,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56711,19 +57579,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;templates\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;templates\"\n}" }, "description": "" }, @@ -56757,11 +57625,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56769,19 +57641,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;templates\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;templates\"\n}" }, "description": "" }, @@ -56815,11 +57687,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56827,19 +57703,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;templates\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services;templates\"\n}" }, "description": "" }, @@ -56873,11 +57749,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56885,19 +57765,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;categories\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;categories\"\n}" }, "description": "" }, @@ -56931,11 +57811,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -56943,19 +57827,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;categories\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;categories\"\n}" }, "description": "" }, @@ -56989,11 +57873,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57001,19 +57889,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;categories\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services;categories\"\n}" }, "description": "" }, @@ -57047,11 +57935,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57059,19 +57951,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;meta services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;services;meta services\"\n}" }, "description": "" }, @@ -57105,11 +57997,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57117,19 +58013,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;services;meta services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;services;meta services\"\n}" }, "description": "" }, @@ -57163,11 +58059,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57175,19 +58075,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users\"\n}" }, "description": "" }, @@ -57221,11 +58121,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57233,19 +58137,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;users\"\n}" }, "description": "" }, @@ -57279,11 +58183,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57291,19 +58199,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contacts / users\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;contacts / users\"\n}" }, "description": "" }, @@ -57337,11 +58245,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57349,19 +58261,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contacts / users\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;contacts / users\"\n}" }, "description": "" }, @@ -57395,11 +58307,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57407,19 +58323,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contacts / users\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;users;contacts / users\"\n}" }, "description": "" }, @@ -57453,11 +58369,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57465,19 +58385,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contact templates\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;contact templates\"\n}" }, "description": "" }, @@ -57511,11 +58431,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57523,19 +58447,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contact templates\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;contact templates\"\n}" }, "description": "" }, @@ -57569,11 +58493,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57581,19 +58509,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contact templates\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;users;contact templates\"\n}" }, "description": "" }, @@ -57627,11 +58555,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57639,19 +58571,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contact groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;contact groups\"\n}" }, "description": "" }, @@ -57685,11 +58617,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57697,19 +58633,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contact groups\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;contact groups\"\n}" }, "description": "" }, @@ -57743,11 +58679,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57755,19 +58695,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;contact groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;users;contact groups\"\n}" }, "description": "" }, @@ -57801,11 +58741,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57813,19 +58757,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;time periods\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;time periods\"\n}" }, "description": "" }, @@ -57859,11 +58803,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57871,19 +58819,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;time periods\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;users;time periods\"\n}" }, "description": "" }, @@ -57917,11 +58865,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57929,19 +58881,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;users;time periods\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;users;time periods\"\n}" }, "description": "" }, @@ -57975,11 +58927,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -57987,19 +58943,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands\"\n}" }, "description": "" }, @@ -58033,11 +58989,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58045,19 +59005,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;commands\"\n}" }, "description": "" }, @@ -58091,11 +59051,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58103,19 +59067,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;checks\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;checks\"\n}" }, "description": "" }, @@ -58149,11 +59113,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58161,19 +59129,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;checks\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;checks\"\n}" }, "description": "" }, @@ -58207,11 +59175,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58219,19 +59191,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;checks\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;commands;checks\"\n}" }, "description": "" }, @@ -58265,11 +59237,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58277,19 +59253,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;notifications\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;notifications\"\n}" }, "description": "" }, @@ -58323,11 +59299,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58335,19 +59315,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;notifications\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;notifications\"\n}" }, "description": "" }, @@ -58381,11 +59361,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58393,19 +59377,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;notifications\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;commands;notifications\"\n}" }, "description": "" }, @@ -58439,11 +59423,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58451,19 +59439,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;discovery\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;discovery\"\n}" }, "description": "" }, @@ -58497,11 +59485,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58509,19 +59501,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;discovery\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;discovery\"\n}" }, "description": "" }, @@ -58555,11 +59547,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58567,19 +59563,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;discovery\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;commands;discovery\"\n}" }, "description": "" }, @@ -58613,11 +59609,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58625,19 +59625,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;miscellaneous\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;miscellaneous\"\n}" }, "description": "" }, @@ -58671,11 +59671,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58683,19 +59687,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;miscellaneous\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;miscellaneous\"\n}" }, "description": "" }, @@ -58729,11 +59733,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58741,19 +59749,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;miscellaneous\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;commands;miscellaneous\"\n}" }, "description": "" }, @@ -58787,11 +59795,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58799,19 +59811,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;connectors\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;connectors\"\n}" }, "description": "" }, @@ -58845,11 +59857,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58857,19 +59873,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;connectors\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;commands;connectors\"\n}" }, "description": "" }, @@ -58903,11 +59919,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58915,19 +59935,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;commands;connectors\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;commands;connectors\"\n}" }, "description": "" }, @@ -58961,11 +59981,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -58973,19 +59997,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications\"\n}" }, "description": "" }, @@ -59019,11 +60043,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59031,19 +60059,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications\"\n}" }, "description": "" }, @@ -59077,11 +60105,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59089,19 +60121,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;escalations\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;escalations\"\n}" }, "description": "" }, @@ -59135,11 +60167,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59147,19 +60183,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;escalations\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;escalations\"\n}" }, "description": "" }, @@ -59193,11 +60229,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59205,19 +60245,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;escalations\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications;escalations\"\n}" }, "description": "" }, @@ -59251,11 +60291,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59263,19 +60307,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;hosts\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;hosts\"\n}" }, "description": "" }, @@ -59309,11 +60353,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59321,19 +60369,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;hosts\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;hosts\"\n}" }, "description": "" }, @@ -59367,11 +60415,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59379,19 +60431,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;hosts\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications;hosts\"\n}" }, "description": "" }, @@ -59425,11 +60477,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59437,19 +60493,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;host groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;host groups\"\n}" }, "description": "" }, @@ -59483,11 +60539,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59495,19 +60555,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;host groups\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;host groups\"\n}" }, "description": "" }, @@ -59541,11 +60601,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59553,19 +60617,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;host groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications;host groups\"\n}" }, "description": "" }, @@ -59599,11 +60663,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59611,19 +60679,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;services\"\n}" }, "description": "" }, @@ -59657,11 +60725,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59669,19 +60741,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;services\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;services\"\n}" }, "description": "" }, @@ -59715,11 +60787,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59727,19 +60803,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications;services\"\n}" }, "description": "" }, @@ -59773,11 +60849,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59785,19 +60865,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;service groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;service groups\"\n}" }, "description": "" }, @@ -59831,11 +60911,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59843,19 +60927,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;service groups\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;service groups\"\n}" }, "description": "" }, @@ -59889,11 +60973,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59901,19 +60989,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;service groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications;service groups\"\n}" }, "description": "" }, @@ -59947,11 +61035,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -59959,19 +61051,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;meta services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;meta services\"\n}" }, "description": "" }, @@ -60005,11 +61097,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60017,19 +61113,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;meta services\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;notifications;meta services\"\n}" }, "description": "" }, @@ -60063,11 +61159,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60075,19 +61175,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;notifications;meta services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;notifications;meta services\"\n}" }, "description": "" }, @@ -60121,11 +61221,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60133,19 +61237,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;SNMP traps\"\n}" }, "description": "" }, @@ -60179,11 +61283,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60191,19 +61299,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;SNMP traps\"\n}" }, "description": "" }, @@ -60237,11 +61345,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60249,19 +61361,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;snmp traps\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;SNMP traps;snmp traps\"\n}" }, "description": "" }, @@ -60295,11 +61407,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60307,19 +61423,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;snmp traps\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;SNMP traps;snmp traps\"\n}" }, "description": "" }, @@ -60353,11 +61469,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60365,19 +61485,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;manufacturer\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;SNMP traps;manufacturer\"\n}" }, "description": "" }, @@ -60411,11 +61531,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60423,19 +61547,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;manufacturer\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;SNMP traps;manufacturer\"\n}" }, "description": "" }, @@ -60469,11 +61593,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60481,19 +61609,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;group\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;SNMP traps;group\"\n}" }, "description": "" }, @@ -60527,11 +61655,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60539,19 +61671,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;group\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;SNMP traps;group\"\n}" }, "description": "" }, @@ -60585,11 +61717,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60597,19 +61733,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;mibs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;SNMP traps;mibs\"\n}" }, "description": "" }, @@ -60643,11 +61779,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60655,19 +61795,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;mibs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;SNMP traps;mibs\"\n}" }, "description": "" }, @@ -60701,11 +61841,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60713,19 +61857,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;generate\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;SNMP traps;generate\"\n}" }, "description": "" }, @@ -60759,11 +61903,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60771,19 +61919,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;SNMP traps;generate\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;SNMP traps;generate\"\n}" }, "description": "" }, @@ -60817,11 +61965,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60829,19 +61981,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;knowledge base\"\n}" }, "description": "" }, @@ -60875,11 +62027,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60887,19 +62043,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;knowledge base\"\n}" }, "description": "" }, @@ -60933,11 +62089,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -60945,19 +62105,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;hosts\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;knowledge base;hosts\"\n}" }, "description": "" }, @@ -60991,11 +62151,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61003,19 +62167,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;hosts\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;knowledge base;hosts\"\n}" }, "description": "" }, @@ -61049,11 +62213,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61061,19 +62229,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;services\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;knowledge base;services\"\n}" }, "description": "" }, @@ -61107,11 +62275,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61119,19 +62291,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;services\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;knowledge base;services\"\n}" }, "description": "" }, @@ -61165,11 +62337,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61177,19 +62353,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;host templates\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;knowledge base;host templates\"\n}" }, "description": "" }, @@ -61223,11 +62399,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61235,19 +62415,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;host templates\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;knowledge base;host templates\"\n}" }, "description": "" }, @@ -61281,11 +62461,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61293,19 +62477,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;service templates\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;knowledge base;service templates\"\n}" }, "description": "" }, @@ -61339,11 +62523,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61351,19 +62539,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;knowledge base;service templates\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;knowledge base;service templates\"\n}" }, "description": "" }, @@ -61397,11 +62585,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61409,19 +62601,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers\"\n}" }, "description": "" }, @@ -61455,11 +62647,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61467,19 +62663,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers\"\n}" }, "description": "" }, @@ -61513,11 +62709,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61525,19 +62725,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;export configuration\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;export configuration\"\n}" }, "description": "" }, @@ -61571,11 +62771,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61583,19 +62787,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;export configuration\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;export configuration\"\n}" }, "description": "" }, @@ -61629,11 +62833,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61641,19 +62849,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;pollers\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;pollers\"\n}" }, "description": "" }, @@ -61687,11 +62895,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61699,19 +62911,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;pollers\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;pollers\"\n}" }, "description": "" }, @@ -61745,11 +62957,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61757,19 +62973,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;pollers\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;pollers\"\n}" }, "description": "" }, @@ -61803,11 +63019,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61815,19 +63035,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;engine configuration\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;engine configuration\"\n}" }, "description": "" }, @@ -61847,7 +63067,7 @@ } ], "request": { - "url": { + "url": { "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", "protocol": "http", "host": [ @@ -61859,13 +63079,17 @@ "index.php" ], "query": [ - { + { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, - { + { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61873,19 +63097,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], - "body": { + "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;engine configuration\"\n}" + "raw": "{\n \"action\": \"grantro\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;engine configuration\"\n}" }, "description": "" }, @@ -61919,11 +63143,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61931,19 +63159,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;engine configuration\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;engine configuration\"\n}" }, "description": "" }, @@ -61977,11 +63205,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -61989,19 +63221,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;broker configuration\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;broker configuration\"\n}" }, "description": "" }, @@ -62035,11 +63267,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62047,19 +63283,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;broker configuration\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;broker configuration\"\n}" }, "description": "" }, @@ -62093,11 +63329,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62105,19 +63345,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;broker configuration;wizard\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;broker configuration;wizard\"\n}" }, "description": "" }, @@ -62151,11 +63391,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62163,19 +63407,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;broker configuration;wizard\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;broker configuration;wizard\"\n}" }, "description": "" }, @@ -62209,11 +63453,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62221,19 +63469,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;broker configuration;wizardajax\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;broker configuration;wizardajax\"\n}" }, "description": "" }, @@ -62267,11 +63515,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62279,19 +63531,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;broker configuration;wizardajax\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;broker configuration;wizardajax\"\n}" }, "description": "" }, @@ -62325,11 +63577,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62337,19 +63593,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;resources\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;configuration;pollers;resources\"\n}" }, "description": "" }, @@ -62383,11 +63639,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62395,19 +63655,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};configuration;pollers;resources\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;configuration;pollers;resources\"\n}" }, "description": "" }, @@ -62441,11 +63701,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62453,19 +63717,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration\"\n}" }, "description": "" }, @@ -62499,11 +63763,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62511,19 +63779,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration\"\n}" }, "description": "" }, @@ -62557,11 +63825,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62569,19 +63841,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters\"\n}" }, "description": "" }, @@ -62615,11 +63887,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62627,19 +63903,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters\"\n}" }, "description": "" }, @@ -62673,11 +63949,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62685,19 +63965,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;centreon UI\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;centreon UI\"\n}" }, "description": "" }, @@ -62731,11 +64011,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62743,19 +64027,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;centreon UI\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;centreon UI\"\n}" }, "description": "" }, @@ -62789,11 +64073,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62801,19 +64089,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;monitoring\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;monitoring\"\n}" }, "description": "" }, @@ -62847,11 +64135,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62859,19 +64151,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;monitoring\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;monitoring\"\n}" }, "description": "" }, @@ -62905,11 +64197,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62917,19 +64213,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;centcore\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;centcore\"\n}" }, "description": "" }, @@ -62963,11 +64259,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -62975,19 +64275,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;centcore\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;centcore\"\n}" }, "description": "" }, @@ -63021,11 +64321,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63033,19 +64337,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;my account\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;my account\"\n}" }, "description": "" }, @@ -63079,11 +64383,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63091,19 +64399,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;my account\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;my account\"\n}" }, "description": "" }, @@ -63137,11 +64445,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63149,19 +64461,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;LDAP\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;LDAP\"\n}" }, "description": "" }, @@ -63195,11 +64507,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63207,19 +64523,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;LDAP\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;LDAP\"\n}" }, "description": "" }, @@ -63253,11 +64569,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63265,19 +64585,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;RRDtool\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;RRDtool\"\n}" }, "description": "" }, @@ -63311,11 +64631,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63323,19 +64647,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;RRDtool\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;RRDtool\"\n}" }, "description": "" }, @@ -63369,11 +64693,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63381,19 +64709,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;debug\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;debug\"\n}" }, "description": "" }, @@ -63427,11 +64755,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63439,19 +64771,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;debug\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;debug\"\n}" }, "description": "" }, @@ -63485,11 +64817,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63497,19 +64833,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;knowledge base\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;knowledge base\"\n}" }, "description": "" }, @@ -63543,11 +64879,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63555,19 +64895,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;knowledge base\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;knowledge base\"\n}" }, "description": "" }, @@ -63601,11 +64941,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63613,19 +64957,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;CSS\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;CSS\"\n}" }, "description": "" }, @@ -63659,11 +65003,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63671,19 +65019,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;CSS\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;CSS\"\n}" }, "description": "" }, @@ -63717,11 +65065,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63729,19 +65081,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;backup\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;backup\"\n}" }, "description": "" }, @@ -63775,11 +65127,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63787,19 +65143,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;backup\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;backup\"\n}" }, "description": "" }, @@ -63833,11 +65189,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63845,19 +65205,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;options\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;options\"\n}" }, "description": "" }, @@ -63891,11 +65251,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63903,19 +65267,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;options\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;options\"\n}" }, "description": "" }, @@ -63949,11 +65313,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -63961,19 +65329,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;data\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;data\"\n}" }, "description": "" }, @@ -64007,11 +65375,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64019,19 +65391,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;data\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;data\"\n}" }, "description": "" }, @@ -64065,11 +65437,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64077,19 +65453,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;images\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;images\"\n}" }, "description": "" }, @@ -64123,11 +65499,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64135,19 +65515,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;parameters;images\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;images\"\n}" }, "description": "" }, @@ -64181,11 +65561,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64193,19 +65577,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;extensions\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;extensions\"\n}" }, "description": "" }, @@ -64239,11 +65623,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64251,19 +65639,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;extensions\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;extensions\"\n}" }, "description": "" }, @@ -64297,11 +65685,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64309,19 +65701,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;extensions;modules\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;extensions;modules\"\n}" }, "description": "" }, @@ -64355,11 +65747,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64367,19 +65763,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;extensions;modules\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;extensions;modules\"\n}" }, "description": "" }, @@ -64413,11 +65809,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64425,19 +65825,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;extensions;widgets\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;extensions;widgets\"\n}" }, "description": "" }, @@ -64471,11 +65871,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64483,19 +65887,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;extensions;widgets\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;extensions;widgets\"\n}" }, "description": "" }, @@ -64529,11 +65933,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64541,19 +65949,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;ACL\"\n}" }, "description": "" }, @@ -64587,11 +65995,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64599,19 +66011,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;ACL\"\n}" }, "description": "" }, @@ -64645,11 +66057,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64657,19 +66073,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;access groups\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;ACL;access groups\"\n}" }, "description": "" }, @@ -64703,11 +66119,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64715,19 +66135,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;access groups\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;ACL;access groups\"\n}" }, "description": "" }, @@ -64761,11 +66181,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64773,19 +66197,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;menus access\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;ACL;menus access\"\n}" }, "description": "" }, @@ -64819,11 +66243,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64831,19 +66259,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;menus access\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;ACL;menus access\"\n}" }, "description": "" }, @@ -64877,11 +66305,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64889,19 +66321,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;resources access\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;ACL;resources access\"\n}" }, "description": "" }, @@ -64935,11 +66367,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -64947,19 +66383,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;resources access\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;ACL;resources access\"\n}" }, "description": "" }, @@ -64993,11 +66429,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65005,19 +66445,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;actions access\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;ACL;actions access\"\n}" }, "description": "" }, @@ -65051,11 +66491,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65063,19 +66507,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;actions access\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;ACL;actions access\"\n}" }, "description": "" }, @@ -65109,11 +66553,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65121,19 +66569,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;reload ACL\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;ACL;reload ACL\"\n}" }, "description": "" }, @@ -65167,11 +66615,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65179,19 +66631,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;ACL;reload ACL\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;ACL;reload ACL\"\n}" }, "description": "" }, @@ -65225,11 +66677,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65237,19 +66693,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;logs\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;logs\"\n}" }, "description": "" }, @@ -65283,11 +66739,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65295,19 +66755,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;logs\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;logs\"\n}" }, "description": "" }, @@ -65341,11 +66801,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65353,19 +66817,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;logs;visualisation\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;logs;visualisation\"\n}" }, "description": "" }, @@ -65399,11 +66863,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65411,19 +66879,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;logs;visualisation\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;logs;visualisation\"\n}" }, "description": "" }, @@ -65457,11 +66925,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65469,19 +66941,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;sessions\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;sessions\"\n}" }, "description": "" }, @@ -65515,11 +66987,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65527,19 +67003,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;sessions\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;sessions\"\n}" }, "description": "" }, @@ -65573,11 +67049,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65585,19 +67065,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;server status\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;server status\"\n}" }, "description": "" }, @@ -65631,11 +67111,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65643,19 +67127,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;server status\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;server status\"\n}" }, "description": "" }, @@ -65689,11 +67173,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65701,19 +67189,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;server status;databases\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;server status;databases\"\n}" }, "description": "" }, @@ -65747,11 +67235,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65759,19 +67251,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;server status;databases\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;server status;databases\"\n}" }, "description": "" }, @@ -65805,11 +67297,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65817,19 +67313,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;about\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;about\"\n}" }, "description": "" }, @@ -65863,11 +67359,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65875,19 +67375,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;about\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;about\"\n}" }, "description": "" }, @@ -65921,11 +67421,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65933,19 +67437,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;about;about\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;about;about\"\n}" }, "description": "" }, @@ -65979,11 +67483,15 @@ "query": [ { "key": "action", - "value": "action" + "value": "action", + "equals": true, + "description": "" }, { "key": "object", - "value": "centreon_clapi" + "value": "centreon_clapi", + "equals": true, + "description": "" } ], "variable": [] @@ -65991,19 +67499,19 @@ "method": "POST", "header": [ { - "description": "", "key": "Content-Type", - "value": "application/json" + "value": "application/json", + "description": "" }, { - "description": "", "key": "centreon-auth-token", - "value": "{{token}}" + "value": "{{token}}", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};administration;about;about\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;about;about\"\n}" }, "description": "" }, @@ -79139,4 +80647,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/www/api/class/centreon_clapi.class.php b/www/api/class/centreon_clapi.class.php index 7725e49dad9..932b1c08b6e 100644 --- a/www/api/class/centreon_clapi.class.php +++ b/www/api/class/centreon_clapi.class.php @@ -38,10 +38,11 @@ define('_CLAPI_LIB_', _CENTREON_PATH_ . '/lib'); define('_CLAPI_CLASS_', _CENTREON_PATH_ . '/www/class/centreon-clapi'); -set_include_path(implode(PATH_SEPARATOR, array(_CENTREON_PATH_ . '/lib', - _CENTREON_PATH_ . '/www/class/centreon-clapi', - get_include_path() - ))); +set_include_path(implode(PATH_SEPARATOR, array( + _CENTREON_PATH_ . '/lib', + _CENTREON_PATH_ . '/www/class/centreon-clapi', + get_include_path() +))); require_once _CENTREON_PATH_ . '/www/class/centreon-clapi/centreonAPI.class.php'; require_once _CLAPI_LIB_ . "/Centreon/Db/Manager/Manager.php"; @@ -58,12 +59,12 @@ public function __construct() { parent::__construct(); } - + public function postAction() { global $centreon; global $conf_centreon; - + $dbConfig['host'] = $conf_centreon['hostCentreon']; $dbConfig['username'] = $conf_centreon['user']; $dbConfig['password'] = $conf_centreon['password']; @@ -84,23 +85,23 @@ public function postAction() $db_storage->getConnection(); } catch (Exception $e) { } - + $username = $centreon->user->alias; - + CentreonClapi\CentreonUtils::setUserName($username); - + if (false === isset($this->arguments['action'])) { throw new RestBadRequestException("Bad parameters"); } - + /* Prepare options table */ $action = $this->arguments['action']; - + $options = array(); if (isset($this->arguments['object'])) { $options['o'] = $this->arguments['object']; } - + if (isset($this->arguments['values'])) { if (is_array($this->arguments['values'])) { $options['v'] = join(';', $this->arguments['values']); @@ -108,7 +109,7 @@ public function postAction() $options['v'] = $this->arguments['values']; } } - + /* Load and execute clapi option */ try { $clapi = new \CentreonClapi\CentreonAPI($username, '', $action, _CENTREON_PATH_, $options); @@ -154,26 +155,32 @@ public function postAction() } throw new RestInternalServerErrorException($contents); } - - + + $return = array(); $tmpLines = explode("\n", $contents); $lines = array(); - + /* Get object attribute name */ $headers = explode(';', $tmpLines[0]); - + /* Remove empty lines and Return end line */ for ($i = 1; $i < count($tmpLines); $i++) { if (trim($tmpLines[$i]) !== '' && strpos($tmpLines[$i], 'Return code end :') !== 0) { $lines[] = $tmpLines[$i]; } } - + $return['result'] = array(); for ($i = 0; $i < count($lines); $i++) { if (strpos($lines[$i], ';') !== false) { - $return['result'][] = array_combine($headers, explode(';', $lines[$i])); + $tmpLine = explode(';', $lines[$i]); + foreach ($tmpLine as &$line) { + if (strpos($line, "|") !== false) { + $line = explode("|", $line); + } + } + $return['result'][] = array_combine($headers, $tmpLine); } elseif (strpos($lines[$i], "\t") !== false) { $return['result'][] = array_combine($headers, explode("\t", $lines[$i])); } else { diff --git a/www/class/centreon-clapi/centreonDowntime.class.php b/www/class/centreon-clapi/centreonDowntime.class.php index 1b52b20b44c..b8cec828998 100644 --- a/www/class/centreon-clapi/centreonDowntime.class.php +++ b/www/class/centreon-clapi/centreonDowntime.class.php @@ -55,19 +55,19 @@ class CentreonDowntime extends CentreonObject { const ORDER_UNIQUENAME = 0; const ORDER_ALIAS = 1; - + /** * * @var array */ protected $weekDays; - + /** * * @var type */ protected $serviceObj; - + /** * * @var array @@ -98,15 +98,15 @@ public function __construct() $this->nbOfCompulsoryParams = count($this->insertParams); $this->activateField = 'dt_activate'; $this->weekDays = array( - 'monday' => 1, - 'tuesday' => 2, + 'monday' => 1, + 'tuesday' => 2, 'wednesday' => 3, - 'thursday' => 4, - 'friday' => 5, - 'saturday' => 6, - 'sunday' => 7 + 'thursday' => 4, + 'friday' => 5, + 'saturday' => 6, + 'sunday' => 7 ); - + $this->availableCycles = array( 'first', 'second', @@ -117,16 +117,15 @@ public function __construct() } /** - * Display all Host Groups - * - * @param string $parameters - * @return void + * @param null $parameters + * @throws CentreonClapiException */ public function show($parameters = null) { $filters = array(); - if (isset($parameters)) { - $filters = array($this->object->getUniqueLabelField() => "%".$parameters."%"); + if (isset($parameters) && $parameters !== '') { + $filter = explode(';', $parameters); + $filters = array($this->object->getUniqueLabelField() => "%" . $filter[0] . "%"); } $params = array( 'dt_id', @@ -135,11 +134,49 @@ public function show($parameters = null) 'dt_activate', ); $paramString = str_replace("dt_", "", implode($this->delim, $params)); - echo $paramString . "\n"; $elements = $this->object->getList($params, -1, 0, null, null, $filters); + + if (empty($elements)) { + throw new CentreonClapiException(self::OBJECT_NOT_FOUND); + } + + if (count($filter) === 0) { + echo $paramString . "\n"; + $filterList = ''; + } else { + foreach ($elements as $element) { + if (isset($filter[1])) { + switch (strtolower($filter[1])) { + case 'host': + echo $paramString . ";hosts\n"; + $filterList = ';' . $this->listHosts($element["dt_id"]); + break; + case 'hg': + echo $paramString . ";host groups\n"; + $filterList = ';' . $this->listHostGroups($element["dt_id"]); + break; + case 'service': + echo $paramString . ";services\n"; + $filterList = ';' . $this->listServices($element["dt_id"]); + break; + case 'sg': + echo $paramString . ";service groups\n"; + $filterList = ';' . $this->listServiceGroups($element["dt_id"]); + break; + default : + throw new CentreonClapiException(self::UNKNOWNPARAMETER); + } + } else { + echo $paramString . ";hosts;host groups;services;service groups\n"; + $filterList = ';' . $this->listResources($element["dt_id"]); + } + } + } + foreach ($elements as $tab) { - echo implode($this->delim, $tab) . "\n"; + echo implode($this->delim, $tab) . $filterList . "\n"; } + } /** @@ -178,12 +215,12 @@ public function setparam($parameters = null) } if (($objectId = $this->getObjectId($params[self::ORDER_UNIQUENAME])) != 0) { if (!preg_match("/^dt_/", $params[1])) { - $params[1] = "dt_".$params[1]; + $params[1] = "dt_" . $params[1]; } $updateParams = array($params[1] => $params[2]); parent::setparam($objectId, $updateParams); } else { - throw new CentreonClapiException(self::OBJECT_NOT_FOUND.":".$params[self::ORDER_UNIQUENAME]); + throw new CentreonClapiException(self::OBJECT_NOT_FOUND . ":" . $params[self::ORDER_UNIQUENAME]); } } @@ -199,13 +236,18 @@ public function listperiods($parameters) $rows = $this->getPeriods($dtId); echo implode( - $this->delim, - array( - 'position', - 'start time', 'end time', 'fixed', 'duration', - 'day of week', 'day of month', 'month cycle' - ) - ) . "\n"; + $this->delim, + array( + 'position', + 'start time', + 'end time', + 'fixed', + 'duration', + 'day of week', + 'day of month', + 'month cycle' + ) + ) . "\n"; $pos = 1; foreach ($rows as $row) { unset($row['dt_id']); @@ -304,18 +346,17 @@ public function addspecificperiod($parameters) $p[':day_of_month'] = null; $cycle = strtolower($tmp[6]); - + if (!in_array($cycle, $this->availableCycles)) { throw new CentreonClapiException( sprintf('Invalid cycle format %s. Must be "first", "second, "third", "fourth" or "last"', $cycle) ); } - + $p[':month_cycle'] = $cycle; $this->insertPeriod($p); } - /** * Delete period from downtime * @@ -342,7 +383,7 @@ public function delperiod($parameters) $periodParams = array(); foreach ($period as $k => $v) { if ($v == "") { - $sql = str_replace("{$k} = ?", "{$k} IS NULL", $sql); + $sql = str_replace("{$k} = ?", "{$k} IS NULL", $sql); } else { $periodParams[] = $v; } @@ -350,15 +391,95 @@ public function delperiod($parameters) $this->db->query($sql, $periodParams); } + /** + * @param $downtimeId + * @return string + */ + public function listHosts($downtimeId) + { + // hosts + $sql = "SELECT host_name + FROM downtime_host_relation dhr, host h + WHERE h.host_id = dhr.host_host_id + AND dhr.dt_id = ?"; + $stmt = $this->db->query($sql, array($downtimeId)); + $rows = $stmt->fetchAll(); + $hosts = array(); + foreach ($rows as $row) { + $hosts[] = $row['host_name']; + } + return implode("|", $hosts); + } + + /** + * @param $downtimeId + * @return string + */ + public function listHostGroups($downtimeId) + { + // host groups + $sql = "SELECT hg_name + FROM downtime_hostgroup_relation dhr, hostgroup hg + WHERE hg.hg_id = dhr.hg_hg_id + AND dhr.dt_id = ?"; + $stmt = $this->db->query($sql, array($downtimeId)); + $rows = $stmt->fetchAll(); + $hostgroups = array(); + foreach ($rows as $row) { + $hostgroups[] = $row['hg_name']; + } + return implode("|", $hostgroups); + } + + /** + * @param $downtimeId + * @return string + */ + public function listServices($downtimeId) + { + // services + $sql = "SELECT host_name, service_description + FROM downtime_service_relation dsr, host h, service s + WHERE h.host_id = dsr.host_host_id + AND dsr.service_service_id = s.service_id + AND dsr.dt_id = ?"; + $stmt = $this->db->query($sql, array($downtimeId)); + $rows = $stmt->fetchAll(); + $services = array(); + foreach ($rows as $row) { + $services[] = $row['host_name'] . ',' . $row['service_description']; + } + return implode("|", $services); + } + /** * List resources * - * @param string $parameters | downtime name + * @param int downtime id */ - public function listresources($parameters) + public function listServiceGroups($downtimeId) { - $downtimeId = $this->getObjectId($parameters); + // service groups + $sql = "SELECT sg_name + FROM downtime_servicegroup_relation dsr, servicegroup sg + WHERE sg.sg_id = dsr.sg_sg_id + AND dsr.dt_id = ?"; + $stmt = $this->db->query($sql, array($downtimeId)); + $rows = $stmt->fetchAll(); + $servicegroups = array(); + foreach ($rows as $row) { + $servicegroups[] = $row['sg_name']; + } + return implode("|", $servicegroups); + } + /** + * List resources + * + * @param int downtime id + */ + public function listResources($downtimeId) + { // hosts $sql = "SELECT host_name FROM downtime_host_relation dhr, host h @@ -393,7 +514,7 @@ public function listresources($parameters) $rows = $stmt->fetchAll(); $services = array(); foreach ($rows as $row) { - $services[] = $row['host_name'].','.$row['service_description']; + $services[] = $row['host_name'] . ',' . $row['service_description']; } // service groups @@ -408,12 +529,8 @@ public function listresources($parameters) $servicegroups[] = $row['sg_name']; } - // print header - echo "hosts;host groups; services; service groups\n"; - echo implode("|", $hosts) . $this->delim; - echo implode("|", $hostgroups) . $this->delim; - echo implode("|", $services) . $this->delim; - echo implode("|", $servicegroups) . "\n"; + return implode("|", $hosts) . $this->delim . implode("|", $hostgroups) . $this->delim . + implode("|", $services) . $this->delim . implode("|", $servicegroups) . "\n"; } /** @@ -544,7 +661,8 @@ public function addservice($parameters) AND service_service_id = ?"; $stmt = $this->db->query($sql, array($downtimeId, $ids[0], $ids[1])); if ($stmt->rowCount()) { - throw new CentreonClapiException(sprintf('Relationship with %s / %s already exists', $host, $service)); + throw new CentreonClapiException(sprintf('Relationship with %s / %s already exists', $host, + $service)); } $objectIds[] = $ids; @@ -618,7 +736,8 @@ public function delservice($parameters) AND service_service_id = ?"; $stmt = $this->db->query($sql, array($downtimeId, $ids[0], $ids[1])); if (!$stmt->rowCount()) { - throw new CentreonClapiException(sprintf('Relationship with %s / %s does not exist', $host, $service)); + throw new CentreonClapiException(sprintf('Relationship with %s / %s does not exist', $host, + $service)); } $objectIds[] = $ids; @@ -728,21 +847,21 @@ protected function exportPeriods() } if (!is_null($periodType)) { echo implode( - $this->delim, - array_merge( - array( - $this->action, - $periodType, - $row['dt_name'], - $row['dtp_start_time'], - $row['dtp_end_time'], - $row['dtp_fixed'], - $row['dtp_duration'] - - ), - $extraData - ) - ) . "\n"; + $this->delim, + array_merge( + array( + $this->action, + $periodType, + $row['dt_name'], + $row['dtp_start_time'], + $row['dtp_end_time'], + $row['dtp_fixed'], + $row['dtp_duration'] + + ), + $extraData + ) + ) . "\n"; } } } @@ -799,7 +918,7 @@ protected function exportServicegroupRel() /** * * @param string $actionType | addhost, addhostgroup, addservice or addservicegroup - * @param string $sql | query + * @param string $sql | query */ protected function exportGenericRel($actionType, $sql) { @@ -807,14 +926,14 @@ protected function exportGenericRel($actionType, $sql) $rows = $stmt->fetchAll(); foreach ($rows as $row) { echo implode( - $this->delim, - array( - $this->action, - $actionType, - $row['dt_name'], - $row['object_name'] - ) - ) . "\n"; + $this->delim, + array( + $this->action, + $actionType, + $row['dt_name'], + $row['object_name'] + ) + ) . "\n"; } } @@ -901,10 +1020,10 @@ protected function getPeriods($downtimeId, $position = null) /** * Add resource to downtime * - * @param string $parameters | downtime name; resource names separated by "|" character + * @param string $parameters | downtime name; resource names separated by "|" character * @param Centreon_Object $object - * @param string $relTable - * @param string $relField + * @param string $relTable + * @param string $relField */ protected function addGenericRelation($parameters, $object, $relTable, $relField) { @@ -947,10 +1066,10 @@ protected function addGenericRelation($parameters, $object, $relTable, $relField /** * Delete resource from downtime * - * @param string $parameters | downtime name; resource name separated by "|" character + * @param string $parameters | downtime name; resource name separated by "|" character * @param Centreon_Object $object - * @param string $relTable - * @param string $relField + * @param string $relTable + * @param string $relField */ protected function delGenericRelation($parameters, $object, $relTable, $relField) {