audit_plan

获取指定扫描任务

get audit plan

get/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

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "audit_plan_cron": "0 */2 * * *",
    "audit_plan_db_type": "mysql",
    "audit_plan_instance_database": "app1",
    "audit_plan_instance_name": "test_mysql",
    "audit_plan_name": "audit_for_java_app1",
    "audit_plan_token": "it's a JWT Token for scanner",
    "rule_template_name": "default_MySQL"
  },
  "message": "ok"
}

Changes

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