Azure OpenAI


Arnica utilizes Azure OpenAI to provide mitigation code samples for code risks, such as SAST and IaC vulnerabilities.

The integration with Azure OpenAI provides the following benefits:

  1. Enterprise-Grade Infrastructure: Azure OpenAI, being a part of Microsoft Azure, offers robust cloud infrastructure, ensuring high scalability, security, and compliance standards suitable for enterprise needs.

  2. Extended Support and SLAs: Azure provides extended support and service level agreements (SLAs) that are crucial for businesses and large-scale applications.

  3. Customization and Control: Azure OpenAI might offer more customization and control options tailored for business applications, including private deployments and specific compliance needs.

  4. Pricing and Billing: With Azure, businesses can get consolidated billing for all Azure services, including Azure OpenAI, which simplifies financial management.


Deploy service resource

Service resources are required in order to connect to the models they host. Follow Microsoft's guidelines to create and deploy Azure OpenAI service resource.

IP allowlist

Installation process

Get the deployment endpoint and key

  1. Login to Azure Portal.

  2. Navigate to the OpenAI Service and click on the deployed service resource, as described in the prerequisites section above.

  3. Go to the Keys and endpoint page under Resource Management in the left menu.

  4. Copy the endpoint and one of the keys - they will be required in Arnica's integration.

Get a deployment model name

If you don't have deployed models, below are the steps to deploy a new model.

  1. Navigate to the Deployments page.

  2. Click on Create new deployment, otherwise skip to the next step. Fill the following fields, adjust as needed, and lick on Create.

  1. Save the deployment name - it will be required when the integration is added.


  1. Navigate to the Integrations page in Arnica and click on Azure OpenAI.

  2. Fill the endpoint, deployment name and API key from the previous steps.

  3. Click on Validate.

  4. Ensure that Azure OpenAI is in the existing integrations list.

User Experience

Arnica allows the users to select when to trigger the OpenAI recommendation request, so that the cost of OpenAI will remain relatively low compared to execution on every finding.

To see the recommendation, navigate to the Code Risks page and click on one of the SAST / IaC findings. Click on the OpenAI icon on the top right corner of the details pane - it will spin while the recommendation is generated and validated by Arnica.

If you would like to generate an alternative recommendation, click on the OpenAI icon again.

The code example recommendation will be dynamically generated in the details pane, followed by the explanation of the generated code to ensure the solution is clear as much as possible for the developer or Arnica operator.

Last updated