Microsoft Azure System Scan Rulesets API

The SystemScanRulesets API from Microsoft Azure, for systemscanrulesets.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /systemScanRulesets List all system scan rulesets · Microsoft Azure Get Systemscanrulesets #
Ask an LLM
“Which built-in system scan rulesets does my Purview account have?”
“Can I see every system scan ruleset across all data source types?”
Tell an agent
List all system scan rulesets for my scanning account.
Show every built-in scan ruleset using API version {apiVersion}.
GET /systemScanRulesets/datasources/{dataSourceType} Get the system scan ruleset for a data source · Microsoft Azure Get Systemscanrulesets Datasources Datasourcetype #
Ask an LLM
“What classification rules does the system ruleset apply when scanning a given data source type?”
“How do I view the default scan ruleset for Azure SQL or blob storage sources?”
Tell an agent
Get the system scan ruleset for data source type {type}.
Show the built-in ruleset Purview uses to scan {type} sources.
GET /systemScanRulesets/versions/{version} Get a system scan ruleset by version · Microsoft Azure Get Systemscanrulesets Versions Version #
Ask an LLM
“How do I retrieve an older version of a system scan ruleset?”
“Can I pin a scan to a specific numbered ruleset version for a data source?”
Tell an agent
Get system scan ruleset version {version}.
Show ruleset version {version} for data source type {type}.
GET /systemScanRulesets/versions/latest Get the latest system scan ruleset version · Microsoft Azure Get Systemscanrulesets Versions Latest #
Ask an LLM
“What is the newest system scan ruleset available?”
“Has the latest built-in ruleset for my data source type changed?”
Tell an agent
Fetch the newest version of the built-in ruleset, filtered to {type}.
Show the most recent built-in ruleset version for {type} sources.
GET /systemScanRulesets/versions List system scan ruleset versions · Microsoft Azure Get Systemscanrulesets Versions #
Ask an LLM
“Which versions of the system scan ruleset exist in my Data catalog?”
“Can I list the version history of rulesets for one data source type?”
Tell an agent
List system scan ruleset versions for data source type {type}.
Show the version history of built-in rulesets in the Data catalog.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-systemscanrulesets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-systemscanrulesets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure MicrosoftScanningClient System Scan…
  description: Creates a Microsoft.Scanning management client.
  version: 2022-07-01-preview
servers:
- url: https://purview.azure.com/scan
security:
- azure_auth:
  - user_impersonation
