# Share CLI results with the Snyk Web UI

You can use the [CLI](/developer-tools/snyk-cli.md) `snyk iac test` command to address known configuration issues.

To see these issues displayed in the Snyk Web UI, run the following CLI command:

`snyk iac test myproject --report`

{% hint style="info" %}
Using [Custom rules](/scan-with-snyk/snyk-iac/current-iac-custom-rules.md) and the Share Results functionality together is not currently supported.

Snyk does not share any file contents over the network, only the required metadata for the configuration issues that were just scanned.
{% endhint %}

## `snyk iac test --report` example output

```
> snyk iac test myproject --report

Testing arm-file.tf...


Infrastructure as code issues:
  ✗ VM Agent is not provisioned automatically for Windows [Low Severity] [SNYK-CC-AZURE-667] in Compute
    introduced by resource > azurerm_virtual_machine[my_terraformvm] > os_profile_windows_config > provision_vm_agent


Organization:      my.org
Type:              Terraform
Target file:       arm-file.tf
Project name:      myproject
Open source:       no
Project path:      myproject

Tested arm-file.tf for known issues, found 1 issues

Your test results are available at: https://app.snyk.io/org/my.org/projects under the name myproject
```

This sends a snapshot of your current configuration issues to your Snyk dashboard for viewing in the Snyk Web UI.

## Viewing snapshots in the Snyk Web UI

Log in to the Snyk Web UI and navigate to your Organization Project page to see the most recent snapshot of your scanned Project.

<figure><img src="/files/bJrQyjMLgo376DDb61qD" alt="Newly scanned Project listed on the Projects page"><figcaption><p>Newly scanned Project listed on the Projects page</p></figcaption></figure>

You can also open the Project itself and see the Project details:

<figure><img src="/files/e35pk7gYfptAbNFT840j" alt="Project details for a Project"><figcaption><p>Project details for a Project</p></figcaption></figure>

## **Ignores**

You can ignore issues using the Snyk Web UI or by creating a `.snyk` policy file along with your Project when scanning. For more information, see [Iac Ignores using the .snyk policy file](/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/iac-ignores-using-the-.snyk-policy-file.md).

{% hint style="info" %}
Issues that are ignored by using the `.snyk` policy file can not be unignored in the Snyk web UI.
{% endhint %}

## Project tags

You can attach tags to the scanned Projects using the `--project-tags` option. This option accepts a comma-separated list of tags, where each tag is a key-value pair. Keys and values are separated by an `=` sign. The `--project-tags` option is valid only when used with `--report`.

The following example attaches the tags `department` and `team` to the scanned Projects, with values `platform` and `persistence`, respectively.

```
> snyk iac test myproject --report \
    --project-tags=department=platform,team=persistence
```

## Project attributes

You can set attributes for the scanned Projects using the `--project-business-criticality`, `--project-environment`, and `--project-lifecycle` options. These options are valid only when used with `--report`.

* `--project-business-criticality` accepts a comma-separated list of the following values: `critical`, `high`, `medium`, `low`.
* `--project-environment` accepts a comma-separated list of the following values: `frontend`, `backend`, `internal`, `external`, `mobile`, `saas`, `onprem`, `hosted`, `distributed`.
* `--project-lifecycle` accepts a comma-separated list of the following values: `production`, `development`, `sandbox`.

The following example sets the business criticality to `high`, the environment to the values `frontend` and `internal`, and the lifecycle to `development` for each scanned Project.

```
> snyk iac test myproject --report \
    --project-business-criticality=high \
    --project-environment=frontend,internal \
    --project-lifecycle=development
```

## Target reference

You can set the target reference for the scanned Projects using the `--target-reference` option. This option is valid only when used with `--report`.

The following example sets the target reference for the scanned Projects to the name of the current Git branch.

```
snyk iac test myproject --report \
    --target-reference="$(git branch --show-current)"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/share-cli-results-with-the-snyk-web-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
