How to Copy Assessments to a Common Store

You must become an administrator who is assigned the Compliance Assessor rights profile on both systems. 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.

    Follow one of the procedures in Administering Compliance Assessments and Reports.

  2. Copy the assessment to a remote storage location.
    $ pfexec compliance store [-n] [-v] [-s ssh://username@host ] {-m matches | assessment ...}

    where:

    -n

    Shows the results of running the command without running the command.

    -v

    Provides verbose output. For sample output, see Example 4 in the compliance(8) man page.

    -m matches | assessment

    Copies the assessments according the metadata of the assessments or the name of an assessment.

    If the -s store-URI option is not specified, the default current-user@remote-host:RAD-port URI is used. The original assessments remain in the local assessment store.

  3. Verify that the transfer completed.

    • From the local system, list the compliance assessments on the remote system.

      Local $ compliance list -a -N Remote
    • On the remote system, list the compliance assessments.

      Remote $ compliance list -a