Configuration HTTP header logs

Get-AppSecLogging

Synopsis

Get the HTTP header log settings for a configuration.

Syntax

Get-AppSecLogging [-ConfigName] <String> [-VersionNumber] <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-AppSecLogging -ConfigID <Int32> [-VersionNumber] <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets HTTP header logging controls for a configuration.

HTTP header logging is enabled by default, and in most cases, it's recommended you keep the default configuration. You can filter requests by header type, including or excluding requests with a specific header, or by cookie.

This operation applies at the configuration level, and therefore applies to all policies within a configuration. If you want to view these settings for a specific policy, run the Get-AppSecPolicyLogging operation.

When making a request, you can specify a configuration by its name or ID.

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.

‑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