MicrosoftScanningClient (preview:2022-02-01)

2025/12/05 • 39 new methods

KeyVaultConnections_Get (new)
Description :  Gets key vault information
Reference :  Link ¶

⚼ Request

GET:  /azureKeyVaults/{keyVaultName}
{
keyVaultName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error: string ,
}
KeyVaultConnections_Create (new)
Description :  Creates an instance of a key vault connection
Reference :  Link ¶

⚼ Request

PUT:  /azureKeyVaults/{keyVaultName}
{
keyVaultName: string ,
api-version: string ,
body:
{
properties: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error: string ,
}
KeyVaultConnections_Delete (new)
Description :  Deletes the key vault connection associated with the account
Reference :  Link ¶

⚼ Request

DELETE:  /azureKeyVaults/{keyVaultName}
{
keyVaultName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}
KeyVaultConnections_ListAll (new)
Description :  List key vault connections in account
Reference :  Link ¶

⚼ Request

GET:  /azureKeyVaults
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
ClassificationRules_Get (new)
Description :  Get a classification rule
Reference :  Link ¶

⚼ Request

GET:  /classificationrules/{classificationRuleName}
{
classificationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
ClassificationRules_CreateOrUpdate (new)
Description :  Creates or Updates a classification rule
Reference :  Link ¶

⚼ Request

PUT:  /classificationrules/{classificationRuleName}
{
classificationRuleName: string ,
api-version: string ,
body:
{
kind: enum ,
}
,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (201)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
ClassificationRules_Delete (new)
Description :  Deletes a classification rule
Reference :  Link ¶

⚼ Request

DELETE:  /classificationrules/{classificationRuleName}
{
classificationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}
ClassificationRules_ListAll (new)
Description :  List classification rules in Account
Reference :  Link ¶

⚼ Request

GET:  /classificationrules
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
ClassificationRules_ListVersionsByClassificationRuleName (new)
Description :  Lists the rule versions of a classification rule
Reference :  Link ¶

⚼ Request

GET:  /classificationrules/{classificationRuleName}/versions
{
classificationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
ClassificationRules_TagClassificationVersion (new)
Description :  Sets Classification Action on a specific classification rule version.
Reference :  Link ¶

⚼ Request

POST:  /classificationrules/{classificationRuleName}/versions/{classificationRuleVersion}/:tag
{
classificationRuleName: string ,
classificationRuleVersion: integer ,
action: string ,
api-version: string ,
}

⚐ Response (202)

{
scanResultId: string ,
startTime: string ,
endTime: string ,
status: enum ,
error: string ,
}

⚐ Response (default)

{
error: string ,
}
Credential_Get (new)
Description :  Gets credential information
Reference :  Link ¶

⚼ Request

GET:  /credentials/{credentialName}
{
credentialName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
Credential_CreateOrUpdate (new)
Description :  Creates an instance of a credential
Reference :  Link ¶

⚼ Request

PUT:  /credentials/{credentialName}
{
credentialName: string ,
api-version: string ,
body:
{
kind: enum ,
}
,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (201)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
Credential_Delete (new)
Description :  Deletes the credentials associated with the account
Reference :  Link ¶

⚼ Request

DELETE:  /credentials/{credentialName}
{
credentialName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}
Credential_ListAll (new)
Description :  List credentials in account
Reference :  Link ¶

⚼ Request

GET:  /credentials
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
DataSources_CreateOrUpdate (new)
Description :  Creates or Updates a data source
Reference :  Link ¶

⚼ Request

PUT:  /datasources/{dataSourceName}
{
dataSourceName: string ,
api-version: string ,
body:
{
kind: enum ,
scans:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (200)

{
kind: enum ,
scans:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
}

⚐ Response (201)

{
kind: enum ,
scans:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error: string ,
}
DataSources_Get (new)
Description :  Get a data source
Reference :  Link ¶

⚼ Request

GET:  /datasources/{dataSourceName}
{
dataSourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
scans:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error: string ,
}
DataSources_Delete (new)
Description :  Deletes a data source
Reference :  Link ¶

⚼ Request

DELETE:  /datasources/{dataSourceName}
{
dataSourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
scans:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}
DataSources_ListAll (new)
Description :  List data sources in Data catalog
Reference :  Link ¶

⚼ Request

GET:  /datasources
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
scans:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
Filters_Get (new)
Description :  Get a filter
Reference :  Link ¶

⚼ Request

GET:  /datasources/{dataSourceName}/scans/{scanName}/filters/custom
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error: string ,
}
Filters_CreateOrUpdate (new)
Description :  Creates or updates a filter
Reference :  Link ¶

⚼ Request

PUT:  /datasources/{dataSourceName}/scans/{scanName}/filters/custom
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
body:
{
properties: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (201)

{
properties: string ,
}

⚐ Response (default)

{
error: string ,
}
Scans_CreateOrUpdate (new)
Description :  Creates an instance of a scan
Reference :  Link ¶

⚼ Request

PUT:  /datasources/{dataSourceName}/scans/{scanName}
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
body:
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}

⚐ Response (201)

{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}

⚐ Response (default)

{
error: string ,
}
Scans_Get (new)
Description :  Gets a scan information
Reference :  Link ¶

⚼ Request

GET:  /datasources/{dataSourceName}/scans/{scanName}
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}

⚐ Response (default)

{
error: string ,
}
Scans_Delete (new)
Description :  Deletes the scan associated with the data source
Reference :  Link ¶

⚼ Request

DELETE:  /datasources/{dataSourceName}/scans/{scanName}
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}
Scans_ListByDataSource (new)
Description :  List scans in data source
Reference :  Link ¶

⚼ Request

GET:  /datasources/{dataSourceName}/scans
{
dataSourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
scanResults:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
ScanResult_RunScan (new)
Description :  Runs the scan
Reference :  Link ¶

⚼ Request

PUT:  /datasources/{dataSourceName}/scans/{scanName}/runs/{runId}
{
dataSourceName: string ,
scanName: string ,
runId: string ,
scanLevel: string ,
api-version: string ,
}

⚐ Response (202)

{
scanResultId: string ,
startTime: string ,
endTime: string ,
status: enum ,
error: string ,
}

⚐ Response (default)

{
error: string ,
}
ScanResult_CancelScan (new)
Description :  Cancels a scan
Reference :  Link ¶

⚼ Request

POST:  /datasources/{dataSourceName}/scans/{scanName}/runs/{runId}/:cancel
{
dataSourceName: string ,
scanName: string ,
runId: string ,
api-version: string ,
}

⚐ Response (202)

{
scanResultId: string ,
startTime: string ,
endTime: string ,
status: enum ,
error: string ,
}

⚐ Response (default)

{
error: string ,
}
ScanResult_ListScanHistory (new)
Description :  Lists the scan history of a scan
Reference :  Link ¶

⚼ Request

GET:  /datasources/{dataSourceName}/scans/{scanName}/runs
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
parentId: string ,
id: string ,
resourceId: string ,
status: string ,
assetsDiscovered: integer ,
assetsClassified: integer ,
diagnostics: string ,
startTime: string ,
queuedTime: string ,
pipelineStartTime: string ,
endTime: string ,
scanRulesetVersion: integer ,
scanRulesetType: enum ,
scanLevelType: enum ,
errorMessage: string ,
error: string ,
runType: string ,
dataSourceType: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
ScanRulesets_Get (new)
Description :  Get a scan ruleset
Reference :  Link ¶

⚼ Request

GET:  /scanrulesets/{scanRulesetName}
{
scanRulesetName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
ScanRulesets_CreateOrUpdate (new)
Description :  Creates or Updates a scan ruleset
Reference :  Link ¶

⚼ Request

PUT:  /scanrulesets/{scanRulesetName}
{
scanRulesetName: string ,
api-version: string ,
body:
{
kind: enum ,
}
,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (201)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
ScanRulesets_Delete (new)
Description :  Deletes a scan ruleset
Reference :  Link ¶

⚼ Request

DELETE:  /scanrulesets/{scanRulesetName}
{
scanRulesetName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}
ScanRulesets_ListAll (new)
Description :  List scan rulesets in Data catalog
Reference :  Link ¶

⚼ Request

GET:  /scanrulesets
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
SystemScanRulesets_ListAll (new)
Description :  List all system scan rulesets for an account
Reference :  Link ¶

⚼ Request

GET:  /systemScanRulesets
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
SystemScanRulesets_Get (new)
Description :  Get a system scan ruleset for a data source
Reference :  Link ¶

⚼ Request

GET:  /systemScanRulesets/datasources/{dataSourceType}
{
dataSourceType: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
SystemScanRulesets_GetByVersion (new)
Description :  Get a scan ruleset by version
Reference :  Link ¶

⚼ Request

GET:  /systemScanRulesets/versions/{version}
{
dataSourceType: string ,
version: integer ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
SystemScanRulesets_GetLatest (new)
Description :  Get the latest version of a system scan ruleset
Reference :  Link ¶

⚼ Request

GET:  /systemScanRulesets/versions/latest
{
dataSourceType: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error: string ,
}
SystemScanRulesets_ListVersionsByDataSource (new)
Description :  List system scan ruleset versions in Data catalog
Reference :  Link ¶

⚼ Request

GET:  /systemScanRulesets/versions
{
dataSourceType: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: enum ,
}
,
]
,
nextLink: string ,
count: integer ,
}

⚐ Response (default)

{
error: string ,
}
Triggers_GetTrigger (new)
Description :  Gets trigger information
Reference :  Link ¶

⚼ Request

GET:  /datasources/{dataSourceName}/scans/{scanName}/triggers/default
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error: string ,
}
Triggers_CreateTrigger (new)
Description :  Creates an instance of a trigger
Reference :  Link ¶

⚼ Request

PUT:  /datasources/{dataSourceName}/scans/{scanName}/triggers/default
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
body:
{
properties: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (201)

{
properties: string ,
}

⚐ Response (default)

{
error: string ,
}
Triggers_DeleteTrigger (new)
Description :  Deletes the trigger associated with the scan
Reference :  Link ¶

⚼ Request

DELETE:  /datasources/{dataSourceName}/scans/{scanName}/triggers/default
{
dataSourceName: string ,
scanName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error: string ,
}