OpenParable
Skip to content
← Back to skills

Cis Azure Compute 2.3.15

DevOps & Security
cis-azure-compute-2.3.15

Cis Azure Compute 2.3.15 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure configuration is routed through the virtual network integration

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/CIS_Microsoft_Azure_Compute_Services_Benchmark_v2.0.0/cis-azure-compute-2.3.15/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-azure-compute-2-3-15, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ensure configuration is routed through the virtual network integration

Description

By default, configuration traffic for function apps goes directly over the public route. Container image pulls and content sharing can be routed through the virtual network integration.

This recommendation should be applied after integrating a function app with a virtual network.

Rationale

Route container image pulls and content sharing through a virtual network integration for increased security and control.

Impact

Additional configuration may be required to ensure that traffic is routed properly.

Audit Procedure

Using Azure CLI

Run the following command to list function apps:

az functionapp list

For each function app, run the following command to get the container image share and content share settings:

az functionapp show --resource-group <resource-group-name> --name <function-app-name> --query "[vnetImagePullEnabled,vnetContentShareEnabled]"

Ensure that [true,true] is returned.

Using Azure Portal

There is no specific Azure Portal audit procedure documented for this control. Use the Azure CLI method.

Expected Result

Both vnetImagePullEnabled and vnetContentShareEnabled should return true ([true,true]).

Remediation

Using Azure CLI

For each function app requiring remediation, run the following command to route container image pulls and content sharing through the virtual network integration:

az resource update --resource-group <resource-group-name> --name <function-app-name> --resource-type "Microsoft.Web/sites" --set properties.vnetImagePullEnabled=true --set properties.vnetContentShareEnabled=true

Using Azure Portal

There is no specific Azure Portal remediation procedure documented for this control. Use the Azure CLI method.

Additional Information

In addition to configuring the routing for content sharing, you must also ensure that any firewall or Network Security Group configured on traffic from the subnet allow traffic to port 443 and 445.

Default Value

By default, configuration traffic goes directly over the public route.

References

  1. https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#routes
  2. https://learn.microsoft.com/en-us/azure/app-service/configure-vnet-integration-routing#configure-configuration-routing
  3. https://learn.microsoft.com/en-us/cli/azure/functionapp
  4. https://learn.microsoft.com/en-us/cli/azure/resource

Profile

Level 2 | Automated