All Products
Search
Document Center

Cloud Firewall:ModifyDefaultIPSConfig

Last Updated:Dec 15, 2025

Modifies the default intrusion prevention system (IPS) configuration.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the request and response. Valid values:

  • zh (default): Chinese.

  • en: English.

zh

CtiRules

integer

No

The switch for threat intelligence. Valid values:

  • 1: Enable.

  • 0: Disable.

0

BasicRules

integer

No

The switch for basic policies. Valid values:

  • 1: Enable.

  • 0: Disable.

1

PatchRules

integer

No

The switch for virtual patching. Valid values:

  • 1: Enable.

  • 0: Disable.

1

RunMode

integer

Yes

The mode of the IPS. Valid values:

  • 1: Block Mode.

  • 0: Monitor Mode.

0

RuleClass

integer

No

The IPS rule group. Valid values:

  • 1: Loose rule group.

  • 2: Medium rule group.

  • 3: Strict rule group.

1

MaxSdl

integer

No

The daily traffic limit for sensitive data detection.

100

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

65885B52-00EC-5728-96******

Examples

Success response

JSON format

{
  "RequestId": "65885B52-00EC-5728-96******"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.