Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 6.10
Sv translation
languageru

Система по умолчанию удаляет объекты, на которые не сработала ни одна политика TM или не найден ни один объект защиты. Чтобы сохранять такие объекты, отключите настройку удаления:

  1. Подключитесь к серверу TM. 
  2. В каталоге /opt/iw/tm5/etc/scripts/ откройте конфигурационный файл iwssid.lua. 
  3. Для отключения автоматического удаления объектов измените значение set_text ('true') на set_text('false'). Должно получиться так:
              function IWSSID_HookCrawler(root)
                    if root:xFind('/root/processing[count(postanalysis/*|policies/policy)>0]').count == 0
                 then        
                       -- RM: Не удаляем объекты с ошибками анализа          
                       if root:xFind('//object/processing/messages/message[@module="cas"][@severity="fatal" or @severity="error"]').count == 0 then 
             
                        processingprocessing(root):find_or_add_child('delete_content'):set_text('false');
             end
     
    end end
  4. Сохраните изменения.
  5. Перезапустите службу iw_luaengined:
    service iwtm restart luaengined

Sv translation
languageen

The System is deleting by default the objects to which have no TM policy or protection object has been applied by default. To save such kind of objects, disable deletion setting:

  1. Conntect to TM server.
  2. In /opt/iw/tm5/etc/scripts/ catalogue open the configuration file iwssid.lua. 
  3. To disable the automatic objects deletion, change the value value set_text ('true') на  to set_text('false'). The following  code should be: 
          function IWSSID_HookCrawler(root)
                    if root:xFind('/root/processing[count(postanalysis/*|policies/policy)>0]').count == 0
                 then        
                       -- RM: Не удаляем объекты с ошибками анализа          
                       if root:xFind('//object/processing/messages/message[@module="cas"][@severity="fatal" or @severity="error"]').count == 0 then          
                        processing(root):find_or_add_child('delete_content'):set_text('false');
             end
        end
    end

     

  4. Save changes.
  5. Restart Restart iw_luaengined service: 
    service iwtm restart luaengined