diff --git a/Jenkinsfile b/Jenkinsfile index 0f215be8ace..c698fa93771 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -114,11 +114,11 @@ try { } } - stage('Acceptance tests') { + stage('Critical tests') { parallel 'centos6': { node { sh 'cd /opt/centreon-build && git pull && cd -' - sh '/opt/centreon-build/jobs/web/3.5/mon-web-acceptance.sh centos6' + sh '/opt/centreon-build/jobs/web/3.5/mon-web-acceptance.sh centos6 @critical' step([ $class: 'XUnitBuilder', thresholds: [ @@ -133,7 +133,7 @@ try { 'centos7': { node { sh 'cd /opt/centreon-build && git pull && cd -' - sh '/opt/centreon-build/jobs/web/3.5/mon-web-acceptance.sh centos7' + sh '/opt/centreon-build/jobs/web/3.5/mon-web-acceptance.sh centos7 @critical' step([ $class: 'XUnitBuilder', thresholds: [ @@ -146,11 +146,47 @@ try { } } if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') { - error('Acceptance tests stage failure.'); + error('Critical tests stage failure.'); } } if (env.BRANCH_NAME == 'master') { + stage('Acceptance tests') { + parallel 'centos6': { + node { + sh 'cd /opt/centreon-build && git pull && cd -' + sh '/opt/centreon-build/jobs/web/3.5/mon-web-acceptance.sh centos6 ~@critical' + step([ + $class: 'XUnitBuilder', + thresholds: [ + [$class: 'FailedThreshold', failureThreshold: '0'], + [$class: 'SkippedThreshold', failureThreshold: '0'] + ], + tools: [[$class: 'JUnitType', pattern: 'xunit-reports/**/*.xml']] + ]) + archiveArtifacts allowEmptyArchive: true, artifacts: 'acceptance-logs/*.txt, acceptance-logs/*.png' + } + }, + 'centos7': { + node { + sh 'cd /opt/centreon-build && git pull && cd -' + sh '/opt/centreon-build/jobs/web/3.5/mon-web-acceptance.sh centos7 ~@critical' + step([ + $class: 'XUnitBuilder', + thresholds: [ + [$class: 'FailedThreshold', failureThreshold: '0'], + [$class: 'SkippedThreshold', failureThreshold: '0'] + ], + tools: [[$class: 'JUnitType', pattern: 'xunit-reports/**/*.xml']] + ]) + archiveArtifacts allowEmptyArchive: true, artifacts: 'acceptance-logs/*.txt, acceptance-logs/*.png' + } + } + if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') { + error('Critical tests stage failure.'); + } + } + stage('Delivery') { node { sh 'cd /opt/centreon-build && git pull && cd -' @@ -168,7 +204,7 @@ try { build job: 'des-mbi-bundle-centos7', wait: false } } catch(e) { - if (env.BRANCH_NAME == 'master') { + if (env.BRANCH_NAME == 'master' && !(${e} =~ /^.+FlowInterruptedException$/)) { slackSend channel: "#monitoring-metrology", color: "#F30031", message: "*FAILURE*: `CENTREON WEB` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" + diff --git a/cron/centreon-backup.pl b/cron/centreon-backup.pl index c9e6888eb32..d9aed1a6d9b 100644 --- a/cron/centreon-backup.pl +++ b/cron/centreon-backup.pl @@ -728,7 +728,8 @@ () ################ # Make archive # ################ - `cd $TEMP_DIR && cd .. && $BIN_TAR -czf $BACKUP_DIR/$today-central.tar.gz backup`; + my $dir = basename($TEMP_DIR); + `cd $TEMP_DIR && cd .. && $BIN_TAR -czf $BACKUP_DIR/$today-central.tar.gz $dir`; if ($? ne 0) { print STDERR "Unable to make tar of backup\n"; } @@ -901,10 +902,11 @@ () print STDERR "No ssh keys for Centreon Engine\n"; } - ################## - # Make archives # - ################# - `cd $TEMP_DIR && cd .. && $BIN_TAR -czf $BACKUP_DIR/$today-centreon-engine.tar.gz backup`; + ################## + # Make archives # + ################# + my $dir = basename($TEMP_DIR); + `cd $TEMP_DIR && cd .. && $BIN_TAR -czf $BACKUP_DIR/$today-centreon-engine.tar.gz $dir`; if ($? ne 0) { print STDERR "Unable to make tar of backup\n"; } diff --git a/doc/en/administration_guide/02e.rst b/doc/en/administration_guide/02e.rst index 750c149ec94..e97d8915758 100644 --- a/doc/en/administration_guide/02e.rst +++ b/doc/en/administration_guide/02e.rst @@ -1,4 +1,5 @@ .. _centreon_parameters: + =============================================== Administration options of the Centreon platform =============================================== diff --git a/doc/en/exploitation_guide/03stats.rst b/doc/en/administration_guide/03stats.rst similarity index 100% rename from doc/en/exploitation_guide/03stats.rst rename to doc/en/administration_guide/03stats.rst diff --git a/doc/en/administration_guide/backup.rst b/doc/en/administration_guide/backup.rst index 6462fd6d08c..67f1b71301e 100644 --- a/doc/en/administration_guide/backup.rst +++ b/doc/en/administration_guide/backup.rst @@ -59,7 +59,7 @@ This part covers the configuration of centreon-backup. The following window is displayed: .. image:: /images/guide_exploitation/backup.png -:align: center + :align: center * **Backup enabled** Enable/Disable backup * **Backup directory** Directory where backup will be stored @@ -79,18 +79,16 @@ The following window is displayed: * **Remote directory** Remote directory for SCP export .. warning:: - **Temporary directory** can not be a folder of **Backup directory**. - ********************************** Restore of Centreon central server ********************************** Restore process is divided in two main steps: -* Re-install the Centreon platform following the installation documentation. Do not forget to upgrade system. -* Restore Centreon-Engines configuration files and Centreon databases +* Re-install the Centreon platform following the installation documentation. Do not forget to upgrade system. +* Restore Centreon-Engines configuration files and Centreon databases Configurations file restore =========================== @@ -120,13 +118,13 @@ Once Centreon server reinstalled (**same Centreon version**), unzip centreon and # gzip -d YYYY-MM-DD-centreon_storage.sql.gz # mysql centreon_storage < YYYY-MM-DD-centreon_storage.sql -.. note:: -Password is stored in configuration files previously restored. For example **$mysql_passwd** field in file "/etc/centreon/conf.pm". +This may take a while due to the size of "centreon_storage" databases. -Chis may take a while due to the size of "centreon_storage" databases. +.. note:: + Password is stored in configuration files previously restored. For example **$mysql_passwd** field in file "/etc/centreon/conf.pm". .. note:: -The default configuration does not define any password for mysql root user. That's why we can connect to database using only command "mysql". + The default configuration does not define any password for mysql root user. That's why we can connect to database using only command "mysql". SSH keys restore ================ @@ -150,7 +148,7 @@ Connection test from central to poller:: Answer "Yes" to the ask question. This is about add poller print on the central server. .. note:: -You have to do this operations only if you work with a distributed environment. + You have to do this operations only if you work with a distributed environment. Plugins restore =============== @@ -189,7 +187,7 @@ In case you're using NRPE or NSCA agents, you have to reinstall and then restore # cp nsca.cfg /etc/centreon-engine/ .. note:: -You have to do this only if you're using the monitoring agents. + You have to do this only if you're using the monitoring agents. Generate Centreon-Engine configuration files within centreon ============================================================ diff --git a/doc/en/administration_guide/index.rst b/doc/en/administration_guide/index.rst index 3761091b62e..932588f6dbe 100644 --- a/doc/en/administration_guide/index.rst +++ b/doc/en/administration_guide/index.rst @@ -8,13 +8,11 @@ Administration :maxdepth: 2 :glob: - 02a 02b 02c 02d 02e 02f - 02g 02h 02i 02j @@ -22,3 +20,4 @@ Administration 02l backup partitioning/index + 03stats diff --git a/doc/en/administration_guide/partitioning/index.rst b/doc/en/administration_guide/partitioning/index.rst index 7700053c49b..cccdbbeb849 100644 --- a/doc/en/administration_guide/partitioning/index.rst +++ b/doc/en/administration_guide/partitioning/index.rst @@ -68,6 +68,5 @@ Contents: .. toctree:: :maxdepth: 2 - prerequisite/index user/index diff --git a/doc/en/api/clapi/objects/acl_menu.rst b/doc/en/api/clapi/objects/acl_menu.rst index 26631e07f71..949fb5bb5d7 100644 --- a/doc/en/api/clapi/objects/acl_menu.rst +++ b/doc/en/api/clapi/objects/acl_menu.rst @@ -125,19 +125,19 @@ If you want to grant in Read/Write, Read Only or revoke menus in an ACL Menu rul Let's assume that you would like to grant full access to the [Monitoring] menu in your ACL Menu rule::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;Monitoring" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;1;Monitoring" Then, you would like to grant access to the [Home] > [Poller statistics] menu::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;Home;Poller statistics" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;1;Home;Poller statistics" Then, you would like to grant access in read only to the [Configuration] > [Hosts] menu::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantro -v "ACL Menu test;Configuration;Hosts" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantro -v "ACL Menu test;1;Configuration;Hosts" Then, you decide to revoke access from [Monitoring] > [Event Logs]::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a revoke -v "ACL Menu test;Monitoring;Event Logs" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a revoke -v "ACL Menu test;1;Monitoring;Event Logs" Arguments are composed of the following columns: @@ -145,9 +145,11 @@ Arguments are composed of the following columns: ======= ============================ Order Column description ======= ============================ -1 Name of ACL menu rule +1 Name of ACL menu rule + +2 Grant/revoke children menus -2 Menu name to grant/revoke +3 Menu name to grant/revoke -n Possible sub menu name +n Possible sub menu name ======= ============================ diff --git a/doc/en/api/clapi/objects/engine_cfg.rst b/doc/en/api/clapi/objects/engine_cfg.rst index 83729ae9086..943f363910c 100644 --- a/doc/en/api/clapi/objects/engine_cfg.rst +++ b/doc/en/api/clapi/objects/engine_cfg.rst @@ -29,8 +29,7 @@ Order Description 3 Instance that is linked to centreon-engine.cfg 4 Comments regarding the configuration file -======= ============================================== - +======= =============================================== Add --- diff --git a/doc/en/api/clapi/objects/index.rst b/doc/en/api/clapi/objects/index.rst index 78800fe021d..5ff15e93fb1 100644 --- a/doc/en/api/clapi/objects/index.rst +++ b/doc/en/api/clapi/objects/index.rst @@ -10,13 +10,13 @@ Object management acl_menu acl_resource broker_cfg - cgi_cfg commands contacts contact_templates contact_groups dependencies downtimes + engine_cfg host_templates hosts host_categories @@ -24,9 +24,6 @@ Object management host_group_services instances ldap_servers - nagios_cfg - ndo2db_cfg - ndomod_cfg resource_cfg service_templates services diff --git a/doc/en/api/clapi/objects/service_templates.rst b/doc/en/api/clapi/objects/service_templates.rst index a79dcd65654..8d02f6eb5b9 100644 --- a/doc/en/api/clapi/objects/service_templates.rst +++ b/doc/en/api/clapi/objects/service_templates.rst @@ -150,7 +150,7 @@ first_notification_delay First notification delay in seconds recovery_notification_delay Recovery notification delay -parallelize_checks 1 when parallelize checks are enabled, 0 otherwise +parallelize_check 1 when parallelize checks are enabled, 0 otherwise obsess_over_service 1 when obsess over service is enabled, 0 otherwise @@ -194,7 +194,7 @@ service_notification_options Notification options (w,u,c,r,f,s) .. note:: You need to generate your configuration file and restart monitoring engine in order to apply changes. -.. _addhosttemplate-and-sethosttemplate +.. _addhosttemplate-and-sethosttemplate: Addhosttemplate and Sethosttemplate ----------------------------------- diff --git a/doc/en/api/restApi/index.rst b/doc/en/api/restApi/index.rst deleted file mode 100644 index e6c13e6b3b0..00000000000 --- a/doc/en/api/restApi/index.rst +++ /dev/null @@ -1,17 +0,0 @@ -======== -Rest API -======== - -The Rest API is a Centreon API that enables users to configure their monitoring system through HTTP. - -This documentation aims to introduce all the actions you can perform with Centreon CLAPI, from adding host objects to restarting a remote monitoring poller. - -Contents: - -.. toctree:: - :maxdepth: 1 - - overview - engine_management - objects/index - import_export.rst diff --git a/doc/en/configuration_guide/advanced_configuration/macros.rst b/doc/en/configuration_guide/advanced_configuration/macros.rst index a7740f3959f..c0e829ae79a 100644 --- a/doc/en/configuration_guide/advanced_configuration/macros.rst +++ b/doc/en/configuration_guide/advanced_configuration/macros.rst @@ -36,6 +36,7 @@ There are several advantages to using customised macros instead of arguments: * The function of the macro is defined in its name. The macro $_HOSTMOTDEPASSEINTRANET$ is easier to read than $ARG1$ * The macros inherit models of hosts and of services, the hence it is possible to modify a single macro for a host or a service. On the other hand, the arguments all need to be redefined if a single argument is changed * The number of arguments is limited to 32, unlike customised macros which are unlimited + A macro of a host is used to define a variable that is specific to the host and which will not change regardless of the service questioned: host connection identifiers, a port of connection to a particular service, an SNMP community, etc. A macro of a service is used more to define settings specific to a service: a WARNING / CRITICAL threshold, a partition to be questioned, etc. diff --git a/doc/en/configuration_guide/advanced_configuration/metaservices.rst b/doc/en/configuration_guide/advanced_configuration/metaservices.rst index 3424579f4d1..660db931a81 100644 --- a/doc/en/configuration_guide/advanced_configuration/metaservices.rst +++ b/doc/en/configuration_guide/advanced_configuration/metaservices.rst @@ -102,6 +102,7 @@ If you have chosen the option **Service list**, in the screen containing all the * The **Host** field serves to select the host to which the service to be selected belongs. * The **Service** field serves to choose the service (first list) as well as the metric in this service (second list). * The **Status** and **Comment** fields serve to enable / disable or comment on the indicator. + 3. Repeat the operation until you have added all the indicators necessary for the calculation of the meta-service. .. note:: diff --git a/doc/en/configuration_guide/category.rst b/doc/en/configuration_guide/category.rst index 5fb52c59d66..49c54538ff7 100644 --- a/doc/en/configuration_guide/category.rst +++ b/doc/en/configuration_guide/category.rst @@ -28,6 +28,8 @@ To add a category of hosts: * The **Level** and **Icon** fields define a criticality level and an associated icon respectively. * The **Status** and **Comment** fields allow us to enable or disable the category of host and to comment on it. +.. _servicecategory: + ********************** Categories of services ********************** diff --git a/doc/en/configuration_guide/imp/index.rst b/doc/en/configuration_guide/imp/index.rst index 7f60a198e57..aa5a04553a4 100644 --- a/doc/en/configuration_guide/imp/index.rst +++ b/doc/en/configuration_guide/imp/index.rst @@ -113,7 +113,7 @@ Your account is now available. You can link your Centreon platform. .. image:: /_static/images/configuration/website/create_account_05.png :width: 1000 px - :align: center + :align: center 2. Link your Centreon platform ------------------------------ diff --git a/doc/en/configuration_guide/poller/03wizards.rst b/doc/en/configuration_guide/poller/03wizards.rst index 8a461e6e74f..36cc22b9011 100644 --- a/doc/en/configuration_guide/poller/03wizards.rst +++ b/doc/en/configuration_guide/poller/03wizards.rst @@ -42,9 +42,6 @@ Configuration of a poller for a distributed architecture :align: center :alt: Schema distributed monitoring -.. note:: - :alt: Schema distributed monitoring - #. Choose **Simple poller** #. Enter a name for the configuration #. Select a poller diff --git a/doc/en/exploitation_guide/general/index.rst b/doc/en/exploitation_guide/general/index.rst index 019c01a94c7..e2ceef923ef 100644 --- a/doc/en/exploitation_guide/general/index.rst +++ b/doc/en/exploitation_guide/general/index.rst @@ -1,5 +1,3 @@ -.. _configuration_start: - ####### General ####### diff --git a/doc/en/exploitation_guide/monitoring/index.rst b/doc/en/exploitation_guide/monitoring/index.rst deleted file mode 100644 index 0286c77a7a6..00000000000 --- a/doc/en/exploitation_guide/monitoring/index.rst +++ /dev/null @@ -1,12 +0,0 @@ -========== -Monitoring -========== - -.. toctree:: - :maxdepth: 2 - :glob: - - 01customview - 03stats - 04realtime - 05logs diff --git a/doc/en/extendcentreon/index.rst b/doc/en/extendcentreon/index.rst deleted file mode 100644 index af04996ef82..00000000000 --- a/doc/en/extendcentreon/index.rst +++ /dev/null @@ -1,11 +0,0 @@ -=============================================== -Comment développer des extensions pour Centreon -=============================================== - -Ce chapitre est une reprise sans traduction de la documentation anglaise. - -.. toctree:: - :maxdepth: 2 - - writemodule - writewidget diff --git a/doc/en/extendcentreon/writemodule.rst b/doc/en/extendcentreon/writemodule.rst deleted file mode 100644 index 1d2a2e1330b..00000000000 --- a/doc/en/extendcentreon/writemodule.rst +++ /dev/null @@ -1,132 +0,0 @@ -===================== -How to write a module -===================== - -You want to create a new module for Centreon 2 or to adapt an existing -one? You're at the right place! - -You should know Centreon contains a page dedicated to the installation -and the uninstallation of modules (*Administration > Modules*). To -make the module appears on this page, its directory must be placed -inside Cetreon's ``modules/`` directory. Example:: - - /usr/local/centreon/www/modules/module-Dummy - - An empty module template can be found inside `Centreon's repository - `_. - - ***** - Basis - ***** - - The essential elements your module's directory must contain are presented below (\* = required): - - **[conf.php]\***:: - - // Short module's name. Must be equal to your module's directory name - $module_conf['dummy']['name'] = "dummy"; - // Full module's name - $module_conf['dummy']['rname'] = "Dummy Module"; - // Module's version - $module_conf['dummy']['mod_release'] = "2.0"; - // Additional information - $module_conf['dummy']['infos'] = "First of all"; - // Allow your module to be uninstalled - $module_conf['dummy']['is_removeable'] = "1"; - // Module author's name - $module_conf['dummy']['author'] = "Centreon Team"; - // 1: the module executes an SQL file for installation and/or uninstallation - // 0: the module doesn't execute any SQL file - $module_conf['dummy']['sql_files'] = "1"; - // 1: the module executes a PHP file for installation and/or uninstallation - // 0: the module doesn't execute any SQL file - $module_conf['dummy']['php_files'] = "1"; - -**[infos > infos.txt]** - -This file can contain various information about your module. - -**[php > install.php]** - -This PHP file is executed at module installation if it is configured -inside the *conf.php* file. - -**[php > uninstall.php]** - -This PHP file is executed at module uninstallation if it is configured -inside the *conf.php* file. - -**[sql > install.sql]** - -This SQL file is executed during the module installation if it is -configured inside the *conf.php* file. If you want your module to be -available from Centreon menus, you must insert new entries into the -``topology`` table of the ``centreon`` database. An example is -available inside the ``Dummy`` module. - -**[sql > uninstall.sql]** - -This SQL file is executed during the module uninstallation if it is -configured inside the *conf.php* file. It can also remove your module -from Centreon menus. - -**[generate_files > \*.php]** - -The PHP files contained inside the ``generate_files`` directory will -be executed during the configuration files generation (inside -*Configuration > Monitoring Engines*). Those files must generate -configuration files. - -**[UPGRADE > dummy-x.x > sql > upgrade.sql]** - -Centreon provides an upgrade system for modules. To use it, just add a -directory under ``UPGRADE`` named using the following pattern: -``-``. When clicking on the upgrade button, -Centreon will search for scripts to execute, following the logical -order of versions. - -For example, if the version 1.0 of the dummy module is installed and -the following directories exist:: - - $ ls UPGRADE - dummy-1.1 dummy-1.2 - -Centreon will execute the scripts in the following order : 1.1, 1.2. A -configuration file in each upgrade directory is present in order to -allow (or not) the execution. - -You're free to organize the remaining files (your module's content) as -you like. - -******** -Advanced -******** - -That's great, you know how to install a module! As an empty module is -not really usefull, put your imagination at work. Knowing that you can -do almost everything, it should not be too complicated :-). - -Connecting to the database -========================== - -You can use the ``centreon``, ``centstorage`` and ``ndo`` databases by -calling the following file: ``centreon/www/class/centreonDB.class.php``. - -For example, execute requests like this: - -.. sourcecode:: php - - query("SELECT * FROM host"); - ?> - -Existing functions -================== - -You can access most of the functions already developed within Centreon -using ``include()`` statements. They're generally stored in -``centreon/www/class/``. - -Before developing your own function, check the existing code, it could -spare your time! diff --git a/doc/en/extendcentreon/writewidget.rst b/doc/en/extendcentreon/writewidget.rst deleted file mode 100644 index c892f8cf0b9..00000000000 --- a/doc/en/extendcentreon/writewidget.rst +++ /dev/null @@ -1,253 +0,0 @@ -===================== -How to write a widget -===================== - -Centreon (since version 2.4) offers a custom view system which allows -user to view one or different widgets in the same page : *Home > -Custom views*. - -You may have specific needs that are not yet covered by our widget -catalog and this tutorial will explain to you how to write your first -widget for Centreon. - -*********************************** -Should I make a widget or a module? -*********************************** - -If you are wondering if you should be making a module or a widget, -then ask yourself if your project is meant to contain many menus or is -it rather a plain page which is going to display little information? - -Of course, you could make a widget that would only work with a certain -module. - -******************* -Directory structure -******************* - -Widgets work pretty much like Modules. They have to be placed in -the following directory:: - - # centreon/www/widgets/nameOfYourWidget/ - -Your widget must contain one mandatory file named **configs.xml** at its root. - -****************** -Configuration file -****************** - -This is the XML configuration file of our Dummy widget: - -.. code-block:: xml - - - Dummy - Centreon - contact@centreon.com - http://www.centreon.com - Dummy widget - 1.0.3 - dummy, widget, centreon - - ./widgets/dummy/resources/logoCentreon.png - ./widgets/dummy/index.php - - - - - - - - - - - - - -Now, let's see what these tags refer to. - -Basic tags -========== - -\* = Mandatory tag - -============== ================================================================ -Tag nameDescription -============== ================================================================ -title* Title of your widget - -author* Your name - -email Your email address - -website URL of your project - -description* Short description of your widget - -version* Version of your widget. Increment this number whenever you - publish a new version. - -keywords A few key words that describe your widget - -screenshot Screenshot that shows the best side of your widget. Screenshot - should be placed within your widget directory. - -thumbnail Logo of your project. Best size is 100px x 25px. Thumbnail - shoud be placed within your widget directory. - -url* Path of the main page of your widget - -autorefresh This parameter is not implemented yet -============== ================================================================ - -Parameter attributes -==================== - -\* = *Mandatory parameter* - -====================== ======================================================== -Tag attributes Description -====================== ======================================================== -label* Label of the parameter - -name* Name of the parameter that will be used for retrieving - its value - -defaultValue* Default Value of the parameter - -requirePermission Value can be "1" or "0". When set to 1, this parameter - will not be shown to unauthorized users. - -type* Parameter type, must be one of the following: - text,boolean,date,list,range,compare,host,hostgroup, - hostTemplate,servicegroup,serviceTemplate - -min* For range type only. It refers to the minimum value - of the range parameter - -max* For range type only. It refers to the maximum value - of the range parameter - -step* For range type only. It refers to the step value of - the range parameter -====================== ======================================================== - -Parameter type -============== - -====================== ======================================================== -Type name Description -====================== ======================================================== -text Renders a text input element - -boolean Renders a checkbox - -date Renders two text input elements. One for the date of - start, the other one for the date of end. - -list Renders a selectbox. The selectbox will be populated - with the option tags which have to be defined within the - preference tag. - -range Renders a selectbox which will be populated with values - depending on the min, max and step definitions. - -compare Renders a selectbox and a text input. Selectbox will - contain SQL operands such as:: - - > : greater than - < : less than - >= : greater or equal - <= : less or equal - = : equal - != : not equal - LIKE : can be used with the wildcard %% - NOT LIKE : can be used with the wildcard %% - -host Renders a selectbox populated with a list of hosts. - -hostgroup Renders a selectbox populated with a list of hostgroups. - -hostTemplate Renders a selectbox populated with a list of host - templates. - -servicegroup Renders a selectbox populated with a list of - servicegroups. - -serviceTemplate Renders a selectbox populated with a list of service - templates. -====================== ======================================================== - -The preference window would look like this as a result: - -.. image:: /_static/images/extending/pref_dummy_widget.png - :align: center - -**** -Code -**** - -All langages are separated in differents files, one file for each langage. The file "configs.xml" call the php's file and the php's file call html's file etc... - -We use Smarty, it's an engine and template'php compiler (http://smarty.net). - - -To use Smarty you need to : - -.. source-code:: php - - require_once $centreon_path . 'GPL_LIB/Smarty/libs/Smarty.class.php'; - -1.configuration of smarty: - -.. source-code:: php - - $path = $centreon_path . "www/widgets/Dummy/src/"; - $template = new Smarty(); - $template = initSmartyTplForPopup($path, $template, "./", $centreon_path); - -2.creating php template to be use in html: - -.. source-code:: php - - $template->assign('widgetId', $widgetId); - $template->assign('autoRefresh', $autoRefresh); - $template->assign('data', $data); - -3.affectation of html's file to execute: - -.. source-code:: php - - $template->display('dummy.ihtml'); - - -To call template php's variable in the html look dummy.ihtml - -To do request in database: - -initialization of databases's centreon, centreon storage and recovering preferences: - -.. sourcecode:: php - - try { - global $pearDB; - - $db_centreon = new CentreonDB("centreon"); - $db = new CentreonDB("centstorage"); - $pearDB = $db_centreon; - - $widgetObj = new CentreonWidget($centreon, $db_centreon); - $preferences = $widgetObj->getWidgetPreferences($widgetId); - $autoRefresh = 0; - if (isset($preferences['refresh_interval'])) { - $autoRefresh = $preferences['refresh_interval']; - } - } catch (Exception $e) { - echo $e->getMessage() . "
"; - exit; - } - -then request in database with class' methods. - diff --git a/doc/en/installation/from_centreon.rst b/doc/en/installation/from_centreon.rst index 011197b9346..09829322317 100644 --- a/doc/en/installation/from_centreon.rst +++ b/doc/en/installation/from_centreon.rst @@ -287,7 +287,7 @@ Centreon IMP needs the technical components Centreon License Manager and Centreon Plugin Pack Manager to work. Install packages ----------------- +================ When using Centreon ISO, installation of Centreon Plugin Pack Manager is very easy. You'll see that Centreon License Manager will be installed too @@ -298,7 +298,7 @@ as a dependency. $ yum install centreon-pp-manager Web install ------------ +=========== Once the packages installed, you need to enable the module in Centreon. So get to the Administration -> Extensions -> Modules page. diff --git a/doc/en/installation/from_packages.rst b/doc/en/installation/from_packages.rst index c79b5dfc529..088409db3da 100644 --- a/doc/en/installation/from_packages.rst +++ b/doc/en/installation/from_packages.rst @@ -29,6 +29,9 @@ To install Centreon software from the repository, you should first install the f Perform the following command from a user with sufficient rights. +Centreon Repository +------------------- + For CentOS 6. :: @@ -153,3 +156,59 @@ Setting this option into /etc/my.cnf will NOT work. # echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf # systemctl daemon-reload # service mysql restart + +Launch services during the system startup +----------------------------------------- + +Enable the automatically start of services during the system startup. + +Execute these commands on central server. + +* **CentOS v6** :: + + # chkconfig httpd on + # chkconfig snmpd on + # chkconfig mysql on + +* **CentOS v7** :: + + # systemctl enable httpd.service + # systemctl enable snmpd.service + # systemctl enable mysql.service + +.. note:: + If MySQL database is on a dedicated server, execute the enable command of mysql on DB server. + +Conclude installation +--------------------- + +:ref:`click here to finalise the installation process `. + +******************* +Installing a poller +******************* + +This chapter describes the installation of a collector. + +Perform the command: + +:: + + $ yum install centreon-poller-centreon-engine + +The communication between a central server and a poller server is by SSH. + +You should exchange the SSH keys between the servers. + +If you don’t have any private SSH keys on the central server for the Centreon user: + +:: + + $ su - centreon + $ ssh-keygen -t rsa + +Copy this key on the collector: + +:: + + $ ssh-copy-id centreon@your_poller_ip diff --git a/doc/en/installation/from_sources.rst b/doc/en/installation/from_sources.rst index 41d666e74eb..2ebad55b6a4 100644 --- a/doc/en/installation/from_sources.rst +++ b/doc/en/installation/from_sources.rst @@ -148,7 +148,7 @@ Install this Stream Multiplexers before continuing with the installation. Centreon ******** -Download the latest version of Centreon :ref:`here `. +Download the latest version of Centreon `here `_. Shell Installation @@ -238,7 +238,7 @@ Answer [y] to all the questions. Definition of installation paths --------------------------------- + -------------------------------- :: @@ -323,7 +323,7 @@ Monitoring user --------------- This is the user used to run the monitoring engine (Centreon Engine). If you followed the -`official installation procedure `_ +`Centreon Engine official installation procedure `_ the user will likely be *centreon-engine*. :: @@ -333,7 +333,7 @@ the user will likely be *centreon-engine*. > This is the user used to run the stream broker (Centreon Broker). If you followed the -`official installation procedure `_ +`Centreon Broker official installation procedure `_ the user will likely be *centreon-broker*. :: @@ -681,7 +681,7 @@ SELinux should be disabled; for this, you have to modify the file "/etc/sysconfi :: - SELINUX=disabled + SELINUX=disabled After saving the file, please reboot your operating system to apply the changes. @@ -689,7 +689,7 @@ PHP timezone should be set; go to /etc/php.d directory and create a file named p :: - date.timezone = Europe/Paris + date.timezone = Europe/Paris After saving the file, please don't forget to restart apache server. diff --git a/doc/en/installation/index.rst b/doc/en/installation/index.rst index b302d93befa..f4acef31076 100644 --- a/doc/en/installation/index.rst +++ b/doc/en/installation/index.rst @@ -16,7 +16,6 @@ Finally, you can install the platform. prerequisites architecture/index - installation/index downloads from_centreon from_packages diff --git a/doc/en/installation/prerequisites.rst b/doc/en/installation/prerequisites.rst index a6190780486..53e4e4ce7e5 100644 --- a/doc/en/installation/prerequisites.rst +++ b/doc/en/installation/prerequisites.rst @@ -63,6 +63,7 @@ The following table describes the dependent software: +----------+------------------+ | zlib | 1.2.3 | +----------+------------------+ + *************************** Select type of architecture *************************** diff --git a/doc/en/life_cycle.rst b/doc/en/life_cycle.rst index bba76efbba6..bba48193af6 100644 --- a/doc/en/life_cycle.rst +++ b/doc/en/life_cycle.rst @@ -29,7 +29,7 @@ This rule aims to provide operational support for around 2 years. +-----------------+---------------------------------------------------------+ | | Help and support non guaranteed |br| | | UNSUPPORTED | No fix(es) delivery | -| | | +| | | +-----------------+---------------------------------------------------------+ |br|\ diff --git a/doc/en/migration/index.rst b/doc/en/migration/index.rst index 4611bd0bcc8..6ad1d60ee8d 100644 --- a/doc/en/migration/index.rst +++ b/doc/en/migration/index.rst @@ -1,5 +1,3 @@ -.. _install: - ################################# Migration from Nagios to Centreon ################################# diff --git a/doc/en/quick_start/add_host.rst b/doc/en/quick_start/add_host.rst index 313d6ea0f49..770d20cc2d6 100644 --- a/doc/en/quick_start/add_host.rst +++ b/doc/en/quick_start/add_host.rst @@ -1,4 +1,5 @@ .. _add_host: + ========== Add a host ========== diff --git a/doc/en/quick_start/add_host_from_template.rst b/doc/en/quick_start/add_host_from_template.rst index 38be38b8b7b..93d1c08b32c 100644 --- a/doc/en/quick_start/add_host_from_template.rst +++ b/doc/en/quick_start/add_host_from_template.rst @@ -1,4 +1,5 @@ .. _add_host_template: + ============================= Deploy a host from a template ============================= diff --git a/doc/en/quick_start/login.rst b/doc/en/quick_start/login.rst index 760db8e72e4..ef3a6654d07 100644 --- a/doc/en/quick_start/login.rst +++ b/doc/en/quick_start/login.rst @@ -1,4 +1,5 @@ .. _centreon_login: + ===== Login ===== diff --git a/doc/en/release_notes/centreon-2.4/index.rst b/doc/en/release_notes/centreon-2.4/index.rst index 9a1d16d4077..b93ad0a3b1c 100644 --- a/doc/en/release_notes/centreon-2.4/index.rst +++ b/doc/en/release_notes/centreon-2.4/index.rst @@ -9,7 +9,6 @@ Please find here the release notes dedicated to the last 2.4.x version of Centre centreon-2.4.5 centreon-2.4.4 - centreon-2.4.2 centreon-2.4.1 centreon-2.4.0 diff --git a/doc/en/release_notes/centreon-2.5/centreon-2.5.1.rst b/doc/en/release_notes/centreon-2.5/centreon-2.5.1.rst index 05d1d86a6ac..b90b9b17f3e 100644 --- a/doc/en/release_notes/centreon-2.5/centreon-2.5.1.rst +++ b/doc/en/release_notes/centreon-2.5/centreon-2.5.1.rst @@ -8,9 +8,9 @@ WARNING If you are upgrading from Centreon 2.5.0 make sure to read the following. -.. DANGER:: -If you are upgrading from a version prior to 2.5.0, just skip this notice and follow this procedure instead: -`https://blog.centreon.com/centreon-2-5-0-release/ `_. +.. WARNING:: + If you are upgrading from a version prior to 2.5.0, just skip this notice and follow this procedure instead: + `https://blog.centreon.com/centreon-2-5-0-release/ `_. As usual, database backups are to be made before going any further. @@ -21,7 +21,7 @@ the size of your log tables. You are using NDOUtils ********************** -If you are using NDOUtils, chances are that you have plenty of duplicate entries in your log table. Follow the procedure in order to re insert the logs:: +If you are using NDOUtils, chances are that you have plenty of duplicate entries in your log table. Follow the procedure in order to re insert the logs: Copy all the log files from the remote pollers to the local poller in /var/lib/centreon/log/POLLERID/. To know the POLLERID of each of your pollers, execute the following request against the MySQL server (centreon database):: diff --git a/doc/en/release_notes/centreon-2.7/centreon-2.7.0.rst b/doc/en/release_notes/centreon-2.7/centreon-2.7.0.rst index 0c3e6c2793d..fcfa2aa0fcd 100644 --- a/doc/en/release_notes/centreon-2.7/centreon-2.7.0.rst +++ b/doc/en/release_notes/centreon-2.7/centreon-2.7.0.rst @@ -12,8 +12,10 @@ Features and Bug Fixes * Changing the graphic charter to be consistent with the new logo Centreon * Flat design (CSS and icons) * Custom view improvement + * Adding an editing or visualization mode * Graphic widgets relief to be able to put more on a page + * Adding a fullscreen mode * Menu Review for improved navigation and simplified user actions * Review og pages dedicated hosts and services pages in monitoring to include more informations. @@ -26,16 +28,19 @@ Features and Bug Fixes * Integration of a graphics module to replace a non-performing component QuickForm (Improved forms on multi element selection) * Simplifying the configuration of Centreon Broker (Temporary and Failover are automatically configured + enhanced best practices) * Ergonomic improvement of the configurations objects: + * Improved hosts form * Improved services form * Improved management macros: dynamic form system that provides the necessary inherited macros templates for proper operation of the configuration * Added ability to set a description of each macro used in commands * Review of the pathway for the generation of the configuration * Automatic creation of a configuration file for the poller when it is created + * Deleting configuration options in the Administration section, now automatically configured. This simplifies the handling of Centreon * Improved ACL system (Improved performances) * Native integration of Centreon CLAPI * Improved documentation + * Redesign Configuration part * Redesign Exploitation part * Integration of the API part @@ -76,20 +81,20 @@ Removed Features Known Bugs ---------- * ACL of pages is not fully updated during the upgrade process. So please check all your ACL pages after the migration. You may have problems with the followings pages: + * Monitoring > Hosts * Monitoring > Services * Monitoring > Performances (new page) * Monitoring > Downtimes * Monitoring > Comments * Monitoring > Eventlogs > System logs + * Graph slip not working * Pagination is broker when you go on the last page, change the number of line to the Max. Page become empty. -* If you have timeperiods used in exception or inclusion of timeperiod and now deleted, their ids stays in the database in relation table. During the sql update process, this blocks an addition of constraint on this relation table. To fix it, you have to remove old timeperiod id. - :: - - mysql> DELETE FROM timeperiod_exclude_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); - mysql> DELETE FROM timeperiod_include_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); +* If you have timeperiods used in exception or inclusion of timeperiod and now deleted, their ids stays in the database in relation table. During the sql update process, this blocks an addition of constraint on this relation table. To fix it, you have to remove old timeperiod id.:: + mysql> DELETE FROM timeperiod_exclude_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); + mysql> DELETE FROM timeperiod_include_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); How to Install ? ---------------- diff --git a/doc/en/release_notes/centreon-2.8/centreon-2.8.14.rst b/doc/en/release_notes/centreon-2.8/centreon-2.8.14.rst index 61df547c611..b6e0fbded63 100644 --- a/doc/en/release_notes/centreon-2.8/centreon-2.8.14.rst +++ b/doc/en/release_notes/centreon-2.8/centreon-2.8.14.rst @@ -5,6 +5,23 @@ Centreon Web 2.8.14 Enhancements ============ +* [API] Update CLAPI commands to show resources of a downtime PR #5705 +* [API] Add possibility to grant access to children menu (or not) PR #5694 +* [API] Add possibility to add and get list of on-demand downtime #5192 #5682 PR #5623 - beta +* [API] Add possibility to get realtime hosts status #5682 - beta +* [API] Add possibility to get realtime services status #5682 - beta +* [Documentation] Activate services at system startup PR #5698 +* [Administration] Add possibility to test proxy configuration #5561 PR #5722 Bugfix ====== + +* [API] Fix poller List #5635 +* [API] Fix list of hosts with gethosts method of Instance object #5300 PR #5603 +* [Install] Add unique key on comments table PR #5665 +* [Custom Views] Sharing View problem to select multiple users #5029 +* [Configuration] Multiple 'update mode' fields in massive changes #5266 PR #5636 +* [configuration] Massive Change on Hosts activate Stalking Option Up #4946 +* [Reporting] Reporting Dashboard messed up #5491 #5520 +* [Monitoring] No inheritance in query of notified contacts #4981 +* [Monitoring] Top counter display too much resources with ACL #5713 PR #5703 diff --git a/doc/en/release_notes/centreon-2.8/centreon-2.8.6.rst b/doc/en/release_notes/centreon-2.8/centreon-2.8.6.rst index fdd86f2d4cc..5148a03e015 100644 --- a/doc/en/release_notes/centreon-2.8/centreon-2.8.6.rst +++ b/doc/en/release_notes/centreon-2.8/centreon-2.8.6.rst @@ -19,8 +19,5 @@ If you already used a knowledge base, please execute following script : Known bugs or issues ==================== -* There's an issue in the ldap configuration form. A fix is available and will be package with the next bugfix version. Until then you can apply the patch available `here -`_ -* There's an issue on all listing pages. A fix is available and will be package with the next bugfix version. Until then you can apply the patch available `here -`_ ->>>>>>> 727633ecd... update release notes (known bugs) of 2.8.6 +* There's an issue in the ldap configuration form. A fix is available and will be package with the next bugfix version. Until then you can apply the patch available `here `_ +* There's an issue on all listing pages. A fix is available and will be package with the next bugfix version. Until then you can apply the `available patch `_ diff --git a/doc/fr/administration_guide/02e.rst b/doc/fr/administration_guide/02e.rst index ab6cb156039..f5b0c6417d2 100644 --- a/doc/fr/administration_guide/02e.rst +++ b/doc/fr/administration_guide/02e.rst @@ -1,4 +1,5 @@ .. _centreon_parameters: + =================================================== Options d'administration de la plate-forme Centreon =================================================== diff --git a/doc/fr/administration_guide/backup.rst b/doc/fr/administration_guide/backup.rst index 9cad2e5f565..016f7d3a8e5 100644 --- a/doc/fr/administration_guide/backup.rst +++ b/doc/fr/administration_guide/backup.rst @@ -79,10 +79,8 @@ La fenêtre suivante est affichée: * **Remote directory** Répertoire distant pour l'export SCP .. warning:: - **Temporary directory** ne peut pas être un sous répertoire de **Backup directory**. - ****************************************** Restauration d'un serveur central Centreon ****************************************** @@ -120,13 +118,14 @@ Une fois le serveur Centreon réinstallé (**même version de Centreon**), il su # gzip -d AAAA-MM-JJ-centreon_storage.sql.gz # mysql centreon_storage < AAAA-MM-JJ-centreon_storage.sql +Ces opérations peuvent prendre un certain temps du fait de la taille de la base "centreon_storage". + .. note:: -Le mot de passe (**password** ci-dessus), est stocké dans les fichiers de configuration restaurés précédemment. Par exemple le champ **$mysql_passwd** dans le fichier "/etc/centreon/conf.pm". + Le mot de passe (**password** ci-dessus), est stocké dans les fichiers de configuration restaurés précédemment. Par exemple le champ **$mysql_passwd** dans le fichier "/etc/centreon/conf.pm". -Ces opérations peuvent prendre un certain temps du fait de la taille de la base "centreon_storage". .. note:: -Par défaut, il n'y a pas de mot de passe pour le compte root de mysql lors de l'installation d'un serveur via Centreon ISO. + Par défaut, il n'y a pas de mot de passe pour le compte root de mysql lors de l'installation d'un serveur via Centreon ISO. La manipulation ci-dessus est valide pour des versions identiques de Centreon. @@ -154,7 +153,7 @@ Test de connexion du central central vers les satellites:: Répondre "Oui" à la question. .. note:: -Cette opération est à effectuer si et seulement si votre plate-forme est en mode distribuée. + Cette opération est à effectuer si et seulement si votre plate-forme est en mode distribuée. Restauration des plugins ======================== @@ -196,7 +195,7 @@ Si vous utilisez les agents NRPE, ou NSCA il faudra les réinstaller puis restau # cp nsca.cfg /etc/centreon-engine/ .. note:: -Cette manipulation est à utiliser si et seulement si vous utilisez les agents NRPE ou NSCA. Si vous utiliser NSCA le fichier de configuration à copier n'est pas nrpe.cfg mais nsca.cfg. + Cette manipulation est à utiliser si et seulement si vous utilisez les agents NRPE ou NSCA. Si vous utiliser NSCA le fichier de configuration à copier n'est pas nrpe.cfg mais nsca.cfg. Génération de la configuration du central ========================================= diff --git a/doc/fr/administration_guide/index.rst b/doc/fr/administration_guide/index.rst index eb6d4c98ece..3f54aea9297 100644 --- a/doc/fr/administration_guide/index.rst +++ b/doc/fr/administration_guide/index.rst @@ -8,13 +8,11 @@ Guide d'administration :maxdepth: 2 :glob: - 02a 02b 02c 02d 02e 02f - 02g 02h 02i 02j diff --git a/doc/fr/api/clapi/objects/acl_menu.rst b/doc/fr/api/clapi/objects/acl_menu.rst index 003855f2b46..951217b93b7 100644 --- a/doc/fr/api/clapi/objects/acl_menu.rst +++ b/doc/fr/api/clapi/objects/acl_menu.rst @@ -124,19 +124,19 @@ If you want to grant in Read/Write, Read Only or revoke menus in an ACL Menu rul Let's assume that you would like to grant full access to the [Monitoring] menu in your ACL Menu rule::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;Monitoring" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;1;Monitoring" Then, you would like to grant access to the [Home] > [Poller statistics] menu::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;Home;Poller statistics" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantrw -v "ACL Menu test;1;Home;Poller statistics" Then, you would like to grant access in read only to the [Configuration] > [Hosts] menu::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantro -v "ACL Menu test;Configuration;Hosts" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a grantro -v "ACL Menu test;1;Configuration;Hosts" Then, you decide to revoke access from [Monitoring] > [Event Logs]::: - [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a revoke -v "ACL Menu test;Monitoring;Event Logs" + [root@centreon ~]# ./centreon -u admin -p centreon -o ACLMENU -a revoke -v "ACL Menu test;1;Monitoring;Event Logs" Arguments are composed of the following columns: @@ -144,9 +144,11 @@ Arguments are composed of the following columns: ======= ============================ Order Column description ======= ============================ -1 Name of ACL menu rule +1 Name of ACL menu rule + +2 Grant/revoke children menus -2 Menu name to grant/revoke +3 Menu name to grant/revoke -n Possible sub menu name +n Possible sub menu name ======= ============================ diff --git a/doc/fr/api/clapi/objects/engine_cfg.rst b/doc/fr/api/clapi/objects/engine_cfg.rst index 5f40cc855f4..95e773fcb97 100644 --- a/doc/fr/api/clapi/objects/engine_cfg.rst +++ b/doc/fr/api/clapi/objects/engine_cfg.rst @@ -31,7 +31,6 @@ Order Description 4 Comments regarding the configuration file ======= =========================================== - Add --- @@ -51,7 +50,6 @@ Order Description 3 Comment regarding the configuration file ======== =========================================== - Del --- @@ -97,13 +95,12 @@ nagios_activate *1* if activated, *0* otherwise Because the list is quite long, it is best to refer to the official documentation of Engine ================ ============================================================================================================================= - Addbrokermodule --------------- If you want to add new broker module without removing existing modules, use the **ADDBROKERMODULE**:: - [root@centreon ~]# ./centreon -u admin -p centreon -o ENGINECFG -a addbrokermodule -v "Engine cfg for poller NY;/usr/lib64/centreon-engine/externalcmd.so" + [root@centreon ~]# ./centreon -u admin -p centreon -o ENGINECFG -a addbrokermodule -v "Engine cfg for poller NY;/usr/lib64/centreon-engine/externalcmd.so" Arguments are composed of the following columns: @@ -118,7 +115,6 @@ Order Column description To add multiple modules in one line, it will put the separator "|" between the name of the modules [root@centreon ~]# ./centreon -u admin -p centreon -o ENGINECFG -a addbrokermodule -v "Engine cfg for poller NY;/usr/lib64/centreon-engine/externalcmd.so|/etc/centreon-broker/central-module.xml" - Delbrokermodule --------------- diff --git a/doc/fr/api/clapi/objects/index.rst b/doc/fr/api/clapi/objects/index.rst index 78800fe021d..5f55df5e28b 100644 --- a/doc/fr/api/clapi/objects/index.rst +++ b/doc/fr/api/clapi/objects/index.rst @@ -10,13 +10,13 @@ Object management acl_menu acl_resource broker_cfg - cgi_cfg commands contacts contact_templates contact_groups dependencies downtimes + engine_cfg host_templates hosts host_categories @@ -24,9 +24,6 @@ Object management host_group_services instances ldap_servers - nagios_cfg - ndo2db_cfg - ndomod_cfg resource_cfg service_templates services @@ -36,4 +33,3 @@ Object management time_periods traps vendors - diff --git a/doc/fr/api/clapi/objects/service_templates.rst b/doc/fr/api/clapi/objects/service_templates.rst index a79dcd65654..bfc10ad3d42 100644 --- a/doc/fr/api/clapi/objects/service_templates.rst +++ b/doc/fr/api/clapi/objects/service_templates.rst @@ -150,7 +150,7 @@ first_notification_delay First notification delay in seconds recovery_notification_delay Recovery notification delay -parallelize_checks 1 when parallelize checks are enabled, 0 otherwise +parallelize_check 1 when parallelize checks are enabled, 0 otherwise obsess_over_service 1 when obsess over service is enabled, 0 otherwise @@ -194,7 +194,7 @@ service_notification_options Notification options (w,u,c,r,f,s) .. note:: You need to generate your configuration file and restart monitoring engine in order to apply changes. -.. _addhosttemplate-and-sethosttemplate +.. _addhosttemplate-and-sethosttemplate: Addhosttemplate and Sethosttemplate ----------------------------------- @@ -207,7 +207,6 @@ You may want to tie a service template to an extra host template. In order to do .. note:: You need to generate your configuration file and restart monitoring engine in order to apply changes. - Delhosttemplate --------------- diff --git a/doc/fr/configuration_guide/contact.rst b/doc/fr/configuration_guide/contact.rst index 350d0335f34..e25d7f1fb55 100644 --- a/doc/fr/configuration_guide/contact.rst +++ b/doc/fr/configuration_guide/contact.rst @@ -34,6 +34,8 @@ Informations générales * Le champ **Période de notification d'hôte/de service** permet de choisir la période temporelle pour laquelle il y a envoi de notification. * Le champ **Commande de notification d'hôte/de service** permet de choisir la commande de notification pour un hôte ou pour un service. +.. _autologin: + ************************* Authentification Centreon ************************* diff --git a/doc/fr/configuration_guide/imp/index.rst b/doc/fr/configuration_guide/imp/index.rst index d653f0d5b76..415174af35e 100644 --- a/doc/fr/configuration_guide/imp/index.rst +++ b/doc/fr/configuration_guide/imp/index.rst @@ -68,10 +68,8 @@ Centreon. En créant votre compte Centreon IMP sur le site web de Centreon, vous pouvez : -- soit accéder à 5 Plugin Packs additionnels gratuitement (essai gratuit de -Centreon IMP) -- soit souscrire à l’offre Centreon IMP et accéder à son catalogue de Plugin -Packs prêts à l’emploi couvrant à ce jour plus de 170 domaines IT. +* soit accéder à 5 Plugin Packs additionnels gratuitement (essai gratuit de Centreon IMP) +* soit souscrire à l’offre Centreon IMP et accéder à son catalogue de Plugin Packs prêts à l’emploi couvrant à ce jour plus de 170 domaines IT. +--------------------------------+-----------------------+---------------------+---------------------+ | | Centreon open source | Centreon IMP Free | Centreon IMP 1/6/12 | @@ -161,7 +159,7 @@ compte Centreon IMP dans Centreon. .. image:: /_static/images/configuration/website/create_account_05.png :width: 1000 px - :align: center + :align: center 2. Activer son compte Centreon IMP dans Centreon ------------------------------------------------ diff --git a/doc/fr/configuration_guide/poller/index.rst b/doc/fr/configuration_guide/poller/index.rst index 747883cd4e6..4dffe70a875 100644 --- a/doc/fr/configuration_guide/poller/index.rst +++ b/doc/fr/configuration_guide/poller/index.rst @@ -1,3 +1,5 @@ +.. _pollers_basic_conf: + ========================= Collecteur de supervision ========================= diff --git a/doc/fr/exploitation_guide/01customview.rst b/doc/fr/exploitation_guide/01customview.rst index ade00c2854d..b6ad58d472f 100644 --- a/doc/fr/exploitation_guide/01customview.rst +++ b/doc/fr/exploitation_guide/01customview.rst @@ -1,3 +1,5 @@ +.. _widgets_user_guide: + ======================= Les vues personnalisées ======================= diff --git a/doc/fr/exploitation_guide/03stats.rst b/doc/fr/exploitation_guide/03stats.rst deleted file mode 100644 index 826b8cf5881..00000000000 --- a/doc/fr/exploitation_guide/03stats.rst +++ /dev/null @@ -1,95 +0,0 @@ -============================== -Statistiques de l'ordonnanceur -============================== - -L'interface Centreon propose à l'utilisateur de visualiser les statistiques de l'ensemble des ordonnanceurs ainsi que celles liées au broker. - -*************************** -Informations de performance -*************************** - -Pour visualiser les informations de performances de votre ordonnanceur : - -#. Rendez-vous dans le menu **Accueil** ==> **Statistiques de l'ordonnanceur** -#. Dans le menu de gauche, cliquez sur **Informations de performance** -#. Choisissez votre ordonnanceur dans la liste déroulante **Collecteur** - -.. image :: /images/guide_utilisateur/supervision/03statsordonnanceur.png - :align: center - -Plusieurs tableaux permettent de visualiser les performances de vos ordonnanceurs : - -* Le tableau **Actuellement contrôlés** permet de visualiser le nombre d'hôtes et de services contrôlés depuis la dernière minute, les cinq dernières minutes, le dernier quart d'heure ou la dernière heure. -* Le tableau **Temps de latence des contrôles** permet de visualiser les temps de latence minimum, maximum et moyen des contrôles effectués sur les hôtes et les services. -.. warning:: - Plus le temps de latence est élevé, plus les contrôles sont exécutés en retard vis-à-vis de l'heure initiale programmée par l'ordonnanceur. Cela implique une potentielle charge élevée du serveur. - -* Le tableau **Utilisation du buffer** permet de visualiser le nombre de commandes externes en attente de traitements par l'ordonnanceur. - -.. warning:: - Dans le cas d'une supervision passive injectant de nombreuses commandes externes à l'ordonnanceur, il est nécessaire de contrôler cette valeur. En effet, si celle-ci est trop proche de la taille limite, il est possible de perdre des commandes, il faut donc augmenter la taille du buffer. - -* Le tableau **Statut** donne un bref aperçu des statuts pour les hôtes et les services -* Le tableau **Temps d'exécution des contrôles** permet de visualiser le temps d'exécution d'une sonde, c'est-à-dire le temps entre son lancement et le moment où elle transmet l'information à l'ordonnanceur. - -.. warning:: - Plus le temps d'exécution est élevé, plus cela est pénalisant pour l'exécution des autres processus en file d'attente et génère de la latence. Les plugins doivent être performants pour ne pas engendrer de latence. - -********************** -Statistiques du broker -********************** - -Pour visualiser les statistiques de Centreon Broker : - -#. Rendez-vous dans le menu **Accueil** ==> **Statistiques de l'ordonnanceur** -#. Dans le menu de gauche, cliquez sur **Statistiques du broker** -#. Choisissez votre collecteur dans la liste **Collecteur** - -.. image :: /images/guide_utilisateur/supervision/03statsbroker.png - :align: center - -Les performances de Centreon Broker sont classées entités de Centreon Broker (module ordonnanceur, Broker-RRD, Broker-Central). - -Pour chaque entité, l'interface web de Centreon affiche : - -* La liste des modules de Centreon Broker chargé -* Les performances d'entrée/sortie - -Les performances d'entrée/sortie -================================ - -Chaque performance contient plusieurs informations : - -.. image :: /images/guide_utilisateur/supervision/03brokerperf.png - :align: center - -* Le champ **Statut** contient le statut de l'entrée, de la sortie ou l'état du module lui-même -* Le champ **Mode de récupération** indique si le fichier tampon du module est en cours d'utilisation -* Le champ **Dernier évènement à** indique la date et l'heure du dernier évènement survenu -* Le champ **Vitesse de traitement des évènements** indique le nombre d'évènement traités à la seconde -* Le champ **Dernier essai de connexion** contient la date et l'heure du dernier essai de connexion -* Le champ **Dernière connexion réalisée** contient la date et l'heure de la dernière connexion réussie -* Le champ **Pairs** décrit les entités connectées -* Le champ **Rétention des données pour connexion depuis serveur Central** indique l'activation ou non du mode de connexion à sens unique entre le serveur Centreon et le collecteur -* Le champ **File d'évènements** indique le nombre d'évènements à traiter -* Le champ **Fichier en cours de lecture** indique le fichier de failover en cours de lecture -* Le champ **Emplacement de lecture (offset)** indique l'emplacement de lecture associée au fichier de failover -* Le champ **Fichier en cours d'écriture** indique que le failover est activé en précisant le nom du fichier de failover -* Le champ **Emplacement d'écriture (offset)** indique l'emplacement d'écriture associée au fichier de failover -* Le champ **Taille maximale du fichier** indique la taille maximale du fichier de failover -* Le champ **Failover** indique le fichier temporaire de secours associé - -************** -Les graphiques -************** - -Il est également possible de visualiser les performances des moteurs de supervision sous la forme de graphiques de performances. -Pour cela : - -#. Rendez-vous dans le menu **Accueil** ==> **Statistiques de l'ordonnanceur** -#. Dans le menu de gauche, cliquez sur **Graphiques** -#. Choisissez votre collecteur dans la liste **Collecteur** -#. Choisissez la période sur laquelle vous souhaitez visualiser les graphiques de performances - -.. image :: /images/guide_utilisateur/supervision/03graphperf.png - :align: center diff --git a/doc/fr/exploitation_guide/general/index.rst b/doc/fr/exploitation_guide/general/index.rst index 019c01a94c7..e2ceef923ef 100644 --- a/doc/fr/exploitation_guide/general/index.rst +++ b/doc/fr/exploitation_guide/general/index.rst @@ -1,5 +1,3 @@ -.. _configuration_start: - ####### General ####### diff --git a/doc/fr/exploitation_guide/supervision/images/01.png b/doc/fr/exploitation_guide/supervision/images/01.png deleted file mode 100644 index 485a065f7d4..00000000000 Binary files a/doc/fr/exploitation_guide/supervision/images/01.png and /dev/null differ diff --git a/doc/fr/exploitation_guide/supervision/index.rst b/doc/fr/exploitation_guide/supervision/index.rst deleted file mode 100644 index 5286d193796..00000000000 --- a/doc/fr/exploitation_guide/supervision/index.rst +++ /dev/null @@ -1,12 +0,0 @@ -=========== -Supervision -=========== - -.. toctree:: - :maxdepth: 2 - :glob: - - 01customview - 03stats - 04realtime - 05logs diff --git a/doc/fr/faq/performance.rst b/doc/fr/faq/performance.rst index 0e65fdf0165..c3af538c360 100644 --- a/doc/fr/faq/performance.rst +++ b/doc/fr/faq/performance.rst @@ -49,7 +49,8 @@ Si des différences sont détectées, vous pouvez synchroniser votre base de don Le processus prend quelques minutes mais **si votre base de données contient un fort volume de données sans index, cela peut prendre plus de 2 heures**. Soyez sûre d'avoir assez de place disponible sur la partition pour reconstruire les index : - :: + + :: $./import-mysql-indexes -d centreon -i ../data/centreonIndexes.json -s diff --git a/doc/fr/installation/from_centreon.rst b/doc/fr/installation/from_centreon.rst index 613339dce0a..40e56b5c0b2 100644 --- a/doc/fr/installation/from_centreon.rst +++ b/doc/fr/installation/from_centreon.rst @@ -233,12 +233,13 @@ Pour démarrer l'ordonnanceur de supervision : 3. Décochez **Générer les fichiers de configuration** et **Lancer le débogage du moteur de supervision (-v)** 4. Cochez **Déplacer les fichiers générés** ainsi que **Redémarrer l'ordonnanceur** 5. Cliquez à nouveau sur **Exporter** - 6. Connectez-vous avec l'utilisateur 'root' sur votre serveur - 7. Démarrez le composant Centreon Broker:: + 6. Connectez-vous avec l'utilisateur 'root' sur votre serveur + 7. Démarrez le composant Centreon Broker: -:: +:: service cbd start + 8. Démarrez Centreon Engine :: diff --git a/doc/fr/installation/from_packages.rst b/doc/fr/installation/from_packages.rst index 28310abc100..79d0378c8c8 100644 --- a/doc/fr/installation/from_packages.rst +++ b/doc/fr/installation/from_packages.rst @@ -155,3 +155,59 @@ Changer cette option dans /etc/my.cnf NE fonctionnera PAS. # echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf # systemctl daemon-reload # service mysqld restart + +Lancer les services au démarrage +-------------------------------- + +Activer le lancement automatique de services au démarrage. + +Lancer les commandes suivantes sur le serveur Central. + +* **CentOS v6** :: + + # chkconfig httpd on + # chkconfig snmpd on + # chkconfig mysql on + +* **CentOS v7** :: + + # systemctl enable httpd.service + # systemctl enable snmpd.service + # systemctl enable mysql.service + +.. note:: + Si la base de données MySQL est sur un serveur dédié, lancer la commande d'activation mysql sur ce dernier. + +Terminer l'installation +----------------------- + +:ref:`Clicquer ici pour finaliser le processus d'installation `. + +Installer un collecteur +----------------------- + +Ce chapitre décrit l'installation d'un collecteur. + +Exécutez la commande : + +:: + + $ yum install centreon-poller-centreon-engine + +La communication entre le serveur central et un collecteur se fait via SSH. + +Vous devez échanger les clés SSH entre les serveurs. + +Si vous n'avez pas de clé SSH privées sur le serveur central pour l'utilisateur 'centreon' : + +:: + + $ su - centreon + $ ssh-keygen -t rsa + +Vous devez copier cette clé sur le collecteur : + +:: + + $ ssh-copy-id centreon@your_poller_ip + diff --git a/doc/fr/installation/from_sources.rst b/doc/fr/installation/from_sources.rst index 0b2f9dd43fb..b2f4632a2b5 100644 --- a/doc/fr/installation/from_sources.rst +++ b/doc/fr/installation/from_sources.rst @@ -342,7 +342,7 @@ Utilisateur de la supervision ----------------------------- Cet utilisateur exécute le moteur de supervision Centreon Engine. Si vous avez suivi -`la procédure d'installation officielle `_ +`la procédure d'installation officielle de Centreon Engine `_ l'utilisateur sera vraisemblablement *centreon-engine*. :: @@ -352,7 +352,7 @@ l'utilisateur sera vraisemblablement *centreon-engine*. > Cet utilisateur exécute le multiplexeur de flux Centreon Broker. Si vous avez suivi -`la procédure d'installation officielle `_ +`la procédure d'installation officielle de Centreon Broker `_ l'utilisateur sera vraisemblablement *centreon-broker*. :: @@ -697,17 +697,17 @@ Pour tous les OS SELinux doit être désactivé. Pour cela, vous devez modifier le fichier "/etc/sysconfig/selinux" et remplacer "enforcing" par "disabled" comme dans l'exemple suivant : - :: + :: - SELINUX=disabled + SELINUX=disabled Après avoir sauvegardé le fichier, veuillez redémarrer votre système d'exploitation pour prendre en compte les changements. La timezone par défaut de PHP doit être configurée. Pour cela, allez dans le répertoire /etc/php.d et créez un fichier nommé php-timezone.ini contenant la ligne suivante : - :: + :: - date.timezone = Europe/Paris + date.timezone = Europe/Paris Après avoir sauvegardé le fichier, n'oubliez pas de redémarrer le service apache de votre serveur. diff --git a/doc/fr/installation/index.rst b/doc/fr/installation/index.rst index d8afbb79792..fcc3b5c232d 100644 --- a/doc/fr/installation/index.rst +++ b/doc/fr/installation/index.rst @@ -17,7 +17,6 @@ Enfin, vous pourrez procéder à l'installation de la plate-forme. prerequisites architecture/index - installation/index downloads from_centreon from_packages diff --git a/doc/fr/migration/index.rst b/doc/fr/migration/index.rst index 56a8c184555..4fcb3d7493e 100644 --- a/doc/fr/migration/index.rst +++ b/doc/fr/migration/index.rst @@ -1,5 +1,3 @@ -.. _install: - ################################# Migration de Nagios vers Centreon ################################# diff --git a/doc/fr/quick_start/add_host.rst b/doc/fr/quick_start/add_host.rst index b630163908b..975e3add11b 100644 --- a/doc/fr/quick_start/add_host.rst +++ b/doc/fr/quick_start/add_host.rst @@ -1,4 +1,5 @@ .. _add_host: + =============== Ajouter un hôte =============== diff --git a/doc/fr/quick_start/add_host_from_template.rst b/doc/fr/quick_start/add_host_from_template.rst index ff35ab32b78..d091d456fae 100644 --- a/doc/fr/quick_start/add_host_from_template.rst +++ b/doc/fr/quick_start/add_host_from_template.rst @@ -1,4 +1,5 @@ .. _add_host_template: + ===================================== Déployer un hôte à partir d'un modèle ===================================== diff --git a/doc/fr/quick_start/login.rst b/doc/fr/quick_start/login.rst index de80fcb2dea..256893fc314 100644 --- a/doc/fr/quick_start/login.rst +++ b/doc/fr/quick_start/login.rst @@ -1,4 +1,5 @@ .. _centreon_login: + ======================= Connexion à l'interface ======================= diff --git a/doc/fr/release_notes/centreon-2.4/centreon-2.4.0.rst b/doc/fr/release_notes/centreon-2.4/centreon-2.4.0.rst index 5e7f13b078f..b1b8b5101cb 100644 --- a/doc/fr/release_notes/centreon-2.4/centreon-2.4.0.rst +++ b/doc/fr/release_notes/centreon-2.4/centreon-2.4.0.rst @@ -37,7 +37,7 @@ Support for multiple LDAP servers ================================= The LDAP authentication system is much more robust than before. -Indeed, it is now possible to have :ref:`multiple LDAP configurations ` on +Indeed, it is now possible to have :ref:`multiple LDAP configurations ` on top of the failover system. The LDAP import form will let you choose the LDAP server to import from. @@ -70,7 +70,7 @@ Communication with pollers The default system user used by *Centcore* to communicate with pollers has changed from ``nagios`` to ``centreon``. See -:ref:`ces:pollers_basic_conf` for more information. +:ref:`pollers_basic_conf` for more information. Plugins diff --git a/doc/fr/release_notes/centreon-2.4/index.rst b/doc/fr/release_notes/centreon-2.4/index.rst index a4f38522c34..e9f26b150fe 100644 --- a/doc/fr/release_notes/centreon-2.4/index.rst +++ b/doc/fr/release_notes/centreon-2.4/index.rst @@ -9,7 +9,6 @@ Vous trouverez ici la liste des notes de versions pour les versions 2.4.x centreon-2.4.5 centreon-2.4.4 - centreon-2.4.2 centreon-2.4.1 centreon-2.4.0 diff --git a/doc/fr/release_notes/centreon-2.5/centreon-2.5.1.rst b/doc/fr/release_notes/centreon-2.5/centreon-2.5.1.rst index 05d1d86a6ac..b90b9b17f3e 100644 --- a/doc/fr/release_notes/centreon-2.5/centreon-2.5.1.rst +++ b/doc/fr/release_notes/centreon-2.5/centreon-2.5.1.rst @@ -8,9 +8,9 @@ WARNING If you are upgrading from Centreon 2.5.0 make sure to read the following. -.. DANGER:: -If you are upgrading from a version prior to 2.5.0, just skip this notice and follow this procedure instead: -`https://blog.centreon.com/centreon-2-5-0-release/ `_. +.. WARNING:: + If you are upgrading from a version prior to 2.5.0, just skip this notice and follow this procedure instead: + `https://blog.centreon.com/centreon-2-5-0-release/ `_. As usual, database backups are to be made before going any further. @@ -21,7 +21,7 @@ the size of your log tables. You are using NDOUtils ********************** -If you are using NDOUtils, chances are that you have plenty of duplicate entries in your log table. Follow the procedure in order to re insert the logs:: +If you are using NDOUtils, chances are that you have plenty of duplicate entries in your log table. Follow the procedure in order to re insert the logs: Copy all the log files from the remote pollers to the local poller in /var/lib/centreon/log/POLLERID/. To know the POLLERID of each of your pollers, execute the following request against the MySQL server (centreon database):: diff --git a/doc/fr/release_notes/centreon-2.7/centreon-2.7.0.rst b/doc/fr/release_notes/centreon-2.7/centreon-2.7.0.rst index 0380688707e..fcfa2aa0fcd 100644 --- a/doc/fr/release_notes/centreon-2.7/centreon-2.7.0.rst +++ b/doc/fr/release_notes/centreon-2.7/centreon-2.7.0.rst @@ -4,94 +4,99 @@ Centreon 2.7.0 Released December 17, 2015 -La version 2.7.0 de Centreon Web est maintenant téléchargeable sur notre `portail `_. La liste complète des changements opérés dans la version 2.7.0 sont ci-dessous : - -Améliorations et corrections ----------------------------- - -* Changement de la charte graphique pour être en accord avec le nouveau logo de Centreon -* Passage en design Flat (CSS + icones) -* Amélioration de la custom view : - * Ajout d'un mode édition ou visualisation - * Alègement graphique des widgets afin de pouvoir en mettre plus sur une page -* Ajout d'un mode plein écran -* Revue des menus pour une amélioration de la navigation et une simplification des actions utilisateurs -* Refonte des pages dédiées hôtes et services dans le monitoring pour y intégrer plus d'informations -* Refonte graphique de la page de reporting -* Refonte des barres de recherches et des filtres dans chaque page de Centreon -* Refonte de la page des logs (suppression de la treeview + Ajout d'un système de recherche + Amélioration des performances) -* Refonte de la page des graphiques (suppression de la treeview + Ajout d'un système de recherche + ajout d'une pagination) -* Fusion des pages de downtimes pour les hôtes et les services -* Fusion des pages de commentaires pour les hôtes et les services -* Intégration d'un module graphique pour remplacer un composant QuickForm non performant (amélioration des formulaires sur la multiselection d'éléments) -* Simplification de la configuration de Centreon Broker (Temporary et Failover sont configurés automatiquement + les best practices améliorés) -* Amélioration de l'ergonomie de la configuration des objets : - * Amélioration du formulaire des hôtes - * Amélioration du formulaire des services - * Amélioration de la gestion des macros : système de formulaire dynamique qui propose les macros nécessaires héritées des templates pour un bon fonctionnement de la configuration - * Ajout de la possibilité de mettre une description de chaque macro utilisée dans les commandes - * Revue du cheminement pour la génération de la configuration - * Création automatique d'une fichier de configuration pour l'ordonanceur lors de sa création -* Suppresion d'options de configuration dans la partie Administration, maintenant configurées automatiquement. Cela permet de simplifier la prise en main de Centreon -* Amélioration du système des ACL (Gain de performance) -* Intégration de Centreon CLAPI de manière native -* Amélioration de la documentaton : - * refonte de la partie exploitation - * refonte de la partie user - * intégration d'une partie API - -Changements ------------ - -* Changements graphiques / design importants de l'interface web n'assurant plus la compatibilité avec les anciens modules. Un travail de refactoring sera nécessaire pour garantir un fonctionnement optimal. -* Changement du système de timezone : gestion des DST (possible besoin de vérifier les timezones de chaque host et contact après la mise à jour) -* Changement du schéma de base de données pour les groupes de hôtes et groupes de services dans la base de données temps réel (storage) : ajout des ids et suppression d'informations telles que les alias, url, url note, icone. -* Changement du cheminement pour générer la configuration des instances Centreon Engine : plus de page spécifique afin de générer la configuration. L'action est accessible depuis le listing des pollers -* Passage en InnoDB de toutes les tables de Centreon (sauf data_bin et logs du fait de leur taille qui peut demander trop de temps de changement - Action Manuelle à faire suite à la migration). -* PHP 5.1 non supporté -* Compatibilité Browser IE 11, FF 5 et Chrome 39 minimum -* Les vues partagées la partie "custom views" ne sont plus automatiquement ajoutées dans les vues des utilisateurs. C'est aux utilisateurs de les charger lors de la création d'une vue à partir d'une liste de vues rendues publiques. - -Corrections de sécurité ------------------------ - -* Suppression des sessionID PHP dans les url des flux Ajax de certaines pages. -* Intégration d'un tocken CSRF dans tous les formulaires afin d'éviter un effet "Man in the middle". - -Fonctions supprimées --------------------- - -* La compatibilité avec Nagios et NDOutils n'est plus effective sur Centreon web. Seuls Centreon Engine et Centreon Broker sont maintenant compatibles à partir de la version 2.7.0 -* Suppression des exécutables centstorage et logAnalyser gérant la génération des graphiques et le stockage des logs avec NDOutils -* Suppression du module de chargement des configurations de Nagios dans Centreon. -* Suppression de la possibilité de configurer les couleurs de templates de graphiques -* Suppression des choix des couleurs pour les menus -* Suppression des choix des couleurs pour les statuts du monitoring -* Suppression de la possibilité de configurer les CGI de Nagios -* Transformation de la "tactical overview" en widget -* Transformation de la page des statuts des pollers en widget -* Suppression de la page de statut du serveur (PHPSysInfo) devenu non compatible avec la version cible de PHP conseillée pour Centreon -* Suppression des exclusions au niveau des "timeperiods" (les exclusions n'ont jamais fonctionné avec Centreon Engine 1.x et Nagios 3.x). Nous préférons ne pas laisser cette fonction dans l'interface. - -Problèmes connus ----------------- -* La migration de la configuration des ACL d'accès aux pages de Centreon n'est pas complètement gérée durant le passage à la version 2.7.0. Ainsi, merci de vérifier vos configuration après la mise à jour. Les pages impactées sont : +The 2.7.0 release for Centreon Web is now available for `download `_. The full release notes for 2.7.0 follow: + +Features and Bug Fixes +---------------------- + +* Changing the graphic charter to be consistent with the new logo Centreon +* Flat design (CSS and icons) +* Custom view improvement + + * Adding an editing or visualization mode + * Graphic widgets relief to be able to put more on a page + +* Adding a fullscreen mode +* Menu Review for improved navigation and simplified user actions +* Review og pages dedicated hosts and services pages in monitoring to include more informations. +* Redesign of the reporting page +* Recasting bar searches and filters in each page of Centreon +* Redesign Event Logs page (removing treeview + Added search system + Improved performances) +* Redesign view page (removing treeview + Added search system + Improved performances) +* Merging downtimes pages for hosts and services +* Merging comments pages for hosts and services +* Integration of a graphics module to replace a non-performing component QuickForm (Improved forms on multi element selection) +* Simplifying the configuration of Centreon Broker (Temporary and Failover are automatically configured + enhanced best practices) +* Ergonomic improvement of the configurations objects: + + * Improved hosts form + * Improved services form + * Improved management macros: dynamic form system that provides the necessary inherited macros templates for proper operation of the configuration + * Added ability to set a description of each macro used in commands + * Review of the pathway for the generation of the configuration + * Automatic creation of a configuration file for the poller when it is created + +* Deleting configuration options in the Administration section, now automatically configured. This simplifies the handling of Centreon +* Improved ACL system (Improved performances) +* Native integration of Centreon CLAPI +* Improved documentation + + * Redesign Configuration part + * Redesign Exploitation part + * Integration of the API part + +Changes +------- + +* Important web design changes can make interface not compatible with older modules. A refactoring work will be needed to ensure optimal operation. +* Changing the timezone system : DST management (may need to check the timezones of each host and contact after the update) +* Changing databases schemes for hostgroups and servicegroups in the real state database (centreon_storage) : added id and deletion of alias, url, url note, icon. +* Changing the path for generating the configuration of Centreon Engine instances : no more specific page to generate the configuration. The action is now available from the pollers list. +* Switching to InnoDB all Centreon tables (except logs and data_bin too big for an automatic update). +* PHP 5.1 no longer supported +* Browser compatibility : IE 11, FF 5 et Chrome 39 at least +* Shared views in custom views are not automaticaly loaded in views of others users. Now views are able to be public and user can load them during the creation step. + +Secutiry fixes +-------------- + +* Removing PHP session ID in the URL of the Ajax flow of certain pages. +* Integration of a CSRF token in all forms to prevent "Man in the middle" effect. + +Removed Features +----------------- + +* Nagios and NDOutils are no longer compatible with Centreon web. Only Centreon Engine and Centreon Broker are compatible from version 2.7.0 +* Removing centstorage and logAnalyser executables. +* Removing the Nagios configurations load module. +* Removing the ability to configure the colors of graphics templates +* Removing color choices for menus +* Removing choosing colors for monitoring status +* Removing the ability to configure Nagios CGI +* Transformation of the tactical overview in widget +* Transformation of the Monitoring Engine statistics Page in widget +* Deleting the Server Status page (phpsysinfo) become incompatible with the PHP version recommended for Centreon +* Remove timeperiod exclusions in the UI. This function don't work very fine whether with Centreon Engine 1.x or Nagios. We prefer removing the function in order to avoid problems. + +Known Bugs +---------- +* ACL of pages is not fully updated during the upgrade process. So please check all your ACL pages after the migration. You may have problems with the followings pages: + * Monitoring > Hosts * Monitoring > Services * Monitoring > Performances (new page) * Monitoring > Downtimes * Monitoring > Comments * Monitoring > Eventlogs > System logs -* Le système de split des graphiques de performance ne fonctionne pas. -* La pagination peut ne pas fonctionner sur l'ensemble de l'application si nous nous baladons dans les x pages de la liste puis selectionnons la valeur maximum dans le selecteur du nombre de ligne. Cela provoque alors une page vide. -* Un problème lors de la migration bloque le système d'upgrade SQL : si des timeperiods ont été configurée dans le passé dans le système d'exclusion ou d'inclusion et ensuite supprimée, elle reste dans la base de données. Cela créé alors un blocage lors d'un ajout de contrainte sur une table MySQL. - :: - mysql> DELETE FROM timeperiod_exclude_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); +* Graph slip not working +* Pagination is broker when you go on the last page, change the number of line to the Max. Page become empty. +* If you have timeperiods used in exception or inclusion of timeperiod and now deleted, their ids stays in the database in relation table. During the sql update process, this blocks an addition of constraint on this relation table. To fix it, you have to remove old timeperiod id.:: + mysql> DELETE FROM timeperiod_exclude_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); + mysql> DELETE FROM timeperiod_include_relations WHERE timeperiod_id NOT IN (SELECT tp_id FROM timeperiod) OR timeperiod_exclude_id NOT IN (SELECT tp_id FROM timeperiod); -Comment l'installer ? ---------------------- +How to Install ? +---------------- -Maintenant que vous avez pris connaissance de toutes spécificités de cette nouvelles version, vous pouvez l'installer. Si vous partez sur une installation depuis zero, reportez vous au :ref:`guide d'installation `. -Sinon si vous souhaitez mettre à jour une plateforme existante, veuillez vous référer au :ref:`guide de mise à jour `. Prenez soin de suivre scrupuleusement les pré-requis et les étapes de mise à jour afin de ne pas perdre de données durant votre mise à jour. +Now that you are aware about all specificities of this version, you can install it. If you install from zero your system, please follow the :ref:`installation guide `. Else you can refer to the :ref:`upgrade guide `. Take care about prerequisits and all upgrade steps in order to avoid data loss. diff --git a/doc/fr/release_notes/centreon-2.8/centreon-2.8.14.rst b/doc/fr/release_notes/centreon-2.8/centreon-2.8.14.rst index 61df547c611..b6e0fbded63 100644 --- a/doc/fr/release_notes/centreon-2.8/centreon-2.8.14.rst +++ b/doc/fr/release_notes/centreon-2.8/centreon-2.8.14.rst @@ -5,6 +5,23 @@ Centreon Web 2.8.14 Enhancements ============ +* [API] Update CLAPI commands to show resources of a downtime PR #5705 +* [API] Add possibility to grant access to children menu (or not) PR #5694 +* [API] Add possibility to add and get list of on-demand downtime #5192 #5682 PR #5623 - beta +* [API] Add possibility to get realtime hosts status #5682 - beta +* [API] Add possibility to get realtime services status #5682 - beta +* [Documentation] Activate services at system startup PR #5698 +* [Administration] Add possibility to test proxy configuration #5561 PR #5722 Bugfix ====== + +* [API] Fix poller List #5635 +* [API] Fix list of hosts with gethosts method of Instance object #5300 PR #5603 +* [Install] Add unique key on comments table PR #5665 +* [Custom Views] Sharing View problem to select multiple users #5029 +* [Configuration] Multiple 'update mode' fields in massive changes #5266 PR #5636 +* [configuration] Massive Change on Hosts activate Stalking Option Up #4946 +* [Reporting] Reporting Dashboard messed up #5491 #5520 +* [Monitoring] No inheritance in query of notified contacts #4981 +* [Monitoring] Top counter display too much resources with ACL #5713 PR #5703 diff --git a/doc/fr/release_notes/centreon-2.8/centreon-2.8.6.rst b/doc/fr/release_notes/centreon-2.8/centreon-2.8.6.rst index fdd86f2d4cc..5148a03e015 100644 --- a/doc/fr/release_notes/centreon-2.8/centreon-2.8.6.rst +++ b/doc/fr/release_notes/centreon-2.8/centreon-2.8.6.rst @@ -19,8 +19,5 @@ If you already used a knowledge base, please execute following script : Known bugs or issues ==================== -* There's an issue in the ldap configuration form. A fix is available and will be package with the next bugfix version. Until then you can apply the patch available `here -`_ -* There's an issue on all listing pages. A fix is available and will be package with the next bugfix version. Until then you can apply the patch available `here -`_ ->>>>>>> 727633ecd... update release notes (known bugs) of 2.8.6 +* There's an issue in the ldap configuration form. A fix is available and will be package with the next bugfix version. Until then you can apply the patch available `here `_ +* There's an issue on all listing pages. A fix is available and will be package with the next bugfix version. Until then you can apply the `available patch `_ diff --git a/doc/fr/upgrade/index.rst b/doc/fr/upgrade/index.rst index 4ef18247ef8..277dbdcdbf4 100644 --- a/doc/fr/upgrade/index.rst +++ b/doc/fr/upgrade/index.rst @@ -1,17 +1,15 @@ .. _upgrade: -########### -Mise à jour -########### +####### +Upgrade +####### -Ce chapitre décrit es procédures de mise à jour d'une plate-forme de supervision Centreon. +This chapter describes how to upgradel your Centreon monitoring platform. -La procédure à suivre dépend de votre installation initial. Si vous avez utilisé Centreon ISO lors de l'installation, vous devrez alors utiliser les RPMs. Si vous avez installé par les sources, la mise à jour se fera alors de cette maniére. - -Pensez à réaliser une sauvegarde compléte avant de mettre à jour. +This procedure is linked to your initial version of centreon. You will have to use package if you installed using Centreon ISO and sources files if you installed from sources. Before upgrading Centreon, please don't forget to make a backup. .. toctree:: :maxdepth: 2 - from_packages - from_sources + from_packages + from_sources diff --git a/features/Acknowledgement.feature b/features/Acknowledgement.feature index 284d2572179..fe2121c400e 100644 --- a/features/Acknowledgement.feature +++ b/features/Acknowledgement.feature @@ -6,6 +6,7 @@ Feature: Meta-services acknowledgement Background: Given I am logged in a Centreon server + @critical Scenario: Acknowlegde normal services Given a non-OK service When I acknowledge the service diff --git a/features/CommandConfiguration.feature b/features/CommandConfiguration.feature index 0bc391fb2a6..dafc4fa53a2 100644 --- a/features/CommandConfiguration.feature +++ b/features/CommandConfiguration.feature @@ -7,6 +7,7 @@ Feature: Edit a command Given I am logged in a Centreon server And a command is configured + @critical Scenario: Change the properties of a command When I change the properties of a command Then the properties are updated diff --git a/features/ContactConfiguration.feature b/features/ContactConfiguration.feature index b48ae12fa96..f77dd546b9b 100644 --- a/features/ContactConfiguration.feature +++ b/features/ContactConfiguration.feature @@ -7,6 +7,7 @@ Feature: ContactConfiguration Given I am logged in a Centreon server And a contact is configured + @critical Scenario: Change the properties of a contact When I update contact properties Then the contact properties are updated diff --git a/features/DowntimeStartAndStop.feature b/features/DowntimeStartAndStop.feature index 9470583b068..ada73d7142c 100644 --- a/features/DowntimeStartAndStop.feature +++ b/features/DowntimeStartAndStop.feature @@ -12,23 +12,27 @@ Feature: Downtime start and stop When I save a downtime Then the downtime start and end uses host timezone + @critical Scenario: Start of fixed downtime Given a fixed downtime on a monitored element When the downtime period is started Then the downtime is started + @critical Scenario: End of fixed downtime Given a fixed downtime on a monitored element And the downtime is started When the end date of the downtime happens Then the downtime is stopped + @critical Scenario: Start of flexible downtime Given a flexible downtime on a monitored element And the downtime period is started When the monitored element is not OK Then the downtime is started + @critical Scenario: End of flexible downtime Given a flexible downtime on a monitored element And the flexible downtime is started diff --git a/features/GeneratePoller.feature b/features/GeneratePoller.feature index cf6bbe0b489..39207f2177d 100644 --- a/features/GeneratePoller.feature +++ b/features/GeneratePoller.feature @@ -13,6 +13,7 @@ Feature: Generate poller configuration Then I am redirected to generate page And the pollers are already selected + @critical Scenario: Generate poller configuration Given a Centreon platform with multiple pollers And multiple pollers are selected diff --git a/features/HostConfiguration.feature b/features/HostConfiguration.feature index f343eb72e8b..5e402ba3b00 100644 --- a/features/HostConfiguration.feature +++ b/features/HostConfiguration.feature @@ -7,6 +7,7 @@ Feature: HostConfiguration Given I am logged in a Centreon server And an host is configured + @critical Scenario: Edit the name of an host When I change the properties of a host Then its properties are updated diff --git a/features/HostGroupConfiguration.feature b/features/HostGroupConfiguration.feature index ce3962453bb..57507851dfe 100644 --- a/features/HostGroupConfiguration.feature +++ b/features/HostGroupConfiguration.feature @@ -7,6 +7,7 @@ Feature: HostGroupConfiguration Given I am logged in a Centreon server And an host group is configured + @critical Scenario: Edit the properties of an host group When I change the properties of a host group Then its properties are updated diff --git a/features/HostTemplateBasicsOperations.feature b/features/HostTemplateBasicsOperations.feature index 7a12c0e274a..289e65d8267 100644 --- a/features/HostTemplateBasicsOperations.feature +++ b/features/HostTemplateBasicsOperations.feature @@ -7,6 +7,7 @@ Feature: HostTemplateBasicsOperations Given I am logged in a Centreon server And a host template is configured + @critical Scenario: I test the modification of a host template properties When I change the properties of a host template Then the properties are updated diff --git a/features/Module.feature b/features/Module.feature index 2ece281c452..f9188056c64 100644 --- a/features/Module.feature +++ b/features/Module.feature @@ -8,6 +8,7 @@ Feature: Module Background: Given I am logged in a Centreon server + @critical Scenario: Module installation Given a module is ready to install When I install the module diff --git a/features/RestApi.feature b/features/RestApi.feature index adda0541136..9fe3af3a846 100644 --- a/features/RestApi.feature +++ b/features/RestApi.feature @@ -3,7 +3,13 @@ Feature: REST API I want REST API in Centreon Web So that I can develop software interfacing with Centreon Web - Scenario: REST API tests + @critical + Scenario: Configuration REST API tests Given a Centreon server with REST API testing data When REST API are called Then they reply as per specifications + + Scenario: Realtime REST API tests + Given a Centreon server with REST API testing data + When realtime REST API are called + Then they reply as per specifications diff --git a/features/RestartCentreonEngine.feature b/features/RestartCentreonEngine.feature index 01adfb9fe6f..3a73d8c441e 100644 --- a/features/RestartCentreonEngine.feature +++ b/features/RestartCentreonEngine.feature @@ -6,6 +6,7 @@ Feature: Centreon Engine Restart Background: Given I am logged in a Centreon server + @critical Scenario: Check Centreon Engine Restart Given I am on the poller configuration export page And I check Restart Monitoring Engine diff --git a/features/ServiceConfiguration.feature b/features/ServiceConfiguration.feature index 35187ad4890..e71bff809d6 100644 --- a/features/ServiceConfiguration.feature +++ b/features/ServiceConfiguration.feature @@ -7,6 +7,7 @@ Feature: Edit a service Given I am logged in a Centreon server And a service is configured + @critical Scenario: Change the properties of a service When I change the properties of a service Then the properties are updated diff --git a/features/ServiceGroupConfiguration.feature b/features/ServiceGroupConfiguration.feature index 2ff66c38f48..3624099360e 100644 --- a/features/ServiceGroupConfiguration.feature +++ b/features/ServiceGroupConfiguration.feature @@ -7,6 +7,7 @@ Feature: ServiceGroupConfiguration Given I am logged in a Centreon server And a service group is configured + @critical Scenario: Change the properties of a service group When I change the properties of a service group Then the properties are updated diff --git a/features/ServiceTemplateConfiguration.feature b/features/ServiceTemplateConfiguration.feature index b719cfd248d..f771195eec3 100644 --- a/features/ServiceTemplateConfiguration.feature +++ b/features/ServiceTemplateConfiguration.feature @@ -7,6 +7,7 @@ Feature: Edit a service Given I am logged in a Centreon server And a service template is configured + @critical Scenario: Change the properties of a service template When I change the properties of a service template Then the properties are updated diff --git a/features/TestProxyConfiguration.feature b/features/TestProxyConfiguration.feature index 58fd21383d3..6cdcd442fe4 100644 --- a/features/TestProxyConfiguration.feature +++ b/features/TestProxyConfiguration.feature @@ -3,12 +3,14 @@ Feature: Testing A Configuration Proxy I want to test my proxy configuration So that to verify it - Scenario: Proxy settings with a correct connexion + @critical + Scenario: Proxy settings with a correct connection Given I am logged in a Centreon server with a configured proxy When I test the proxy configuration in the interface Then a popin displays a successful connexion - Scenario: Proxy settings with a wrong connexion + @critical + Scenario: Proxy settings with a wrong connection Given I am logged in a Centreon server with a wrongly configured proxy When I test the proxy configuration in the interface Then a popin displays an error message diff --git a/features/Widget.feature b/features/Widget.feature index 7c0aa1a8cbb..ffab1edeebd 100644 --- a/features/Widget.feature +++ b/features/Widget.feature @@ -8,6 +8,7 @@ Feature: Widget Background: Given I am logged in a Centreon server + @critical Scenario: Widget installation Given a widget is ready to install When I install the widget diff --git a/features/bootstrap/AclAccessGroupsContext.php b/features/bootstrap/AclAccessGroupsContext.php index 4eef315c8c0..f359646fdff 100644 --- a/features/bootstrap/AclAccessGroupsContext.php +++ b/features/bootstrap/AclAccessGroupsContext.php @@ -77,18 +77,13 @@ public function allLinkedUsersHaveTheAccessListGroupDisplayedInCentreonAuthentic { $this->page = new ContactConfigurationListingPage($this); $this->page = $this->page->inspect($this->firstContactAlias); - $this->assertFind('css', 'li#c2 a')->click(); - $value = $this->assertFind('css', 'span[title="' . $this->accessContactName . '"]')->getText(); - if ($value != $this->accessContactName) { - + if ($this->page->getProperty('acl_groups') != $this->accessContactName) { throw new \Exception($this->firstContactAlias . ' have no Access list groups displayed'); } $this->page = new ContactConfigurationListingPage($this); $this->page = $this->page->inspect($this->secondContactAlias); - $this->assertFind('css', 'li#c2 a')->click(); - $value = $this->assertFind('css', 'span[title="' . $this->accessContactName . '"]')->getText(); - if ($value != $this->accessContactName) { + if ($this->page->getProperty('acl_groups') != $this->accessContactName) { throw new \Exception($this->secondContactAlias . ' have no Access list groups displayed'); } } @@ -122,8 +117,7 @@ public function theContactGroupHasTheAccessListGroupDisplayedInRelationsInformat { $this->page = new ContactGroupConfigurationListingPage($this); $this->page = $this->page->inspect($this->contactGroupName); - $value = $this->assertFind('css', 'span[title="' . $this->accessGroupsName . '"]')->getText(); - if ($value != $this->accessGroupsName) { + if ($this->page->getProperty('acl') != $this->accessGroupsName) { throw new \Exception($this->contactGroupName . ' have no Linked ACL groups displayed'); } } diff --git a/features/bootstrap/DowntimeStartAndStopContext.php b/features/bootstrap/DowntimeStartAndStopContext.php index d9b2779f93f..438a8e7abdc 100644 --- a/features/bootstrap/DowntimeStartAndStopContext.php +++ b/features/bootstrap/DowntimeStartAndStopContext.php @@ -66,12 +66,7 @@ public function aFixedDowntimeOnAMonitoredElement() { $page = new DowntimeConfigurationPage($this); - - $downtimeEndTime = '+1 minutes'; - $currentSeconds = date("s"); - if ($currentSeconds >= 45) { - $downtimeEndTime = '+2 minutes'; - } + $downtimeEndTime = '+2 minutes'; $this->downtimeEndTime = date("H:i", strtotime($downtimeEndTime)); $page->setProperties(array( 'type' => DowntimeConfigurationPage::TYPE_SERVICE, @@ -91,12 +86,7 @@ public function aFlexibleDowntimeOnAMonitoredElement() $this->submitServiceResult($this->host, $this->service, 0, __FUNCTION__); $page = new DowntimeConfigurationPage($this); - - $downtimeEndTime = '+1 minutes'; - $currentSeconds = date("s"); - if ($currentSeconds >= 45) { - $downtimeEndTime = '+2 minutes'; - } + $downtimeEndTime = '+2 minutes'; $this->downtimeEndTime = date("H:i", strtotime($downtimeEndTime)); $page->setProperties(array( 'type' => DowntimeConfigurationPage::TYPE_SERVICE, @@ -181,12 +171,10 @@ public function theEndDateOfTheDowntimeHappens() { $this->spin( function ($context) { - if (date("H:i") >= $context->downtimeEndTime) { - return true; - } + return date("H:i") >= $context->downtimeEndTime; }, 'The end of the downtime is too late (' . $this->downtimeEndTime . ').', - 80 + 180 // 3 minutes for 2 minutes-long downtimes ); } diff --git a/features/bootstrap/WidgetContext.php b/features/bootstrap/WidgetContext.php index 7626cda8251..2e22e8bdd75 100644 --- a/features/bootstrap/WidgetContext.php +++ b/features/bootstrap/WidgetContext.php @@ -56,17 +56,12 @@ public function iRemoveTheWidget() */ public function theWidgetIsInstalled() { - $self = $this; $this->spin( - function () use ($self) { - $widget = $self->page->getEntry($self->widgetName); - if ($widget['actions']['install']) { - return false; - } - return true; + function ($context) { + $widget = $context->page->getEntry($context->widgetName); + return !$widget['actions']['install']; }, - 'Widget ' . $self->widgetName . ' is not installed.', - 5 + 'Widget ' . $this->widgetName . ' is not installed.' ); } @@ -75,10 +70,12 @@ function () use ($self) { */ public function theWidgetIsRemoved() { - $this->page = new WidgetListingPage($this); - $widget = $this->page->getEntry($this->widgetName); - if ($widget['actions']['remove']) { - throw new \Exception('Widget ' . $this->widgetName . ' is not removed.'); - } + $this->spin( + function ($context) { + $widget = $context->page->getEntry($context->widgetName); + return !$widget['actions']['remove']; + }, + 'Widget ' . $this->widgetName . ' is not removed.' + ); } } diff --git a/lib/Centreon/Object/Relation/Acl/Group/Action.php b/lib/Centreon/Object/Relation/Acl/Group/Action.php index 47b3580522a..f5ff37b0b49 100644 --- a/lib/Centreon/Object/Relation/Acl/Group/Action.php +++ b/lib/Centreon/Object/Relation/Acl/Group/Action.php @@ -40,4 +40,11 @@ class Centreon_Object_Relation_Acl_Group_Action extends Centreon_Object_Relation protected $relationTable = "acl_group_actions_relations"; protected $firstKey = "acl_group_id"; protected $secondKey = "acl_action_id"; + + public function __construct() + { + parent::__construct(); + $this->firstObject = new Centreon_Object_Acl_Group(); + $this->secondObject = new Centreon_Object_Acl_Action(); + } } diff --git a/lib/Centreon/Object/Relation/Acl/Group/Contact/Contact.php b/lib/Centreon/Object/Relation/Acl/Group/Contact/Contact.php index 9fa9a36e1fb..958b27737a3 100644 --- a/lib/Centreon/Object/Relation/Acl/Group/Contact/Contact.php +++ b/lib/Centreon/Object/Relation/Acl/Group/Contact/Contact.php @@ -40,4 +40,11 @@ class Centreon_Object_Relation_Acl_Group_Contact extends Centreon_Object_Relatio protected $relationTable = "acl_group_contacts_relations"; protected $firstKey = "acl_group_id"; protected $secondKey = "contact_contact_id"; + + public function __construct() + { + parent::__construct(); + $this->firstObject = new Centreon_Object_Acl_Group(); + $this->secondObject = new Centreon_Object_Contact(); + } } diff --git a/lib/Centreon/Object/Relation/Acl/Group/Contact/Group.php b/lib/Centreon/Object/Relation/Acl/Group/Contact/Group.php index 29fcd28ddac..105d15f4ff9 100644 --- a/lib/Centreon/Object/Relation/Acl/Group/Contact/Group.php +++ b/lib/Centreon/Object/Relation/Acl/Group/Contact/Group.php @@ -40,4 +40,11 @@ class Centreon_Object_Relation_Acl_Group_Contact_Group extends Centreon_Object_R protected $relationTable = "acl_group_contactgroups_relations"; protected $firstKey = "acl_group_id"; protected $secondKey = "cg_cg_id"; + + public function __construct() + { + parent::__construct(); + $this->firstObject = new Centreon_Object_Acl_Group(); + $this->secondObject = new Centreon_Object_Contact_Group(); + } } diff --git a/lib/Centreon/Object/Relation/Acl/Group/Menu.php b/lib/Centreon/Object/Relation/Acl/Group/Menu.php index 2f43b862d8b..95b1a6d9772 100644 --- a/lib/Centreon/Object/Relation/Acl/Group/Menu.php +++ b/lib/Centreon/Object/Relation/Acl/Group/Menu.php @@ -40,4 +40,11 @@ class Centreon_Object_Relation_Acl_Group_Menu extends Centreon_Object_Relation protected $relationTable = "acl_group_topology_relations"; protected $firstKey = "acl_group_id"; protected $secondKey = "acl_topology_id"; + + public function __construct() + { + parent::__construct(); + $this->firstObject = new Centreon_Object_Acl_Group(); + $this->secondObject = new Centreon_Object_Acl_Menu(); + } } diff --git a/lib/Centreon/Object/Relation/Acl/Group/Resource.php b/lib/Centreon/Object/Relation/Acl/Group/Resource.php index 66968949f5b..dd575f39249 100644 --- a/lib/Centreon/Object/Relation/Acl/Group/Resource.php +++ b/lib/Centreon/Object/Relation/Acl/Group/Resource.php @@ -40,4 +40,11 @@ class Centreon_Object_Relation_Acl_Group_Resource extends Centreon_Object_Relati protected $relationTable = "acl_res_group_relations"; protected $firstKey = "acl_group_id"; protected $secondKey = "acl_res_id"; + + public function __construct() + { + parent::__construct(); + $this->firstObject = new Centreon_Object_Acl_Group(); + $this->secondObject = new Centreon_Object_Acl_Resource(); + } } diff --git a/tests/rest_api/rest_api.postman_collection.json b/tests/rest_api/rest_api.postman_collection.json index edf14d32736..e5b26b9761e 100644 --- a/tests/rest_api/rest_api.postman_collection.json +++ b/tests/rest_api/rest_api.postman_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_proxy.class.php b/www/api/class/centreon_proxy.class.php index ad88beba3f1..a2a5ffef4ae 100644 --- a/www/api/class/centreon_proxy.class.php +++ b/www/api/class/centreon_proxy.class.php @@ -10,7 +10,7 @@ public function postCheckConfiguration() $proxyAddress = $this->arguments['url']; $proxyPort = $this->arguments['port']; try { - $testUrl = 'http://ci.int.centreon.com:3000/api/pluginpack/pluginpack'; + $testUrl = 'https://api.imp.centreon.com/api/pluginpack/pluginpack'; $restHttpLib = new \CentreonRestHttp(); $restHttpLib->setProxy($proxyAddress, $proxyPort); $restHttpLib->call($testUrl); @@ -18,7 +18,7 @@ public function postCheckConfiguration() $message = _('Connection Successful'); } catch (\Exception $e) { $outcome = false; - $message = $e->getMessage(); + $message = _('Could not establish connection to Centreon IMP servers (') . $e->getMessage() . ')'; } return array( diff --git a/www/class/centreon-clapi/centreon.Config.Poller.class.php b/www/class/centreon-clapi/centreon.Config.Poller.class.php index baf6f26ef47..bfae47fc9d9 100644 --- a/www/class/centreon-clapi/centreon.Config.Poller.class.php +++ b/www/class/centreon-clapi/centreon.Config.Poller.class.php @@ -694,7 +694,7 @@ public function sendTrapCfg($pollerId = null) * @param unknown_type $status * @return string */ - private function display_copying_file($filename = null, $status) + private function display_copying_file($filename = null, $status = null) { if (!isset($filename)) { return; diff --git a/www/class/centreon-clapi/centreonACLAction.class.php b/www/class/centreon-clapi/centreonACLAction.class.php index 320d34a97ee..793e64464ec 100644 --- a/www/class/centreon-clapi/centreonACLAction.class.php +++ b/www/class/centreon-clapi/centreonACLAction.class.php @@ -67,45 +67,48 @@ public function __construct() $this->relObject = new \Centreon_Object_Relation_Acl_Group_Action(); $this->params = array('acl_action_activate' => '1'); $this->nbOfCompulsoryParams = 2; - $this->availableActions = array('global_event_handler', - 'global_flap_detection', - 'global_host_checks', - 'global_host_obsess', - 'global_host_passive_checks', - 'global_notifications', - 'global_perf_data', - 'global_restart', - 'global_service_checks', - 'global_service_obsess', - 'global_service_passive_checks', - 'global_shutdown', - 'host_acknowledgement', - 'host_checks', - 'host_checks_for_services', - 'host_comment', - 'host_event_handler', - 'host_flap_detection', - 'host_notifications', - 'host_notifications_for_services', - 'host_schedule_check', - 'host_schedule_downtime', - 'host_schedule_forced_check', - 'host_submit_result', - 'poller_listing', - 'poller_stats', - 'service_acknowledgement', - 'service_checks', - 'service_comment', - 'service_event_handler', - 'service_flap_detection', - 'service_notifications', - 'service_passive_checks', - 'service_schedule_check', - 'service_schedule_downtime', - 'service_schedule_forced_check', - 'service_submit_result', - 'top_counter'); + $this->availableActions = array( + 'global_event_handler', + 'global_flap_detection', + 'global_host_checks', + 'global_host_obsess', + 'global_host_passive_checks', + 'global_notifications', + 'global_perf_data', + 'global_restart', + 'global_service_checks', + 'global_service_obsess', + 'global_service_passive_checks', + 'global_shutdown', + 'host_acknowledgement', + 'host_checks', + 'host_checks_for_services', + 'host_comment', + 'host_event_handler', + 'host_flap_detection', + 'host_notifications', + 'host_notifications_for_services', + 'host_schedule_check', + 'host_schedule_downtime', + 'host_schedule_forced_check', + 'host_submit_result', + 'poller_listing', + 'poller_stats', + 'service_acknowledgement', + 'service_checks', + 'service_comment', + 'service_event_handler', + 'service_flap_detection', + 'service_notifications', + 'service_passive_checks', + 'service_schedule_check', + 'service_schedule_downtime', + 'service_schedule_forced_check', + 'service_submit_result', + 'top_counter' + ); $this->activateField = "acl_action_activate"; + $this->action = "ACLACTION"; } /** @@ -284,4 +287,52 @@ public function revoke($parameters) } } } + + public function export($filters = null) + { + $aclActionRuleList = $this->object->getList('*', -1, 0, null, null, $filters); + + $exportLine = ''; + foreach ($aclActionRuleList as $aclActionRule) { + $exportLine .= $this->action . $this->delim . 'ADD' . $this->delim + . $aclActionRule['acl_action_name'] . $this->delim + . $aclActionRule['acl_action_description'] . $this->delim . "\n"; + + $exportLine .= $this->action . $this->delim . 'SETPARAM' . $this->delim + . $aclActionRule['acl_action_name'] . $this->delim; + + $exportLine .= 'activate' . $this->delim . $aclActionRule['acl_action_activate'] . $this->delim . "\n"; + + $exportLine .= $this->exportGrantActions( + $aclActionRule['acl_action_id'], + $aclActionRule['acl_action_name'] + ); + + echo $exportLine; + $exportLine = ''; + } + } + + /** + * @param $aclActionRuleId + * @param $aclActionName + * @return string + */ + private function exportGrantActions($aclActionRuleId, $aclActionName) + { + $grantActions = ''; + + $query = 'SELECT * FROM acl_actions_rules WHERE acl_action_rule_id = ?'; + + $aclActionList = $this->db->fetchAll($query, array($aclActionRuleId)); + + foreach ($aclActionList as $aclAction) { + $grantActions .= $this->action . $this->delim . 'GRANT' . $this->delim . + $aclActionName . $this->delim . + $aclAction['acl_action_name'] . $this->delim . "\n"; + } + + + return $grantActions; + } } diff --git a/www/class/centreon-clapi/centreonACLGroup.class.php b/www/class/centreon-clapi/centreonACLGroup.class.php index 0e65884ae6c..215b027a85b 100644 --- a/www/class/centreon-clapi/centreonACLGroup.class.php +++ b/www/class/centreon-clapi/centreonACLGroup.class.php @@ -58,6 +58,14 @@ class CentreonACLGroup extends CentreonObject const ORDER_UNIQUENAME = 0; const ORDER_ALIAS = 1; + public $aDepends = array( + 'CONTACT', + 'CG', + 'ACLMENU', + 'ACLACTION', + 'ACLRESOURCE' + ); + /** * Constructor * @@ -67,11 +75,13 @@ public function __construct() { parent::__construct(); $this->object = new \Centreon_Object_Acl_Group(); - $this->params = array( 'acl_group_changed' => '1', - 'acl_group_activate' => '1' - ); + $this->params = array( + 'acl_group_changed' => '1', + 'acl_group_activate' => '1' + ); $this->nbOfCompulsoryParams = 2; $this->activateField = "acl_group_activate"; + $this->action = "ACLGROUP"; } /** @@ -226,4 +236,121 @@ public function __call($name, $arg) throw new CentreonClapiException(self::UNKNOWN_METHOD); } } + + /** + * @param null $filters + */ + public function export($filters = null) + { + $aclGroupList = $this->object->getList('*', -1, 0, null, null, $filters); + + $exportLine = ''; + foreach ($aclGroupList as $aclGroup) { + $exportLine .= $this->action . $this->delim . "ADD" . $this->delim + . $aclGroup['acl_group_name'] . $this->delim + . $aclGroup['acl_group_alias'] . $this->delim . "\n"; + + $exportLine .= $this->action . $this->delim . "SETPARAM" . $this->delim + . $aclGroup['acl_group_name'] . $this->delim + . 'activate' . $this->delim + . $aclGroup['acl_group_activate'] . $this->delim . "\n"; + + $exportLine .= $this->exportLinkedObjects($aclGroup['acl_group_id'], $aclGroup['acl_group_name']); + + echo $exportLine; + $exportLine = ''; + } + } + + /** + * @param $aclGroupId + * @param $aclGroupName + * @return string + */ + private function exportLinkedObjects($aclGroupId, $aclGroupName) + { + $objectList = array( + array( + 'object' => 'MENU', + 'relClass' => 'Centreon_Object_Relation_Acl_Group_Menu', + 'objectFieldName' => 'acl_topo_name' + ), + array( + 'object' => 'ACTION', + 'relClass' => 'Centreon_Object_Relation_Acl_Group_Action', + 'objectFieldName' => 'acl_action_name' + ), + array( + 'object' => 'RESOURCE', + 'relClass' => 'Centreon_Object_Relation_Acl_Group_Resource', + 'objectFieldName' => 'acl_res_name' + ), + array( + 'object' => 'CONTACT', + 'relClass' => 'Centreon_Object_Relation_Acl_Group_Contact', + 'objectFieldName' => 'contact_name' + ), + array( + 'object' => 'CONTACTGROUP', + 'relClass' => 'Centreon_Object_Relation_Acl_Group_Contact_Group', + 'objectFieldName' => 'cg_name' + ), + ); + + $linkedObjectsSetter = $this->action . $this->delim . 'SET%s' . $this->delim . + $aclGroupName . $this->delim . + '%s' . $this->delim . "\n"; + + $linkedObjectsStr = ''; + + foreach ($objectList as $currentObject) { + $linkedObjects = $this->getLinkedObject( + $aclGroupId, + $currentObject['relClass'], + $currentObject['objectFieldName'] + ); + if (!empty($linkedObjects)) { + $linkedObjectsStr .= sprintf($linkedObjectsSetter, $currentObject['object'], $linkedObjects); + } + } + + return $linkedObjectsStr; + } + + /** + * @param $aclGroupId + * @param $relClass + * @param $objectFieldName + * @return string + * @throws CentreonClapiException + */ + private function getLinkedObject($aclGroupId, $relClass, $objectFieldName) + { + if (!class_exists($relClass)) { + throw new CentreonClapiException('Unsupported relation object : ' . $relClass); + } + + $relObj = new $relClass(); + + $comparisonKey1 = $this->object->getTableName() . '.' . $this->object->getPrimaryKey(); + + $links = $relObj->getMergedParameters( + array(), + array($objectFieldName), + -1, + 0, + null, + 'ASC', + array($comparisonKey1 => $aclGroupId), + 'AND' + ); + + $linkedObjects = ''; + + foreach ($links as $link) { + $linkedObjects .= $link[$objectFieldName] . '|'; + } + + return trim($linkedObjects, '|'); + } } diff --git a/www/class/centreon-clapi/centreonACLMenu.class.php b/www/class/centreon-clapi/centreonACLMenu.class.php index 78d4e1c3f56..6f911ea6ed1 100644 --- a/www/class/centreon-clapi/centreonACLMenu.class.php +++ b/www/class/centreon-clapi/centreonACLMenu.class.php @@ -39,6 +39,8 @@ require_once "Centreon/Object/Acl/Group.php"; require_once "Centreon/Object/Acl/Menu.php"; require_once "Centreon/Object/Relation/Acl/Group/Menu.php"; +require_once _CENTREON_PATH_ . "www/class/centreonDB.class.php"; +require_once _CENTREON_PATH_ . '/www/class/centreonTopology.class.php'; /** * Class for managing ACL Menu rules @@ -53,9 +55,9 @@ class CentreonACLMenu extends CentreonObject const LEVEL_2 = 1; const LEVEL_3 = 2; const LEVEL_4 = 3; - const PARENT_MENU_NOT_DEFINED = "Parent menu must be defined"; protected $relObject; protected $aclGroupObj; + protected $topologyObj; /** * Constructor @@ -71,6 +73,8 @@ public function __construct() $this->params = array('acl_topo_activate' => '1'); $this->nbOfCompulsoryParams = 2; $this->activateField = "acl_topo_activate"; + $this->action = "ACLMENU"; + $this->topologyObj = new \CentreonTopology(new \CentreonDB()); } /** @@ -158,25 +162,26 @@ public function show($parameters = null) protected function splitParams($parameters) { $params = explode($this->delim, $parameters); - if (count($params) < 2) { + if (count($params) < 3) { throw new CentreonClapiException(self::MISSINGPARAMETER); } $aclMenuId = $this->object->getIdByParameter($this->object->getUniqueLabelField(), array($params[0])); if (!count($aclMenuId)) { throw new CentreonClapiException(self::OBJECT_NOT_FOUND . ":" . $params[0]); } + $processChildren = ($params[1] == '0') ? false : true; $levels = array(); $menus = array(); - $toopologies = array(); - $levels[self::LEVEL_1] = $params[1]; + $topologies = array(); + $levels[self::LEVEL_1] = $params[2]; if (isset($params[2])) { - $levels[self::LEVEL_2] = $params[2]; + $levels[self::LEVEL_2] = $params[3]; } if (isset($params[3])) { - $levels[self::LEVEL_3] = $params[3]; + $levels[self::LEVEL_3] = $params[4]; } if (isset($params[4])) { - $levels[self::LEVEL_4] = $params[4]; + $levels[self::LEVEL_4] = $params[5]; } foreach ($levels as $level => $menu) { if ($menu) { @@ -230,7 +235,7 @@ protected function splitParams($parameters) break; } } - return array($aclMenuId[0], $menus, $topologies); + return array($aclMenuId[0], $menus, $topologies, $processChildren); } /** @@ -268,8 +273,11 @@ public function getaclgroup($aclMenuName) * @param int $parentTopologyId * @return void */ - protected function processChildrenOf($action = "grant", $aclMenuId, $parentTopologyId) - { + protected function processChildrenOf( + $action = "grant", + $aclMenuId = null, + $parentTopologyId = null + ) { $sql = "SELECT topology_id, topology_page FROM topology WHERE topology_parent = ?"; $res = $this->db->query($sql, array($parentTopologyId)); $rows = $res->fetchAll(); @@ -313,7 +321,7 @@ public function grant($parameters) */ public function grantRw($parameters) { - list($aclMenuId, $menus, $topologies) = $this->splitParams($parameters); + list($aclMenuId, $menus, $topologies, $processChildren) = $this->splitParams($parameters); foreach ($menus as $level => $menuId) { $this->db->query( "DELETE FROM acl_topology_relations WHERE acl_topo_id = ? AND topology_topology_id = ?", @@ -323,7 +331,7 @@ public function grantRw($parameters) "INSERT INTO acl_topology_relations (acl_topo_id, topology_topology_id) VALUES (?, ?)", array($aclMenuId, $menuId) ); - if (!isset($menus[$level + 1]) && $level != self::LEVEL_4) { + if ($processChildren && !isset($menus[$level + 1]) && $level != self::LEVEL_4) { $this->processChildrenOf("grant", $aclMenuId, $topologies[$level]); } } @@ -338,7 +346,7 @@ public function grantRw($parameters) */ public function grantRo($parameters) { - list($aclMenuId, $menus, $topologies) = $this->splitParams($parameters); + list($aclMenuId, $menus, $topologies, $processChildren) = $this->splitParams($parameters); foreach ($menus as $level => $menuId) { $this->db->query( "DELETE FROM acl_topology_relations WHERE acl_topo_id = ? AND topology_topology_id = ?", @@ -348,7 +356,7 @@ public function grantRo($parameters) "INSERT INTO acl_topology_relations (acl_topo_id, topology_topology_id, access_right) VALUES (?, ?, 2)", array($aclMenuId, $menuId) ); - if (!isset($menus[$level + 1]) && $level != self::LEVEL_4) { + if ($processChildren && !isset($menus[$level + 1]) && $level != self::LEVEL_4) { $this->processChildrenOf("grantro", $aclMenuId, $topologies[$level]); } } @@ -363,9 +371,9 @@ public function grantRo($parameters) */ public function revoke($parameters) { - list($aclMenuId, $menus, $topologies) = $this->splitParams($parameters); + list($aclMenuId, $menus, $topologies, $processChildren) = $this->splitParams($parameters); foreach ($menus as $level => $menuId) { - if (!isset($menus[$level + 1])) { + if ($processChildren && !isset($menus[$level + 1])) { $this->db->query( "DELETE FROM acl_topology_relations WHERE acl_topo_id = ? AND topology_topology_id = ?", array($aclMenuId, $menuId) @@ -374,4 +382,80 @@ public function revoke($parameters) } } } + + /** + * @param array $filters + */ + public function export($filters = null) + { + $aclMenuList = $this->object->getList('*', -1, 0, null, null, $filters); + + $exportLine = ''; + foreach ($aclMenuList as $aclMenu) { + $exportLine .= $this->action . $this->delim . "ADD" . $this->delim + . $aclMenu['acl_topo_name'] . $this->delim + . $aclMenu['acl_topo_alias'] . $this->delim . "\n"; + + $exportLine .= $this->action . $this->delim . + "SETPARAM" . $this->delim . + $aclMenu['acl_topo_name'] . $this->delim; + + if (!empty($aclMenu['acl_comments'])) { + $exportLine .= 'comment' . $this->delim . $aclMenu['acl_comments'] . $this->delim . "\n"; + } + + + $exportLine .= 'activate' . $this->delim . $aclMenu['acl_topo_activate'] . $this->delim . "\n"; + $exportLine .= $this->grantMenu($aclMenu['acl_topo_id'], $aclMenu['acl_topo_name']); + + echo $exportLine; + $exportLine = ''; + } + } + + /** + * @param int $aclTopoId + * @param string $aclTopoName + * @return string + */ + private function grantMenu($aclTopoId, $aclTopoName) + { + + $grantedMenu = ''; + + $grantedMenuTpl = $this->action . $this->delim . + '%s' . $this->delim . + $aclTopoName . $this->delim . + '%s' . $this->delim . + '%s' . $this->delim . "\n"; + + $grantedPossibilities = array( + '1' => 'GRANTRW', + '2' => 'GRANTRO' + ); + + $queryAclMenuRelations = 'SELECT t.topology_page, t.topology_id, t.topology_name, atr.access_right ' . + 'FROM acl_topology_relations atr, topology t ' . + 'WHERE atr.topology_topology_id = t.topology_id ' . + "AND atr.access_right <> '0' " . + 'AND atr.acl_topo_id = ?'; + + $grantedTopologyList = $this->db->fetchAll($queryAclMenuRelations, array($aclTopoId)); + + foreach ($grantedTopologyList as $grantedTopology) { + $grantedTopologyBreadCrumb = $this->topologyObj->getBreadCrumbFromTopology( + $grantedTopology['topology_page'], + $grantedTopology['topology_name'], + ';' + ); + $grantedMenu .= sprintf( + $grantedMenuTpl, + $grantedPossibilities[$grantedTopology['access_right']], + '0', + $grantedTopologyBreadCrumb + ); + } + + return $grantedMenu; + } } diff --git a/www/class/centreon-clapi/centreonACLResource.class.php b/www/class/centreon-clapi/centreonACLResource.class.php index c1eddece525..a6fdad9a2d4 100644 --- a/www/class/centreon-clapi/centreonACLResource.class.php +++ b/www/class/centreon-clapi/centreonACLResource.class.php @@ -93,6 +93,16 @@ class CentreonACLResource extends CentreonObject */ protected $resourceTypeObjectRelation; + public $aDepends = array( + 'HOST', + 'SERVICE', + 'HG', + 'SG', + 'INSTANCE', + 'HC', + 'SC' + ); + /** * Constructor * @@ -105,14 +115,16 @@ public function __construct() $this->aclGroupObj = new \Centreon_Object_Acl_Group(); $this->relObject = new \Centreon_Object_Relation_Acl_Group_Resource(); - $this->params = array( 'all_hosts' => '0', - 'all_hostgroups' => '0', - 'all_servicegroups' => '0', - 'acl_res_activate' => '1', - 'changed' => '1' - ); + $this->params = array( + 'all_hosts' => '0', + 'all_hostgroups' => '0', + 'all_servicegroups' => '0', + 'acl_res_activate' => '1', + 'changed' => '1' + ); $this->nbOfCompulsoryParams = 2; $this->activateField = "acl_res_activate"; + $this->action = "ACLRESOURCE"; } /** @@ -410,4 +422,300 @@ public function __call($name, $arg) throw new CentreonClapiException(self::UNKNOWN_METHOD); } } + + /** + * @param null $filters + */ + public function export($filters = null) + { + $aclResourceList = $this->object->getList('*', -1, 0, null, null, $filters); + + $exportLine = ''; + foreach ($aclResourceList as $aclResource) { + $exportLine .= $this->action . $this->delim . "ADD" . $this->delim + . $aclResource['acl_res_name'] . $this->delim + . $aclResource['acl_res_alias'] . $this->delim . "\n"; + + $exportLine .= $this->action . $this->delim . "SETPARAM" . $this->delim + . $aclResource['acl_res_name'] . $this->delim; + + if (!empty($aclResource['acl_res_comment'])) { + $exportLine .= 'comment' . $this->delim . $aclResource['acl_res_comment'] . $this->delim . "\n"; + } + + $exportLine .= 'activate' . $this->delim . $aclResource['acl_res_activate'] . $this->delim . "\n"; + + $exportLine .= $this->exportGrantResources($aclResource); + + echo $exportLine; + $exportLine = ''; + } + } + + /** + * @param $aclResourceParams + * @return string + */ + private function exportGrantResources($aclResourceParams) + { + $grantResources = ''; + + $grantResources .= $this->exportGrantHostResources( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'], + $aclResourceParams['all_hosts'] + ); + $grantResources .= $this->exportGrantHostgroupResources( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'], + $aclResourceParams['all_hostgroups'] + ); + $grantResources .= $this->exportGrantServicegroupResources( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'], + $aclResourceParams['all_servicegroups'] + ); + $grantResources .= $this->exportGrantMetaserviceResources( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'] + ); + $grantResources .= $this->exportFilterInstance( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'] + ); + $grantResources .= $this->exportFilterHostCategory( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'] + ); + $grantResources .= $this->exportFilterServiceCategory( + $aclResourceParams['acl_res_id'], + $aclResourceParams['acl_res_name'] + ); + + + return $grantResources; + } + + /** + * @param int $aclResId + * @param string $aclResName + * @param int $allHosts + * @param bool $withExclusion + * @return string + */ + private function exportGrantHostResources($aclResId, $aclResName, $allHosts = 1, $withExclusion = true) + { + $grantHostResources = ''; + + if ($allHosts == 1) { + $grantHostResources .= $this->exportGrantObject('*', 'GRANT_HOST', $aclResName); + } else { + $queryHostGranted = 'SELECT h.host_name AS "object_name" ' . + 'FROM host h, acl_resources_host_relations arhr ' . + 'WHERE arhr.host_host_id = h.host_id ' . + 'AND arhr.acl_res_id = ?'; + + $grantedHostList = $this->db->fetchAll($queryHostGranted, array($aclResId)); + $grantHostResources .= $this->exportGrantObject($grantedHostList, 'GRANT_HOST', $aclResName); + } + + if ($withExclusion) { + $queryHostExcluded = 'SELECT h.host_name AS "object_name" ' . + 'FROM host h, acl_resources_hostex_relations arher ' . + 'WHERE arher.host_host_id = h.host_id ' . + 'AND arher.acl_res_id = ?'; + + $excludedHostList = $this->db->fetchAll($queryHostExcluded, array($aclResId)); + $grantHostResources .= $this->exportGrantObject( + $excludedHostList, + 'ADDHOSTEXCLUSION', + $aclResName + ); + } + + return $grantHostResources; + } + + /** + * @param $aclResId + * @param $aclResName + * @param int $allHostgroups + * @return string + */ + private function exportGrantHostgroupResources($aclResId, $aclResName, $allHostgroups = 1) + { + $grantHostgroupResources = ''; + + if ($allHostgroups == 1) { + $grantHostgroupResources .= $this->exportGrantObject('*', 'GRANT_HOSTGROUP', $aclResName); + } else { + $queryHostgroupGranted = 'SELECT hg.hg_name AS "object_name" ' . + 'FROM hostgroup hg, acl_resources_hg_relations arhgr ' . + 'WHERE arhgr.hg_hg_id = hg.hg_id ' . + 'AND arhgr.acl_res_id = ?'; + + $grantedHostgroupList = $this->db->fetchAll($queryHostgroupGranted, array($aclResId)); + $grantHostgroupResources .= $this->exportGrantObject( + $grantedHostgroupList, + 'GRANT_HOSTGROUP', + $aclResName + ); + } + + return $grantHostgroupResources; + } + + /** + * @param $aclResId + * @param $aclResName + * @param int $allServicegroups + * @return string + */ + private function exportGrantServicegroupResources($aclResId, $aclResName, $allServicegroups = 1) + { + $grantServicegroupResources = ''; + + if ($allServicegroups == 1) { + $grantServicegroupResources .= $this->exportGrantObject('*', 'GRANT_SERVICEGROUP', $aclResName); + } else { + $queryServicegroupGranted = 'SELECT sg.sg_name AS "object_name" ' . + 'FROM servicegroup sg, acl_resources_sg_relations arsgr ' . + 'WHERE arsgr.sg_id = sg.sg_id ' . + 'AND arsgr.acl_res_id = ?'; + + $grantedServicegroupList = $this->db->fetchAll($queryServicegroupGranted, array($aclResId)); + $grantServicegroupResources .= $this->exportGrantObject( + $grantedServicegroupList, + 'GRANT_SERVICEGROUP', + $aclResName + ); + } + + return $grantServicegroupResources; + } + + /** + * @param $aclResId + * @param $aclResName + * @return string + */ + private function exportGrantMetaserviceResources($aclResId, $aclResName) + { + $grantMetaserviceResources = ''; + + $queryMetaserviceGranted = 'SELECT m.meta_name AS "object_name" ' . + 'FROM meta_service m, acl_resources_meta_relations armr ' . + 'WHERE armr.meta_id = m.meta_id ' . + 'AND armr.acl_res_id = ?'; + + $grantedMetaserviceList = $this->db->fetchAll($queryMetaserviceGranted, array($aclResId)); + $grantMetaserviceResources .= $this->exportGrantObject( + $grantedMetaserviceList, + 'GRANT_METASERVICE', + $aclResName + ); + + return $grantMetaserviceResources; + } + + /** + * @param $aclResId + * @param $aclResName + * @return string + */ + private function exportFilterInstance($aclResId, $aclResName) + { + $filterInstances = ''; + + $queryFilteredInstances = 'SELECT n.name AS "object_name" ' . + 'FROM nagios_server n, acl_resources_poller_relations arpr ' . + 'WHERE arpr.poller_id = n.id ' . + 'AND arpr.acl_res_id = ?'; + + $filteredInstanceList = $this->db->fetchAll($queryFilteredInstances, array($aclResId)); + $filterInstances .= $this->exportGrantObject($filteredInstanceList, 'ADDFILTER_INSTANCE', $aclResName); + + return $filterInstances; + } + + /** + * @param $aclResId + * @param $aclResName + * @return string + */ + private function exportFilterHostCategory($aclResId, $aclResName) + { + $filterHostCategories = ''; + + $queryFilteredHostCategories = 'SELECT hc.hc_name AS "object_name" ' . + 'FROM hostcategories hc, acl_resources_hc_relations arhcr ' . + 'WHERE arhcr.hc_id = hc.hc_id ' . + 'AND arhcr.acl_res_id = ?'; + + $filteredHostCategoryList = $this->db->fetchAll($queryFilteredHostCategories, array($aclResId)); + $filterHostCategories .= $this->exportGrantObject( + $filteredHostCategoryList, + 'ADDFILTER_HOSTCATEGORY', + $aclResName + ); + + return $filterHostCategories; + } + + /** + * @param $aclResId + * @param $aclResName + * @return string + */ + private function exportFilterServiceCategory($aclResId, $aclResName) + { + $filterServiceCategories = ''; + + $queryFilteredServiceCategories = 'SELECT sc.sc_name AS "object_name" ' . + 'FROM service_categories sc, acl_resources_sc_relations arscr ' . + 'WHERE arscr.sc_id = sc.sc_id ' . + 'AND arscr.acl_res_id = ?'; + + $filteredServiceCategoryList = $this->db->fetchAll($queryFilteredServiceCategories, array($aclResId)); + $filterServiceCategories .= $this->exportGrantObject( + $filteredServiceCategoryList, + 'ADDFILTER_SERVICECATEGORY', + $aclResName + ); + + return $filterServiceCategories; + } + + /** + * @param $grantedResourceItems + * @param $grantCommand + * @param $aclResName + * @return string + */ + private function exportGrantObject($grantedResourceItems, $grantCommand, $aclResName) + { + $grantObject = ''; + + // Template for object export command + $grantedCommandTpl = $this->action . $this->delim . $grantCommand . $this->delim . + $aclResName . $this->delim . + '%s' . $this->delim . "\n"; + + $grantedObjectList = ''; + if (is_array($grantedResourceItems)) { // Non wildcard mode + foreach ($grantedResourceItems as $grantedObject) { + $grantedObjectList .= $grantedObject['object_name'] . '|'; + } + } elseif (is_string($grantedResourceItems)) { // Wildcard mode ('*') + $grantedObjectList .= $grantedResourceItems; + } else { // Unknown mode + throw new \CentreonClapiException('Unsupported resource'); + } + + if (!empty($grantedObjectList)) { // Check if list is useful + $grantObject .= sprintf($grantedCommandTpl, trim($grantedObjectList, '|')); + } + + return $grantObject; + } } diff --git a/www/class/centreon-clapi/centreonAPI.class.php b/www/class/centreon-clapi/centreonAPI.class.php index 92f3d95d3ff..23ca72fa6a0 100644 --- a/www/class/centreon-clapi/centreonAPI.class.php +++ b/www/class/centreon-clapi/centreonAPI.class.php @@ -194,11 +194,6 @@ public function __construct( 'class' => 'ServiceCategory', 'export' => true ); - $this->relationObject["LDAP"] = array( - 'module' => 'core', - 'class' => 'LDAP', - 'export' => true - ); $this->relationObject["CONTACT"] = array( 'module' => 'core', 'class' => 'Contact', @@ -207,6 +202,11 @@ public function __construct( ), 'export' => true ); + $this->relationObject["LDAP"] = array( + 'module' => 'core', + 'class' => 'LDAP', + 'export' => true + ); $this->relationObject["CONTACTTPL"] = array( 'module' => 'core', 'class' => 'ContactTemplate', @@ -273,22 +273,22 @@ public function __construct( $this->relationObject["ACLGROUP"] = array( 'module' => 'core', 'class' => 'ACLGroup', - 'export' => false + 'export' => true ); $this->relationObject["ACLACTION"] = array( 'module' => 'core', 'class' => 'ACLAction', - 'export' => false + 'export' => true ); $this->relationObject["ACLMENU"] = array( 'module' => 'core', 'class' => 'ACLMenu', - 'export' => false + 'export' => true ); $this->relationObject["ACLRESOURCE"] = array( 'module' => 'core', 'class' => 'ACLResource', - 'export' => false + 'export' => true ); $this->relationObject["SETTINGS"] = array( 'module' => 'core', @@ -1099,6 +1099,7 @@ public function sortClassExport() $this->aExport[] = $key; array_pop($aObject); } else { + $aObject = array_merge($oObjet, $aObject); } } else { diff --git a/www/class/centreon-clapi/centreonLDAP.class.php b/www/class/centreon-clapi/centreonLDAP.class.php index 9efbf7d4d8a..bd553ae8b50 100644 --- a/www/class/centreon-clapi/centreonLDAP.class.php +++ b/www/class/centreon-clapi/centreonLDAP.class.php @@ -53,7 +53,7 @@ class CentreonLDAP extends CentreonObject const AR_NOT_EXIST = "LDAP configuration ID not found"; public $aDepends = array( - 'CONTACT' + 'CONTACTTPL' ); diff --git a/www/class/centreonMenu.class.php b/www/class/centreonMenu.class.php index d31a01176aa..e58a2948867 100644 --- a/www/class/centreonMenu.class.php +++ b/www/class/centreonMenu.class.php @@ -35,8 +35,16 @@ class CentreonMenu { + /** + * @var CentreonLang + */ protected $centreonLang; + /** + * @var + */ + protected $db; + /** * Constructor * @@ -74,4 +82,5 @@ public function translate($isModule, $url, $menuName) } return $name; } + } diff --git a/www/class/centreonTopology.class.php b/www/class/centreonTopology.class.php new file mode 100644 index 00000000000..51024f01107 --- /dev/null +++ b/www/class/centreonTopology.class.php @@ -0,0 +1,87 @@ +. + * + * Linking this program statically or dynamically with other modules is making a + * combined work based on this program. Thus, the terms and conditions of the GNU + * General Public License cover the whole combination. + * + * As a special exception, the copyright holders of this program give Centreon + * permission to link this program with independent modules to produce an executable, + * regardless of the license terms of these independent modules, and to copy and + * distribute the resulting executable under terms of Centreon choice, provided that + * Centreon also meet, for each linked independent module, the terms and conditions + * of the license of that module. An independent module is a module which is not + * derived from this program. If you modify this program, you may extend this + * exception to your version of the program, but you are not obliged to do so. If you + * do not wish to do so, delete this exception statement from your version. + * + * For more information : contact@centreon.com + * + */ + +class CentreonTopology +{ + /** + * @var + */ + protected $db; + + /** + * CentreonTopology constructor. + * @param $db + */ + public function __construct($db) + { + $this->db = $db; + } + + /** + * @param $key + * @param $value + * @return mixed + * @throws Exception + */ + public function getTopology($key, $value) + { + $queryTopologyPage = 'SELECT * FROM topology WHERE topology_' . $key . ' = :keyTopo'; + $stmt = $this->db->prepare($queryTopologyPage); + $stmt->bindParam(':keyTopo', $value); + $stmt->execute(); + $row = $stmt->fetch(); + return $row; + } + + /** + * @param $topologyPage + * @param $topologyName + * @param string $breadCrumbDelimiter + * @return string + */ + public function getBreadCrumbFromTopology($topologyPage, $topologyName, $breadCrumbDelimiter = ' > ') + { + $breadCrumb = $topologyName; + $currentTopology = $this->getTopology('page', $topologyPage); + + while (!empty($currentTopology['topology_parent'])) { + $parentTopology = $this->getTopology('page', $currentTopology['topology_parent']); + $breadCrumb = $parentTopology['topology_name'] . $breadCrumbDelimiter . $breadCrumb; + $currentTopology = $parentTopology; + } + + return $breadCrumb; + } +} \ No newline at end of file diff --git a/www/install/installBroker.sql b/www/install/installBroker.sql index 798775580a1..0b16bac4b55 100644 --- a/www/install/installBroker.sql +++ b/www/install/installBroker.sql @@ -115,7 +115,7 @@ CREATE TABLE `downtimes` ( `triggered_by` int(11) DEFAULT NULL, `type` smallint(6) DEFAULT NULL, PRIMARY KEY (`downtime_id`), - UNIQUE KEY `entry_time` (`entry_time`,`host_id`,`service_id`), + UNIQUE KEY `entry_time` (`entry_time`,`instance_id`,`internal_id`), KEY `host_id` (`host_id`), KEY `instance_id` (`instance_id`), KEY `entry_time_2` (`entry_time`), diff --git a/www/install/sql/centstorage/Update-CSTG-2.8.13_to_2.8.14.sql b/www/install/sql/centstorage/Update-CSTG-2.8.13_to_2.8.14.sql new file mode 100644 index 00000000000..1fad38f1344 --- /dev/null +++ b/www/install/sql/centstorage/Update-CSTG-2.8.13_to_2.8.14.sql @@ -0,0 +1,8 @@ +ALTER TABLE `comments` + DROP INDEX `entry_time`, + ADD UNIQUE KEY `entry_time` (`entry_time`,`host_id`,`service_id`, `instance_id`, `internal_id`); + +ALTER TABLE `downtimes` + DROP INDEX `entry_time`, + ADD UNIQUE KEY `entry_time` (`entry_time`,`instance_id`,`internal_id`); +