PublishAssessmentASE

說明

將選取的評量發佈到 AppScan® Enterprise Console

語法

ounceauto PublishAssessmentASE -file <assessment_file> 
[-aseapplication <ase_application>] [-caller <caller>] 
[-folder <location>] [-name <published_assessment_name>] 
[-preventOverwrite]
  • -file <assessment_file>:必要。評量檔的路徑和檔名。
  • -aseapplication <ase_application>:當連接至 AppScan®Enterprise Server 9.0.3 版和更新的版本時,這個選項是必要的(除非您如這裡所述停用此需求)。當連接至舊版 AppScan®Enterprise Server 時,與應用程式產生關聯是選用的。這個選項用來指定要與評量產生關聯的 Enterprise Console 應用程式。
  • -caller <caller>:選用。將呼叫者指派至報告產生作業。呼叫者可以是實際的使用者,但這不是必要的。呼叫者名稱會寫入 ounceauto 日誌檔。
  • -folder <location>:選用。只有在連接至 9.0.3 版以前的 AppScan®Enterprise Server 版本時,這個選項才適用。請指定發佈時的 Enterprise Console 目標資料夾。如果未使用這個引數,評量會發佈至預設 Enterprise Console 資料夾。
  • -name <published_assessment_name>:選用。在 Enterprise Console 中用來儲存評量的名稱。如果未使用這個引數,則會根據已掃描來產生評量的 AppScan® 來源 應用程式而產生名稱(這個名稱前面會加上 AppScan Source:)。
  • -preventOverwrite:選用。如果伺服器上存在同名的評量, 請包含這個引數以防發佈。

回覆值

要求 ID(如果成功)或 -1(如果要求提交不成功)。

範例

WebGoat_Internal 評量發佈至 AppScan®Enterprise Server 9.0.3 版或更新的版本:

ounceauto publishassessmentase -file C:\Ounce\Data\WebGoat_Internal.ozasmt 
-aseapplication myapplication