hunter_batch_task_create
Create asynchronous batch query tasks on Qianxin Hunter to export asset data to CSV. Upload a file with IPs, domains, or companies, or use search syntax. Returns a task ID for progress tracking and file download.
Instructions
创建 Qianxin Hunter 批量查询任务,任务将以异步方式导出数据为csv。支持通过上传文件(file_path)对批量的ip/domain/company进行资产查询和结果导出,或通过搜索语法(search)进行资产查询和结果导出。成功调用后将返回 task_id,用于后续查询进度和下载文件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | 搜索语法(与 file_path 二选一提供)。 | |
| file_path | No | 包含检索目标的本地 CSV 文件路径(与 search 二选一提供)。 | |
| start_time | No | 开始时间,格式为 YYYY-MM-DD(超出近30天将扣除积分)。 | |
| end_time | No | 结束时间,格式为 YYYY-MM-DD(超出近30天将扣除积分)。 | |
| is_web | No | 资产类型,1代表”web资产“,2代表”非web资产“,3代表”全部“,默认"全部"。 | |
| status_code | No | 状态码列表,以逗号分隔,如”200,401“。 | |
| fields | No | 可选返回字段,以逗号分隔(如 ip,port,domain 等)。默认为空代表选择权限内所有可导出字段。可选字段枚举: ip,port,domain,ip_tag,url,web_title,is_risk_protocol,protocol,base_protocol,status_code,os,company,number,icp_exception,country,province,city,is_web,isp,as_org,cert_sha256,ssl_certificate,component,asset_tag,updated_at,header,header_server,banner,whois,body,vul_list | |
| search_type | No | 上传文件的类型,枚举值:all、ip、domain、company,默认为all。 | all |
| assets_limit | No | 预期导出的资产数量。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |