Overview of itg.inc

Public Function Summary

Public functions are intended to be called by the code that imports this library.

Name Summary
itg_send_details

Public Function Details

itg_send_details

Named Parameters

itg_id

Code

function itg_send_details (itg_id)
{
  local_var result, desc, report;

  if( ! itg_id )
  {
    set_kb_item( name: "nvt_debug_empty/" + get_script_oid(), value:get_script_oid() + "#-#itg_id#-#itg_send_details");
    return;
  }

  result = get_kb_item(string(itg_id + '/result'));
  desc = get_kb_item(string (itg_id + '/desc'));

  report = 'Ergebnis:\t' + result +
           '\nDetails:\t' + desc + '\n\n';

  log_message(port:0, proto: "IT-Grundschutz", data:report);
}


		
top