# Take Action on Guardrails Events

## Overview

Akto enables you to quickly respond to malicious behavior by blocking the IP addresses of guardrail actors. When you block an IP address, Akto prevents all incoming requests from that source, helping you protect your agentic component in real time.

You can block an IP address from two areas within Agentic Guardrails: **Guardrails Actors** and **Guardrails Activity**.

## Block an IP from Guardrail Actors Page

{% stepper %}
{% step %}
Go to **Guardrails Actors** under **Agentic Security**.
{% endstep %}

{% step %}
Select the actor whose activity you want to stop.
{% endstep %}

{% step %}
The detailed view for that actor opens.
{% endstep %}

{% step %}
In the top-right corner, select **Block IP**.

<figure><img src="/files/ykXZppZuFqDKk9vYb9Eh" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Confirm your action by selecting **Block IP** in the confirmation dialog.
{% endstep %}
{% endstepper %}

## Block an IP from Guardrail Activity Page

{% stepper %}
{% step %}
Go to **Agentic Guardrails** →**Guardrails Activity**.
{% endstep %}

{% step %}
Open the detailed view for the specific guardrails activity you want to address.
{% endstep %}

{% step %}
Select the **Block IPs** button on the right-hand side.

<figure><img src="/files/z3hoN1shnRpfG4vQsGm5" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
A confirmation dialog opens.
{% endstep %}

{% step %}
Select **Save** to block the IP address.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Important Note**

Blocking an IP address is completely reversible. Once you block an IP, the **Block IP** button changes to **Unblock IP**, allowing you to restore access whenever needed.
{% endhint %}


---

# Agent Instructions: 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://ai-security-docs.akto.io/agentic-guardrails/how-to/take-action-on-guardrails-events.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.
