> For the complete documentation index, see [llms.txt](https://docs.forestall.io/forestall/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forestall.io/forestall/credential-discovery/secrets.md).

# Secrets

`Secrets` page provides all regex matches and relevant information.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-03125da01b944f83e28c80a068d1df8b63395d2e%2Fcredential-discovery-secrets-image-1.png?alt=media" alt=""><figcaption><p>Credential Discovery Secret Results</p></figcaption></figure>

The secret table contains attributes below.

<table><thead><tr><th width="193">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Status</strong></td><td><p>A field that controls whether a result record is treated as active or suppressed within the system.</p><ul><li><code>"Active"</code>: The record is visible and treated as relevant.</li><li><code>"Suppressed"</code>: The record is hidden or ignored in further processing.</li></ul><p>The table shows only <code>Active</code> records by default.</p></td></tr><tr><td><strong>DNS Host Name</strong></td><td>DNS Host Name of the machine where the secret is located.</td></tr><tr><td><strong>Path</strong></td><td>Full path to the file that contains the secret.</td></tr><tr><td><strong>File Name</strong></td><td>Name of the file that contains the secret.</td></tr><tr><td><strong>Rule</strong></td><td>Name of regex that detects secret.</td></tr><tr><td><strong>Match</strong></td><td>Secret that matches the regex rule.</td></tr><tr><td><strong>EveryoneRead</strong></td><td>Indicates whether the file is readable by Everyone.</td></tr><tr><td><strong>EveryoneWrite</strong></td><td>Indicates whether the file is writable by Everyone.</td></tr></tbody></table>

The secrets table provides the following functionalities.

**Sort**: Secrets can be sorted by the `Status`, `DNS Host Name`, `Path`, `File Name`, `Rule`, `Match`, `EveryoneRead` and `EveryoneWrite` columns.

**Filter**: Each column has its own filter:

* `DNS Host Name`, `Path`, `File Name` and `Match`: a text filter with an operator selector (`Contains`, `Not Contains` or `Empty`).
* `Rule`: a multi-select list of the matching rules.
* `Status`: `All`, `Active` or `Suppressed`. The default is `Active`, so suppressed records are hidden until the filter is changed.
* `EveryoneRead` and `EveryoneWrite`: `All`, `True` or `False`.

**Export**: Secret can be exported as CSV using the `Export as CSV` on the upper-right side.

**Limit and Pagination**: Secrets table limit can be defined with input on the bottom-right side. Result pages can be navigated through a widget at the bottom.

**Bulk Actions**: Changes the `Status` of records. Select rows with the checkboxes on the left, choose an action from the **Bulk Actions** list and click **Apply**, then confirm:

* **Activate Selected (N)** / **Suppress Selected (N)**: Applies to the selected rows.
* **Activate All (N)** / **Suppress All (N)**: Applies to every record that matches the current filters.

Suppressing a record hides it from the default `Active` view. It can be activated again at any time.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-9e5b46d6b6f4dcbd8ff3dc6f43a70ac08a245d3d%2Fcredential-discovery-secrets-bulk-actions.png?alt=media" alt="Two secrets selected with Suppress Selected (2) chosen in Bulk Actions; match values blurred"><figcaption><p>Bulk Actions</p></figcaption></figure>

## Copy Directory And Copy Full Path

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-217ddbee91f920d418317cb54d62c73fb7972835%2Fcredential-discovery-secrets-image-2.png?alt=media" alt="Row menu with Copy Directory and Copy Full Path"><figcaption><p>Copy Directory and Copy Full Path</p></figcaption></figure>

**Copy Directory:** Copies the directory path of the selected file or folder to the clipboard.

**Copy Full Path:** Copies the complete file path, including the file name, to the clipboard.
