检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
检查参数默认值 option_value String 检查参数可选项 is_required Integer 0:非必填,1:必填 description String 检查参数说明 type Integer 参数类型,0:文本,2:有可选项 status String 参数状态,on:启用,off:未启用
Array of strings 检查语言,数组格式,支持cpp,java,js,python,php,css,html,go,typescript,csharp rule_sets 否 Array of RuleSetV2 objects 指定规则集 task_type 否 String
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
"name": "cn-north-4", "description": "", "links": { "next": null,
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
第十次正式发布。本次变更说明如下: 删除约束与限制。 2021-03-26 第九次正式发布。本次变更说明如下: 终端节点中增加“华东-上海二”节点。 2021-02-05 第八次正式发布。本次变更说明如下: 修改任务管理。 修改缺陷管理。 2020-11-23 第七次正式发布。本次变更说明如下:
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
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
inc/.inl/.mm/.h/.hh/.hpp/.hxx/.h++ TYPESCRIPT .ts/.tsx RUST .rs ARKTS .ets C# .cs GO .go JAVASCRIPT .js/.jsx LUA .lua PYTHON .py 表4 Cmetrics工具支持检查C/C++的危险函数列表
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
进入代码检查页面,在任务列表中,单击任务名称。 进入“代码检查详情”页面,选择“设置 > 检查模式”。 在“MR检查模式”区域,选择“扫描变更文件”或“全量扫描”。默认选择“扫描变更文件”。 完成后,单击“保存”。 设置检查目录 支持检查代码仓指定目录。 不配置检查目录时,检查代码仓中所有目录下的代码文件。