publishassess (pa)

Description

Publish the current assessment or a selected assessment. When this command is used, the assessment is made available to an AppScan® Source client such as AppScan Source for Analysis - but it is not made available to the AppScan Enterprise Console (use the publishassessase (pase) command to publish to the AppScan Enterprise Console).

A valid AppScan Source for Automation license is required for use of this command.

When an assessment is published with this command, how the assessment is handled depends on whether AppScan Source is configured with AppScan Enterprise Server as the datastore or with a SolidDB/Oracle database:
  • If AppScan Source is configured with a SolidDB/Oracle database, the assessment is published to the AppScan Source Database.
  • If AppScan Source is configured with AppScan Enterprise Server as the datastore, the assessment is published to AppScan Enterprise Server.

Syntax

pa [id]

id: Optional literal. Identifies the assessment ID. If no ID is included, the command applies to the most recent scan. You can use the listassess (la) command to find the assessment ID.

Example

In the following example, we set the current object to the application pebble, scan the pebble project, and then publish the assessment (which is registered automatically at the same time).

AllApplications>> cd pebble
AllApplications\pebble>> scan pebble
New Scan started

Scanning Project pebble (1 of 1)
Preparing project for scan...
		.
		.
Preparing for Vulnerability Analysis...
Performing Vulnerability Analysis...
Generating Findings...
Preparing project for scan...
		.
		.
Scanned Project pebble:
  Total files: 15
  Total findings: 167
  Total lines: 385
	vkloc: 0.44448395412925595
	v-Density: 22.446439683527426
Scanned Application pebble:
  Total files: 15
  Total findings: 167
  Total lines: 385
	vkloc: 0.44448395412925595
	v-Density: 22.446439683527426
Scan completed:
  Total files: 15
  Total findings: 167
  Total lines: 385
	vkloc: 0.44448395412925595
	v-Density: 22.446439683527426
Elapsed Time - 18 Seconds

AllApplications\pebble>> publishassess

Assessment Successfully Published.