================================================================================
 $Id: INSTALL,v 1.5 2017/01/31 18:58:21 loren Exp $
================================================================================

INSTALLATION
============

The DISA_STIG policies and rules are provided in a tar archive containing the policy
data, and an installer program to load them into a NetMRI instance. 

The installation requires a working PERL5 interpreter, such as found on the NetMRI
Sandbox VM.

If not using a NetMRI Sandbox, the following PERL modules are required;

JSON
IO::Socket::SSL
LWP
LWP::Simple
Getopt::Long
MIME::Base64
File::Basename

INSTRUCTIONS
============
1. Untar package in HOME directory.
[root@sandbox ~]# tar zxvf DISA_STIG_Update_20170131.tar.gz

2. Enter the newly created created DISA-STIG directory.
[root@sandbox ~]# cd DISA-STIG

3. Edit STIG_updater.sh.
	
a. Configure $SNMP_USERAUTH to the target NetMRI appliance's username and
password as a single string separated by a colon.

# NetMRI Username & Password, colon separated.
SNMP_USERAUTH="admin:admin123";

b. Change $SNMP_IP to the target NetMRI appliance's host address.

# NetMRI IP address
SNMP_IP="192.168.2.1";

4. Run STIG_updater.sh
[root@sandbox ~]# ./STIG_updater.sh
Tue Jan 31 17:58:51 UTC 2017 STIG_updater.sh: Beginning DISA STIG update.
Tue Jan 31 17:58:52 2017 - Pruning old DISA STIG Policy Rules.
...
Tue Jan 31 17:58:54 UTC 2017 prune_old_rules.pl run: OKAY
Tue Jan 31 17:58:54 2017 - Updating STIG Policies and Policy Rules
...
Tue Jan 31 17:59:13 2017 - STIG Policies and Policy Rules updated.
Tue Jan 31 17:59:13 UTC 2017 update_DISA_policy_rules.pl run: OKAY

This run may take some time to complete as policy and rule maintenance operations
on NetMRI are quite slow.

- END INSTALL -

