---
title: "添加扫描任务"
method: POST
path: "/v1/projects/{project_name}/audit_plans"
tags: ["audit_plan"]
---

# 添加扫描任务

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

create audit plan

## Path parameters

- `project_name` string, required

## Request body

- V1CreateAuditPlanReqV1
  - `audit_plan_cron` string
  - `audit_plan_instance_database` string
  - `audit_plan_instance_name` string
  - `audit_plan_instance_type` string
  - `audit_plan_name` string
  - `audit_plan_params` V1AuditPlanParamReqV1[]
    - `key` string
    - `value` string
  - `audit_plan_type` string
  - `rule_template_name` 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)
