> For the complete documentation index, see [llms.txt](https://docs.metatrust.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metatrust.io/docs-zh/getting-started/getting-started-with-metascan/scan-for-vulnerabilities.md).

# 扫描漏洞

导入项目后

**第一步：点击“Start Scan”**&#x5F00;始扫描。

<figure><img src="/files/Y0lvbjIgCtXfFTD1H6BR" alt=""><figcaption></figcaption></figure>

\
**第二步：配置扫描参数|**

在“Scan Settings”下，可以对扫描参数进行灵活配置，同时可以选择特定的引擎，默认建议全部引擎勾选，这样扫描更全面。

<figure><img src="/files/mTV2j8Zd68YgBUJDOJ4i" alt=""><figcaption></figcaption></figure>

**参考配置中包含以下两项：**

**配置常用参数（Scan Settings)：** 对版本号（Code Branch）、分支（Code Commit）、扫描路径（Workspace Path）进行自定义配置。 路径格式：dir1 or dir1/dir2 （相对路径）

<figure><img src="/files/vibgsNO4gzjFkNx0p7CA" alt=""><figcaption></figcaption></figure>

**配置高级参数（Advanced Scan Settings）：** 可以对过滤文件（**Ignored files）**、环境文件（.env）等进行配置。**第三步：扫描中**项目一般在几分钟内就能完成，扫描中的项目，点击进度条，可查看当前扫描到达的节点。

<figure><img src="/files/Pij1MPf2wx7S0jHzlhJE" alt=""><figcaption></figcaption></figure>

**第三步：扫描中**

项目一般在几分钟内就能完成，扫描中的项目，点击进度条，可查看当前扫描到达的节点。

<figure><img src="/files/ePYbCwb6P6rrNqY901lD" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/g26ZUrwRW4FsEVM6s38P" alt=""><figcaption></figcaption></figure>
