# File Exclude

{% embed url="<https://youtu.be/c6a16ORxXkU>" %}

### Prerequisite

* Must have an online scan either from UI or CLI.

### Step 1 : Scan UI

Once scans are finished, we can go to the UI. There is a feature to exclude file paths from the project tree if developers don’t want to scan those via Exclude File Path. To do that, start a scan in UI.

<figure><img src="https://lh3.googleusercontent.com/GK_hI4UqypemAe-XIL4X6MWMY5gPL4D5XXBAK2EqY4jV79ZdAny0ZZGzMCK9uCWlsY9RXnvRIx9Y9FuvHlkpPnfbGMFgUgwyU1O9hNCxwOyatE8ubEaZFdmc85RmSpGAQU4jA02UyhDSByJZlTBtHbsWQ61_jCYccmoX8WJI_OkucMZMHD6AbZa2Ary0sw" alt=""><figcaption></figcaption></figure>

Once the scan finishes.The interface will be as follows

<figure><img src="https://lh5.googleusercontent.com/IEnING-EkZ8Wa--c8XvAW_dOYRULHxKrB_ZtD-exzwLPDigqIgTAes9Kir51m2Xecchy9nii_khBJWeA5pE3i7Gh50ZTM6YNxwfOarKXgL0KdCpSUP0CRteY4nNAJ2HmxFN4RUNvP2uB0J1W15pP2xHRIAoa6W4dty-fyDMCrJwKn9MySwFFKlb_VhyWEQ" alt=""><figcaption></figcaption></figure>

### Step 2 : Exclude Path

We now exclude a path which is similar to the following picture.

<figure><img src="https://lh4.googleusercontent.com/5ImbQpJo-S2-WIZvyOGAHJw35KAQyqYmfDqRIIJvP8s0p7rAHTn-_e9o2p8HKHZ4Jos0c37vJmTKRIJ3oov2_33qnAyzxGnpX186GocoixtEdnCiC7lgxH_2IROGADfpx7IJtxXxkhduB52P9jCEMtwxkOGR6c0DRX0MC30DK9u-LrBG0X9BasZtlUtugg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh5.googleusercontent.com/U_VdLcx4KMRCa57t9ZhclhzL6aajfGbRMjHdMMhdnRkIt4_2pbijdOCisGNF0yDCqlR8qZN7cXbwY87ohD7T8yAkXP_RC7SS24ADmsC3B2Zku3HAA4oiuOCrRi84c1wGsOW1J1D68i5ESUwrhvDLqV1RgbHHMBfWO2BjZBdvkl1blrTlhNHqPYT-XGbOQw" alt=""><figcaption></figcaption></figure>

### Step 3: Re-run Scan

Now re-ran the scan to see if /apps/ path is excluded from next scan

<figure><img src="https://lh6.googleusercontent.com/JuoV9lHzi1FICQCkr9mWYJw_BtH7Z6nQ3-7nNnfgSi4t6-A3acT_--wAcO3j4rTXiix4VqMjR1yKYEAKCWjDqjn6XEie-U8c_X90uh56iHBGvgiWraXphfL9n2O6IN34uwLuqqB904YnjSrRWTE6yiiNo8Q1uMkq4e2FZyfEcmXz-TLH3bXGngy973D_4Q" alt=""><figcaption></figcaption></figure>

Now we cannot get any thing from the path (/apps/) which we excluded.
