检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数说明 资源池名称 资源池的名称,根据需要自定义。例如:custom_pool。 资源池类型 选择LINUX_DOCKER。执行任务时将拉起一个Linux docker容器,任务在容器中运行。 资源池描述 根据需要输入资源池描述。可不填写。 资源池可以被租户下所有子用户使用 勾选后
当前规则配置项key option_name String 当前规则配置项名称 template_id String 规则集id description String 描述 状态码: 400 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg
CodeArts Check套餐 规格 可选择“基础版”或“专业版”,差异如下。 基础版 支持Java/C++/JavaScript/Go/Python/C#/TypeScript/CSS/HTML/PHP/LUA/RUST/Shell/KOTLIN/SCALA/ArkTS/SQL10+种语言。
已阅读并同意相关协议后,单击“完成”。 单击Webhook文本框旁的“复制”,获取钉钉Webhook地址。 将“钉钉通知”开关设置为状态。 选择通知场景,并填写Webhook地址,单击“测试”确保Webhook地址可用。 单击“保存”。 配置完成后,当任务运行结果满足事件类型时,代码检查服务会发送消息到指定的钉钉群。
高级配置对应的名称 value String 高级配置对应的取值 option_value String 高级配置对应的可选项 description String 高级配置对应的中文描述 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String
检查参数默认值 option_value String 检查参数可选项 is_required Integer 0:非必填,1:必填 description String 检查参数说明 type Integer 参数类型,0:文本,2:有可选项 status String 参数状态,on:启用,off:未启用
检查参数默认值 option_value String 检查参数可选项 is_required Integer 0:非必填,1:必填 description String 检查参数说明 type Integer 参数类型,0:文本,2:有可选项 status String 参数状态,on:启用,off:未启用
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
phoenix-codecheck-vote 检查Vote功能对应代码的任务。 phoenix-sample-javas 检查整个代码仓库对应的JavaScript代码的任务。 本章节以任务“phoenix-codecheck-worker”为例进行讲解。 配置并执行任务 开发人员可以对样例项目中预
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
计费周期 根据购买时长确定(以GMT+08:00时间为准)。一个计费周期的起点是您开通或续费代码检查并发扩展的时间(精确到秒),终点则是到期日的23:59:59。 例如,您在2023/03/08 15:50:04购买时长为一个月的代码检查并发扩展,则其计费周期为:2023/03/08
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
重复行数是指涉及至少一次重复的代码行数;重复块是指包含重复行的代码块(最小重复块定义:Java语言连续10行重复,其它语言10行中连续100个字符重复算一个重复块);重复率=重复行/代码总行数(不包含空行与注释)。 规则 应用于检查某类代码问题。提供规则说明,如代码缺陷影响、修改建议。 规则集
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
当前规则配置项key option_name 否 String 当前规则配置项名称 template_id 否 String 规则集id description 否 String 描述 响应参数 状态码: 201 表6 响应Body参数 参数 参数类型 描述 template_id String
规则名称 支持中英文,数字,点,下划线“_”和连接符“-”。 字符长度范围为1~128。 规格与限制 指标项 限制值 单次检查支持扫描的问题数量 一个代码检查任务支持扫描的问题数量最多为300000。 租户自定义规则集数(个) 租户可以自定义的规则集数最大为1000。 租户创建代码检查任务数(个)