HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

s
swa-step(1M) swa-step(1M)
swa step analyze
To analyze a remote system for security issues, using the previously cached inventory and catalog (in their
default locations):
swa step analyze -a SEC -s remotesys
To analyze the local system for security issues, using a specified location for the catalog and analysis files:
swa step analyze -a SEC -x catalog=˜/mycatalog \
-x analysis_file=˜/myanalysis.xml
To create a default standard output "action" report based on a previous analysis (in the default location):
swa step report
To create a standard output "issue" report, and to specify the location of the comprehensive HTML report:
swa step report -r issue -x html_report=˜/myreport.html
To create a standard output "detail" report only if there is at least one issue, keeping standard error (pro-
gress) messages to a minimum:
swa step report -r detail -x report_when_no_issues=false \
-x verbosity=0
To create a standard output "action" report with minimal standard error (progress) messages, but with
maximal progress messages logged to the logfile:
swa step report -x verbosity=0 -x log_verbosity=5
To download software recommended by the previous analysis (using default locations):
swa step download
To use the preview mode:
swa step download -p
To download software that does not exist in the swcache or in the target depot:
swa step download -t /target/depot -x allow_existing_depot=true
To download software specified in an analysis file that is in a specified location, and put the results into a
specified swcache location:
swa step download -x analysis_file=˜/myanalysis.xml \
-x swcache=/my/cache
To create a new depot with software recommended by the previous analysis and previously downloaded
software (using default locations):
swa step depot -t /target/depot
To add previously downloaded software to an existing depot from a specified swcache location:
swa step depot -t /target/depot -x allow_existing_depot=true \
-x swcache=/my/cache
To use the preview mode to see what software would be added to an existing depot:
swa step depot -p -t /target/depot -x allow_existing_depot=true
AUTHOR
swa was developed by HP.
FILES
/etc/opt/swa/swa.conf System-wide Software Assistant configuration file.
/etc/opt/swa/swa.conf.template Template file that documents each
-x option.
$HOME/.swa.conf Per-user Software Assistant configuration file.
/var/opt/swa/swa.log Default log file location for root users. For users
without write permissions to the default log location,
a swa.log file is created under the directory
specified by the user_dir extended option.
HP-UX 11i Version 2: December 2007 Update 11 Hewlett-Packard Company 407