audit_plan

更新扫描任务

update audit plan

patch/v1/projects/{project_name}/audit_plans/{audit_plan_name}/

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v1/projects/{project_name}/audit_plans/{audit_plan_name}/
  • Auth
    API key in header Authorization

Path parameters

project_namestring required

project name

audit_plan_namestring required

audit plan name

Request body

audit_plan_cronstring
audit_plan_instance_databasestring
audit_plan_instance_namestring
rule_template_namestring

Example request

{
  "audit_plan_cron": "0 */2 * * *",
  "audit_plan_instance_database": "app1",
  "audit_plan_instance_name": "test_mysql",
  "rule_template_name": "default_MySQL"
}

Response

OK

codeinteger
messagestring

Example response

{
  "message": "ok"
}

Changes

No recorded changes to this operation across all 75 revisions of this API.