---
title: "添加实例扫描任务"
method: POST
path: "/v1/projects/{project_name}/instance_audit_plans"
tags: ["instance_audit_plan"]
---

# 添加实例扫描任务

`POST /v1/projects/{project_name}/instance_audit_plans`

create instance audit plan

## Path parameters

- `project_name` string, required

## Request body

- V1CreateInstanceAuditPlanReqV1
  - `audit_plans` V1AuditPlan[] — 扫描类型
    - `audit_plan_params` V1AuditPlanParamReqV1[]
      - `key` string
      - `value` string
    - `audit_plan_type` string
    - `high_priority_conditions` V1HighPriorityConditionReq[]
      - `key` string
      - `operator` '>' | '=' | '<'
      - `value` string
    - `need_mark_high_priority_sql` boolean
    - `rule_template_name` string
  - `instance_id` string

## Response `200`

OK

---

[API](https://skmtc.dev/actiontech/apis/sqle-api-docs.md) · [All operations](https://skmtc.dev/actiontech/apis/sqle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/actiontech/sqle-api-docs/revisions/3e36a0067703/schema)
