> 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/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/ibm-cloud-secrets-manager-has-expired-arbitrary-secrets.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Secrets Manager has expired arbitrary secrets

### Synopsis

| Field               | Value                                                   |
| ------------------- | ------------------------------------------------------- |
| Rule Type           | Detection                                               |
| Finding Type        | IBM Cloud Secrets Manager has expired arbitrary secrets |
| Finding ID          | 60000784                                                |
| Generates a Finding | This detection rule also generates a finding            |
| Severity            | Informational                                           |
| Category            | CONFIGURATION                                           |
| Cloud Providers     | IBM\_CLOUD                                              |
| Platform Module     | CSPM                                                    |
| Asset Types         | IBM\_SECRETS\_MANAGER\_SECRET                           |
| ATT\&CK Tactic      | TA0006 (TA0006)                                         |
| ATT\&CK Technique   | T1552 (T1552)                                           |

### Description

IBM Cloud Secrets Manager stores credentials and other sensitive values as secrets, and an arbitrary secret holds an opaque value such as an API key or token. A secret may carry an expiration date, after which it is considered no longer valid and should be replaced or removed.

This policy identifies arbitrary secrets that have expired, and also those that carry no expiration date at all. A secret qualifies when its expiration date has passed or is immediately imminent, or when no expiration date was ever set.

An expired secret that remains in place is usually still accepted by whatever system issued it, because expiry in the secret store does not revoke the underlying credential. The result is a value that nobody is tracking yet still grants access, left behind precisely because it fell out of active management. A secret with no expiry is the same problem without a deadline: it never prompts a review, so it stays valid indefinitely and quietly outlives the system or the person it was created for.

As a remediation, review each reported secret, confirm whether the underlying credential is still needed, and revoke it in the issuing system if it is not. For secrets that remain in use, set an expiration date consistent with the organisation's credential lifetime policy and schedule replacement before that date arrives.

### Remediation

**Manual steps:**

IBM Secrets Manager Secret - Manual remediation steps:

If the IBM Cloud Secrets Manager Arbitrary secret is expired, the secret needs to be deleted.

Please use below URL as reference:

<https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-delete-secrets\\&interface=ui#delete-secret-ui>

If the IBM Cloud Secrets Manager Arbitrary secret is about to be expired, the secret has to be rotated.

Please use below URL as reference:

<https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-manual-rotation\\&interface=ui#manual-rotate-arbitrary-ui>

Make sure to set an expiration date for each secret.

Please follow the below steps to set an expiration date:

1. Log in to the IBM Cloud Console
2. Click on Menu Icon and navigate to 'Resource list', from the list of resources select secret manager instance in which the reported secret resides, under security section.
3. Select the secret.
4. Under 'Expiration date' section, provide expiration date as required.
5. Click on 'Update'.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/ibm-cloud-secrets-manager-has-expired-arbitrary-secrets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
