[FEATURE REQ] Extractor and Publisher support for the workspace-level "All APIs" policy

Open
#859 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
azure, csharp
Domain
api, devops

Research direction

Start by tracing how the extractor and publisher handle service-level “All APIs” policies, then compare that flow with the workspace resource at workspaces/{workspaceId}/policies/policy. Done means workspace extraction writes policy.xml at the workspace root and publishing deploys the same resource without silently skipping it.

Written by the indexing model from the issue text.

Description

Please describe the feature.

APIM exposes a workspace-level policy resource (the workspace equivalent of the service-level "All APIs" policy) at workspaces/{workspaceId}/policies/policy (ARM type Microsoft.ApiManagement/service/workspaces/policies, available since API version 2024-05-01).

Neither the extractor nor the publisher currently handles this resource type. If a team adds a policy to the workspace's "All APIs" scope in the Azure portal and runs the extractor, no policy.xml is written at the workspace root — the resource is silently skipped with no warning, no file, and no PR.

This was noted during the original workspace support planning in #274 (April 2023) but was not included when that issue was closed against the v7 release.

Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.