> 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/ai-model-is-inactive.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AI Model Is Inactive

### Synopsis

| Field             | Value                                                                                                                                                   |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Type         | Detection                                                                                                                                               |
| Severity          | Medium                                                                                                                                                  |
| Category          | POSTURE                                                                                                                                                 |
| Cloud Providers   | AWS, AZURE, GCP                                                                                                                                         |
| Platform Module   | AISPM                                                                                                                                                   |
| Asset Types       | AMAZON\_SAGEMAKER\_MODEL\_ARTIFACT, AWS\_BEDROCK\_CUSTOM\_MODEL, AWS\_BEDROCK\_FOUNDATION\_MODEL, AZURE\_OPEN\_AI\_MODEL, VERTEX\_AI\_AIPLATFORM\_MODEL |
| ATT\&CK Tactic    | TA0042 (TA0042)                                                                                                                                         |
| ATT\&CK Technique | T1586 (T1586)                                                                                                                                           |

### Description

The AI model is inactive. Inactive AI assets increase the attack surface available for adversaries and should be removed.

### Remediation

**Manual steps:**

AWS Bedrock Foundation Model - Revoke Access to the Bedrock Foundation Model:

Navigate to the Amazon Bedrock console.

In the left navigation pane, under Bedrock configurations, choose Model access.

Locate the foundation model `{entity}` in the list of models with granted access.

Choose Modify model access, clear the checkbox next to `{entity}`, and proceed through the wizard.

Choose Submit to revoke access so the inactive model is no longer enabled in the account.

AWS Bedrock Custom Model - Delete the Bedrock Custom Model:

Navigate to the Amazon Bedrock console.

In the left navigation pane, Under Foundation models choose Custom models (Distillation, Fine-tuning, Continued pre-training).

Select the `{entity}` model.

Choose Delete and confirm the deletion.

AWS SageMaker Model Artifact - Delete the Sagemaker Model:

Navigate to the Amazon SageMaker AI console.

In the left navigation pane, Under Inference choose Models.

Select the `{entity}` model.

Choose Delete under Actions and confirm the deletion.

GCP Vertex AI Model - Delete the Vertex AI Model:

Navigate to the Vertex AI section in the Google Cloud Console.

In the left navigation pane, click on Model Registry under the Deploy and use section.

Locate the model `{entity}`.

Select the model by clicking the checkbox next to it.

Check if the model is deployed by clicking the model name, and navigating to Deploy & test tab. If the model is deploy to an endpoint select Undeploy model

Return to Model Registry\</>, click the Delete Model for the relevant model and confirm the deletion.

Azure Open AI Model - Delete the Azure OpenAI Model:

Navigate to the Azure AI Foundry section in the Azure Cloud Portal.

In the left navigation pane, click on Azure OpenAI under the Use with AI Foundry section.

Locate the model `{entity}`.

Select the model by clicking the checkbox next to it, click Delete and confirm the deletion.


---

# 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/ai-model-is-inactive.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.
