Filters - Get
フィルターを取得します。
GET {endpoint}/scan/datasources/{dataSourceName}/scans/{scanName}/filters/custom?api-version=2023-09-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
data
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ |
dataSource 名。 |
endpoint
|
path | True |
string (url) |
purview アカウントのスキャン エンドポイント。 例: https://{accountName}.purview.azure.com。 |
scan
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ |
スキャン名。 |
api-version
|
query | True |
string |
使用する API バージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
成功。 |
|
Other Status Codes |
スキャン サービスから受信したエラー応答。 ヘッダー x-ms-error-code: string |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントを偽装する |
例
Filters_Get
要求のサンプル
GET {endpoint}/scan/datasources/myDataSource/scans/myScanName/filters/custom?api-version=2023-09-01
応答のサンプル
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
{
"id": "datasources/myDataSource/scans/myScanName/filters/custom",
"name": "custom",
"properties": {
"includeUriPrefixes": [
"mssql://bar.database.windows.net/core/dbo/business",
"mssql://bar.database.windows.net/core/dbo/processing"
],
"excludeUriPrefixes": []
}
}
定義
名前 | 説明 |
---|---|
Error |
エラー モデル。 |
Error |
エラー応答モデル。 |
Filter |
フィルター。 |
Filter |
フィルターのプロパティ。 |
ErrorModel
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
特定のエラーを識別する一意のエラー コード。 |
details |
追加のエラーの詳細を提供する入れ子になった ErrorModel オブジェクトの配列。 |
|
message |
string |
エラーの詳細を示す、人間が判読できるエラー メッセージ。 |
target |
string |
エラーが関連付けられている特定のコンポーネント。 |
ErrorResponseModel
エラー応答モデル。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Filter
フィルター。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース識別子。 |
name |
string |
リソース名。 |
properties |
フィルターのプロパティ。 |
FilterProperties
フィルターのプロパティ。
名前 | 型 | 説明 |
---|---|---|
excludeRegexes |
string[] |
除外する正規表現。 |
excludeUriPrefixes |
string[] |
除外 URI プレフィックス。 |
includeRegexes |
string[] |
include 正規表現。 |
includeUriPrefixes |
string[] |
インクルード URI プレフィックス。 |