Command Reference > scan > readScanRuleset
Get a scan ruleset
pv scan readScanRuleset --scanRulesetName=<val>
--scanRulesetName
(string)
The scan ruleset name.
None
Scanning Data Plane > Scan Rulesets > Get
GET https://{accountName}.purview.azure.com/scan/scanrulesets/{scanRulesetName}
Get a custom scan ruleset.
pv scan readScanRuleset --scanRulesetName "adls_parquet_only"
Sample response.
{
"id": "scanrulesets/adls_parquet_only",
"kind": "AdlsGen2",
"name": "adls_parquet_only",
"properties": {
"collection": null,
"createdAt": "2022-02-27T21:22:19.0970457Z",
"description": null,
"excludedSystemClassifications": [],
"includedCustomClassificationRuleNames": [],
"lastModifiedAt": "2022-02-27T21:22:19.0970462Z",
"scanningRule": {
"customFileExtensions": null,
"fileExtensions": [
"PARQUET"
]
},
"temporaryResourceFilters": [
{
"ingestTemporaryResource": true,
"resourceFilterPattern": "(_SUCCESS|_started_\\d*|_committed_\\d*|_committed_vacuum\\d*)$"
}
]
},
"scanRulesetType": "Custom",
"status": "Enabled",
"version": 1
}