Go to main content

Oracle® Solaris 11.4 Compliance Guide

Exit Print View

Updated: August 2021
 
 

How to Send Assessments Immediately to a Common Store

Before You Begin

You must become an administrator who is assigned the Compliance Assessor rights profile on both hosts. For more information, see Configuring Administrators to Run Remote Compliance Commands. See also Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  1. Run the assessment with the –s store-URI option.

    The format of the command for a benchmark or a profile is the following:

    $ compliance assess [-b benchmark][-p profile][-m matches][-a assessment][-s store-URI]

    The format of the command for a tailoring is the following:

    $ compliance assess [-b benchmark][-t tailoring][-m matches][-a assessment][-s store-URI]

    where:

    matches

    Are the system or user-defined keys that add metadata to the assessment.

    store-URI

    Specifies the remote system and how to authenticate with its RAD server. The authentication must be non-interactive.

  2. (Optional)On the remote system, verify that the transfer completed.
    Remote $ compliance list -a
Example 16  Sending Remote Assessments to a Remote Common Store

In this example, the administrator assesses the hostA remote system for compliance and sends its report to hostB for storage. All three hosts, the invoking host, hostA, and hostB are accessible over Secure Shell without an interactive prompt. hostA is configured with a default compliance profile. The user who is running the compliance assess command can be authenticated by RAD on hostA and hostB by using the FQDN format for host.

$ pfexec compliance assess -N hostA.dev.example.com  -s hostB.archive.example.com