---
title: ASE attack detection
description: API Security Enforcer supports real time ASE attack detection and blocking for API Deception. ASE blocks hackers who probe a decoy API (see API Deception Environment) and later try to access a real business API.
component: pingintelligence
version: 5.1
page_id: pingintelligence:api_security_enforcer:tmt1564008967041
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/api_security_enforcer/tmt1564008967041.html
revdate: March 28, 2024
section_ids:
  enable-ase-detected-attacks: Enable ASE detected attacks
  disable-ase-detected-attacks: Disable ASE detected attacks
---

# ASE attack detection

API Security Enforcer supports real time ASE attack detection and blocking for API Deception. ASE blocks hackers who probe a decoy API (see [API Deception Environment](pingintelligence_api_deception_environment_sideband.html)) and later try to access a real business API.

## Enable ASE detected attacks

Enable real-time ASE attack detection by running the following ASE command:

```
/opt/pingidentity/ase/bin/cli.sh -u admin -p admin enable_ase_detected_attack
```

ASE detected attack is now enabled.

## Disable ASE detected attacks

Disable real-time ASE detected attacks by running the following command on the ASE command line:

```
/opt/pingidentity/ase/bin/cli.sh -u admin -p admin disable_ase_detected_attack
ASE detected attack is now disabled
```

|   |                                                                                    |
| - | ---------------------------------------------------------------------------------- |
|   | When you disable ASE detected attacks, the attacks are deleted from the deny list. |
