CreateScanTask
Updated at:
This operation creates a security scan task for firmware.
Request parameters
| Name | Type | Required | Example | Description |
| FwName | String | No | camera | The name of the firmware. The maximum length is 50 bytes. |
| FwVersion | String | No | 1.0 | The firmware version number. The maximum length is 50 bytes. |
| FwUrl | String | Yes | https://****com/18/91fd9e86f53b4429b68b5266a9ce****?Expires=1572506923&OSSAccessKeyId=LT*******b31QS&Signature=f2deFrds/**** | The URL where the firmware file is stored. The scanner downloads the file from this URL. Only URLs for files stored in Alibaba Cloud OSS are supported. |
| String | No | <username>@<company_domain> | The email address to receive a notification when the firmware scan is complete. The maximum length is 128 bytes. | |
| FwId | String | No | dT7HdBSANYYc9chZRajy84eBCMQA**** | A custom firmware ID to identify a scan task. This parameter can be empty. The maximum length is 64 bytes. |
| DetectionRuleCodes | String | No | CPoC2_3 | The detection rule. Valid values: empty, BASIC, CPoC2_2, and CPoC2_3. If you do not specify this parameter or leave it empty, BASIC is used by default. BASIC indicates a basic scan. CPoC2_2 indicates an MLPS 2.0 Level 2 scan. CPoC2_3 indicates an MLPS 2.0 Level 3 scan. |
Response parameters
| Name | Type | Example | Description |
| Code | Integer | 200 | The error code. A value of 200 indicates that the call is successful. For more information about other error codes, see Error codes. |
| Message | String | success | Returns a message. |
| Data | Struct | Refer to the Data structure description | The returned data. |
| RequestId | String | A07E3902-B92E-44A6-B6C5-6AA1111111359 | The unique ID generated by Alibaba Cloud for the request. |
Data structure
| Name | Type | Example | Description |
| TaskId | String | cfecd128592941f48c 2da09492a4**** | The unique ID of the scan task. |
Is this page helpful?