> For the complete documentation index, see [llms.txt](https://docs.arnica.io/arnica-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arnica.io/arnica-documentation/code-risks/code-risk-magic-links.md).

# Code Risk Magic Links

## Arnica Magic Links

Arnica magic links provide direct access to a single risk, or a subset of risks. These links are designed for fast triage and remediation from ChatOps and risk workflows, including access without full platform navigation.

{% hint style="warning" %}
Treat magic links as sensitive. Depending on your tenant configuration and workflow, recipients may be able to update finding status directly from the linked view.
{% endhint %}

## Requesting Magic Links

Magic links can be requested through chat tools such as Slack or Teams, created within the Arnica code risk pages, or received in an alert when a risk identified.\
\
Magic links requested within Arnica's chatops integrations create developer specific or product oriented lists of risks. Using commands directly within the Arnica channel, users can request these links using "risks mine" and "risks product" commands.

#### Risks Mine:

The "risks mine" command will generate a magic link with direct access to Arnica. This magic link will lead to a risk table that is personalized for the user who requested the link, and will include all risks that they are directly associated with. This includes all findings where the requesting user is a committer, pusher, or the author of the commit that introduced the risk.

#### Risks Product:

The "risks product" command will generate a magic link with direct access to Arnica. This magic link will lead to a risk table that is personalized for the user who requested the link, and will include all risks that exist in product owned by the user.

## Alert-based Magic Links

A magic link is provided within each notification sent by Arnica to ChatOps platforms. When a risk is identified and a matching policy requires a notification, Arnica includes a link that leads directly to the newly identified risk.

Use standard authenticated Arnica URLs for broad sharing and reporting workflows. Avoid sharing magic links outside the intended recipient group.

## Magic Link Expiration

Arnica's magic links have pre-determined expiration rules. These rules are set through an org-specific configuration, and include one or both of the following:

* Time based expiration: The link will remain usable until the specified time is reached.
* Use based expiration: The link will remain usable until it has reached it's defined maximum uses.

If both time-based and use-based expiration rules are set the links will expire after the first of the two conditions is met.

{% hint style="info" %}
By default, magic links expire after 7 days and allow unlimited uses. To modify this configuration for your organization, the org admin can contact <support@arnica.io> or speak with Arnica's Customer Success team.
{% 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.arnica.io/arnica-documentation/code-risks/code-risk-magic-links.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.
