Setting up Azure OpenAI

Azure OpenAI can be integrated with AppScan via API endpoints to enhance accuracy by reducing false positives and improving test results.

Procedure

  1. Navigate to Organization > Settings > Scans.
  2. Click the Disabled toggle button to enable Azure OpenAI configuration.
    Note: Azure OpenAI services incur costs based on token usage (input and output). Follow best practices and regularly monitor usage to ensure cost efficiency.
  3. Enter the Endpoint in the following format: https://{azure_openai_endpoint}/openai/deployments/{deployment_name}/chat/completions
    Table 1. Endpoint elements
    Element Description Example
    {azure_openai_endpoint}

    Substitute with the value from the Endpoint field under the Keys & Endpoint section from the Azure portal.

    https://aoairesource.openai.azure.com
    {deployment_name} Corresponds to the custom name you chose for your deployment when you deployed a model. You can get this value from Azure OpenAI Studio of your Azure portal.
    Note: Azure OpenAI testing was conducted using GPT-4o, version 2024-08-06. We recommend using this specific model and version to avoid any failures.
    GPT-4o
    Example of endpoint: https://aoairesource.openai.azure.com/openai/deployments/GPT-4o/chat/completions
  4. Enter the API Key. This value can be found in the Keys & Endpoint section when examining your resource from the Azure portal. You can use either KEY1 or KEY2.
    CAUTION: Ensure both the Endpoint and API Key values are correct, as there is no validation to catch typos or errors.
  5. Click Save to apply the configuration for your organization.
    The Azure OpenAI endpoint and API key have been configured.

What to do next

Start your scan in AppScan on Cloud as usual.