In order to provide detailed descriptions of the various NAVER CLOUD PLATFORM services, and to facilitate use of various APIs, we offer [Manual] and [API reference] separately.

Security API overview

NAVER CLOUD PLATFORM is a cloud service built with NAVER's latest computing technology and operation know-how.

NAVER CLOUD PLATFORM provides a set of application programming interfaces (APIs) which allows you to use some solution products among its various product categories.

NAVER CLOUD PLATFORM APIs are RESTful, using HTTP GET/POST methods.

Common

  • {SECURITY_API_URL}
https://ncloud.apigw.ntruss.com/security/v1
  • Request header
Header Description
x-ncp-apigw-timestamp It is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
If the time difference with the APIGW server is more than 5 minutes, the request is considered invalid.
x-ncp-apigw-api-key API key issued by API Gateway
x-ncp-iam-access-key API key issued by NAVER CLOUD PLATFORM or access key issued by IAM
x-ncp-apigw-signature-v1 Signature used to encrypt the body of the example with the “secret key” that maps with the “access key.”
The HMAC encryption algorithm is HMAC SHA256.

API References


Security

getAppInstanceStatistics

  • API name

    Get statistics by app

  • Action

    getAppInstanceStatistics

  • Description

    Gets daily security monitoring statistical data for each app instance.

  • Request parameters

    Parameter Brief Description Type Limitations Required
    appInstanceNo (App) instance number String Yes
    pageNo Page number Integer Min: 0, Max: 2147483647 No
    pageSize Page size Integer Min: 0, Max: 100 No
    startDate Start date String yyyyMMdd No
    endDate End date String yyyyMMdd No
    • appInstanceNo
      • (App) instance number for which you want to view statistical data.
    • pageNo
      • Page number based on the page size if the number of items is large.
    • pageSize
      • Number of items to be shown per page
    • startDate
      • Start time from which you want to view statistical data.
      • It must be in the following format.
      • The period from the start date to the end date cannot exceed 3 months.
        Format: yyyyMMdd
        Example: 20160301, 20160401
        
    • endDate
      • End time to which you want to view statistical data.
      • It must be in the following format.
      • The period from the start date to the end date cannot exceed 3 months.
      • Since the statistical data is logged at dawn, the end data must be before yesterday’s date.
      • Default: Yesterday
        Format: yyyyMMdd
        Example: 20160301, 20160401
        
  • Example

    • Request

      {SECURITY_API_URL}/getAppInstanceStatistics
      ?appInstanceNo=314450
      &startDate=20160620
      &endDate=20160622
      
    • Response

      <getAppInstanceStatisticsResponse>
      <requestId>32754454-2745-4ec4-a9f4-2df3c93670fa</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <packageName>com.forTest3</packageName>
      <osType>
        <code>ANDR</code>
        <codeName>android</codeName>
      </osType>
      <appStatisticsList>
        <appStatistics>
          <detectedDate>20160620</detectedDate>
          <logList>
            <log>
              <detectedName>init</detectedName>
              <detectedCount>12</detectedCount>
            </log>
            <log>
              <detectedName>rooting/jailbreak</detectedName>
              <detectedCount>3</detectedCount>
            </log>
            <log>
              <detectedName>scan</detectedName>
              <detectedCount>5</detectedCount>
            </log>
            <log>
              <detectedName>tampering</detectedName>
              <detectedCount>5</detectedCount>
            </log>
          </logList>
        </appStatistics>
      </appStatisticsList>
      </getAppInstanceStatisticsResponse>
      

See also

You can see the related topics listed below.

に対する検索結果は~件です。 ""

    に対する検索結果がありません。 ""

    処理中...