#!/usr/local/bin/perl
# 
# $Header: dynamic_esa_config.pl 12-may-2005.22:19:05 dkjain Exp $
#
# dynamic_esa_config.pl
# 
# Copyright (c) 2005, Oracle. All rights reserved.  
#
#    NAME
#      dynamic_esa_config.pl - <one-line expansion of the name>
#
#    DESCRIPTION
#      <short description of component this file declares/defines>
#
#    NOTES
#      <other useful comments, qualifications, etc.>
#
#    MODIFIED   (MM/DD/YY)
#    dkjain      05/12/05 - dkjain_bug-4360523_main
#    dkjain      05/11/05 - Creation
# 
require "$ENV{EMDROOT}/sysman/admin/scripts/esa_config.pl";
my $targetType = "host" ;
my $maxOpenPorts = get_max_upload_rowcount($targetType, "Open_ports");
my $maxInsecServ = get_max_upload_rowcount($targetType, "Insecure_Services");
my $maxExeStack = get_max_upload_rowcount($targetType, "Execute_Stack");
my $maxFilesysType = get_max_upload_rowcount($targetType, "NTFS_File_System");

print "em_result=$maxOpenPorts|$maxInsecServ|$maxExeStack|$maxFilesysType\n" ;

