Skip to content

feat: [azure] add skip-subscriptions option in azure spec #10829

@chinmayb

Description

@chinmayb

Which problem is this feature request solving?

I would like a feature in the azure source plugin, where I can skip some subscriptions from discovering the resources.

just like the skip organization/accountIDs provided in aws source plugins.

Describe the solution you'd like

add the following field in spec

skip_subscriptions: [<subID1>, <subID2>]

It will look like

kind: source
spec:
  # Source spec section
  name: "azure"
  path: "cloudquery/azure"
  version: "v7.5.0"
  destinations: ["postgresql"]
  tables: ["azure_compute_virtual_machines"]
  spec:
    # Azure Spec section
    subscriptions:[""]
    skip-subscriptions: ["sub-id-1", "sub-id-2"]

This goes inline with https://www.cloudquery.io/docs/plugins/sources/aws/configuration#aws-spec

Pull request (optional)

  • I can submit a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions