> For the complete documentation index, see [llms.txt](https://docs.xygeni.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xygeni.io/xygeni-products/application-security-posture-management-aspm/importing-reports-from-3rd-party-tools/secrets-report-import.md).

# Secrets Report Import

Hard-coded credentials and tokens detected by secret-scanning tools.

## How to import a report

1. **Download** and configure the CLI Scanner. See [these guidelines](https://docs.xygeni.io/xygeni-scanner-cli/xygeni-cli-overview/xygeni-cli-installation).
2. Use the xygeni **report-upload command**:

   ```bash
   xygeni report-upload -n=<Name> --report="path/to/report_file" -f=<format> [--branch="branch"]
   ```

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>If the <code>--branch</code> parameter is not set, the branch will be marked as "Unknown".</p></div>
3. Move to the [**Xygeni dashboard**](https://in.xygeni.io) to see the results.

## Supported formats

| Format               | Tool       | Description                                          |
| -------------------- | ---------- | ---------------------------------------------------- |
| `secrets-sarif`      | \<any>     | Secrets detected by a secrets tool, in SARIF format  |
| `secrets-gitleaks`   | GitLeaks   | Secrets detected by GitLeaks, in JSON format         |
| `secrets-trufflehog` | TruffleHog | Secrets detected by TruffleHog, in JSON-lines format |
| `secrets-wiz-cli`    | Wiz CLI    | Wiz CLI scan report (secrets), in JSON format        |

## Pull mode

None of the currently supported secret-scanning tools expose a findings API the scanner can pull from — all entries above use **convert + upload** only. See [Pull-mode fetch](/xygeni-products/application-security-posture-management-aspm/importing-reports-from-3rd-party-tools/pull-mode-fetch.md) for the list of tools that do support pull mode.

## Dashboard results

If the entered name matches an existing project, the secrets in the report will be added to that project in a new tab. If the project does not exist, a new project will be created.

{% hint style="info" %}
If you are ingesting a report to an existing project and the secrets do not appear, check the branch of the project. If you have not set the `--branch` parameter when executing the command, Xygeni could have marked the branch as "Unknown".
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.xygeni.io/xygeni-products/application-security-posture-management-aspm/importing-reports-from-3rd-party-tools/secrets-report-import.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.
