---
title: Enabling and disabling ASE attack detection
description: API Security Enforcer (ASE) supports real-time ASE attack detection and blocking for application programming interface (API) Deception. ASE blocks hackers that probe a decoy API and try to access a real business API. For more information, see API Deception Environment.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_ase_enabling_disabling_attack_detection
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_ase_enabling_disabling_attack_detection.html
revdate: April 24, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
  result: Result:
  example-2: Example:
  result-2: Result:
---

# Enabling and disabling ASE attack detection

API Security Enforcer (ASE) supports real-time ASE attack detection and blocking for application programming interface (API) *(tooltip: \<div class="paragraph">
\<p>A specification of interactions available for building software to access an application or service.\</p>
\</div>)* Deception. ASE blocks hackers that probe a decoy API and try to access a real business API. For more information, see [API Deception Environment](pingintelligence_api_deception_environment_sideband.html).

## About this task

To enable and disable ASE attack detection:

## Steps

* To enable real-time ASE attack detection, run the `enable_ase_detected_attack` command on the ASE command-line interface (CLI).

  ### Example:

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

  ### Result:

  ASE detected attack is now enabled.

* To disable real-time ASE detected attacks, run the `disable_ase_detected_attack` command on the ASE CLI.

  ### Example:

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

  ### Result:

  Attacks are now deleted from the deny list.
