> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.9/investigate-and-respond-to-threats/threat-intel-management/indicator-configuration/configure-indicator-expiration.md).

# Configure indicator expiration

Indicators can have the Expiration Status field set to **Active** or **Expired**, which is determined by the **Expiration** field. When indicators expire, they still exist in Cortex XSOAR, meaning they are still displayed and you can still search for them. A job that runs every week checks for newly expired indicators and updates the **Expiration Status** field.

When indicators expire, the expiration status and expiration fields are updated. You can use it to take actions based on indicator expiration. For more information, see [Indicator field trigger scripts](/cortex-xsoar-8-on-prem/8.9/investigate-and-respond-to-threats/threat-intel-management/indicator-configuration/customize-indicator-types-fields-and-layouts.md#indicator-field-trigger-scripts).

You can set the default expiration method for indicators either to never expire or to expire after a specific period. The default expiration method is set by the indicator type. For more information see [Indicator type profile](/cortex-xsoar-8-on-prem/8.9/investigate-and-respond-to-threats/threat-intel-management/indicator-configuration/customize-indicator-types-fields-and-layouts.md#indicator-type-profile).

The following table shows the hierarchy by which indicators are expired.

| Method           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Manual           | <p>Manually expire the indicator either in the indicator layout or CLI. This method overrides all other methods.</p><p>You need a TIM license to access the indicator layout.</p><p>Use the <code>expireIndicators</code> command to change the expiration status to Expired for one or more indicators. This command accepts a comma-separated list of indicator values and supports multiple indicator types. For example, you can set the expiration status for an IP address, domain, and file hash: <code>!expireIndicators value=1.1.1.1,safeurl.com,45356A9DB614ED7161A3B9192E2F318D0AB5AD10</code></p><p>Use the <code>!setIndicators</code> command to reset the indicators' expiration value. The parameter's value can either be <code>never</code> or a time in ISO 8601 format. For example, <code>2006-01-02T15:04:05Z</code> (for UTC time) or <code>2006-01-02T15:04:05Z07:00</code> (UTC +7 hours).</p><p>Examples:</p><ul><li><code>!setIndicators indicatorsValues=watson.com expiration=Never</code></li><li><code>!setIndicators indicatorsValues=watson.com expiration=2006-01-02T15:04:05Z</code></li></ul><p>You can also use these commands in a script, but the user can override this if running a command in the CLI or the indicator layout.</p>          |
| Feed integration | <p>Some integrations support setting the expiration method on an integration instance level, which overrides the method defined for the indicator type.</p><p>If a feed's expiration method is set to When removed from the feed, indicators that are removed from the feed immediately expire. Note that if the feed is disabled, its expiration method reverts to that of the indicator type (time-based).</p><p>Time-based expiration is set according to feed reliability. If the same indicator appears on multiple feeds, the feed with the highest reliability determines the indicator's expiration time. If multiple feeds have the same reliability, the last feed to add or modify the indicator determines its expiration time.</p><p>Example:</p><ul><li>An indicator was initially fetched by Feed A, then by Feed B.</li><li>Both feeds have the same reliability.</li><li>Feed B's indicators are set to expire When removed from the feed.</li><li>Feed B is now disabled.</li></ul><p>After Feed B is disabled, the indicator's expiration method reverts to that of the indicator type (for example, expire after 7 days). However, if Feed A then modifies the indicator (or removes and re-adds it), the expiration method changes back to Feed A's settings.</p> |
| Indicator type   | The expiration method (interval or never) is defined according to indicator type, which applies to all indicators of this type. This is the default expiration method for an indicator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |


---

# 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, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.9/investigate-and-respond-to-threats/threat-intel-management/indicator-configuration/configure-indicator-expiration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
