instance_audit_plan

添加实例扫描任务

create instance audit plan

post/v1/projects/{project_name}/instance_audit_plans

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}/instance_audit_plans
  • Auth
    API key in header Authorization

Path parameters

project_namestring required

project name

Request body

instance_idstring

Example request

{
  "audit_plans": [
    {
      "audit_plan_type": "slow log",
      "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.