Share via

How to get system classification rules defined in the Azure purview account using a http call

Nadeesha de Silva 1 Reputation point
2021-10-26T05:47:50.483+00:00

I'm trying to get all the classification rules (system and custom) enabled in the azure purview account using below http call
GET {Endpoint}/classificationrules?api-version=2018-12-01-preview

But, I'm getting only the custom classification rules defined in the account as the response.
But, there are list of system classification rules are enabled in that particular ifs purview account.

According to the documentation, I should get the system classification rules as the response

Could you please tell what I need to do for getting system classification rules in the response

https://learn.microsoft.com/en-us/rest/api/purview/scanningdataplane/classification-rules/list-all

Microsoft Security | Microsoft Purview

2 answers

Sort by: Most helpful
  1. Nadeesha de Silva 1 Reputation point
    2021-11-02T09:09:53.943+00:00

    Hi Saurabh

    Thanks for your reply.
    Is there any other way to get all the system and classification rules from azure purview
    And do System classification rules use column pattern for classifying

    Best Regards
    Nadeesha

    Was this answer helpful?


  2. Saurabh Sharma 23,866 Reputation points Microsoft Employee Moderator
    2021-10-30T00:34:48.73+00:00

    Hi @Nadeesha de Silva ,

    I have received the confirmation from products team that the API returns only Custom Scan Classifications rules and System classifications are not returned to reduce the size of the payload as it is documented properly here

    Please provide your feedback at Azure Purview Feedback channel so that community can upvote and products team can plan to include in their future release. Additionally, you can elaborate on your scenario for getting system classifications so that I can share it internally as well.

    This document gives a list of all supported system classifications.

    Please let me know if you have any other questions.

    Thanks
    Saurabh

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.