tencent cloud

APIs

ModifyVulScanPeriodic

Download
聚焦模式
字号
最后更新时间: 2026-08-11 19:10:20

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

This API is used to modify vulnerability scanning (period scanning).

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: ModifyVulScanPeriodic.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
Status Yes Integer

Period scanning switch (0-off, 1-on)

VulCategory.N Yes Array of String

Vulnerability type

Enumeration value:

  • LINUX: Linux software vulnerability
  • WINDOWS: Windows system patch
  • WEB_CMS: Web-CMS vulnerability
  • APPLICATION: Application vulnerability
  • EMERGENCY: Emergency vulnerability
Level.N Yes Array of String

Vulnerability level

Enumeration value:

  • LOW: Low risk
  • MEDIUM: Medium risk
  • HIGH: High risk
  • CRITICAL: Critical
Method Yes String

Scanning method (VersionCompare: version comparison, POC: POC detection, VersionComparePOC: version comparison+POC detection)

StartTime Yes String

Start time (09:00:00)

EndTime Yes String

End time (18:00:00)

AssetRange Yes Integer

Asset scope (0-All assets, 1-Custom assets, 2-Remove asset, 3-Automatic asset match)

CycleType Yes Integer

Period scanning type

Enumeration value:

  • 1: Daily
  • 2: Weekly
  • 3: Per month
Timeout Yes Integer

Scan timeout duration

Measurement unit: second

CycleValue.N No Array of Integer

Cycle value

Value ranges from 1 to 31

Measurement unit: day of the week or per month

MemberId.N No Array of String

Group account member id

AssetList.N No Array of String

Asset list (instance_id list)

AllowSync No Integer

Whether to run the synchronize configuration 0-not allowed, 1-allowed

EnableSync No Integer

Whether the admin account has enabled the auto sync configuration switch 0-Off, 1-On

SyncTo.N No Array of Integer

Configuration sync to which account appid

TagIds.N No Array of Integer

Tag ID

3. Output Parameters

Parameter Name Type Description
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Modifying vulnerability scan configuration (period scanning)

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyVulScanPeriodic
<Common request parameters>

{
    "Status": 1,
    "VulCategory": [
        "LINUX"
    ],
    "Level": [
        "CRITICAL"
    ],
    "Method": "VersionComparePOC",
    "StartTime": "03:50",
    "EndTime": "05:50",
    "AssetRange": 0,
    "CycleType": 2,
    "Timeout": 3600,
    "CycleValue": [
        1
    ],
    "MemberId": [
        "mem-ten********7************"
    ],
    "AssetList": [
        "ins-********"
    ]
}

Output Example

{
    "Response": {
        "RequestId": "bcb33b18-dbc7-4685-aa41-1ad51d0f9a3d"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