Policy request body settings

Set-AppSecPolicyRequestSizeLimit

Synopsis

Modify request body size settings for a security policy.

Syntax

Set-AppSecPolicyRequestSizeLimit [-ConfigName] <String> [-VersionNumber] <String> [-PolicyName] <String> [-RequestSizeLimit <String>] [-Override] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecPolicyRequestSizeLimit [-ConfigName] <String> [-VersionNumber] <String> -PolicyID <String> [-RequestSizeLimit <String>] [-Override] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecPolicyRequestSizeLimit -ConfigID <Int32> [-VersionNumber] <String> -PolicyID <String> [-RequestSizeLimit <String>] [-Override] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecPolicyRequestSizeLimit -ConfigID <Int32> [-VersionNumber] <String> [-PolicyName] <String> [-RequestSizeLimit <String>] [-Override] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates inspection settings for a security policy. It's recommended that you use the default value for the request body inspection size limit. In exceptional cases, you can change the default to a set limit: 8, 16, or 32 KB.

When making a request, you can specify a configuration with the -ConfigName or -ConfigID parameter. The -VersionNumber parameter is an integer or the word latest. To specify a policy, use the -PolicyName or -PolicyID parameter.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑ConfigID
Conditionally required

Your configuration's ID.

‑ConfigName
Conditionally required

The name of your security configuration.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Override

Include this switch to override the config-level default request limit. Without this, unless previously set, the parent limit will apply.

‑PolicyID
Conditionally required

Your security policy's ID.

‑PolicyName
Conditionally required

The name of your security policy.

‑RequestSizeLimit

The request body size in KB, either 8, 16, or 32 as string-formatted integers, or default to use Akamai's best practice value.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑VersionNumber
Required

A configuration's version. Can be an integer or the word latest.

Related Links