Amazon Bedrock
Amazon Bedrock integration setup for Arnica
Arnica uses Amazon Bedrock to provide code fix suggestions for SAST and IaC findings. Unlike the direct OpenAI or Anthropic integrations, Bedrock runs in your own AWS account.
In Arnica, navigate to the Integrations page and click Connect next to Amazon Bedrock.

Select the AWS Region where your Bedrock models are available.
Recommended: IAM Role (CloudFormation)
We strongly recommend using an IAM Role instead of access keys. It is more secure (no long‑lived keys) and easier to manage.
If you have AWS access:
In the integration dialog, keep the IAM Role tab selected.
Click Deploy CloudFormation Template.
In the AWS Console, click Create Stack to deploy the template. Any region works because IAM roles are global.
After the stack finishes, open the Outputs tab.
Copy the
RoleArnvalue. You do not need to copy theExternalIdif you left it unchanged in Arnica.Back in Arnica, paste the
RoleArninto the Role ARN field (if you changed theExternal IDearlier, enter the updated value here).(Optional) Enter an alias to help you recognize the integration.
Click Validate, then OK.

If you do not have AWS access:
Copy the Direct template link and your External ID from the integration dialog:
Template URL:
https://arnica-integration-templates.s3.amazonaws.com/bedrock-integration-role.yamlExternal ID: use the value shown in Arnica. Keep this External ID so you can complete the integration later.
Ask your AWS administrator to deploy the template using that External ID (any region is fine) and to send you the
RoleArnfrom the stack's Outputs.When you receive the
RoleArn, paste it into the Role ARN field in Arnica. If your admin used a different External ID, update the External ID field to match.(Optional) Enter an alias, click Validate, then OK.
Alternative: Access Key (not recommended)
Only use this method if you cannot use the IAM Role approach above.
Create an IAM user with the following permissions:
In Arnica, switch to the Access Key tab, enter the Access Key ID and Secret Access Key, click Validate, then OK.
Model selection
After connecting, Arnica pulls the list of models available in your account and selects a default model. To switch models, go to the AI Model Configuration page in the Admin menu.
Anthropic (Claude) models require a one-time use case form before first use. Open the Bedrock console, select any Anthropic model from the model catalog, and submit the use case form when prompted. Access is granted immediately. This only needs to be done once per AWS account — or once in the organization management account to cover all member accounts. See Access Amazon Bedrock foundation models for details.
Usage
Recommendations are generated on demand rather than automatically for every finding, so you only pay for what you use.
To request a recommendation, go to the Code Risks page and select a SAST or IaC finding. Click the AI icon in the top-right corner of the details pane. The icon spins while Arnica generates and validates the recommendation.

Each recommendation includes a code example followed by an explanation, so the fix is clear for both developers and Arnica operators.
Last updated
Was this helpful?