Skip to content

Latest commit

 

History

History
53 lines (46 loc) · 1.47 KB

readSystemScanRulesetLatest.md

File metadata and controls

53 lines (46 loc) · 1.47 KB

pv scan readSystemScanRulesetLatest

Command Reference > scan > readSystemScanRulesetLatest

Description

Get the latest version of a system scan ruleset

Syntax

pv scan readSystemScanRulesetLatest --dataSourceType=<val>

Required Arguments

--dataSourceType (string)
A valid data source type.

Optional Arguments

None

API Mapping

Scanning Data Plane > System Scan Rulesets > Get Latest

GET https://{accountName}.purview.azure.com/scan/systemScanRulesets/versions/latest

Examples

Get the latest version of a system scan ruleset by data source type.

pv scan readSystemScanRulesetLatest --dataSourceType "AmazonMySql"
Sample response.

{
    "id": "systemscanrulesets/AmazonMySql",
    "kind": "AmazonMySql",
    "name": "AmazonMySql",
    "properties": {
        "collection": null,
        "createdAt": "2021-12-02T09:24:49.8617837Z",
        "description": "Microsoft default scan rule set that includes all supported system classification rules",
        "excludedSystemClassifications": [],
        "includedCustomClassificationRuleNames": [],
        "lastModifiedAt": "2021-12-02T09:24:49.8617837Z",
        "temporaryResourceFilters": null
    },
    "scanRulesetType": "System",
    "status": "Enabled",
    "version": 3
}