YAMLプロパティ

Contrastからエージェントの設定ファイルをダウンロードすると、設定ファイルにはContrastサーバと通信するために最低限必要な基本のプロパティが入ります。全てのエージェントで最低限必要なcontrast_security.yamlの内容は、以下のようになります。

api:  
    url: https://app.contrastsecurity.com  
    user_name: contrast_user  
    api_key: demo  
    service_key: demo

プロパティの定義は、以下のとおりです。

  • api.api_key:所属する組織のAPIキー

  • api.user_name:Contrastのユーザアカウント(多くの場合、自分のログインID)

  • api.service_key:Contrastのユーザアカウントのサービスキー

  • api.url:Contrastエージェントが報告するContrastサーバのアドレス。デフォルト:https://app.contrastsecurity.com