Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

このページの内容:

...

Parasoft OWASP Dependency Check Pack のドキュメントは、こちらから参照できます。

要件

ユーザーガイドの [要件とサポート要件] をご参照ください。

インストールモジュール

dependency-check-pack-2023.1.0-20230523.zip (security-bundle-2023.1.0.zip に含まれます)

...

  1. Parasoft DTP の接続設定
    Parasoft OWASP Dependency Check Pack インストールディレクトリ直下の settings.properties ファイルを
    テキストエディタで開き、以下の設定を行います。

    • dtp.url
      DTP サーバーのURLを指定します。
      例) https://localhost:8443

    • dtp.user
      DTP 認証用のユーザー名を指定します。
      例) dtp.user=admin

    • dtp.password
      DTP 認証用のパスワードを指定します。
      例) dtp.password=admin

    • dtp.project
      結果の送信先となる 既存の DTPプロジェクト名を指定します。
      例) dtp.project=Default Project

    • build.id
      結果を関連付けるビルドをIDで指定します。
      ビルドID は静的解析ツールで設定されているビルドID と一致している必要があります。 
      例) build.id=Default Project-2019-09-19

      ビルドID については、 以下からご確認ください。
      DTPの概念-ビルド

  2. Parasoft OWASP Dependency Check Pack の実行
    Parasoft OWASP Dependency Check Pack インストールディレクトリ直下の dependencycheck.bat または、dependencycheck.sh を使用します。
    -results.file パラメーターを使って OWASP dependency-check ツールで生成したXMLレポートを指定して、スクリプトを実行します。

    例)

    • Windows : dependencycheck.bat -results.file="C:\Users\admin\Desktop\dependency_check.xml"

    • Linux : dependencycheck.sh -results.file="/Users/admin/Desktop/dependency_check.xml"

    • dependencycheck.bat -results.file="C:\Users\admin\Desktop\dependency-check-report.xml" 

      ※実行後のコンソールログに以下のような「セットアップの問題」が出力されることがあります。
      「セットアップの問題」が出力された場合、ツールが正常に実行されていない可能性がありますので、Parasoft製品テクニカルサポートセンターまでお問い合わせください。

        解析中に次のセットアップの問題が発生しました:
        Rule CRITICALHIGH does not exist in the rulemap file. Please add this rule to the rulemap file.
        Rule HIGHMEDIUM does not exist in the rulemap file. Please add this rule to the rulemap file.

  3.  結果の確認
    Parasoft OWASP Dependency Check Pack 実行後は、結果を Parasoft HTML レポート または、Parasoft DTP から確認することができます。

    • Parasoft HTML レポート
      Parasoft OWASP Dependency Check Pack インストールディレクトリ直下の reports ディレクトリに生成されます。

    • Parasoft DTP
      結果の確認方法については、以下からご確認ください。
      https://docs.parasoft.com/display/DTP20231JP/OWASP+Compliance