runScanner
    • PDF

    runScanner

    • PDF

    記事の要約

    VPC環境で利用できます。

    ユーザー catalogの特定の scannerを実行します。

    リクエスト

    リクエスト URL

    PUT {DATA_CATALOG API_URL}/catalogs/{catalog-id}/scanners/{scanner-id}/run-scanner
    

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    catalogIdYesStringcatalogの固有 id
    (ref: getCatalogs)
    scannerIdYesStringscannerの固有 id

    リクエストヘッダ

    共通ガイド参照

    リクエスト例

    curl -X PUT "https://datacatalog.apigw.ntruss.com/api/v1/catalogs/{catalog-id}/scanners/{scanner-id}/run-scanner" \
        -H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
        -H "x-ncp-iam-access-key: {x-ncp-iam-access-key}"  \
        -H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
    

    レスポンス

    レスポンスボディ

    項目タイプ説明
    scannerIdintscannerの固有 id
    nameStringscanner名
    statusStringScannerのステータス(実行待機/実行開始/実行中/実行終了)

    レスポンス例

    HTTP

    HTTP StatusDescription
    200OK

    JSON

    {
      "scannerId": 89,
      "name": "datacatalog-test-scanner",
      "status": "SCANNER_STARTING",
    }
    

    この記事は役に立ちましたか?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.