Subscriptions

New-AppSecSubscription

Synopsis

Subscribe or unsubscribe to recommendation emails.

Syntax

New-AppSecSubscription [-ConfigName] <String> -Feature <String> -Subscribers <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-AppSecSubscription -ConfigID <Int32> -Feature <String> -Subscribers <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Subscribes users' email addresses to recommendation emails. The -Subscribers parameter is a comma-separated string of email addresses. The available values for the subscription feature are:

  • AAG_TUNING_REC for AAG and ASE rule sets.
  • WAF_RULE_UPDATE for ASE rule sets.

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.

‑Feature
Required

Your subscription feature's ID.

‑Section

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

‑Subscribers
Required

The user emails to add to or remove from the subscription.

Related Links