# Metadata Rules on CodeScan Self-Hosted

As of CodeScan version **22.8**, metadata rules are available in self-hosted CodeScan.

You will need to add the required file types to your **package.xml** file to pull your metadata.

We have provided a package.xml file below. Download the xml file from here to get started with self-hosted CodeScan.

[package.xml](https://cdn.document360.io/8711f4e7-c040-4616-aac9-d947f87e4619/Images/Documentation/package.xml)
