MENU
      getThresholdNotiConfig

        getThresholdNotiConfig


        記事の要約

        Classic/VPC環境で利用できます。

        Hash Filterを使用した分析結果の通知設定で高度な設定値を照会します。高度な設定は、一定時間、しきい値に該当するマルウェアが検出されると通知する機能です。

        リクエスト

        リクエスト形式を説明します。リクエスト形式は次の通りです。

        メソッドURI
        POST/getThresholdNotiConfig

        リクエストヘッダ

        File Safer APIで共通して使用されるヘッダの詳細は、File Safer APIの共通ヘッダをご参照ください。

        リクエスト例

        リクエストのサンプルコードは次の通りです。

        curl --location --request POST 'https://filesafer.apigw.ntruss.com/hashfilter/v1/getThresholdNotiConfig' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-apigw-api-key: {API Gateway API Key}' \
        --header 'x-ncp-iam-access-key: {Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
        --header 'Accept: application/json'
        Shell

        レスポンス

        レスポンス形式を説明します。

        レスポンスボディ

        レスポンスボディの説明は次の通りです。

        フィールドタイプ必須の有無説明
        returnCodeStringRequiredレスポンスコード
        returnMessageStringRequiredレスポンスメッセージ
        thresholdNotificationInfoList[]ArrayRequired分析結果の通知設定情報
        • オブジェクトがある場合: 通知設定
        • オブジェクトがない場合: 通知設定をしない
        thresholdNotificationInfoList[].notificationTypeStringConditional分析結果の通知条件
        • MAL | ERR
          • MAL: マルウェア検出時に通知
          • ERR: 照会失敗時に通知
        • 通知設定内で高度な設定をした場合にのみ含む
        thresholdNotificationInfoList[].referenceTimeIntegerConditionalしきい値に該当するマルウェアを検出する時間(分)
        • 5~30
        • 通知設定内で高度な設定をした場合にのみ含む
        thresholdNotificationInfoList[].thresholdValueIntegerConditionalしきい値(件)
        • 1~1000
        • 通知設定内で高度な設定をした場合にのみ含む

        レスポンスステータスコード

        File Safer APIで共通して使用されるレスポンスステータスコードの詳細は、File Saferのレスポンスステータスコードをご参照ください。

        レスポンス例

        レスポンスのサンプルコードは次の通りです。

        高度な設定をした場合

        分析結果の通知設定で高度な設定をした場合、レスポンスのサンプルコードは次の通りです。

        {
            "returnCode": "0",
            "returnMessage": "success",
            "thresholdNotificationInfoList": [
                {
                    "notificationType": "MAL",
                    "referenceTime": 5,
                    "thresholdValue": 1
                }
            ]
        }
        JSON

        高度な設定をしなかった場合

        分析結果の通知設定で高度な設定をしなかった場合、レスポンスのサンプルコードは次の通りです。

        {
            "returnCode": "0",
            "returnMessage": "success",
            "thresholdNotificationInfoList": [
            ]
        }
        JSON

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

        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.