tags:
- name: SystemScanRulesets
paths:
  /systemScanRulesets:
    get:
      tags:
      - SystemScanRulesets
      description: List all system scan rulesets for an account
      operationId: microsoftAzureSystemscanrulesetsListall
      parameters:
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemScanRulesetList'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        SystemScanRulesets_ListAll:
          $ref: ./examples/SystemScanRulesets_ListAll.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Systemscanrulesets
  /systemScanRulesets/datasources/{dataSourceType}:
    get:
      tags:
      - SystemScanRulesets
      description: Get a system scan ruleset for a data source
      operationId: microsoftAzureSystemscanrulesetsGet
      parameters:
      - in: path
        name: dataSourceType
        required: true
        x-ms-enum:
          name: DataSourceType
          modelAsString: true
        schema:
          type: string
          enum:
          - None
          - AzureSubscription
          - AzureResourceGroup
          - AzureSynapseWorkspace
          - AzureSynapse
          - AdlsGen1
          - AdlsGen2
          - AmazonAccount
          - AmazonS3
          - AmazonSql
          - AzureCosmosDb
          - AzureDataExplorer
          - AzureFileService
          - AzureSqlDatabase
          - AmazonPostgreSql
          - AzurePostgreSql
          - SqlServerDatabase
          - AzureSqlDatabaseManagedInstance
          - AzureSqlDataWarehouse
          - AzureMySql
          - AzureStorage
          - Teradata
          - Oracle
          - SapS4Hana
          - SapEcc
          - PowerBI
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemScanRuleset'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        SystemScanRulesets_Get:
          $ref: ./examples/SystemScanRulesets_Get.json
      summary: Microsoft Azure Get Systemscanrulesets Datasources Datasourcetype
  /systemScanRulesets/versions/{version}:
    get:
      tags:
      - SystemScanRulesets
      description: Get a scan ruleset by version
      operationId: microsoftAzureSystemscanrulesetsGetbyversion
      parameters:
      - in: query
        name: dataSourceType
        x-ms-enum:
          name: DataSourceType
          modelAsString: true
        schema:
          type: string
          enum:
          - None
          - AzureSubscription
          - AzureResourceGroup
          - AzureSynapseWorkspace
          - AzureSynapse
          - AdlsGen1
          - AdlsGen2
          - AmazonAccount
          - AmazonS3
          - AmazonSql
          - AzureCosmosDb
          - AzureDataExplorer
          - AzureFileService
          - AzureSqlDatabase
          - AmazonPostgreSql
          - AzurePostgreSql
          - SqlServerDatabase
          - AzureSqlDatabaseManagedInstance
          - AzureSqlDataWarehouse
          - AzureMySql
          - AzureStorage
          - Teradata
          - Oracle
          - SapS4Hana
          - SapEcc
          - PowerBI
      - in: path
        name: version
        required: true
        schema:
          type: integer
          format: int32
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemScanRuleset'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        SystemScanRulesets_GetByVersion:
          $ref: ./examples/SystemScanRulesets_GetByVersion.json
      summary: Microsoft Azure Get Systemscanrulesets Versions Version
  /systemScanRulesets/versions/latest:
    get:
      tags:
      - SystemScanRulesets
      description: Get the latest version of a system scan ruleset
      operationId: microsoftAzureSystemscanrulesetsGetlatest
      parameters:
      - in: query
        name: dataSourceType
        x-ms-enum:
          name: DataSourceType
          modelAsString: true
        schema:
          type: string
          enum:
          - None
          - AzureSubscription
          - AzureResourceGroup
          - AzureSynapseWorkspace
          - AzureSynapse
          - AdlsGen1
          - AdlsGen2
          - AmazonAccount
          - AmazonS3
          - AmazonSql
          - AzureCosmosDb
          - AzureDataExplorer
          - AzureFileService
          - AzureSqlDatabase
          - AmazonPostgreSql
          - AzurePostgreSql
          - SqlServerDatabase
          - AzureSqlDatabaseManagedInstance
          - AzureSqlDataWarehouse
          - AzureMySql
          - AzureStorage
          - Teradata
          - Oracle
          - SapS4Hana
          - SapEcc
          - PowerBI
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemScanRuleset'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        SystemScanRulesets_GetLatest:
          $ref: ./examples/SystemScanRulesets_GetLatest.json
      summary: Microsoft Azure Get Systemscanrulesets Versions Latest
  /systemScanRulesets/versions:
    get:
      tags:
      - SystemScanRulesets
      description: List system scan ruleset versions in Data catalog
      operationId: microsoftAzureSystemscanrulesetsListversionsbydatasource
      parameters:
      - in: query
        name: dataSourceType
        x-ms-enum:
          name: DataSourceType
          modelAsString: true
        schema:
          type: string
          enum:
          - None
          - AzureSubscription
          - AzureResourceGroup
          - AzureSynapseWorkspace
          - AzureSynapse
          - AdlsGen1
          - AdlsGen2
          - AmazonAccount
          - AmazonS3
          - AmazonSql
          - AzureCosmosDb
          - AzureDataExplorer
          - AzureFileService
          - AzureSqlDatabase
          - AmazonPostgreSql
          - AzurePostgreSql
          - SqlServerDatabase
          - AzureSqlDatabaseManagedInstance
          - AzureSqlDataWarehouse
          - AzureMySql
          - AzureStorage
          - Teradata
          - Oracle
          - SapS4Hana
          - SapEcc
          - PowerBI
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemScanRulesetList'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        SystemScanRulesets_ListVersionsByDataSource:
          $ref: ./examples/SystemScanRulesets_ListVersionsByDataSource.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Systemscanrulesets Versions
components:
  schemas:
    VersionedScanRuleset:
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        scanRulesetType:
          enum:
          - Custom
          - System
          type: string
          x-ms-enum:
            name: ScanRulesetType
            modelAsString: true
        status:
          enum:
          - Enabled
          - Disabled
          type: string
          readOnly: true
          x-ms-enum:
            name: ScanRulesetStatus
            modelAsString: true
        version:
          format: int32
          type: integer
          readOnly: true
    SystemScanRulesetList:
      required:
      - value
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/SystemScanRuleset'
        nextLink:
          type: string
        count:
          format: int64
          type: integer
    ErrorModel:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorModel'
    ErrorResponseModel:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/ErrorModel'
    ProxyResource:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
          readOnly: true
    SystemScanRuleset:
      required:
      - kind
      type: object
      allOf:
      - $ref: '#/components/schemas/VersionedScanRuleset'
      properties:
        kind:
          enum:
          - None
          - AzureSubscription
          - AzureResourceGroup
          - AzureSynapseWorkspace
          - AzureSynapse
          - AdlsGen1
          - AdlsGen2
          - AmazonAccount
          - AmazonS3
          - AmazonSql
          - AzureCosmosDb
          - AzureDataExplorer
          - AzureFileService
          - AzureSqlDatabase
          - AmazonPostgreSql
          - AzurePostgreSql
          - SqlServerDatabase
          - AzureSqlDatabaseManagedInstance
          - AzureSqlDataWarehouse
          - AzureMySql
          - AzureStorage
          - Teradata
          - Oracle
          - SapS4Hana
          - SapEcc
          - PowerBI
          type: string
          x-ms-enum:
            name: DataSourceType
            modelAsString: true
      discriminator:
        propertyName: kind
  parameters:
    api-version:
      in: query
      name: api-version
      description: The api version to use.
      required: true
      x-ms-client-name: ApiVersion
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-ms-parameterized-host:
  hostTemplate: '{Endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'